Template:ImageLink: Difference between revisions
From A KoL Wiki
imported>Ryo Sangnoir If this exists elsewhere already, please just redirect this template |
imported>Ryo Sangnoir mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|[[File:{{Data|{{{1}}}|image|nopic2.gif}}|link={{{1}}}]]|[[File:confused.gif|link=]] | <includeonly>{{#if:{{{1|}}}|[[File:{{Data|{{{1}}}|image|nopic2.gif}}|link={{{1}}}]]|[[File:confused.gif|link=]]}}</includeonly><noinclude>__NOTOC__ | ||
{{Code2}} | {{Code2}} | ||
Latest revision as of 17:51, 14 December 2016
[edit]
{{ImageLink}}
{{#if:{{{1|}}}|[[File:{{Data|{{{1}}}|image|nopic2.gif}}|link={{{1}}}]]|[[File:confused.gif|link=]]}}
This template produces a clickable item image, for use in simple tables. The template requires only the name of the item's page - the item's image is fetched from the item's data page. Compare with Template:InlineItem.
Also works with clan trophies, effects, familiars, and skills.
Usage
{{ImageLink|lime}}
{{ImageLink}}