Template:Infobox map: Difference between revisions
Jump to navigation
Jump to search
Technochips (talk | contribs) (fixed non four-team maps showing up as four-team maps) |
Technochips (talk | contribs) m (optimization attempt?) |
||
Line 1: | Line 1: | ||
<includeonly> {| class="infobox" | <includeonly> {| class="infobox" | ||
|+ | |+ | ||
! class="infobox-title" colspan="2" | | ! class="infobox-title" colspan="2" | {{{map-name-override|{{PAGENAME}}}}} | ||
{{#ifexist: File:{{{map-image|}}} | | {{#ifexist: File:{{{map-image|}}} | | ||
{{!}}- | {{!}}- | ||
Line 40: | Line 40: | ||
{{#if: {{{no-category|}}} | | | {{#if: {{{no-category|}}} | | | ||
[[Category:Maps]] | [[Category:Maps]] | ||
{{#if: {{{game-type|}}} | [[Category:{{{game-type | {{#if: {{{game-type|}}} | [[Category:{{{game-type}}} maps]]}} | ||
{{#if: {{{four-team|}}} | [[Category:Four-Team maps]] {{#if: {{{ | {{#if: {{{four-team|}}} | [[Category:Four-Team maps]] {{#if: {{{game-type|}}} | [[Category:{{{game-type}}} (Four-Team) maps]]}}}} | ||
}} </includeonly> | }} </includeonly> | ||
<noinclude> <templatedata> | <noinclude> <templatedata> |
Revision as of 16:52, 28 July 2022
Infobox for map pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
map-name-override | map-name-override | Title of the map. | String | optional |
map-image | map-image | In-game image of the map. | File | suggested |
game-type | game-type | Which gamemode(s) the map is. | String | suggested |
four-team | four-team | Map is four-team | Boolean | optional |
file-name | file-name | File name of the map (excluding the extension). | String | suggested |
developer | developer | Developer(s) of the map, whether person, company, or project. | String | suggested |
link | link | Link(s) to the map | String | optional |
release-date | release-date | The date in which the map was released. | String | suggested |
map-environment | map-environment | What environment is the map in. | String | suggested |
map-setting | map-setting | What setting is the map in. | String | suggested |