Difference between revisions of "Template:Card"

From Unofficial Fantasica Wiki
Jump to: navigation, search
(Fixing nested template issues)
Line 1: Line 1:
{{{!}}style="border:none;"
+
<noinclude>Usage: <nowiki>{{Card|CardName}}</nowiki></noinclude><includeonly>{{#get_db_data:
{{!}}-
+
db=fantawiki
{{!}}class="preview" title="{{{1|}}}_card.jpg"{{!}}{{Icon|{{{1}}}}}
+
|from=units
{{!}}-
+
|where=name='{{PAGENAME}}'
|}
+
|limit=1
 +
|data=name=`name`,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`
 +
}}
 +
{{Infobox_Card
 +
|name={{#external_value:name}}
 +
|rarity={{#external_value:rarity}}
 +
|type={{#external_value:type}}
 +
|cost={{#external_value:cost}}
 +
|speed={{#external_value:speed}}
 +
|range={{#external_value:range}}
 +
|ground={{#external_value:land}}
 +
|air={{#external_value:air}}
 +
|sea={{#external_value:sea}}
 +
|ground2={{#external_value:land2}}
 +
|air2={{#external_value:air2}}
 +
|sea2={{#external_value:sea2}}
 +
|skill={{#external_value:skill1}}{{#if: {{#external_value:skill2}} | , {{#external_value:skill2}}}}
 +
|source={{#external_value:source}}
 +
}}
 +
{{Card_artwork|{{#external_value:name}}}}</includeonly>

Revision as of 23:07, 25 June 2013

Usage: {{Card|CardName}}

Personal tools
Namespaces

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