Difference between revisions of "Template:Itemlink"

From Underrail Wiki
Jump to navigation Jump to search
m (show text "Icon" for missing images)
(allow piped links)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[File:{{{1}}}.png|15x15px|link={{{1}}}|Icon]] [[{{{1}}}]]<noinclude>
+
[[File:{{{1}}}.png|15x15px|link={{{1}}}|Icon]] {{#if:{{{2|}}}|[[{{{1}}}|{{{2}}}]]|[[{{{1}}}]]}}<noinclude>
  
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 02:45, 16 October 2017

[[File:{{{1}}}.png|15x15px|link={{{1}}}|Icon]] [[{{{1}}}]]

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Itemlink/doc to view this documentation. (edit) (How does this work?)
Description
This template is used for inline item links with small icons.
Syntax
Insert this template using {{Itemlink|<Item Name>}}
Example
{{Itemlink|Stygian Coin}} results in Icon Stygian Coin