Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox map: Difference between revisions

Template page
fixed non four-team maps showing up as four-team maps
m optimization attempt?
Line 1: Line 1:
<includeonly> {| class="infobox"
<includeonly> {| class="infobox"
|+
|+
! class="infobox-title" colspan="2" | {{#if: {{{map-name-override|}}} | {{{map-name-override|}}} | {{PAGENAME}}}}
! 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|}}} maps]]}}
{{#if: {{{game-type|}}} | [[Category:{{{game-type}}} maps]]}}
{{#if: {{{four-team|}}} | [[Category:Four-Team maps]] {{#if: {{{four-team|}}} | [[Category:{{{game-type|}}} (Four-Team) maps]]}}}}
{{#if: {{{four-team|}}} | [[Category:Four-Team maps]] {{#if: {{{game-type|}}} | [[Category:{{{game-type}}} (Four-Team) maps]]}}}}
}} </includeonly>
}} </includeonly>
<noinclude> <templatedata>
<noinclude> <templatedata>