Difference between revisions of "Template:Template sandbox"

From Unofficial Fantasica Wiki
Jump to: navigation, search
Line 19: Line 19:
 
{{!!}} {{{2}}}
 
{{!!}} {{{2}}}
 
{{!!}} {{#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}}}>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}}}>0 and {{#if: {{#external_value:ascspdmlb}}|1|0}}=1 | <span style="color:red"> {{#external_value:speedmlb}}+ </span> | {{#external_value:speedmlb}}}}
+
{{!!}} {{#ifexpr:{{{2}}}=4 and {{#if: {{#external_value:ascspdmlb}}|1|0}}=1 and {{#ifeq:{{#external_value:speedmlb}}|S|1|0}}=1 | <span style="color:red">SS</span> | {{#ifexpr:{{{2}}}=4 and {{#if: {{#external_value:ascspdmlb}}|1|0}}=1 and {{#ifeq:{{#external_value:speedmlb}}|A|1|0}}=1 | <span style="color:red">S</span> | {{#ifexpr:{{{2}}}=4 and {{#if: {{#external_value:ascspdmlb}}|1|0}}=1 and {{#ifeq:{{#external_value:speedmlb}}|B|1|0}}=1 | <span style="color:red">A</span> |{{#ifexpr:{{{2}}}=4 and {{#if: {{#external_value:ascspdmlb}}|1|0}}=1 and {{#ifeq:{{#external_value:speedmlb}}|C|1|0}}=1 | <span style="color:red">B</span> |{{#ifexpr:{{{2}}}=4 and {{#if: {{#external_value:ascspdmlb}}|1|0}}=1 and {{#ifeq:{{#external_value:speedmlb}}|D|1|0}}=1 | <span style="color:red">C</span> | {{#ifexpr: {{{2}}}>0 and {{{2}}}<4 and {{#if: {{#external_value:ascspdmlb}}|1|0}}=1 | <span style="color:red">{{#external_value:speedmlb}}+</span> | {{#external_value:speedmlb}}}}
 
{{!!}} {{#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:ascrngmlb}}!=0 | <span style="color:red"> {{#expr:{{#external_value:rangemlb}}+({{{2}}}*5)}} </span> | {{#external_value:rangemlb}}}}
 
{{!!}} {{#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:asclandmlb}}>0 | <span style="color:red"> {{formatnum: {{#expr:{{#external_value:land2mlb}}+({{{2}}}/20*{{#external_value:land2mlb}})}}}} </span> | {{formatnum:{{#external_value:land2mlb}}}}}}

Revision as of 12:18, 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