Difference between revisions of "Template:ItemLink"

From BPM Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><span {{#ifeq:{{{anchor|+}}}|{{{anchor|-}}} | id="{{{anchor|{{{1}}}}}}" | |}} style="white-space:nowrap;">[[File:{{{image|{{{1}}}.png}}}|{{{size|{{{2|x22px}}}}}}|link={{{link|Items#{{{1}}}}}}]] [[{{{link|Items#{{{1}}}{{!}}{{{1}}}}}}]]</span></includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly><span {{#ifeq:{{{anchor|+}}}|{{{anchor|-}}}|id="{{{anchor|{{{1}}}}}}"||}} style="white-space:nowrap;">[[File:{{{image|{{{1}}}.png}}}|{{{size|{{{2|x22px}}}}}}|link={{{link|Items#{{{1}}}}}}]] {{#ifeq:{{{anchor|+}}}|{{{anchor|-}}}|'''{{{1}}}'''|[[{{{link|Items#{{{1}}}{{!}}{{{1}}}}}}]]}}</span></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 18:37, 24 September 2020

Template documentation (for the template above, sometimes hidden or invisible)

Purpose

Create rich links to items.

Usage

{{ItemLink|Hermóðr the Messenger}}

renders as ItemHelmetTest.png Hermóðr the Messenger.


Visit Template:ItemLink/doc to edit this text. (How does this work?)