Difference between revisions of "Template:Template sandbox"

From Unofficial Fantasica Wiki
Jump to: navigation, search
Line 18: Line 18:
 
{{!!}} {{#external_value:type}}
 
{{!!}} {{#external_value:type}}
 
{{!!}} {{{2}}}
 
{{!!}} {{{2}}}
{{!!}} {{#ifexpr: {{{2}}}!=0 and {{#external_value:asccostmlb}} | <span style="color:red"> {{#ifexpr: {{#external_value:costmlb}}=30 or {{#external_value:costmlb}}=40 | {{#expr:{{#external_value:costmlb}}-({{{2}}}*2)}} | {{#expr:{{#external_value:costmlb}}-({{{2}}}*1)}}}} </span> | {{#external_value:costmlb}}}}  
+
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:asccostmlb}}!=0 | <span style="color:red"> {{#ifexpr: {{#external_value:costmlb}}=30 or {{#external_value:costmlb}}=40 | {{#expr:{{#external_value:costmlb}}-({{{2}}}*2)}} | {{#expr:{{#external_value:costmlb}}-({{{2}}}*1)}}}} </span> | {{#external_value:costmlb}}}}  
{{!!}} {{#ifexpr: {{{2}}}=1 and {{#external_value:ascspdmlb}} | <span style="color:red"> {{#external_value:speedmlb}}+ </span>| {{#external_value:speedmlb}}}}
+
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:ascspdmlb}}!=0 | <span style="color:red"> {{#external_value:speedmlb}}+ </span>| {{#external_value:speedmlb}}}}
{{!!}} {{#ifexpr: {{{2}}}!=0 and {{#external_value:ascrngmlb}} | <span style="color:red"> {{#expr:{{#external_value:rangemlb}}+({{{2}}}*5)}} </span> | {{#external_value:rangemlb}}}}
+
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:ascrngmlb}}!=0 | <span style="color:red"> {{#expr:{{#external_value:rangemlb}}+({{{2}}}*5)}} </span> | {{#external_value:rangemlb}}}}
{{!!}} {{#ifexpr: {{{2}}}!=0 and {{#external_value:asclandmlb}} | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:land2mlb}}+({{{2}}}/20*{{#external_value:land2mlb}})}}}} </span> | {{formatnum:{{#external_value:land2mlb}}}}}}
+
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:asclandmlb}}!=0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:land2mlb}}+({{{2}}}/20*{{#external_value:land2mlb}})}}}} </span> | {{formatnum:{{#external_value:land2mlb}}}}}}
{{!!}} {{#ifexpr: {{{2}}}!=0 and {{#external_value:ascairmlb}} | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:air2mlb}}+({{{2}}}/20*{{#external_value:air2mlb}})}}}} </span> | {{formatnum:{{#external_value:air2mlb}}}}}}
+
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:ascairmlb}}!=0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:air2mlb}}+({{{2}}}/20*{{#external_value:air2mlb}})}}}} </span> | {{formatnum:{{#external_value:air2mlb}}}}}}
{{!!}} {{#ifexpr: {{{2}}}!=0 and {{#external_value:ascseamlb}} | <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}} | <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}}*({{{2}}}+20)/20 round 0}}}}
 
{{!!}} {{formatnum: {{#expr:{{#external_value:arenalbmlb}}*({{{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 32: Line 32:
 
{{!!}} {{#external_value:type}}
 
{{!!}} {{#external_value:type}}
 
{{!!}} {{{2}}}
 
{{!!}} {{{2}}}
{{!!}} {{#ifexpr: {{{2}}}!=0 and {{#external_value:asccost}} | <span style="color:red"> {{#ifexpr: {{#external_value:cost}}=30 or {{#external_value:cost}}=40 | {{#expr:{{#external_value:cost}}-({{{2}}}*2)}} | {{#expr:{{#external_value:cost}}-({{{2}}}*1)}}}} </span> | {{#external_value:cost}}}}  
+
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:asccost}}!=0 | <span style="color:red"> {{#ifexpr: {{#external_value:cost}}=30 or {{#external_value:cost}}=40 | {{#expr:{{#external_value:cost}}-({{{2}}}*2)}} | {{#expr:{{#external_value:cost}}-({{{2}}}*1)}}}} </span> | {{#external_value:cost}}}}  
{{!!}} {{#ifexpr: {{{2}}}=1 and {{#external_value:ascspd}} | <span style="color:red"> {{#external_value:speed}}+ </span>| {{#external_value:speed}}}}
+
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:ascspd}}!=0 | <span style="color:red"> {{#external_value:speed}}+ </span>| {{#external_value:speed}}}}
{{!!}} {{#ifexpr: {{{2}}}!=0 and {{#external_value:ascrng}} | <span style="color:red"> {{#expr:{{#external_value:range}}+({{{2}}}*5)}} </span> | {{#external_value:range}}}}
+
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:ascrng}}!=0 | <span style="color:red"> {{#expr:{{#external_value:range}}+({{{2}}}*5)}} </span> | {{#external_value:range}}}}
{{!!}} {{#ifexpr: {{{2}}}!=0 and {{#external_value:ascland}} | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:land2}}+({{{2}}}/20*{{#external_value:land2}})}}}} </span> | {{formatnum:{{#external_value:land2}}}}}}
+
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:ascland}}!=0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:land2}}+({{{2}}}/20*{{#external_value:land2}})}}}} </span> | {{formatnum:{{#external_value:land2}}}}}}
{{!!}} {{#ifexpr: {{{2}}}!=0 and {{#external_value:ascair}} | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:air2}}+({{{2}}}/20*{{#external_value:air2}})}}}} </span> | {{formatnum:{{#external_value:air2}}}}}}
+
{{!!}} {{#ifexpr: {{{2}}}>0 and {{#external_value:ascair}}!=0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:air2}}+({{{2}}}/20*{{#external_value:air2}})}}}} </span> | {{formatnum:{{#external_value:air2}}}}}}
{{!!}} {{#ifexpr: {{{2}}}!=0 and {{#external_value:ascsea}} | <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}} | <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}}*({{{2}}}+20)/20 round 0}}}}
 
{{!!}} {{formatnum: {{#expr:{{#external_value:arenalb}}*({{{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 09:36, 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}}

Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox
Google AdSense