Difference between revisions of "Template:Infobox map"

From comp.tf
Jump to navigation Jump to search
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{alias|{{PAGENAME}}}}}}}}}
+
<includeonly>{| class="comptf-infobox" cellpadding="2"
{| class="comptf-infobox" cellpadding="2"
 
 
<!--
 
<!--
  
Line 41: Line 40:
 
-->! class="comptf-infobox-subtitle" colspan="2" | Map Information
 
-->! class="comptf-infobox-subtitle" colspan="2" | Map Information
 
|- class="comptf-infobox-info"
 
|- class="comptf-infobox-info"
<!---
+
<!--
  
GAME MODE
+
ALSO KNOWN AS
  
-->{{#if:{{{game_mode|}}}|
+
-->{{#if:{{{also_known_as|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''Game Mode'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Also known as'''
{{!}} class="comptf-infobox-body" {{!}} [[{{{game_mode|}}}]]
+
{{!}} class="comptf-infobox-body" {{!}} {{{also_known_as|}}}
 +
{{!}}- class="comptf-infobox-info"
 +
|}}
 +
<!--
 +
 
 +
MAP TYPE
 +
 
 +
-->{{#if:{{{map_type|}}}|
 +
{{!}} class="comptf-infobox-header" {{!}} '''Map type'''
 +
{{!}} class="comptf-infobox-body" {{!}} [[{{{map_type|}}}]]
 +
{{!}}- class="comptf-infobox-info"
 +
|}}
 +
<!--
 +
 
 +
STAGES
 +
 
 +
-->{{#if:{{{stages|}}}|
 +
{{!}} class="comptf-infobox-header" {{!}} '''Stages'''
 +
{{!}} class="comptf-infobox-body" {{!}} {{{stages|}}}
 +
{{!}}- class="comptf-infobox-info"
 +
|}}
 +
<!--
 +
 
 +
CONTROL POINTS
 +
 
 +
-->{{#if:{{{control_points|}}}|
 +
{{!}} class="comptf-infobox-header" {{!}} '''Control points'''
 +
{{!}} class="comptf-infobox-body" {{!}} {{{control_points|}}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
 
|}}
 
|}}
Line 55: Line 81:
  
 
-->{{#if:{{{latest_version|}}}|
 
-->{{#if:{{{latest_version|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''Latest Version'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Latest version'''
 
{{!}} class="comptf-infobox-body" {{!}} <code>{{{latest_version|}}}</code>
 
{{!}} class="comptf-infobox-body" {{!}} <code>{{{latest_version|}}}</code>
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
Line 64: Line 90:
  
 
-->{{#if:{{{first_released|}}}|
 
-->{{#if:{{{first_released|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''First Released'''
+
{{!}} class="comptf-infobox-header" {{!}} '''First released'''
 
{{!}} class="comptf-infobox-body" {{!}} {{{first_released|}}}
 
{{!}} class="comptf-infobox-body" {{!}} {{{first_released|}}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
Line 73: Line 99:
  
 
-->{{#if:{{{last_updated|}}}|
 
-->{{#if:{{{last_updated|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''Last Updated'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Last updated'''
 
{{!}} class="comptf-infobox-body" {{!}} {{{last_updated|}}}
 
{{!}} class="comptf-infobox-body" {{!}} {{{last_updated|}}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
Line 87: Line 113:
 
-->{{#if:{{{developer3|}}}|<br />{{{developer3|}}}|}}<!--
 
-->{{#if:{{{developer3|}}}|<br />{{{developer3|}}}|}}<!--
 
-->{{#if:{{{developer4|}}}|<br />{{{developer4|}}}|}}<!--
 
-->{{#if:{{{developer4|}}}|<br />{{{developer4|}}}|}}<!--
-->{{#if:{{{developer5|}}}|<br />{{{developer5|}}}|}}
+
-->{{#if:{{{developer5|}}}|<br />{{{developer5|}}}|}}<!--
 +
-->{{#if:{{{developer6|}}}|<br />{{{developer6|}}}|}}<!--
 +
-->{{#if:{{{developer7|}}}|<br />{{{developer7|}}}|}}<!--
 +
-->{{#if:{{{developer8|}}}|<br />{{{developer8|}}}|}}<!--
 +
-->{{#if:{{{developer9|}}}|<br />{{{developer9|}}}|}}<!--
 +
-->{{#if:{{{developer10|}}}|<br />{{{developer10|}}}|}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
 
|}}
 
|}}
 
<!--
 
<!--
  
PRO VERSION OF
+
OFFICIAL MAP
  
-->{{#if:{{{pro_version_of|}}}|
+
-->{{#if:{{{official_map|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''Pro Version Of'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Official map'''
{{!}} class="comptf-infobox-body" {{!}} <code>{{{pro_version_of|}}}</code>
+
{{!}} class="comptf-infobox-body" {{!}} {{{official_map|}}}
{{!}}-
+
{{!}}- {{#if:{{{download|}}}|class="comptf-infobox-info"|}}
 +
|}}
 +
<!--
 +
 
 +
DOWNLOAD
 +
 
 +
-->{{#if:{{{download|}}}|
 +
{{!}} class="comptf-infobox-header" {{!}} '''Download'''
 +
{{!}} class="comptf-infobox-body" {{!}} {{download|{{{download|}}}}}
 +
{{!}}-  
 
|}}
 
|}}
 
<!--
 
<!--
Line 104: Line 144:
  
  
LINKS
+
COMPETITIVE INFORMATION
 +
 
 +
 
 +
 
 +
 
 +
-->{{#if:{{{format|}}}{{{format1|}}}{{{in_rotation|}}}|
 +
! class="comptf-infobox-subtitle" colspan="2" {{!}} Competitive Information
 +
{{!}}- class="comptf-infobox-info"
 +
|}}
 +
<!--
  
 +
FORMATS
  
 +
-->{{#if:{{{format|}}}{{{format1|}}}|
 +
{{!}} class="comptf-infobox-header" {{!}} '''Format{{#if:{{{format2|}}}|s}}'''
 +
{{!}} class="comptf-infobox-body" {{!}} {{{format|{{{format1|}}}}}}<!--
 +
-->{{#if:{{{format2|}}}, {{{format2|}}}}}<!--
 +
-->{{#if:{{{format3|}}}, {{{format3|}}}}}<!--
 +
-->{{#if:{{{format4|}}}, {{{format4|}}}}}<!--
 +
-->{{#if:{{{format5|}}}, {{{format5|}}}}}
 +
{{!}}- class="comptf-infobox-info"
 +
|}}
 +
<!--
  
 +
IN ROTATION
  
-->{{#if: {{{download|}}}{{{steam|}}}{{{tf2maps|}}}{{{teamfortresstv|}}}{{{etf2l|}}}{{{ozf|}}}{{{ozfold|}}}{{{site|}}}{{{official_wiki|}}}{{{official_wiki_competitive|}}}{{{misc_links|}}}|
+
-->{{#if:{{{in_rotation|}}}|
! class="comptf-infobox-subtitle" colspan="2" {{!}} Links
+
{{!}} class="comptf-infobox-header" {{!}} '''In rotation'''
{{!}}-
+
{{!}} class="comptf-infobox-body" {{!}} {{{in_rotation|}}}
{{!}} class="comptf-infobox-icons" colspan="2" style="text-align:center; height:36px" {{!}}<!--
+
{{!}}- class="comptf-infobox-info"
--> {{#if:{{{download|}}}|[[File:Download icon.png|x24px|Download Link|link={{{download|}}}]]|}}<!--
 
--> {{#if:{{{steam|}}}|[[File:Steam Logo.png|x24px|Steam Workshop Page|link={{{steam|}}}]]|}}<!--
 
--> {{#if:{{{tf2maps|}}}|[[File:TF2Maps.net Logo.png|x24px|TF2Maps.net Forum Thread|link={{{tf2maps|}}}]]|}}<!--
 
--> {{#if:{{{teamfortresstv|}}}|[[File:TeamFortressTV Icon2.png|x24px|TeamFortressTV Forum Thread|link={{{teamfortresstv|}}}]]|}}<!--
 
--> {{#if:{{{official_wiki|}}}|[[File:Official Team Fortress Wiki Icon.png|x24px|Official Team Fortress Wiki Page|link={{{tf2wiki|}}}]]|}}<!--
 
--> {{#if:{{{official_wiki_competitive|}}}|[[File:Official Team Fortress Wiki Icon (Competitive)5.png|x24px|Official Team Fortress Wiki Page (Competitive)|link={{{official_wiki_competitive|}}}]]|}}<!--
 
-->{{#if:{{{misc_links|}}}|{{{misc_links|}}}|}}
 
 
|}}
 
|}}
|}
+
|}</includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude>
</includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude>
 

Latest revision as of 07:08, 2 October 2022

(view - edit) Documentation

Parameters

Bold denotes compulsory parameter

  • Intro
    • title
    • image
    • caption
  • Map Information
    • also_known_as
    • map_type
    • stages
    • control_points
    • latest_version
    • first_released
    • last_updated
    • developer/developer1, developer2, ..., developer10
    • official_map
    • download
  • Competitive Information
    • format/format1, format2, ..., format5
    • in rotation