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 5: Line 5:


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><!--
--><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><!--
--><div>${{formatnum:{{#expr:(({{{cost|6000}}} / 5 round 0) * 5)-{{{cost reduction|0}}}}}}} — Medium</div><!--
--><div>${{formatnum:{{#expr:(({{{cost|6000}}} / 5 round 0) * 5)-{{{cost reduction|0}}}}}}} — Medium</div><!--

Revision as of 03:35, 1 September 2026