Difference between revisions of "Recipe icon/Documentation"
Stratonian (talk | contribs) m (→Usage) |
Stratonian (talk | contribs) 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| | + | :{{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]
- 1: The name of the recipe.
- Optional. Defaults to '
{{PAGENAME}}
'. - quality: The quality CSS class of the item.
- Optional. Defaults to '
quality-common
'. - small: 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.