Difference between revisions of "Template:LinkIcon s"
From Unofficial Fantasica Wiki
m (test) |
m |
||
Line 3: | Line 3: | ||
− | Usage: <nowiki>{{LinkIcon_s|CardName}}</nowiki></noinclude><includeonly>{{#get_db_data: | + | Usage: <nowiki>{{LinkIcon_s|CardName|}}</nowiki></noinclude><includeonly>{{#get_db_data: |
db=fantawiki | db=fantawiki | ||
|from=units | |from=units | ||
Line 9: | Line 9: | ||
|limit=1 | |limit=1 | ||
|data=name=`name`,rarity=`rarity` | |data=name=`name`,rarity=`rarity` | ||
− | }}{{#ifexist: Image:{{{1}}}_icon.png | [[Image:{{{1}}}_icon.png|40px|link={{{1}}}]]<br>{{#external_value:rarity}}★ [[ {{{1 | + | }}{{#ifexist: Image:{{{1}}}_icon.png | [[Image:{{{1}}}_icon.png|40px|link={{{1}}}]]<br>{{#external_value:rarity}}★ [[ {{{1}}} ]] | {{#ifexist: Image:{{{1}}}_icon.jpg | [[Image:{{{1}}}_icon.jpg|40px|link={{{1}}}]]<br>{{#external_value:rarity}}★ [[ {{{1}}} ]] | [[Image:Blank_icon.png|40px]] }} }}{{#clear_external_data:}}</includeonly> |
Latest revision as of 18:11, 29 December 2015
DO NOT EDIT THIS TEMPLATE UNLESS YOU KNOW WHAT YOU ARE DOING! :D
Usage: {{LinkIcon_s|CardName|}}