Main Page
Difference between revisions of "Template:NGSItem"
Jump to navigation
Jump to search
MoonRunestar (talk | contribs) (Created page with "<includeonly><span style="white-space: nowrap">{{{Icon}}} [{{{Name}}}{{#if: {{{FriendlyName|}}}|{{{FriendlyName}}}|}}]</span></includeonly> <noinclude> ==Documentation== This...") |
MoonRunestar (talk | contribs) (Gah, I'm close but the pipe doesn't seem to be picked up...) |
||
Line 1: | Line 1: | ||
− | <includeonly><span style="white-space: nowrap">{{{Icon}}} [{{{ | + | <includeonly><span style="white-space: nowrap">{{#if: {{{Icon|}}} | {{Icons|{{{Icon}}} }}}} [[{{{1}}} {{#if: {{{2|}}}||{{{2}}}}}]]</span></includeonly> |
<noinclude> | <noinclude> | ||
Line 5: | Line 5: | ||
This is intended to be used on NGS pages to list the names of items, while showing a UI icon and preventing a line break mid-name. | This is intended to be used on NGS pages to list the names of items, while showing a UI icon and preventing a line break mid-name. | ||
− | {{User:Sonickyle27/Template:NGS_Item|Icon= | + | {{User:Sonickyle27/Template:NGS_Item|Icon=NGS Sword|Swords_(NGS)|Prim Sword}} |
+ | |||
+ | <pre>{{User:Sonickyle27/Template:NGS_Item|Icon=NGS Sword|Swords_(NGS)|Prim Sword}}</pre> | ||
</noinclude> | </noinclude> |
Revision as of 22:51, 1 November 2021
Documentation
This is intended to be used on NGS pages to list the names of items, while showing a UI icon and preventing a line break mid-name.
User:Sonickyle27/Template:NGS Item
{{User:Sonickyle27/Template:NGS_Item|Icon=NGS Sword|Swords_(NGS)|Prim Sword}}