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 "
 
(26 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"
|name        =String
|[[File:{{{image}}}|250px]]
|image        =File
|}
 
{|class="subtable"
|introduced=String
![[Map difficulty|Difficulty]]
|difficulty=String
|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>}}<!--


|entrances  =Integer
-->{{#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>}}<!--
|exits      =Integer
--></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_maps
|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
!Difficulty
|junctions  =Integer
|colspan=3|{{{difficulty}}}
|path_lengths=List (,) of String
|-
|path_labels =List (,) of String
!Music
 
|colspan=3|[[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
|-
 
!Entrances
|music=String
!Exits
|coop_division=Integer
!Junctions
}}{{/doc}}</noinclude>
!Water?
|-
|style="text-align:center"|{{{entrances|0}}}
|style="text-align:center"|{{{exits|0}}}
|style="text-align:center"|{{{junctions|0}}}
|style="text-align:center"|{{{water|0}}}
|}
|-
|
{|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}}}}}}}
|}
|}<noinclude>{{/doc}}[[Category:Infoboxes]][[Category:BTD6 templates]]</noinclude>