Template:BTD6 challenge rules: Difference between revisions

mNo edit summary
m made it so quests now display their music
 
(28 intermediate revisions by the same user not shown)
Line 21: Line 21:
!Victory text
!Victory text
{{!}} {{{victory}}}
{{!}} {{{victory}}}
{{!}}-
!Music
{{!}} {{#if:{{{musicTrack|}}}|{{#switch:{{{musicTrack}}}
|MusicUpbeat1A=Fiesta Flamenco
|MusicUpbeat2A=Sunshine Serenade
|MusicUpbeat3A=Sunset Samba
|MusicCityA=Tropical Carnival
|MusicDarkA=Tribes & Tribulations
|MusicCoopA=Frozen Over
|MusicSailsAgain=Sails Again
|MusicBTD5JazzA=Jazz Theme
|MusicBMCStreetParty=BMC Street Party
|MusicWinterChilledMix=Winter Nights Chilled
|MusicTropicalClassyBrassMix=Tropical Carnival - Classy Brass Mix
|MusicBossOnslaughtGlitch=The Reality Warper
|{{{musicTrack}}}}}|Default}}
{{!}}}
{{!}}}
}}<!--
}}<!--
Line 26: Line 42:
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">}}<div class="flex-wrapper"><!--
<table class="subtable single-width">
-->{{#switch:{{{type|}}}|odysseyEvent|bossBloon|Quest=|#default=
<tr><th>{{#switch:{{{type|}}}
<div class="flex-item single-width"><div class="flex-item-header">{{#switch:{{{type|}}}
|dailyChallenge|advancedChallenge|coopChallenge|quest|raceEvent={{{name|}}}
|dailyChallenge|advancedChallenge|coopChallenge|quest|raceEvent={{{name|}}}
|#default=Properties
|#default=Properties
}}</th></tr>
}}</div><div class="flex-item-body" style="column-width:330px"><!--
<tr><td style="height:100%"><div style="column-width:330px"><!--
-->{{{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}}}
|VERTICAL=Vertical split
|VERTICAL=Vertical split
Line 44: Line 59:
-->{{#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 class="flex-item single-width"><div class="flex-item-header">{{#ifeq:{{{type|}}}|odysseyEvent|Island rules|Challenge rules}}</div><!--
{|class="subtable single-width"
--><div class="flex-item-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


-->{{#switch:{{{type}}}|odysseyEvent|bossBloon|Quest=Map: {{{map|}}} ({{{difficulty|}}} — {{{mode|}}})}}<!--
-->{{#switch:{{{type}}}|odysseyEvent|bossBloon|Quest={{{map|}}} ({{{difficulty|}}} — {{{mode|}}})}}<!--
-->{{#ifeq:{{{type}}}|odysseyEvent|{{#if:{{{rewards|}}}|<br>Rewards: {{BTD6 rewards|{{{rewards}}}}}}}}}<!--
-->{{#ifeq:{{{type}}}|odysseyEvent|{{#if:{{{rewards|}}}|<br>Rewards: {{BTD6 rewards|{{{rewards}}}}}}}}}<!--


--><div class="200px-columns"><!--
--><div class="columns-200px"><!--
-->{{#ifeq:{{{type|}}}|odysseyEvent||[[File:BTD6 MaxMonkeysIcon.png|18px|link=]] Max monkeys: {{#ifexpr:{{{maxTowers|-1}}}=-1 or {{{maxTowers|-1}}}>=9999|Default|{{{maxTowers|}}}}}<br>}}<!--
-->{{#ifeq:{{{type|}}}|odysseyEvent||[[File:BTD6 MaxMonkeysIcon.png|18px|link=]] Max monkeys: {{#ifexpr:{{{maxTowers|-1}}}=-1 or {{{maxTowers|-1}}}>=9999|Default|{{{maxTowers|}}}}}<br>}}<!--
-->[[File:BTD6 CoinIcon.png|18px|link=]] Starting cash: {{#ifeq:{{{startingCash|-1}}}|-1|Default|${{formatnum:{{{startingCash|}}}}}}}<br><!--
-->[[File:BTD6 CoinIcon.png|18px|link=]] Starting cash: {{#ifeq:{{{startingCash|-1}}}|-1|Default|${{formatnum:{{{startingCash|}}}}}}}<br><!--
Line 64: Line 76:
-->[[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="flex-item single-width"><!--
{{{!}}class="subtable {{#switch:{{{type}}}|odysseyEvent|bossBloon|Quest=single-width|#default=double-width}}"
--><div class="flex-item-header">Modifiers</div><div class="flex-item-body columns-200px">{{#ifexpr:
!Modifiers
{{!}}-
{{!}}style="height:100%"{{!}}<div class="200px-columns">{{#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 115: Line 123:
-->{{#ifeq:{{{allCamo|}}}|1|[[File:BTD6 AllCamoIcon.png|18px|link=]] All Camo<br>}}<!--
-->{{#ifeq:{{{allCamo|}}}|1|[[File:BTD6 AllCamoIcon.png|18px|link=]] All Camo<br>}}<!--
-->{{#ifeq:{{{allRegen|}}}|1|[[File:BTD6 AllRegenIcon.png|18px|link=]] All Regrow<br>}}<!--
-->{{#ifeq:{{{allRegen|}}}|1|[[File:BTD6 AllRegenIcon.png|18px|link=]] All Regrow<br>}}<!--
-->{{#if:{{{customRounds|}}}|[[File:BTD6 CustomRoundIcon.png|18px|link=]] {{hover|Custom rounds|{{{customRounds|}}}}}<br>}}<!--
-->{{#if:{{{customRounds|}}}|[[File:BTD6 CustomRoundIcon.png|18px|link=]] {{#ifexist:Stats:Bloons TD 6/Roundsets/{{{customRounds}}}
|[[Stats:Bloons TD 6/Roundsets/{{{customRounds}}}|Custom rounds]]
|{{hover|Custom rounds|{{{customRounds|}}}}}
}}<br>}}<!--
-->{{#ifeq:{{{disableDoubleCash|}}}|1|[[File:BTD6 NoDoubleCashIcon.png|18px|link=]] Double Cash disabled<br>}}<!--
-->{{#ifeq:{{{disableDoubleCash|}}}|1|[[File:BTD6 NoDoubleCashIcon.png|18px|link=]] Double Cash disabled<br>}}<!--
-->{{#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="flex-item double-width"><div class="flex-item-header">Allowed towers</div><!--
{{{!}}class="subtable double-width"
--><div class="flex-item-body columns-200px">{{{_towers|}}}</div></div><!--
!Allowed towers
--></div>}}</div><!--
{{!}}-
-->{{#ifeq:{{NAMESPACENUMBER}}|3150|{{#switch:{{{type|}}}
{{!}}style="height:100%"{{!}}<div class="200px-columns">{{{_towers|}}}</div>
{{!}}}
}}</div>{{#ifeq:{{{type}}}|odysseyEvent||</div>}}<!--
-->{{#ifeq:{{NAMESPACENUMBER}}|0|{{#switch:{{{type|}}}
|raceEvent={{#cargo_store:_table=btd6_events
|raceEvent={{#cargo_store:_table=btd6_events
|id={{{id|}}}
|id={{{id|}}}
Line 174: Line 179:
|rewardType={{{rewardType|}}}
|rewardType={{{rewardType|}}}
|icon={{{icon|}}}
|icon={{{icon|}}}
}}}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_events
}}}}{{#cargo_store:_table=btd6_challenge_rules
|type={{{type|}}}
|id={{{id|}}}
|name={{{name|}}}
|map={{{map|}}}
|difficulty={{{difficulty|}}}
|mode={{{mode|}}}
|coopDivisionType={{{coopDivisionType|}}}
|chalType={{{chalType|}}}
|removeableCostMultiplier={{{removeableCostMultiplier|}}}
|abilityCooldownReductionMultiplier={{{abilityCooldownReductionMultiplier|}}}
|numberOfPlayers={{{numberOfPlayers|}}}
|maxTowers={{{maxTowers|}}}
|maxPowers={{{maxPowers|}}}
|leastCashUsed={{{leastCashUsed|}}}
|leastTiersUsed={{{leastTiersUsed|}}}
|seed={{{seed|}}}
|maxParagons={{{maxParagons|}}}
|ignoreLeastMode={{{ignoreLeastMode|}}}
|disableSelling={{{disableSelling|}}}
|disableMK={{{disableMK|}}}
|disablePowers={{{disablePowers|}}}
|disableInstas={{{disableInstas|}}}
|disableDoubleCash={{{disableDoubleCash|}}}
|disableFastTrack={{{disableFastTrack|}}}
|noContinues={{{noContinues|}}}
|noInstaReward={{{noInstaReward|}}}
|displayIncludedTowers={{{displayIncludedTowers|}}}
|displayIncludedPowers={{{displayIncludedPowers|}}}
|disableHeroBoosting={{{disableHeroBoosting|}}}
|disableTowerXp={{{disableTowerXp|}}}
|disablePlayerCosmetics={{{disablePlayerCosmetics|}}}
|customRounds={{{customRounds|}}}
|bloonHealthMultiplier={{{bloonHealthMultiplier|}}}
|moabHealthMultiplier={{{moabHealthMultiplier|}}}
|bossHealthMultiplier={{{bossHealthMultiplier|}}}
|speedMultiplier={{{speedMultiplier|}}}
|moabSpeedMultiplier={{{moabSpeedMultiplier|}}}
|bossSpeedMultiplier={{{bossSpeedMultiplier|}}}
|regrowRateMultiplier={{{regrowRateMultiplier|}}}
|allCamo={{{allCamo|}}}
|allRegen={{{allRegen|}}}
|lives={{{lives|}}}
|maxLives={{{maxLives|}}}
|startingCash={{{startingCash|}}}
|startRound={{{startRound|}}}
|endRound={{{endRound|}}}
|revives={{{revives|}}}
|baseMapTextureId={{{baseMapTextureId|}}}
|musicTrack={{{musicTrack|}}}
|popCashMultiplier={{{popCashMultiplier|}}}
|towerCashMultiplier={{{towerCashMultiplier|}}}
|roundCashMultiplier={{{roundCashMultiplier|}}}
|sellValueMultiplier={{{sellValueMultiplier|}}}
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_challenge_rules
|type=Wikitext string
|id=String
|id=String
|name=String
|name=String
|start=Start datetime
|map=String
|end=End datetime
|difficulty=String
|type=String
|mode=String
|frequency=String
|coopDivisionType=Integer
|priority=Integer
|chalType=Integer
|rewards=String
|removeableCostMultiplier=Float
|metadata=String
|abilityCooldownReductionMultiplier=Float
|description=String
|numberOfPlayers=Integer
|rewardType=String
|maxTowers=Integer
|icon=String
|maxPowers=Integer
|leastCashUsed=Integer
|leastTiersUsed=Integer
|seed=Integer
|maxParagons=Integer
|ignoreLeastMode=Boolean
|disableSelling=Boolean
|disableMK=Boolean
|disablePowers=Boolean
|disableInstas=Boolean
|disableDoubleCash=Boolean
|disableFastTrack=Boolean
|noContinues=Boolean
|noInstaReward=Boolean
|displayIncludedTowers=Boolean
|displayIncludedPowers=Boolean
|disableHeroBoosting=Boolean
|disableTowerXp=Boolean
|disablePlayerCosmetics=Boolean
|customRounds=List (,) of String
|bloonHealthMultiplier=Float
|moabHealthMultiplier=Float
|bossHealthMultiplier=Float
|speedMultiplier=Float
|moabSpeedMultiplier=Float
|bossSpeedMultiplier=Float
|regrowRateMultiplier=Float
|allCamo=Boolean
|allRegen=Boolean
|lives=Integer
|maxLives=Integer
|startingCash=Integer
|startRound=Integer
|endRound=Integer
|revives=Integer
|baseMapTextureId=Integer
|musicTrack=String
|popCashMultiplier=Float
|towerCashMultiplier=Float
|roundCashMultiplier=Float
|sellValueMultiplier=Float
}}
}}
{{#cargo_attach:_table=btd6_events}}
{{#cargo_attach:_table=btd6_dcs}}{{/doc}}</noinclude><templatestyles src="BTD6 challenge rules/style.css"/>
{{#cargo_attach:_table=btd6_dcs}}{{/doc}}</noinclude><templatestyles src="BTD6 challenge rules/style.css"/>