Main Page

Difference between revisions of "Template:NGSItem"

From Arks-Visiphone
Jump to navigation Jump to search
m (Maybe onlyinclude will do the job?)
m (Remove the weird space)
Line 1: Line 1:
<onlyinclude><span style="white-space: nowrap">{{ #if: {{{Icon|}}} | {{Icons|{{{Icon}}}}} }} [[ {{{1}}} {{ #if: {{{2|}}}||{{{2}}} }} ]]</span></onlyinclude>
+
<onlyinclude><span style="white-space: nowrap">{{ #if: {{{Icon|}}} | {{Icons|{{{Icon}}}}} }} [[{{{1}}}{{ #if: {{{2|}}}||{{{2}}}}}]]</span></onlyinclude>
  
 
<noinclude>
 
<noinclude>

Revision as of 23:12, 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}}