Difference between revisions of "Item/Documentation"

(Created page with "==Description== Displays a item's icon and name, with a link to the page of the item. ==Usage== {{T|item|Spine|icon{{=}}Spine.png|link{{=}}Spine|nolabel{{=}}yes}} ==Parameters...")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
Displays a item's icon and name, with a link to the page of the item.
 
Displays a item's icon and name, with a link to the page of the item.
 
==Usage==
 
==Usage==
{{T|item|Spine|icon{{=}}Spine.png|link{{=}}Spine|nolabel{{=}}yes}}
+
{{T|item|Spine|common|icon{{=}}Spine.png|link{{=}}Spine|nolabel{{=}}yes}}
 +
 
 
==Parameters==
 
==Parameters==
 
{{parameter|1|The name of the item.}}
 
{{parameter|1|The name of the item.}}
 +
{{parameter|2|The item's [[quality]].|}}
 
{{parameter|icon|The item's icon.|{{{1}}}.png}}
 
{{parameter|icon|The item's icon.|{{{1}}}.png}}
 
{{parameter|link|The page link.|{{{1}}}|If set to '<code>no</code>', label will be plaintext.}}
 
{{parameter|link|The page link.|{{{1}}}|If set to '<code>no</code>', label will be plaintext.}}
 
{{parameter|nolabel|Determines whether the name of the item is shown.||Set this parameter any value to hide label text.}}
 
{{parameter|nolabel|Determines whether the name of the item is shown.||Set this parameter any value to hide label text.}}

Latest revision as of 20:52, 4 September 2023

Description[edit]

Displays a item's icon and name, with a link to the page of the item.

Usage[edit]

{{item|<Spine>|<common>|<icon=Spine.png>|<link=Spine>|<nolabel=yes>}}

Parameters[edit]

Arrow.png1: The name of the item.
Required.
Arrow.png2: The item's Quality.
Optional.
Arrow.pngicon: The item's icon.
Optional. Defaults to '{{{1}}}.png'.
Arrow.pnglink: The page link.
Optional. Defaults to '{{{1}}}'.
Notes: If set to 'no', label will be plaintext.
Arrow.pngnolabel: Determines whether the name of the item is shown.
Optional.
Notes: Set this parameter any value to hide label text.