Difference between revisions of "Template:LinkIcon"
From Unofficial Fantasica Wiki
m (Medium icon) |
m (test) |
||
Line 1: | Line 1: | ||
− | {{#ifexist: Image:{{{1}}}_icon.png | [[Image:{{{1}}}_icon.png|48px|link={{{1}}}]]<br>[[{{{1}}}]] | {{#ifexist: Image:{{{1}}}_icon.jpg | [[Image:{{{1}}}_icon.jpg|48px|link={{{1}}}]]<br>[[{{{1}}}]] | [[Image:Blank_icon.png|48px|link=]]<br> }} }} | + | |
+ | |||
+ | <noinclude> | ||
+ | DO NOT EDIT THIS TEMPLATE UNLESS YOU KNOW WHAT YOU ARE DOING! :D | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Usage: <nowiki>{{LinkIcon|CardName}}</nowiki></noinclude><includeonly>{{#get_db_data: | ||
+ | db=fantawiki | ||
+ | |from=units | ||
+ | |where=name='{{{1}}}' | ||
+ | |limit=1 | ||
+ | |data=name=`name`,rarity=`rarity`,type=`type`,cost=`cost`,speed=`speed`,range=`range`,land=`land`,air=`air`,sea=`sea`,skill1=`skill1`,skill2=`skill2`,arenaskill=`arenaskill`,source=`source` | ||
+ | }} | ||
+ | {{#ifexist: Image:{{{1}}}_icon.png | [[Image:{{{1}}}_icon.png|48px|link={{{1}}}]]<br>[[{{{1}}}|{{{rarity}}}★ {{{1}}}]] | {{#ifexist: Image:{{{1}}}_icon.jpg | [[Image:{{{1}}}_icon.jpg|48px|link={{{1}}}]]<br>[[{{{1}}}|{{{rarity}}}★ {{{1}}}]] | [[Image:Blank_icon.png|48px|link=]]<br> }} }} {{#clear_external_data:}}</includeonly> |
Revision as of 20:04, 17 August 2015
DO NOT EDIT THIS TEMPLATE UNLESS YOU KNOW WHAT YOU ARE DOING! :D
Usage: {{LinkIcon|CardName}}