Template:Infobox map: Difference between revisions
Jump to navigation
Jump to search
Technochips (talk | contribs) m (optimization attempt?) |
(added support for describing maps as medieval mode) |
||
Line 9: | Line 9: | ||
{{#if: {{{game-type|}}} | | {{#if: {{{game-type|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} Map type {{!!}} [[{{{game-type|}}}]] {{#if: {{{four-team|}}} | ([[Four-Team]])}} | {{!}} Map type {{!!}} [[{{{game-type|}}}]] {{#if: {{{four-team|}}} | ([[Four-Team]])}} {{#if: {{{medieval|}}} | ([[Medieval]])}} | ||
}} | }} | ||
{{#if: {{{file-name|}}} | | {{#if: {{{file-name|}}} | | ||
Line 41: | Line 41: | ||
[[Category:Maps]] | [[Category:Maps]] | ||
{{#if: {{{game-type|}}} | [[Category:{{{game-type}}} maps]]}} | {{#if: {{{game-type|}}} | [[Category:{{{game-type}}} maps]]}} | ||
{{#if: {{{medieval|}}} | [[Category:Medieval maps]]}} | |||
{{#if: {{{four-team|}}} | [[Category:Four-Team maps]] {{#if: {{{game-type|}}} | [[Category:{{{game-type}}} (Four-Team) maps]]}}}} | {{#if: {{{four-team|}}} | [[Category:Four-Team maps]] {{#if: {{{game-type|}}} | [[Category:{{{game-type}}} (Four-Team) maps]]}}}} | ||
}} </includeonly> | }} </includeonly> | ||
Line 62: | Line 63: | ||
"four-team": { | "four-team": { | ||
"description": "Map is four-team", | "description": "Map is four-team", | ||
"type": "boolean" | |||
}, | |||
"medieval": { | |||
"description": "Map is in Medieval mode", | |||
"type": "boolean" | "type": "boolean" | ||
}, | }, |
Revision as of 17:23, 1 May 2023
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 |
medieval | medieval | Map is in Medieval mode | 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 |