Template:BTD6 map info: Difference between revisions

mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
--><div class="head">{{{name}}}</div>
--><div class="head">{{{name}}}</div>
<div style="width:100%">[[File:{{{image}}}|frameless|800px]]</div>
{|class="subtable main centered"
|[[File:{{{image}}}|250px]]
|}
{|class="subtable"
{|class="subtable"
![[Map difficulty|Difficulty]]
![[Map difficulty|Difficulty]]
Line 32: Line 34:
|{{{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>}}{{#if:{{{path lengths|}}}|<table class="subtable centered-cells">
-->{{#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 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>}}<!--
 
-->{{#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>}}<!--
--></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_maps
--></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_maps
|id={{{id|}}}
|id={{{id|}}}