Difference between revisions of "Template:Infobox map"

From comp.tf
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 40: 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"
<!---
+
<!--
 +
 
 +
ALSO KNOWN AS
 +
 
 +
-->{{#if:{{{also_known_as|}}}|
 +
{{!}} class="comptf-infobox-header" {{!}} '''Also known as'''
 +
{{!}} 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"
 +
|}}
 +
<!--
  
AKA
+
STAGES
  
-->{{#if:{{{aka|}}}|
+
-->{{#if:{{{stages|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''{{abbr|AKA|Also Known As}}'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Stages'''
{{!}} class="comptf-infobox-body" {{!}} ''{{{aka|}}}''
+
{{!}} class="comptf-infobox-body" {{!}} {{{stages|}}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
 
|}}
 
|}}
 
<!--
 
<!--
  
GAME MODE
+
CONTROL POINTS
  
-->{{#if:{{{game_mode|}}}|
+
-->{{#if:{{{control_points|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''Game Mode'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Control points'''
{{!}} class="comptf-infobox-body" {{!}} [[{{{game_mode|}}}]]
+
{{!}} class="comptf-infobox-body" {{!}} {{{control_points|}}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
 
|}}
 
|}}
Line 63: 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 72: 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 81: 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 101: Line 119:
 
-->{{#if:{{{developer9|}}}|<br />{{{developer9|}}}|}}<!--
 
-->{{#if:{{{developer9|}}}|<br />{{{developer9|}}}|}}<!--
 
-->{{#if:{{{developer10|}}}|<br />{{{developer10|}}}|}}
 
-->{{#if:{{{developer10|}}}|<br />{{{developer10|}}}|}}
{{!}}- {{#if:{{{pro_version_of|}}}|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|}}}}}
 +
{{!}}-
 +
|}}
 +
<!--
  
  
LINKS
 
  
  
 +
COMPETITIVE INFORMATION
  
  
-->{{#if: {{{download|}}}{{{steam|}}}{{{tf2maps|}}}{{{teamfortresstv|}}}{{{etf2l|}}}{{{ozf|}}}{{{ozfold|}}}{{{site|}}}{{{official_wiki|}}}{{{official_wiki_competitive|}}}{{{misc_links|}}}|
+
 
! class="comptf-infobox-subtitle" colspan="2" {{!}} Links
+
 
{{!}}-
+
-->{{#if:{{{format|}}}{{{format1|}}}{{{in_rotation|}}}|
{{!}} colspan="2" style="text-align:center; height:36px" {{!}}<!--
+
! class="comptf-infobox-subtitle" colspan="2" {{!}} Competitive Information
--> {{#if:{{{download|}}}|[[File:Download icon.png|32px|Download Link|link={{{download|}}}]]|}}<!--
+
{{!}}- class="comptf-infobox-info"
--> {{#if:{{{steam|}}}|[[File:Steam Logo.png|32px|Steam Workshop Page|link={{{steam|}}}]]|}}<!--
+
|}}
--> {{#if:{{{steam2|}}}|[[File:Steam Logo.png|32px|Steam Workshop Page (2)|link={{{steam2|}}}]]|}}<!--
+
<!--
--> {{#if:{{{tf2maps|}}}|[[File:TF2Maps.net Logo.png|32px|TF2Maps.net Forum Thread|link={{{tf2maps|}}}]]|}}<!--
+
 
--> {{#if:{{{tf2maps2|}}}|[[File:TF2Maps.net Logo.png|32px|TF2Maps.net Forum Thread (2)|link={{{tf2maps2|}}}]]|}}<!--
+
FORMATS
--> {{#if:{{{teamfortresstv|}}}|[[File:TeamFortressTV Icon2.png|32px|TeamFortressTV Forum Thread|link={{{teamfortresstv|}}}]]|}}<!--
+
 
--> {{#if:{{{teamfortresstv2|}}}|[[File:TeamFortressTV Icon2.png|32px|TeamFortressTV Forum Thread (2)|link={{{teamfortresstv2|}}}]]|}}<!--
+
-->{{#if:{{{format|}}}{{{format1|}}}|
--> {{#if:{{{teamfortresstv3|}}}|[[File:TeamFortressTV Icon2.png|32px|TeamFortressTV Forum Thread (3)|link={{{teamfortresstv3|}}}]]|}}<!--
+
{{!}} class="comptf-infobox-header" {{!}} '''Format{{#if:{{{format2|}}}|s}}'''
--> {{#if:{{{refresh|}}}|[[File:Refresh.tf icon.png|32px|Refresh.tf|link={{{refresh|}}}]]|}}<!--
+
{{!}} class="comptf-infobox-body" {{!}} {{{format|{{{format1|}}}}}}<!--
--> {{#if:{{{official_wiki|}}}|[[File:Official Team Fortress Wiki Icon.png|32px|Official Team Fortress Wiki Page|link={{{official_wiki|}}}]]|}}<!--
+
-->{{#if:{{{format2|}}}, {{{format2|}}}}}<!--
--> {{#if:{{{official_wiki_competitive|}}}|[[File:Official Team Fortress Wiki Icon (Competitive)5.png|32px|Official Team Fortress Wiki Page (Competitive)|link={{{official_wiki_competitive|}}}]]|}}<!--
+
-->{{#if:{{{format3|}}}, {{{format3|}}}}}<!--
-->{{#if:{{{misc_links|}}}|{{{misc_links|}}}|}}
+
-->{{#if:{{{format4|}}}, {{{format4|}}}}}<!--
 +
-->{{#if:{{{format5|}}}, {{{format5|}}}}}
 +
{{!}}- class="comptf-infobox-info"
 +
|}}
 +
<!--
 +
 
 +
IN ROTATION
 +
 
 +
-->{{#if:{{{in_rotation|}}}|
 +
{{!}} class="comptf-infobox-header" {{!}} '''In rotation'''
 +
{{!}} class="comptf-infobox-body" {{!}} {{{in_rotation|}}}
 +
{{!}}- class="comptf-infobox-info"
 
|}}
 
|}}
|}
+
|}</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