Difference between revisions of "Template:Infobox map"

From comp.tf
Jump to navigation Jump to search
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"
<!---
+
<!--
  
AKA
+
MAP TYPE
  
-->{{#if:{{{aka|}}}|
+
-->{{#if:{{{map_type|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''{{abbr|AKA|Also Known As}}'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Map Type'''
{{!}} class="comptf-infobox-body" {{!}} ''{{{aka|}}}''
+
{{!}} class="comptf-infobox-body" {{!}} [[{{{map_type|}}}]]
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
 
|}}
 
|}}
 
<!--
 
<!--
  
GAME MODE
+
CHECKPOINTS
  
-->{{#if:{{{game_mode|}}}|
+
-->{{#if:{{{checkpoints|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''Game Mode'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Checkpoints'''
{{!}} class="comptf-infobox-body" {{!}} [[{{{game_mode|}}}]]
+
{{!}} class="comptf-infobox-body" {{!}} {{{checkpoints|}}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
 
|}}
 
|}}
Line 101: Line 101:
 
-->{{#if:{{{developer9|}}}|<br />{{{developer9|}}}|}}<!--
 
-->{{#if:{{{developer9|}}}|<br />{{{developer9|}}}|}}<!--
 
-->{{#if:{{{developer10|}}}|<br />{{{developer10|}}}|}}
 
-->{{#if:{{{developer10|}}}|<br />{{{developer10|}}}|}}
{{!}}- {{#if:{{{pro_version_of|}}}|class="comptf-infobox-info"|}}
+
{{!}}- {{#if:{{{download|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|}}}
{{!}}-
+
{{!}}- class="comptf-infobox-info"
 
|}}
 
|}}
 
<!--
 
<!--
 +
 +
DOWNLOAD
 +
 +
-->{{#if:{{{download|}}}|
 +
{{!}} class="comptf-infobox-header" {{!}} '''Download link'''
 +
{{!}} class="comptf-infobox-body" {{!}} {{download|{{{download|}}}}}
 +
{{!}}- class="comptf-infobox-info"
 +
|}}
 +
<!--
 +
 +
  
  
 +
COMPETITIVE INFORMATION
  
  
LINKS
 
  
  
 +
-->! class="comptf-infobox-subtitle" colspan="2" | Competitive Information
 +
|- class="comptf-infobox-info"
 +
<!--
  
 +
FORMATS
  
-->{{#if: {{{download|}}}{{{steam|}}}{{{tf2maps|}}}{{{teamfortresstv|}}}{{{etf2l|}}}{{{ozf|}}}{{{ozfold|}}}{{{site|}}}{{{official_wiki|}}}{{{official_wiki_competitive|}}}{{{misc_links|}}}|
+
-->{{#if:{{{format|}}}|
! class="comptf-infobox-subtitle" colspan="2" {{!}} Links
+
{{!}} class="comptf-infobox-header" {{!}} '''Format'''
{{!}}-
+
{{!}} class="comptf-infobox-body" {{!}} {{{format|}}}
{{!}} colspan="2" style="text-align:center; height:36px" {{!}}<!--
+
{{!}}- class="comptf-infobox-info"
--> {{#if:{{{download|}}}|[[File:Download icon.png|32px|Download Link|link={{{download|}}}]]|}}<!--
 
--> {{#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|}}}]]|}}<!--
 
--> {{#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:{{{teamfortresstv3|}}}|[[File:TeamFortressTV Icon2.png|32px|TeamFortressTV Forum Thread (3)|link={{{teamfortresstv3|}}}]]|}}<!--
 
--> {{#if:{{{refresh|}}}|[[File:Refresh.tf icon.png|32px|Refresh.tf|link={{{refresh|}}}]]|}}<!--
 
--> {{#if:{{{official_wiki|}}}|[[File:Official Team Fortress Wiki Icon.png|32px|Official Team Fortress Wiki Page|link={{{official_wiki|}}}]]|}}<!--
 
--> {{#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:{{{misc_links|}}}|{{{misc_links|}}}|}}
 
 
|}}
 
|}}
 +
<!--
 +
 +
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>

Revision as of 23:36, 28 September 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