Template:Infobox map: Difference between revisions
Template page
More actions
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" | ||
}, | }, | ||