Difference between revisions of "Template:Infobox map"

From comp.tf
Jump to navigation Jump to search
 
(16 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"
 +
|}}
 
<!--
 
<!--
  
Line 45: Line 54:
  
 
-->{{#if:{{{map_type|}}}|
 
-->{{#if:{{{map_type|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''Map Type'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Map type'''
 
{{!}} class="comptf-infobox-body" {{!}} [[{{{map_type|}}}]]
 
{{!}} class="comptf-infobox-body" {{!}} [[{{{map_type|}}}]]
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
Line 51: Line 60:
 
<!--
 
<!--
  
CHECKPOINTS
+
STAGES
  
-->{{#if:{{{checkpoints|}}}|
+
-->{{#if:{{{stages|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''Checkpoints'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Stages'''
{{!}} class="comptf-infobox-body" {{!}} {{{checkpoints|}}}
+
{{!}} 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 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:{{{download|class="comptf-infobox-info"|}}
+
{{!}}- class="comptf-infobox-info"
 
|}}
 
|}}
 
<!--
 
<!--
Line 108: Line 126:
  
 
-->{{#if:{{{official_map|}}}|
 
-->{{#if:{{{official_map|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''Official Map?'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Official map'''
 
{{!}} class="comptf-infobox-body" {{!}} {{{official_map|}}}
 
{{!}} class="comptf-infobox-body" {{!}} {{{official_map|}}}
{{!}}- class="comptf-infobox-info"
+
{{!}}- {{#if:{{{download|}}}|class="comptf-infobox-info"|}}
 
|}}
 
|}}
 
<!--
 
<!--
Line 117: Line 135:
  
 
-->{{#if:{{{download|}}}|
 
-->{{#if:{{{download|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''Download link'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Download'''
 
{{!}} class="comptf-infobox-body" {{!}} {{download|{{{download|}}}}}
 
{{!}} class="comptf-infobox-body" {{!}} {{download|{{{download|}}}}}
{{!}}- class="comptf-infobox-info"
+
{{!}}-  
 
|}}
 
|}}
 
<!--
 
<!--
Line 131: Line 149:
  
  
-->! class="comptf-infobox-subtitle" colspan="2" | Competitive Information
+
-->{{#if:{{{format|}}}{{{format1|}}}{{{in_rotation|}}}|
|- class="comptf-infobox-info"
+
! class="comptf-infobox-subtitle" colspan="2" {{!}} Competitive Information
 +
{{!}}- class="comptf-infobox-info"
 +
|}}
 
<!--
 
<!--
  
 
FORMATS
 
FORMATS
  
-->{{#if:{{{format|}}}|
+
-->{{#if:{{{format|}}}{{{format1|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''Format'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Format{{#if:{{{format2|}}}|s}}'''
{{!}} class="comptf-infobox-body" {{!}} {{{format|}}}
+
{{!}} class="comptf-infobox-body" {{!}} {{{format|{{{format1|}}}}}}<!--
 +
-->{{#if:{{{format2|}}}, {{{format2|}}}}}<!--
 +
-->{{#if:{{{format3|}}}, {{{format3|}}}}}<!--
 +
-->{{#if:{{{format4|}}}, {{{format4|}}}}}<!--
 +
-->{{#if:{{{format5|}}}, {{{format5|}}}}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
 
|}}
 
|}}
Line 147: Line 171:
  
 
-->{{#if:{{{in_rotation|}}}|
 
-->{{#if:{{{in_rotation|}}}|
{{!}} class="comptf-infobox-header" {{!}} '''In Rotation'''
+
{{!}} class="comptf-infobox-header" {{!}} '''In rotation'''
 
{{!}} class="comptf-infobox-body" {{!}} {{{in_rotation|}}}
 
{{!}} class="comptf-infobox-body" {{!}} {{{in_rotation|}}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- 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