Main Page

Difference between revisions of "Template:NGSItem"

From Arks-Visiphone
Jump to navigation Jump to search
m (This is how to make things messy real quick.)
m (Maybe onlyinclude will do the job?)
Line 1: Line 1:
<includeonly><span class="nowrap">{{ #if: {{{Icon|}}} | {{Icons|{{{Icon}}}}} }} [[ {{{1}}} {{ #if: {{{2|}}}||{{{2}}} }} ]]</span></includeonly>
+
<onlyinclude><span style="white-space: nowrap">{{ #if: {{{Icon|}}} | {{Icons|{{{Icon}}}}} }} [[ {{{1}}} {{ #if: {{{2|}}}||{{{2}}} }} ]]</span></onlyinclude>
 +
 
 
<noinclude>
 
<noinclude>
 
==Documentation==
 
==Documentation==

Revision as of 23:04, 1 November 2021

[[ {{{1}}} {{{2}}} ]]


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, User:Sonickyle27/Template:NGS Item, User:Sonickyle27/Template:NGS Item

This column width is 30% of the screen width
User:Sonickyle27/Template:NGS Item, User:Sonickyle27/Template:NGS Item User:Sonickyle27/Template:NGS Item, User:Sonickyle27/Template:NGS Item


{{User:Sonickyle27/Template:NGS_Item|Icon=NGS Sword|Swords_(NGS)|Prim Sword}}