Difference between revisions of "Template:Card Art"
From Unofficial Fantasica Wiki
m (trying to fix rarity) |
m (testing linking art) |
||
Line 13: | Line 13: | ||
|data=name=`name`,rarity=`rarity` | |data=name=`name`,rarity=`rarity` | ||
}} | }} | ||
− | {{#ifeq: {{#external_value:rarity}}| 7 | [[Image:{{{1}}}_card.jpg|300px]] | {{#ifeq: {{#external_value:rarity}}| 6 | [[Image:{{{1}}}_card.jpg|275px]] | {{#ifeq: {{#external_value:rarity}}| 5 | [[Image:{{{1}}}_card.jpg|250px]] | {{#ifeq: {{#external_value:rarity}}| 4 | [[Image:{{{1}}}_card.jpg|225px]] | {{#ifeq: {{#external_value:rarity}}| 3 | [[Image:{{{1}}}_card.jpg|200px]] | {{#ifeq: {{#external_value:rarity}}| 2 | [[Image:{{{1}}}_card.jpg|175px]] | {{#ifeq: {{#external_value:rarity}}| 1 | [[Image:{{{1}}}_card.jpg|150px]] | }} }} }} }} }} }} }}{{#clear_external_data:}}</includeonly> | + | {{#ifeq: {{#external_value:rarity}}| 7 | [[Image:{{{1}}}_card.jpg|300px|link=[[{{{1}}}]]]] | {{#ifeq: {{#external_value:rarity}}| 6 | [[Image:{{{1}}}_card.jpg|275px]] | {{#ifeq: {{#external_value:rarity}}| 5 | [[Image:{{{1}}}_card.jpg|250px]] | {{#ifeq: {{#external_value:rarity}}| 4 | [[Image:{{{1}}}_card.jpg|225px]] | {{#ifeq: {{#external_value:rarity}}| 3 | [[Image:{{{1}}}_card.jpg|200px]] | {{#ifeq: {{#external_value:rarity}}| 2 | [[Image:{{{1}}}_card.jpg|175px]] | {{#ifeq: {{#external_value:rarity}}| 1 | [[Image:{{{1}}}_card.jpg|150px]] | }} }} }} }} }} }} }}{{#clear_external_data:}}</includeonly> |
Revision as of 05:12, 20 March 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_Art|CardName}}