Template:BTD6 upgrade wide: Difference between revisions

No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{|class="wide-sub"
<includeonly>{|class="wide-sub"
!colspan="2" style="height:20px;text-align:left"|[[{{{page name|}}}|{{{name|}}}]]<div style="float:right">XP cost: {{formatnum:{{{xp|0}}}}}</div>
!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:60px;text-align:center"|[[File:{{{icon|image needed.png}}}|50x50px|link={{{page name|}}}]]
|style="width:60px;text-align:center"|[[File:{{{icon|image needed.png}}}|50x50px|link={{{page name|}}}]]
Line 10: Line 10:
![[Impoppable (BTD6)|Impoppable]]
![[Impoppable (BTD6)|Impoppable]]
{{!}}-
{{!}}-
{{!}}${{formatnum:{{#expr: floor({{{1|350}}} * 0.85) + 2.5 - ((floor({{{1|350}}} * 0.85) + 2.5) fmod 10) + {{#ifexpr: ((floor({{{1|350}}} * 0.85) + 2.5) fmod 10) > 5|5|0}}}}}}
{{!}}${{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:{{{cost|0}}}}}
{{!}}${{formatnum:{{#expr: floor({{{1|350}}} * 1.08) + 2.5 - ((floor({{{1|350}}} * 1.08) + 2.5) fmod 10) + {{#ifexpr: ((floor({{{1|350}}} * 1.08) + 2.5) fmod 10) > 5|5|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({{{1|350}}} * 1.2) + 2.5 - ((floor({{{1|350}}} * 1.2) + 2.5) fmod 10) + {{#ifexpr: ((floor({{{1|350}}} * 1.2) + 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>