Difference between revisions of "Recipe icon/Documentation"

m
 
Line 2: Line 2:
 
Creates a [[Recipe]] icon by combining the profession's recipe icon with the icon of the item to be made.
 
Creates a [[Recipe]] icon by combining the profession's recipe icon with the icon of the item to be made.
 
==Usage==
 
==Usage==
{{T|Recipe icon|quality{{=}}quality|small{{=}}yes}}
+
{{T|Recipe icon|1{{=}}recipe name|quality{{=}}quality|small{{=}}yes}}
  
 
==Parameters==
 
==Parameters==
:{{parameter|1|The quality CSS class of the item.|quality-common}}
+
:{{parameter|1|The name of the recipe.|<nowiki>{{PAGENAME}}</nowiki>}}
:{{parameter|2|Determines whether the icon should be small.||Set this parameter any value to create a 25px icon. If not set, the 85px icon is used.}}
+
:{{parameter|quality|The quality CSS class of the item.|quality-common}}
 +
:{{parameter|small|Determines whether the icon should be small.||Set this parameter any value to create a 25px icon. If not set, the 85px icon is used.}}

Latest revision as of 18:20, 12 January 2024

Description[edit]

Creates a Recipe icon by combining the profession's recipe icon with the icon of the item to be made.

Usage[edit]

{{Recipe icon|<1=recipe name>|<quality=quality>|<small=yes>}}

Parameters[edit]

Arrow.png1: The name of the recipe.
Optional. Defaults to '{{PAGENAME}}'.
Arrow.pngquality: The quality CSS class of the item.
Optional. Defaults to 'quality-common'.
Arrow.pngsmall: Determines whether the icon should be small.
Optional.
Notes: Set this parameter any value to create a 25px icon. If not set, the 85px icon is used.