Difference between revisions of "Recipe icon/Documentation"

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|1{{=}}quality|small{{=}}yes}}
+
{{T|Recipe icon|quality{{=}}quality|small{{=}}yes}}
  
 
==Parameters==
 
==Parameters==
 
:{{parameter|1|The quality CSS class of the item.|quality-common}}
 
:{{parameter|1|The quality CSS class of the item.|quality-common}}
 
:{{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|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.}}

Revision as of 18:19, 12 January 2024

Description

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

Usage

{{Recipe icon|<quality=quality>|<small=yes>}}

Parameters

Arrow.png1: The quality CSS class of the item.
Optional. Defaults to 'quality-common'.
Arrow.png2: 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.