Template:BTD6 map info: Difference between revisions

Pymonkibot (talk | contribs)
m Text replacement - "info-sub" to "subtable"
mNo edit summary
Line 1: Line 1:
<includeonly>{|class="info"
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
!class="head"|{{{name}}}
--><div class="head">{{{name}}}</div>
|-
{|class="subtable main centered"
|
{|class="subtable main centered-cells"
|[[File:{{{image}}}|250px]]
|[[File:{{{image}}}|250px]]
|}
|}
Line 27: Line 25:
|-
|-
!Entrances
!Entrances
|{{{entrances|—}}}
!Exits
!Exits
|{{{exits|—}}}
|-
!Junctions
!Junctions
|{{{junctions|—}}}
!Water?
!Water?
|-
|{{{water|—}}}
|style="text-align:center"|{{{entrances|—}}}
|}<!--
|style="text-align:center"|{{{exits|—}}}
-->{{#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>}}{{#if:{{{path lengths|}}}|<table class="subtable centered-cells">
|style="text-align:center"|{{{junctions|—}}}
{{#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>}}<!--
|style="text-align:center"|{{{water|—}}}
--></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_maps
|}{{#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>}}{{#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>}}
|}[[Category:{{{difficulty}}} maps in BTD6]]{{#seo:
|image={{{image|}}}
|keywords=BTD6 {{{name|}}}
}}{{#cargo_store:_table=btd6_maps
|id={{{id|}}}
|id={{{id|}}}


Line 62: Line 58:
|music={{{music|}}}
|music={{{music|}}}
|coop_division={{{coop division|}}}
|coop_division={{{coop division|}}}
}}</includeonly><noinclude>{{/doc}}
}}[[Category:{{{difficulty}}} maps in BTD6]]{{#seo:
 
|image={{{image|}}}
{{#cargo_declare:_table=btd6_maps
|keywords=BTD6 {{{name|}}}
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_maps
|id=String
|id=String


Line 86: Line 83:
|music=String
|music=String
|coop_division=Integer
|coop_division=Integer
}}</noinclude>
}}{{/doc}}</noinclude>