Difference between revisions of "Template:RichAnchor"
Jump to navigation
Jump to search
(inline-flex instead of flex so there's no linebreak) |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#tag:span|<b style="order:1;white-space:nowrap;margin-left:1em">{{{1}}}</b> [[File:{{{image|{{{1}}}.png}}}|{{{size|{{{2|x64px}}}}}}]]|id={{{id|{{{1}}}}}}|style="display:inline-flex;flex-flow:row nowrap;align-items:center"}}</includeonly><noinclude>{{documentation}}</noinclude> | + | <includeonly>{{#tag:span|<b style="order:1;white-space:nowrap;margin-left:1em">{{{1}}}</b> {{#ifexist:File:{{{image|{{{1}}}.png}}}|[[File:{{{image|{{{1}}}.png}}}|{{{size|{{{2|x64px}}}}}}]]|[[File:{{{image|{{{1}}}.png}}}|Missing Image]]}}|id={{{id|{{{1}}}}}}|style="display:inline-flex;flex-flow:row nowrap;align-items:center"}}</includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 17:22, 7 February 2021
Template documentation (for the template above, sometimes hidden or invisible)
Purpose[edit]
Generate rich anchor for links in the Abilities, Items, Rooms, and Stats pages.
Usage[edit]
{{RichAnchor|Hermóár the Messenger|image=ItemHelmetTest.png}}
Visit Template:RichAnchor/doc to edit this text. (How does this work?)