Template:BTD6 challenge rules: Difference between revisions

mNo edit summary
attempting to optimize for better load times
Line 26: Line 26:
CHALLENGE PROPERTIES (disabled for odysseys, bosses, and quests)
CHALLENGE PROPERTIES (disabled for odysseys, bosses, and quests)


-->{{#ifeq:{{{type}}}|odysseyEvent||<div class="cr-outer-block subtable-wrapper">}}<div class="cr-wrapper">{{#switch:{{{type|}}}|odysseyEvent|bossBloon|Quest=|#default=
-->{{#ifeq:{{{type}}}|odysseyEvent||<div class="cr-outer-block subtable-wrapper">}}<div class="cr-wrapper"><!--
<table class="subtable single-width">
-->{{#switch:{{{type|}}}|odysseyEvent|bossBloon|Quest=|#default=
<tr><th>{{#switch:{{{type|}}}
<div><div class="cr-inner-block-header">{{#switch:{{{type|}}}
|dailyChallenge|advancedChallenge|coopChallenge|quest|raceEvent={{{name|}}}
|dailyChallenge|advancedChallenge|coopChallenge|quest|raceEvent={{{name|}}}
|#default=Properties
|#default=Properties
}}</th></tr>
}}</div><div class="cr-inner-block-body" style="column-width:330px"><!--
<tr><td style="height:100%"><div style="column-width:330px"><!--
-->Map: {{{map|}}} ({{{difficulty|}}} — {{{mode|}}})<br><!--
-->Map: {{{map|}}} ({{{difficulty|}}} — {{{mode|}}})<br><!--
-->{{#ifeq:{{{type|}}}|coopChallenge|Co-op: {{#switch:{{{coopDivisionType|VERTICAL}}}
-->{{#ifeq:{{{type|}}}|coopChallenge|Co-op: {{#switch:{{{coopDivisionType|VERTICAL}}}
Line 44: Line 43:
-->{{#if:{{{date|}}}|Date: {{date|{{{date}}}|show day of the week=y}}<br>}}<!--
-->{{#if:{{{date|}}}|Date: {{date|{{{date}}}|show day of the week=y}}<br>}}<!--
-->{{#if:{{{rewards|}}}|Rewards: {{BTD6 rewards|{{{rewards}}}}}}}<!--
-->{{#if:{{{rewards|}}}|Rewards: {{BTD6 rewards|{{{rewards}}}}}}}<!--
--></div></td></tr></table>}}<!--
--></div></div>}}<!--


-->
--><div><div class="cr-inner-block-header">{{#ifeq:{{{type|}}}|odysseyEvent|Island rules|Challenge rules}}</div><!--
{|class="subtable single-width"
--><div class="cr-inner-block-body"><!--
!{{#ifeq:{{{type|}}}|odysseyEvent|Island rules|Challenge rules}}
|-
|style="height:100%"|<!--


these rows are only displayed for odysseys, bosses, and quests
these rows are only displayed for odysseys, bosses, and quests
Line 64: Line 60:
-->[[File:BTD6 EndRoundIconSmall.png|18px|link=]] End round: {{#ifeq:{{{endRound|-1}}}|-1|Default|{{{endRound}}}}}<!--
-->[[File:BTD6 EndRoundIconSmall.png|18px|link=]] End round: {{#ifeq:{{{endRound|-1}}}|-1|Default|{{{endRound}}}}}<!--
-->{{#ifeq:{{{leastTiersUsed|-1}}}|-1||<br>[[File:BTD6 LeastTiersIconSmall.png|18px|link=]] Least tiers: {{{leastTiersUsed}}}}}<!--
-->{{#ifeq:{{{leastTiersUsed|-1}}}|-1||<br>[[File:BTD6 LeastTiersIconSmall.png|18px|link=]] Least tiers: {{{leastTiersUsed}}}}}<!--
-->{{#ifeq:{{{leastCashUsed|-1}}}|-1||<br>[[File:BTD6 LeastCashIconSmall.png|18px|link=]] Least cash: {{{leastCashUsed}}}}}</div>
-->{{#ifeq:{{{leastCashUsed|-1}}}|-1||<br>[[File:BTD6 LeastCashIconSmall.png|18px|link=]] Least cash: {{{leastCashUsed}}}}}</div></div></div><!--
|}<!--


MODIFIERS / RULES (hidden for regular daily challenges)
MODIFIERS / RULES (hidden for regular daily challenges)


-->{{#ifeq:{{{type|}}}|dailyChallenge||
-->{{#ifeq:{{{type|}}}|dailyChallenge||<div class="{{#switch:{{{type}}}|odysseyEvent|bossBloon|Quest=single-width|#default=double-width}}"><!--
{{{!}}class="subtable {{#switch:{{{type}}}|odysseyEvent|bossBloon|Quest=single-width|#default=double-width}}"
--><div class="cr-inner-block-header">Modifiers</div><div class="columns-200px">{{#ifexpr:
!Modifiers
{{!}}-
{{!}}style="height:100%"{{!}}<div class="columns-200px">{{#ifexpr:
{{{speedMultiplier|1.0}}} = 1.0 and
{{{speedMultiplier|1.0}}} = 1.0 and
{{{moabSpeedMultiplier|1.0}}} = 1.0 and
{{{moabSpeedMultiplier|1.0}}} = 1.0 and
Line 119: Line 111:
-->{{#ifeq:{{{disableFastTrack|}}}|1|[[File:BTD6 FastTrackDisabledIcon.png|18px|link=]] Fast Track disabled<br>}}<!--
-->{{#ifeq:{{{disableFastTrack|}}}|1|[[File:BTD6 FastTrackDisabledIcon.png|18px|link=]] Fast Track disabled<br>}}<!--
-->{{#ifexpr:{{{maxParagons|-1}}} > -1 and {{{maxParagons|-1}}} < 10|[[File:BTD6 ParagonLimitIcon.png|18px|link=]] Paragon limit {{{maxParagons|}}}<br>}}<!--
-->{{#ifexpr:{{{maxParagons|-1}}} > -1 and {{{maxParagons|-1}}} < 10|[[File:BTD6 ParagonLimitIcon.png|18px|link=]] Paragon limit {{{maxParagons|}}}<br>}}<!--
-->{{#ifeq:{{{type|}}}|Quest||{{#ifeq:{{{noInstaReward|}}}|1|[[File:BTD6 NoInstaMonkeys.png|18px|link=]] No round 100 reward}}}}}}</div>
-->{{#ifeq:{{{type|}}}|Quest||{{#ifeq:{{{noInstaReward|}}}|1|[[File:BTD6 NoInstaMonkeys.png|18px|link=]] No round 100 reward}}}}}}</div></div>}}<!--
{{!}}}
}}<!--


ALLOWED TOWERS (hidden for odyssey islands)
ALLOWED TOWERS (hidden for odyssey islands)


-->{{#ifeq:{{{type|}}}|odysseyEvent||
-->{{#ifeq:{{{type|}}}|odysseyEvent||<div class="double-width"><div class="cr-inner-block-header">Allowed towers</div><!--
{{{!}}class="subtable double-width"
--><div class="cr-inner-block-body columns-200px">{{{_towers|}}}</div></div>}}<!--
!Allowed towers
{{!}}-
{{!}}style="height:100%"{{!}}<div class="columns-200px">{{{_towers|}}}</div>
{{!}}}
}}</div>{{#ifeq:{{{type}}}|odysseyEvent||</div>}}<!--
-->{{#ifeq:{{NAMESPACENUMBER}}|0|{{#switch:{{{type|}}}
-->{{#ifeq:{{NAMESPACENUMBER}}|0|{{#switch:{{{type|}}}
|raceEvent={{#cargo_store:_table=btd6_events
|raceEvent={{#cargo_store:_table=btd6_events
Line 188: Line 173:
|icon=String
|icon=String
}}
}}
{{#cargo_attach:_table=btd6_dcs}}{{/doc}}</noinclude><templatestyles src="BTD6 challenge rules/style.css"/>
{{#cargo_attach:_table=btd6_dcs}}{{/doc}}
 
 
{{BTD6 challenge rules|type=dailyChallenge|date=1 August 2020|_towers={{BTD6 restrictions|tower=AdmiralBrickell|max=1|isHero=1}}{{BTD6 restrictions|tower=DartMonkey|max=1|path1NumBlockedTiers=-1|path2NumBlockedTiers=2}}{{BTD6 restrictions|tower=BoomerangMonkey|max=3|path1NumBlockedTiers=1|path2NumBlockedTiers=-1|path3NumBlockedTiers=1}}{{BTD6 restrictions|tower=BombShooter|max=2|path1NumBlockedTiers=2|path2NumBlockedTiers=-1|path3NumBlockedTiers=1}}{{BTD6 restrictions|tower=MonkeySub|max=5|path1NumBlockedTiers=3|path2NumBlockedTiers=-1|path3NumBlockedTiers=1}}{{BTD6 restrictions|tower=MonkeyAce|max=2|path1NumBlockedTiers=3|path2NumBlockedTiers=4}}{{BTD6 restrictions|tower=WizardMonkey|max=3|path2NumBlockedTiers=3|path3NumBlockedTiers=1}}{{BTD6 restrictions|tower=SuperMonkey|max=1|path1NumBlockedTiers=3|path2NumBlockedTiers=-1}}{{BTD6 restrictions|tower=EngineerMonkey|max=2|path1NumBlockedTiers=3|path2NumBlockedTiers=1|path3NumBlockedTiers=2}}|map=Winter Park|difficulty=Hard|rewards=MonkeyMoney:65#Power:EnergisingTotem|mode=Standard|id=721|maxTowers=-1|seed=1|speedMultiplier=1|moabSpeedMultiplier=1|bloonHealthMultiplier=1|moabHealthMultiplier=1|allCamo=|allRegen=|disableMK=|lives=-1|maxLives=-1|startingCash=-1|startRound=-1|endRound=80|name=Tacoman's Challenge|displayIncludedTowers=1|disableSelling=|disablePowers=|noContinues=|noInstaReward=}}</noinclude><templatestyles src="BTD6 challenge rules/style.css"/>