Template:BTD6 upgrade wide: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{|class="wide-sub" | ||
{|class="wide | !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|}}}]]<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|}}}]] | ||
| | |{{{description}}} | ||
{{#ifeq:{{{name|}}}|Monkeyopolis|Cost: ${{formatnum:{{{cost|0}}}}} + $5,000 per Monkey village|{{{!}}style="font-size:0.9em;text-align:center;margin:0!important" | {{#ifeq:{{{name|}}}|Monkeyopolis|Cost: ${{formatnum:{{{cost|0}}}}} + $5,000 per Monkey village|{{{!}}style="font-size:0.9em;text-align:center;margin:0!important" | ||
![[Easy]] | ![[Easy]] | ||
| Line 11: | Line 10: | ||
![[Impoppable (BTD6)|Impoppable]] | ![[Impoppable (BTD6)|Impoppable]] | ||
{{!}}- | {{!}}- | ||
{{!}}${{formatnum:{{#expr:({{{cost|0}}} * 0.85 | {{!}}${{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:({{{cost| | {{!}}${{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:({{{cost| | {{!}}${{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> | ||