Template:Infobox map: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(fixed new line)
Tag: Reverted
(that just screwed up everything)
Tag: Undo
Line 10: Line 10:
{{!}}-
{{!}}-
{{!}} Map type {{!!}} [[{{{game-type|}}}]]
{{!}} Map type {{!!}} [[{{{game-type|}}}]]
}}{{#if: {{{file-name|}}} |
}}
{{#if: {{{file-name|}}} |
{{!}}-
{{!}}-
{{!}} File name {{!!}} <code>{{{file-name|}}}</code>
{{!}} File name {{!!}} <code>{{{file-name|}}}</code>
}}{{#if: {{{release-date|}}} |
}}
{{#if: {{{release-date|}}} |
{{!}}-
{{!}}-
{{!}} Release date {{!!}} {{{release-date|}}}
{{!}} Release date {{!!}} {{{release-date|}}}
}}{{#if: {{{developer|}}} |
}}
{{#if: {{{developer|}}} |
{{!}}-
{{!}}-
{{!}} Developer(s) {{!!}} {{{developer|}}}
{{!}} Developer(s) {{!!}} {{{developer|}}}
}}{{#if: {{{link|}}} |
}}
{{#if: {{{link|}}} |
{{!}}-
{{!}}-
{{!}} Link(s) {{!!}} {{{link|}}}
{{!}} Link(s) {{!!}} {{{link|}}}
Line 28: Line 32:
{{!}}-
{{!}}-
{{!}} Environment {{!!}} {{{map-environment|}}}
{{!}} Environment {{!!}} {{{map-environment|}}}
}}{{#if: {{{map-setting|}}} |
}}
{{#if: {{{map-setting|}}} |
{{!}}-
{{!}}-
{{!}} Setting {{!!}} {{{map-setting|}}}
{{!}} Setting {{!!}} {{{map-setting|}}}
Line 35: Line 40:
[[Category:Maps]]
[[Category:Maps]]
{{#if: {{{game-type|}}} | [[Category:{{{game-type|}}} maps]]}} </includeonly>
{{#if: {{{game-type|}}} | [[Category:{{{game-type|}}} maps]]}} </includeonly>
<noinclude><templatedata>
<noinclude> <templatedata>
{
{
"params": {
"params": {

Revision as of 12:30, 3 May 2022

Infobox for map pages.

Template parameters

ParameterDescriptionTypeStatus
map-name-overridemap-name-override

Title of the map.

Stringoptional
map-imagemap-image

In-game image of the map.

Filesuggested
game-typegame-type

Which gamemode(s) the map is.

Stringsuggested
file-namefile-name

File name of the map (excluding the extension).

Stringsuggested
developerdeveloper

Developer(s) of the map, whether person, company, or project.

Stringsuggested
linklink

Link(s) to the map

Stringoptional
release-daterelease-date

The date in which the map was released.

Stringsuggested
map-environmentmap-environment

What environment is the map in.

Stringsuggested
map-settingmap-setting

What setting is the map in.

Stringsuggested