Template:BTD6 upgrade wide: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{tier}}}|1|===Path {{{path}}}===}}
<includeonly>{|class="wide-sub"
{|class="wide" style="width:100%"
!colspan="2" style="height:20px;text-align:left"|[[{{{page name|}}}|{{{name|}}}]]{{#if:{{{xp|}}}|<div style="float:right">XP cost: {{formatnum:{{{xp|0}}}}}</div>}}
!style="width:100px|[[File:{{{icon|image needed.png}}}|x60px|link={{{page name}}}]]<br>[[{{{page name|}}}|{{{name|}}}]]
|-
|style="width:60px;text-align:center"|[[File:{{{icon|image needed.png}}}|50x50px|link={{{page name|}}}]]
|{{{description}}}
|{{{description}}}
|style="width:90px"|{{BTD6 cost by difficulty|{{{cost|0}}}}}<br>XP: {{formatnum:{{{xp|0}}}}}
{{#ifeq:{{{name|}}}|Monkeyopolis|Cost: ${{formatnum:{{{cost|0}}}}} + $5,000 per Monkey village|{{{!}}style="font-size:0.9em;text-align:center;margin:0!important"
|}
![[Easy]]
![[Medium]]
![[Hard]]
![[Impoppable (BTD6)|Impoppable]]
{{!}}-
{{!}}${{formatnum:{{#expr: floor({{{cost|350}}} * 0.85) + 2.5 - ((floor({{{cost|350}}} * 0.85) + 2.5) fmod 10) + {{#ifexpr: ((floor({{{cost|350}}} * 0.85) + 2.5) fmod 10) > 5|5|0}}}}}}
{{!}}${{formatnum:{{{cost|0}}}}}
{{!}}${{formatnum:{{#expr: floor({{{cost|350}}} * 1.08) + 2.5 - ((floor({{{cost|350}}} * 1.08) + 2.5) fmod 10) + {{#ifexpr: ((floor({{{cost|350}}} * 1.08) + 2.5) fmod 10) > 5|5|0}}}}}}
{{!}}${{formatnum:{{#expr: floor({{{cost|350}}} * 1.2) + 2.5 - ((floor({{{cost|350}}} * 1.2) + 2.5) fmod 10) + {{#ifexpr: ((floor({{{cost|350}}} * 1.2) + 2.5) fmod 10) > 5|5|0}}}}}}
{{!}}}
}}
|}</includeonly><noinclude>{{/doc}}[[Category:Wideboxes]][[Category:BTD6 templates]]</noinclude>

Latest revision as of 04:59, 27 August 2025