Main Page
Difference between revisions of "Template:NGSItem"
Jump to navigation
Jump to search
MoonRunestar (talk | contribs) (remove redundant end.) |
MoonRunestar (talk | contribs) (correct example) |
||
Line 6: | Line 6: | ||
== Example == | == Example == | ||
Writing the following: | Writing the following: | ||
− | <pre>{{NGSItem|Icon=NGS Sword|Swords_(NGS)|Prim Sword}}</pre> | + | <pre>{{NGSItem|Icon=NGS Sword|PageName=Swords_(NGS)|RealName=Prim Sword}}</pre> |
Results in this: | Results in this: | ||
Revision as of 11:53, 28 November 2021
{{{RealName}}}
This template 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.
Example
Writing the following:
{{NGSItem|Icon=NGS Sword|PageName=Swords_(NGS)|RealName=Prim Sword}}
Results in this:
but if you don't include a PageName, it won't be linked:
Prim Sword
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |
Syntax error in JSON.