Template:Upgrade row: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
costs
costs
-->{{#if:{{{cost|}}}|<div class="flex-item flex-item-short" style="display:flex;gap:5px">'''Costs''' {{!}}<div style="column-width:150px;width:100%"><!--
-->{{#if:{{{cost|}}}|<div class="flex-item flex-item-short" style="display:flex;gap:5px">'''Costs''' {{!}}<div style="column-width:150px;width:100%"><!--
--><div>${{formatnum:{{#expr:(floor({{{cost|6000}}} * 0.85) + 2.5 - ((floor({{{cost|6000}}} * 0.85) + 2.5) fmod 10) + {{#ifexpr: ((floor({{{cost|6000}}} * 0.85) + 2.5) fmod 10) > 5|5|0}})-{{{cost reduction|0}}}}}}} — Easy</div><!--
-->{{BTD6 cost by difficulty|{{{cost|0}}}}}</div></div>}}<!--
--><div>${{formatnum:{{#expr:(({{{cost|6000}}} / 5 round 0) * 5)-{{{cost reduction|0}}}}}}} — Medium</div><!--
--><div>${{formatnum:{{#expr:(floor({{{cost|6000}}} * 1.08) + 2.5 - ((floor({{{cost|6000}}} * 1.08) + 2.5) fmod 10) + {{#ifexpr: ((floor({{{cost|6000}}} * 1.08) + 2.5) fmod 10) > 5|5|0}})-{{{cost reduction|0}}}}}}} — Hard</div><!--
--><div>${{formatnum:{{#expr:(floor({{{cost|6000}}} * 1.2) + 2.5 - ((floor({{{cost|6000}}} * 1.2) + 2.5) fmod 10) + {{#ifexpr: ((floor({{{cost|6000}}} * 1.2) + 2.5) fmod 10) > 5|5|0}})-{{{cost reduction|0}}}}}}} — Impoppable</div><!--
--></div></div>}}<!--


effects displayed w/ lst
effects displayed w/ lst

Revision as of 05:24, 6 September 2026