Difference between revisions of "Template:Template sandbox"
From Unofficial Fantasica Wiki
Line 25: | Line 25: | ||
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:ascseamlb}}>0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:sea2mlb}}+({{{2}}}/20*{{#external_value:sea2mlb}})}}}} </span> | {{formatnum:{{#external_value:sea2mlb}}}}}} | {{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:ascseamlb}}>0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:sea2mlb}}+({{{2}}}/20*{{#external_value:sea2mlb}})}}}} </span> | {{formatnum:{{#external_value:sea2mlb}}}}}} | ||
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:aschpmlb}}>0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:mlbhpmlb}}+({{{2}}}/10*{{#external_value:mlbhpmlb}})}}}} </span> | {{formatnum:{{#external_value:mlbhpmlb}}}}}} | {{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:aschpmlb}}>0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:mlbhpmlb}}+({{{2}}}/10*{{#external_value:mlbhpmlb}})}}}} </span> | {{formatnum:{{#external_value:mlbhpmlb}}}}}} | ||
− | {{!!}} {{formatnum: {{#expr:{{#external_value:arenalbmlb}}*1. | + | {{!!}} {{formatnum: {{#expr:{{#external_value:arenalbmlb}}*1.08333433*({{{2}}}+20)/20 round 0}}}} |
{{!!}} {{#external_value:skill1mlb}}{{#if: {{#external_value:skill2mlb}} | , {{#external_value:skill2mlb}}}}{{#if: {{#external_value:arenaskillmlb}} | , {{#external_value:arenaskillmlb}}}}{{#clear_external_data:}} | {{!!}} {{#external_value:skill1mlb}}{{#if: {{#external_value:skill2mlb}} | , {{#external_value:skill2mlb}}}}{{#if: {{#external_value:arenaskillmlb}} | , {{#external_value:arenaskillmlb}}}}{{#clear_external_data:}} | ||
| {{!}}- | | {{!}}- | ||
Line 39: | Line 39: | ||
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:ascsea}}>0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:sea2}}+({{{2}}}/20*{{#external_value:sea2}})}}}} </span> | {{formatnum:{{#external_value:sea2}}}}}} | {{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:ascsea}}>0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:sea2}}+({{{2}}}/20*{{#external_value:sea2}})}}}} </span> | {{formatnum:{{#external_value:sea2}}}}}} | ||
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:aschp}}>0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:mlbhp}}+({{{2}}}/10*{{#external_value:mlbhp}})}}}} </span> | {{formatnum:{{#external_value:mlbhp}}}}}} | {{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:aschp}}>0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:mlbhp}}+({{{2}}}/10*{{#external_value:mlbhp}})}}}} </span> | {{formatnum:{{#external_value:mlbhp}}}}}} | ||
− | {{!!}} {{formatnum: {{#expr:{{#external_value:arenalb}}*1. | + | {{!!}} {{formatnum: {{#expr:{{#external_value:arenalb}}*1.08333433*({{{2}}}+20)/20 round 0}}}} |
{{!!}} {{#external_value:skill1}}{{#if: {{#external_value:skill2}} | , {{#external_value:skill2}}}}{{#if: {{#external_value:arenaskill}} | , {{#external_value:arenaskill}}}}{{#clear_external_data:}}}}</includeonly> | {{!!}} {{#external_value:skill1}}{{#if: {{#external_value:skill2}} | , {{#external_value:skill2}}}}{{#if: {{#external_value:arenaskill}} | , {{#external_value:arenaskill}}}}{{#clear_external_data:}}}}</includeonly> |
Revision as of 11:10, 14 November 2018
DO NOT EDIT THIS TEMPLATE UNLESS YOU KNOW WHAT YOU ARE DOING! :D
If you're trying to update stats for a unit, go here instead: http://www.fantasicawiki.com/units.php
Usage: {{Team|CardName|Ascension}}