Template:BTD6 map info: Difference between revisions

No edit summary
Pymonkibot (talk | contribs)
m Text replacement - "[[Bloons TD 6 v" to "[[Update history:Bloons TD 6/Version "
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=btd6_maps
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
|id=String
--><div class="head">{{{name}}}</div>
{|class="subtable main centered"
|[[File:{{{image}}}|250px]]
|}
{|class="subtable"
![[Map difficulty|Difficulty]]
|colspan="3"|[[{{{difficulty}}}]]
|-
!Music
|colspan="3"|{{{music|TBD}}}
|-
!Default [[Co-op (BTD6)|Co-op]] division
|colspan="3"|{{#switch:{{{coop division|}}}
|0=Free-for-all
|1=Horizontal
|2=Vertical
|3=Diagonal (top-left to bottom-right)
|4=Diagonal (top-right to bottom-left)
|#default=TBD
}}
|-
!Introduced
|colspan="3"|{{#if:{{{introduced|}}}|[[Update history:Bloons TD 6/Version {{{introduced}}}|Version {{{introduced}}}]]|Launch}}
|-
!Entrances
|{{{entrances|—}}}
!Exits
|{{{exits|—}}}
|-
!Junctions
|{{{junctions|—}}}
!Water?
|{{{water|—}}}
|}<!--
-->{{#if:{{{removable costs|}}}{{{removable labels|}}}{{{removable amounts|}}}|<table class="subtable">{{#invoke:BTD6 map info|removables|costs={{{removable costs|0}}}|labels={{{removable labels|a}}}|amounts={{{removable amounts|1}}}}}</table>}}<!--


|name        =String
-->{{#if:{{{path lengths|}}}|<table class="subtable centered-cells">{{#if:{{{path labels|}}}|{{#invoke:BTD6 map info|paths|path lengths={{{path lengths|0}}}|path labels={{{path labels|}}}}}|{{#invoke:BTD6 map info|paths|path lengths={{{path lengths|0}}}}}}}</table>}}<!--
|image        =File
--></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_maps
 
|introduced=String
|difficulty=String
 
|entrances  =Integer
|exits      =Integer
|junctions  =Integer
|path_lengths=List (,) of String
|path_labels =List (,) of String
 
|water            =Boolean
|removable_costs  =List (,) of String
|removable_labels =List (,) of String
|removable_amounts=List (,) of Integer
 
|music=String
|coop_division=Integer
}}</noinclude>
<includeonly>{{#cargo_store:_table=btd6_maps
|id={{{id|}}}
|id={{{id|}}}


Line 47: Line 62:
|image={{{image|}}}
|image={{{image|}}}
|keywords=BTD6 {{{name|}}}
|keywords=BTD6 {{{name|}}}
}}</includeonly>
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_maps
{|class="info"
|id=String
!class="head"|{{{name}}}
 
|-
|name =String
|
|image=File
{|class="info-sub main centered-cells"
 
|colspan=4|[[File:{{{image}}}|250px]]
|introduced=String
|}
|difficulty=String
|-
 
|
|entrances  =Integer
{|class="info-sub"
|exits      =Integer
![[Map difficulty|Difficulty]]
|junctions  =Integer
|colspan=3|[[{{{difficulty}}}]]
|path_lengths=List (,) of String
|-
|path_labels =List (,) of String
!Music
 
|colspan="3"|{{#ifeq:{{{music|}}}|Winter Nights Chilled|[[Music Track#Jukebox: Winter Nights - Chilled Remix]]|[[List of music in BTD6#{{{music}}}|{{{music}}}]]}}
|water            =Boolean
|-
|removable_costs  =List (,) of String
!Introduced
|removable_labels =List (,) of String
|colspan="3"|{{#if:{{{introduced|}}}|[[Bloons TD 6 v{{{introduced}}}|Version {{{introduced}}}]]|Launch}}
|removable_amounts=List (,) of Integer
|-
 
!Default [[Co-op (BTD6)|Co-op]] division
|music=String
|colspan="3"|{{#switch:{{{coop division|}}}
|coop_division=Integer
|0=Any placement
}}{{/doc}}</noinclude>
|1=Horizontal
|2=Vertical
|3=Diagonal (top-left to bottom-right)
|4=Diagonal (top-right to bottom-left)
}}
|-
!Entrances
!Exits
!Junctions
!Water?
|-
|style="text-align:center"|{{{entrances|-}}}
|style="text-align:center"|{{{exits|-}}}
|style="text-align:center"|{{{junctions|-}}}
|style="text-align:center"|{{{water|-}}}
|}
{{#if:{{{removable costs|}}}{{{removable labels|}}}{{{removable amounts|}}}|<table class="info-sub">{{#invoke:BTD6 map info|removables|costs={{{removable costs|0}}}|labels={{{removable labels|a}}}|amounts={{{removable amounts|1}}}}}</table>}}
|-
|
<table class="info-sub centered-cells">
{{#if:{{{path labels|}}}|{{#invoke:BTD6 map info|paths|path lengths={{{path lengths|0}}}|path labels={{{path labels|}}}}}|{{#invoke:BTD6 map info|paths|path lengths={{{path lengths|0}}}}}}}</table>
|}<noinclude>{{/doc}}[[Category:Infoboxes]][[Category:BTD6 templates]]</noinclude>