Difference between revisions of "Template:Card"
From Unofficial Fantasica Wiki
(Adding Fullname) |
m (Testing skill3 display) |
||
Line 11: | Line 11: | ||
|where=name='{{PAGENAME}}' | |where=name='{{PAGENAME}}' | ||
|limit=1 | |limit=1 | ||
− | |data=name=`name`,fullname=`fullname`,gender=`gender`,rarity=`rarity`,type=`type`,cost=`cost`,speed=`speed`,speednum=`speednum`,range=`range`,land=`land`,air=`air`,sea=`sea`,land2=`landlb`,air2=`airlb`,sea2=`sealb`,skill1=`skill1`,skill2=`skill2`,source=`source` | + | |data=name=`name`,fullname=`fullname`,gender=`gender`,rarity=`rarity`,type=`type`,cost=`cost`,speed=`speed`,speednum=`speednum`,range=`range`,land=`land`,air=`air`,sea=`sea`,land2=`landlb`,air2=`airlb`,sea2=`sealb`,skill1=`skill1`,skill2=`skill2`,skill3='skill3',source=`source` |
}} | }} | ||
{{Infobox_Card | {{Infobox_Card | ||
Line 29: | Line 29: | ||
|sea2={{#external_value:sea2}} | |sea2={{#external_value:sea2}} | ||
|total2={{#expr: {{#external_value:land2|0}}+{{#external_value:air2|0}}+{{#external_value:sea2|0}} }} | |total2={{#expr: {{#external_value:land2|0}}+{{#external_value:air2|0}}+{{#external_value:sea2|0}} }} | ||
− | |skill={{#external_value:skill1}}{{#if: {{#external_value:skill2}} | , {{#external_value:skill2}}}} | + | |skill={{#external_value:skill1}}{{#if: {{#external_value:skill2}} | , {{#external_value:skill2}}}}{{#if: {{#external_value:skill3}} | , {{#external_value:skill3}}}} |
|source={{#external_value:source}} | |source={{#external_value:source}} | ||
}} | }} | ||
{{Card_artwork|{{#external_value:name}}}}</includeonly> | {{Card_artwork|{{#external_value:name}}}}</includeonly> |
Revision as of 17:05, 27 August 2013
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}}