Template:BTD6 frontier encounter: Difference between revisions

m "story towers" doesn't make sense for side missions that also have pre-placed towers...........
m made it so the replay and elite columns are hidden on firing rang
Line 1: Line 1:
<includeonly><div class="cr-wrapper">
<includeonly><div class="cr-wrapper">
{|class="wikitable double-width"
{|class="wikitable double-width"
!Map
|style="text-align:center"|{{#cargo_query:table=btd6_maps|fields=CONCAT("[[File:", image,"|x150px|link=",_pageName,"]]<br>[[", _pageName, "|", name, "]]")=Image|where=btd6_maps.id='{{{mapId|}}}'}}
|-
!Type
!Type
|{{{encounterType|}}}
|{{{encounterType|}}}
|-
!Map
|style="text-align:center"|{{#cargo_query:table=btd6_maps|fields=CONCAT("[[File:", image,"|x150px|link=",_pageName,"]]<br>[[", _pageName, "|", name, "]]")=Image|where=btd6_maps.id='{{{mapId|}}}'}}
|-
|-
!Roundset
!Roundset
Line 16: Line 16:
!colspan="2"|Challenge rules
!colspan="2"|Challenge rules
!First time
!First time
{{#ifeq:{{{mapId|}}}|FiringRange||
!Replay
!Replay
!Elite
!Elite}}
|-
|-
!colspan="2"|[[File:BTD6 StartRoundIconSmall.png|20px]] Start round
!colspan="2"|[[File:BTD6 StartRoundIconSmall.png|20px|link=]] Start round
|{{{startRound|}}}
|{{{startRound|}}}
|{{#expr:{{{startRound|}}} + {{{replayStartRoundAddition|}}}}}
{{#ifeq:{{{mapId|}}}|FiringRange||
|{{#expr:{{{startRound|}}} + {{{eliteStartRoundAddition|}}}}}
{{!}}{{#expr:{{{startRound|}}} + {{{replayStartRoundAddition|}}}}}
{{!}}{{#expr:{{{startRound|}}} + {{{eliteStartRoundAddition|}}}}}}}
|-
|-
!colspan="2"|[[File:BTD6 EndRoundIconSmall.png|20px]] End round
!colspan="2"|[[File:BTD6 EndRoundIconSmall.png|20px|link=]] End round
|{{{endRound|}}}
|{{{endRound|}}}
|{{#expr:{{{endRound|}}} + {{{replayEndRoundAddition|}}}}}
{{#ifeq:{{{mapId|}}}|FiringRange||
|{{#expr:{{{endRound|}}} + {{{eliteEndRoundAddition|}}}}}
{{!}}{{#expr:{{{endRound|}}} + {{{replayEndRoundAddition|}}}}}
{{!}}{{#expr:{{{endRound|}}} + {{{eliteEndRoundAddition|}}}}}}}
|-
|-
!rowspan="2"|[[File:BTD6 FrontierGoldenBananas.png|x20px]]  Rewards
!rowspan="2"|{{BTD6 bananite|name=y|link=y}}
!End of round
!End of round
|{{{endOfRoundCashMultiplier|}}}×<br>(${{formatnum:{{#expr:(200 + {{{startRound|}}} + {{{endRound|}}}) * ({{{endRound|}}} - {{{startRound|}}} + 1) / 2 * {{{endOfRoundCashMultiplier|}}}}}}} total)
|×{{{endOfRoundCashMultiplier|}}}<br>(${{formatnum:{{#expr:(200 + {{{startRound|}}} + {{{endRound|}}}) * ({{{endRound|}}} - {{{startRound|}}} + 1) / 2 * {{{endOfRoundCashMultiplier|}}}}}}} total)
|{{#expr:{{{replayEndOfRoundCashMultiplier|}}} * {{{endOfRoundCashMultiplier|}}}}}×<br>(${{formatnum:{{#expr:(200 + {{{startRound|}}} + {{{endRound|}}} + {{{replayStartRoundAddition|}}} + {{{replayEndRoundAddition|}}}) * ({{{endRound|}}} + {{{replayEndRoundAddition|}}} - {{{startRound|}}} - {{{replayStartRoundAddition|}}} + 1) / 2 * {{{replayEndOfRoundCashMultiplier|}}} * {{{endOfRoundCashMultiplier|}}}}}}} total)
{{#ifeq:{{{mapId|}}}|FiringRange||
|{{#expr:{{{eliteEndOfRoundCashMultiplier|}}} * {{{endOfRoundCashMultiplier|}}}}}×<br>(${{formatnum:{{#expr:(200 + {{{startRound|}}} + {{{endRound|}}} + {{{eliteStartRoundAddition|}}} + {{{eliteEndRoundAddition|}}}) * ({{{endRound|}}} + {{{eliteEndRoundAddition|}}} - {{{startRound|}}} - {{{eliteStartRoundAddition|}}} + 1) / 2 * {{{eliteEndOfRoundCashMultiplier|}}} * {{{endOfRoundCashMultiplier|}}}}}}} total)
{{!}}×{{#expr:{{{replayEndOfRoundCashMultiplier|}}} * {{{endOfRoundCashMultiplier|}}}}}<br>(${{formatnum:{{#expr:(200 + {{{startRound|}}} + {{{endRound|}}} + {{{replayStartRoundAddition|}}} + {{{replayEndRoundAddition|}}}) * ({{{endRound|}}} + {{{replayEndRoundAddition|}}} - {{{startRound|}}} - {{{replayStartRoundAddition|}}} + 1) / 2 * {{{replayEndOfRoundCashMultiplier|}}} * {{{endOfRoundCashMultiplier|}}}}}}} total)
{{!}}×{{#expr:{{{eliteEndOfRoundCashMultiplier|}}} * {{{endOfRoundCashMultiplier|}}}}}<br>(${{formatnum:{{#expr:(200 + {{{startRound|}}} + {{{endRound|}}} + {{{eliteStartRoundAddition|}}} + {{{eliteEndRoundAddition|}}}) * ({{{endRound|}}} + {{{eliteEndRoundAddition|}}} - {{{startRound|}}} - {{{eliteStartRoundAddition|}}} + 1) / 2 * {{{eliteEndOfRoundCashMultiplier|}}} * {{{endOfRoundCashMultiplier|}}}}}}} total)}}
|-
|-
!Victory
!Victory
|${{formatnum:{{#expr: 100 * {{{victoryCashMultiplier|}}}}}}}
|${{formatnum:{{#expr: 100 * {{{victoryCashMultiplier|}}}}}}}
|${{formatnum:{{#expr: 100 * {{{victoryCashMultiplier|}}} * {{{replayVictoryCashMultiplier|}}}}}}}
{{#ifeq:{{{mapId|}}}|FiringRange||
|${{formatnum:{{#expr: 100 * {{{victoryCashMultiplier|}}} * {{{eliteVictoryCashMultiplier|}}}}}}}
{{!}}${{formatnum:{{#expr: 100 * {{{victoryCashMultiplier|}}} * {{{replayVictoryCashMultiplier|}}}}}}}
{{!}}${{formatnum:{{#expr: 100 * {{{victoryCashMultiplier|}}} * {{{eliteVictoryCashMultiplier|}}}}}}}}}
|-
|-
|colspan="5"|{{#ifexpr:{{{speedMultiplier|1.0}}} = 1.0 and {{{moabSpeedMultiplier|1.0}}} = 1.0 and {{{regrowRateMultiplier|1.0}}} = 1.0 and {{{abilityCooldownReductionMultiplier|1.0}}} = 1.0 and {{{removeableCostMultiplier|1.0}}} = 1.0 and {{{bloonHealthMultiplier|1.0}}} = 1.0 and {{{moabHealthMultiplier|1.0}}} = 1.0 and {{{bossHealthMultiplier|1.0}}} = 1.0 and {{{bossSpeedMultiplier|1.0}}} = 1.0|*None|*{{#ifeq:{{{speedMultiplier|1.0}}}|1.0||{{#ifexpr:{{{speedMultiplier|1.0}}} > 1.0|[[File:BTD6 FasterBloonsIcon.png|20px]]|[[File:BTD6 SlowerBloonsIcon.png|20px]]}} Bloon speed: {{#expr:{{{speedMultiplier|1.0}}}*100}}%}}
|colspan="{{#ifeq:{{{mapId|}}}|FiringRange|3|5}}"|{{#ifexpr:{{{speedMultiplier|1.0}}} = 1.0 and {{{moabSpeedMultiplier|1.0}}} = 1.0 and {{{regrowRateMultiplier|1.0}}} = 1.0 and {{{abilityCooldownReductionMultiplier|1.0}}} = 1.0 and {{{removeableCostMultiplier|1.0}}} = 1.0 and {{{bloonHealthMultiplier|1.0}}} = 1.0 and {{{moabHealthMultiplier|1.0}}} = 1.0 and {{{bossHealthMultiplier|1.0}}} = 1.0 and {{{bossSpeedMultiplier|1.0}}} = 1.0|*None|*{{#ifeq:{{{speedMultiplier|1.0}}}|1.0||{{#ifexpr:{{{speedMultiplier|1.0}}} > 1.0|[[File:BTD6 FasterBloonsIcon.png|20px]]|[[File:BTD6 SlowerBloonsIcon.png|20px]]}} Bloon speed: {{#expr:{{{speedMultiplier|1.0}}}*100}}%}}
*{{#ifeq:{{{moabSpeedMultiplier|1.0}}}|1.0||{{#ifexpr:{{{moabSpeedMultiplier|1.0}}} > 1.0|[[File:BTD6 FasterMoabIcon.png|20px]]|[[File:BTD6 SlowerMoabIcon.png|20px]]}} MOAB speed: {{#expr:{{{moabSpeedMultiplier|1.0}}}*100}}%}}
*{{#ifeq:{{{moabSpeedMultiplier|1.0}}}|1.0||{{#ifexpr:{{{moabSpeedMultiplier|1.0}}} > 1.0|[[File:BTD6 FasterMoabIcon.png|20px]]|[[File:BTD6 SlowerMoabIcon.png|20px]]}} MOAB speed: {{#expr:{{{moabSpeedMultiplier|1.0}}}*100}}%}}
*{{#ifeq:{{{regrowRateMultiplier|1.0}}}|1.0||{{#ifexpr:{{{regrowRateMultiplier|1.0}}}> 1.0|[[File:BTD6 RegrowRateIncreaseIcon.png|20px]]|[[File:BTD6 RegrowRateDecreaseIcon.png|20px]]}} Regrow rate: {{#expr:{{{regrowRateMultiplier|1.0}}}*100}}%}}
*{{#ifeq:{{{regrowRateMultiplier|1.0}}}|1.0||{{#ifexpr:{{{regrowRateMultiplier|1.0}}}> 1.0|[[File:BTD6 RegrowRateIncreaseIcon.png|20px]]|[[File:BTD6 RegrowRateDecreaseIcon.png|20px]]}} Regrow rate: {{#expr:{{{regrowRateMultiplier|1.0}}}*100}}%}}
Line 59: Line 64:
<ul style="column-width:100px"><li>Round {{#replace:{{#replace:{{{rushList|}}}|,|:<nowiki/> <nowiki/>}}|;|</li><li>Round<nowiki/> <nowiki/>}}
<ul style="column-width:100px"><li>Round {{#replace:{{#replace:{{{rushList|}}}|,|:<nowiki/> <nowiki/>}}|;|</li><li>Round<nowiki/> <nowiki/>}}
</li></ul>|None}}
</li></ul>|None}}
{{#ifeq:{{{mapId|}}}|FiringRange||
!Replay
!Replay
|{{#if:{{{replayReinforcementSet|}}}|[[List of rounds in Frontier Legends#Reinforcement set {{{replayReinforcementSet|}}}|Type {{{replayReinforcementSet|}}}]]
|{{#if:{{{replayReinforcementSet|}}}|[[List of rounds in Frontier Legends#Reinforcement set {{{replayReinforcementSet|}}}|Type {{{replayReinforcementSet|}}}]]
Line 66: Line 72:
|{{#if:{{{eliteReinforcementSet|}}}|[[List of rounds in Frontier Legends#Reinforcement set {{{eliteReinforcementSet|}}}|Type {{{eliteReinforcementSet|}}}]]
|{{#if:{{{eliteReinforcementSet|}}}|[[List of rounds in Frontier Legends#Reinforcement set {{{eliteReinforcementSet|}}}|Type {{{eliteReinforcementSet|}}}]]
<ul style="column-width:100px"><li>Round {{#replace:{{#replace:{{{eliteRushList|}}}|,|:<nowiki/> <nowiki/>}}|;|</li><li>Round<nowiki/> <nowiki/>}}
<ul style="column-width:100px"><li>Round {{#replace:{{#replace:{{{eliteRushList|}}}|,|:<nowiki/> <nowiki/>}}|;|</li><li>Round<nowiki/> <nowiki/>}}
</li></ul>|None}}
</li></ul>|None}}}}
|}</includeonly><noinclude>{{/doc}}</noinclude><templatestyles src="BTD6 challenge rules/style.css"/>
|}</includeonly><noinclude>{{/doc}}</noinclude><templatestyles src="BTD6 challenge rules/style.css"/>