Difference between revisions of "Template:Card"

From Unofficial Fantasica Wiki
Jump to: navigation, search
(Adding arena damage into template.)
m (test num format)
Line 21: Line 21:
 
|speed={{#external_value:speed}}
 
|speed={{#external_value:speed}}
 
|range={{#external_value:range}}
 
|range={{#external_value:range}}
|ground={{#external_value:land}}
+
|ground={{formatnum:{{#external_value:land}}}}
|arena={{#external_value:arena}}
+
|arena={{formatnum:{{#external_value:arena}}}}
|air={{#external_value:air}}
+
|air={{formatnum:{{#external_value:air}}}}
|sea={{#external_value:sea}}
+
|sea={{formatnum:{{#external_value:sea}}}}
|total={{#expr: {{#external_value:land|0}}+{{#external_value:air|0}}+{{#external_value:sea|0}} }}
+
|total={{formatnum:{{#expr: {{#external_value:land|0}}+{{#external_value:air|0}}+{{#external_value:sea|0}} }} }}
|ground2={{#external_value:land2}}
+
|ground2={{formatnum:{{#external_value:land2}}}}
|air2={{#external_value:air2}}
+
|air2={{formatnum:{{#external_value:air2}}}}
|sea2={{#external_value:sea2}}
+
|sea2={{formatnum:{{#external_value:sea2}}}}
|arenalb={{#external_value:arenalb}}
+
|arenalb={{formatnum:{{#external_value:arenalb}}}}
|total2={{#expr: {{#external_value:land2|0}}+{{#external_value:air2|0}}+{{#external_value:sea2|0}} }}
+
|total2={{formatnum:{{#expr: {{#external_value:land2|0}}+{{#external_value:air2|0}}+{{#external_value:sea2|0}} }} }}
 
|skill={{#external_value:skill1}}{{#if: {{#external_value:skill2}} | , {{#external_value:skill2}}}}{{#if: {{#external_value:arenaskill}} | , {{#external_value:arenaskill}}}}
 
|skill={{#external_value:skill1}}{{#if: {{#external_value:skill2}} | , {{#external_value:skill2}}}}{{#if: {{#external_value:arenaskill}} | , {{#external_value:arenaskill}}}}
 
|source={{#external_value:source}}
 
|source={{#external_value:source}}
 
}}
 
}}
 
{{Card_artwork|{{#external_value:name}}}}</includeonly>
 
{{Card_artwork|{{#external_value:name}}}}</includeonly>

Revision as of 21:15, 2 April 2014

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: {{Card|CardName}}

Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox