Template:BTD6 upgrade wide: Difference between revisions

mNo edit summary
mNo edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{tier}}}|1|===Path {{{path}}}===}}{{#ifeq:{{{tier}}}|Paragon|===[[Paragon]]===}}
<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>}}
!colspan=2 style="height:20px;text-align:left"|[[{{{page name|}}}|{{{name|}}}]]
|rowspan=2 style="width:90px;font-size:.85em;text-align:center"|<span style="text-align:left">{{BTD6 cost by difficulty|{{{cost|0}}}}}<br>XP: {{formatnum:{{{xp|0}}}}}</span>
|-
|-
|style="width:60px"|[[File:{{{icon|image needed.png}}}|50x50px|link={{{page name|}}}|middle]]
|style="width:60px;text-align:center"|[[File:{{{icon|image needed.png}}}|50x50px|link={{{page name|}}}]]
|''{{{description}}}''
|{{{description}}}
{{#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>
|}</includeonly><noinclude>{{/doc}}[[Category:Wideboxes]][[Category:BTD6 templates]]</noinclude>