Template:BTD6 upgrade wide: Difference between revisions

No edit summary
mNo edit summary
 
(27 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>}}
|rowspan=2|[[File:{{{icon}}}|70px|link={{{page name}}}]]
|style="font-size:150%"|[[{{{name}}}|{{{page name}}}]]
|rowspan=2|Cost:<br>{{BTD6 cost by difficulty|{{{cost|0}}}}}
|rowspan=2|XP cost:<br>{{{xp}}}
|-
|-
|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>