Content added Content deleted
No edit summary |
m (1 revision imported) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 20: | Line 20: | ||
{{LootEnd}} |
{{LootEnd}} |
||
</pre> |
</pre> |
||
=== Template data === |
|||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
Line 57: | Line 59: | ||
} |
} |
||
}, |
}, |
||
"format": "inline" |
"format": "inline", |
||
"description": "Template data for the LootRow template to be used in conjunction with LootHeader and Loot End." |
|||
} |
} |
||
</templatedata> |
</templatedata> |
Latest revision as of 16:24, 9 November 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 |