Content added Content deleted
No edit summary |
en>Scott No edit summary |
||
Line 20: | Line 20: | ||
{{LootEnd}} |
{{LootEnd}} |
||
</pre> |
</pre> |
||
== Parameter details == |
|||
==== Item Image ==== |
|||
==== Item Name ==== |
|||
The name of the item/drop, should directly link to the article. |
|||
==== Quantity ==== |
|||
=== Template data === |
=== Template data === |
Revision as of 10:56, 16 October 2021
The LootRow templates are used to list an NPC's drops. Three templates are used to form the drop logs:
{{LootHeader}}
{{LootRow}}
{{LootEnd}}
Usage
{{LootHeader}} {{LootRow |itemimage = <!-- Item image name + the file extension (e.g. placeholder.png) --> |itemname = <!-- Item name as seen in the game. (e.g. Bloodsteel Mace) --> |quantity = <!-- Quantity of the item that is dropped. A range is seperated with a - (e.g 1-5) --> |color = <!-- The color of the rarity box to indicate the level of rarity. Blue(Always), Green(25%-99%), Yellow(24.99%-10%), Orange(9.99%-2.5%), Red(<2.5%) --> |rarity = <!-- The rarity as a percentage. (e.g. 2.46%) --> }} {{LootEnd}}
Template data
Template data for the LootRow template to be used in conjunction with LootHeader and Loot End.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item Image | itemimage | The items image name + file extension.
| Unknown | required |
Item Name | itemname | The name of the item as depicted in the game.
| String | required |
Quantity | quantity | The quantity of the item.
| Number | required |
Rarity Box Colour | color | The color of the rarity box.
| String | required |
Rarity | rarity | The rarity of the item as a percentage.
| Unknown | required |