Template:Infobox map: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
mNo edit summary
(fixed non four-team maps showing up as four-team maps)
Line 41: Line 41:
[[Category:Maps]]
[[Category:Maps]]
{{#if: {{{game-type|}}} | [[Category:{{{game-type|}}} maps]]}}
{{#if: {{{game-type|}}} | [[Category:{{{game-type|}}} maps]]}}
{{#if: {{{four-team|}}} | [[Category:Four-Team maps]]}}
{{#if: {{{four-team|}}} | [[Category:Four-Team maps]] {{#if: {{{four-team|}}} | [[Category:{{{game-type|}}} (Four-Team) maps]]}}}}
{{#if: {{{game-type|}}}{{{four-team|}}} | [[Category:{{{game-type|}}} (Four-Team) maps]]}}
}} </includeonly>
}} </includeonly>
<noinclude> <templatedata>
<noinclude> <templatedata>

Revision as of 11:31, 6 June 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
four-teamfour-team

Map is four-team

Booleanoptional
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