Template:InlineItem: Difference between revisions

From A KoL Wiki
imported>JRSiebz
- {{click}}
imported>Quietust
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|[[image:{{Data|{{{1}}}|image|nopic2.gif}}|link={{{1}}}]] [[{{{1}}}|{{{2|{{Data|{{{1}}}|name|{{{1}}}(?)}}}}}]]|[[image:confused.gif|link=]] something...}}</includeonly><noinclude>__NOTOC__
<includeonly>{{#if:{{{1|}}}|[[File:{{Data|{{{1}}}|image|nopic2.gif}}|link={{{1}}}]] [[{{{1}}}|{{{2|{{Data|{{{1}}}|name|{{{1}}}(?)}}}}}]]|[[File:confused.gif|link=]] something...}}</includeonly><noinclude>__NOTOC__
{{Code2}}
{{Code2}}


This template puts a clickable item (or effect) image next to a link to that item (or effect), for use in running text or simple lists. The template requires only the item (or effect) name to select the image from the item (or effect) data page. Compare with [[:Template:StackItem]].
This template puts a clickable item image next to a link to that item, for use in running text or simple lists. The template requires only the name of the item's page - the item's actual name (if it contains special characters) and image are fetched from the item's data page. Compare with [[:Template:StackItem]].
 
Also works with clan trophies, effects, familiars, and skills.


==Usage==
==Usage==

Revision as of 23:58, 6 October 2011

{{#if:{{{1|}}}|[[File:{{Data|{{{1}}}|image|nopic2.gif}}|link={{{1}}}]] [[{{{1}}}|{{{2|{{Data|{{{1}}}|name|{{{1}}}(?)}}}}}]]|[[File:confused.gif|link=]] something...}}

This template puts a clickable item image next to a link to that item, for use in running text or simple lists. The template requires only the name of the item's page - the item's actual name (if it contains special characters) and image are fetched from the item's data page. Compare with Template:StackItem.

Also works with clan trophies, effects, familiars, and skills.

Usage

{{InlineItem|lime}}

lime

{{InlineItem|lime|ultra lime}}

ultra lime

{{InlineItem}}

something...