Template:LootRow/doc: Difference between revisions

Template page
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:

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item Imageitemimage

The items image name + file extension.

Example
placeholder.png
Unknownrequired
Item Nameitemname

The name of the item as depicted in the game.

Example
Bloodsteel Mace
Stringrequired
Quantityquantity

The quantity of the item.

Example
1
Numberrequired
Rarity Box Colourcolor

The color of the rarity box.

Example
green
Stringrequired
Rarityrarity

The rarity of the item as a percentage.

Example
2.43%
Unknownrequired
Cookies help us deliver our services. By using our services, you agree to our use of cookies.