Template:BTD6 frontier area info: Difference between revisions

Let's see if this can work
 
first bug fix
Line 9: Line 9:
{|class="info-sub"
{|class="info-sub"
!Connected to
!Connected to
|{{{connected to}}}
|colspan="2"|{{{connected to}}}
|-
|-
!Loot chests
!Loot chests
|{{#ifexpr:{{{bananite chests|}}} != 0 or {{#if:{{{loot|}}}|1|0}}
|colspan="2"|{{#ifexpr:{{{bananite chests|}}} != 0 or {{#if:{{{loot|}}}|1|0}}
|{{#if:{{{bananite chests|}}}|<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|<ul><li>{{{bananite chests|}}}× Bananite Chest ({{Currency|image=BTD6 FrontierGoldenBananas.png|name=Bananite|amount={{#expr:{{{bananite chests|}}} * 1500}}}})</li></ul><br>|}}{{{loot|}}}
|―}}
|―}}
|-
|-
!Bloon Encounters
!Bloon Encounters
|{{#if:{{{maps|}}}|1|0}}
|colspan="2"|{{#if:{{{maps|}}}|{{{maps|}}}|―}}
|-
|-
![[Bananite|Bananite crystals]]
![[Bananite|Bananite crystals]]
Line 24: Line 24:
!Campfire
!Campfire
|{{#ifexpr:{{{bananite chests|}}} != 0|Yes|No}}
|{{#ifexpr:{{{bananite chests|}}} != 0|Yes|No}}
|-
![[Fishing spot]]
![[Fishing spot]]
|{{#ifexpr:{{{bananite chests|}}} != 0|Yes|No}}
|{{#ifexpr:{{{bananite chests|}}} != 0|Yes|No}}
Line 49: Line 50:
|maps              =Wikitext
|maps              =Wikitext
|bananite_crystals =Integer
|bananite_crystals =Integer
fishing_spot       =Integer
|fishing_spot     =Integer
campfire           =Integer
|campfire         =Integer
}}{{/doc}}</noinclude>
}}{{/doc}}</noinclude>