Template:InlineItem: Difference between revisions
From A KoL Wiki
imported>Quietust in these cases, the item name should be in bold. This also lets us use it in places like [[ |
imported>Quietust m ...like Mr. Store and The Raffle House and other equivalents |
||
Line 1: | Line 1: | ||
<includeonly>{{click|image={{Data:{{{1}}}|image|nopic2.gif}}|link={{{1}}}}} '''[[{{{1}}}|{{Data:{{{1}}}|name|{{{1}}}}}]]'''</includeonly><noinclude> | <includeonly>{{click|image={{Data:{{{1}}}|image|nopic2.gif}}|link={{{1}}}}} '''[[{{{1}}}|{{Data:{{{1}}}|name|{{{1}}}}}]]'''</includeonly><noinclude> | ||
{{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 (or effect) image next to a bolded 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]]. | ||
==Usage== | ==Usage== |
Revision as of 21:08, 26 June 2007
[edit]
{{InlineItem}}
{{click|image={{Data:{{{1}}}|image|nopic2.gif}}|link={{{1}}}}} '''[[{{{1}}}|{{Data:{{{1}}}|name|{{{1}}}}}]]'''
This template puts a clickable item (or effect) image next to a bolded 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.
Usage
{{InlineItem|lime}}
Template:Click {{{{{format}}}| name=lime| plural=limes| image=lime.gif| name}}