Template:BTD6 frontier area info: Difference between revisions

first bug fix
mNo edit summary
 
(8 intermediate revisions by 3 users not shown)
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"
|
|[[File:{{{image}}}|250px|Thumbnail of {{{name}}}]]
{|class="info-sub main centered-cells"
|[[File:{{{image}}}|250px|Map of {{{name}}}]]
|}
|}
 
{|class="subtable"
{|class="info-sub"
!Bloon Encounters
!Connected to
|colspan="2"|{{#if:{{{maps|}}}|{{{maps|}}}|―}}
|colspan="2"|{{{connected to}}}
|-
|-
!Loot chests
!Loot chests
|colspan="2"|{{#ifexpr:{{{bananite chests|}}} != 0 or {{#if:{{{loot|}}}|1|0}}
|colspan="2"|{{#ifexpr:{{{bananite chests|0}}} > 0 or {{#if:{{{loot|}}}|1|0}}<!--
|{{#ifexpr:{{{bananite chests|}}} != 0|<ul><li>{{{bananite chests|}}}× Bananite Chest ({{Currency|image=BTD6 FrontierGoldenBananas.png|name=Bananite|amount={{#expr:{{{bananite chests|}}} * 1500}}}})</li></ul><br>|}}{{{loot|}}}
-->|{{#ifexpr:{{{bananite chests|}}} != 0|{{{bananite chests|}}}× Bananite Chest ({{Currency|image=BTD6 FrontierGoldenBananas.png|name=Bananite|amount={{#expr:{{{bananite chests|}}} * 1500}}}})<br>}}{{{loot|}}}
|―}}
|―}}
|-
!Bloon Encounters
|colspan="2"|{{#if:{{{maps|}}}|{{{maps|}}}|―}}
|-
|-
![[Bananite|Bananite crystals]]
![[Bananite|Bananite crystals]]
|{{#ifexpr:{{{bananite crystals|}}} != 0|{{{bananite crystals|}}} ({{Currency|image=BTD6 FrontierGoldenBananas.png|name=Bananite|amount={{#expr:{{{bananite crystals|}}} * 150}}}})|―}}
|colspan="2"|{{#ifexpr:{{{bananite crystals|}}} != 0|{{{bananite crystals|}}} ({{Currency|image=BTD6 FrontierGoldenBananas.png|name=Bananite|amount={{#expr:{{{bananite crystals|}}} * 150}}}})|―}}
|-
|-
!Campfire
!Campfire
|{{#ifexpr:{{{bananite chests|}}} != 0|Yes|No}}
|colspan="2"|{{#ifexpr:{{{campfire|0}}} > 0|Yes|No}}
|-
|-
![[Fishing spot]]
![[Fishing Spot]]
|{{#ifexpr:{{{bananite chests|}}} != 0|Yes|No}}
|colspan="2"|{{#ifexpr:{{{fishing spot|0}}} > 0|Yes|No}}
|}
|-
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_frontier_areas
!Connected to
|colspan="2"|{{#if:{{{connected to}}}|{{{connected to}}}|―}}
|}</div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_frontier_areas
|id ={{{id|}}}
|id ={{{id|}}}
|name ={{{name|}}}
|name ={{{name|}}}