Template:MonsterValuedResourcesRow: Difference between revisions
From Ymirheim Wiki
(Marked this version for translation) |
No edit summary |
||
Line 1: | Line 1: | ||
|- | <includeonly>|- | ||
| {{ItemLink| {{{1}}} }} | | {{ItemLink| {{{1}}} }} | ||
| {{#switch: {{{2|}}} | | {{#switch: {{{2|}}} | ||
Line 10: | Line 10: | ||
}} | }} | ||
| {{{3|?}}} | | {{{3|?}}} | ||
| {{{4|}}} | | {{{4|}}}</includeonly><noinclude> | ||
Renders a row for the monster's "Valued Resources" table. | |||
== Usage == | |||
<pre><nowiki>{{MonsterValuedResourcesRow|ITEM_ID|DROP_CHANCE|QUANTITY|USED_FOR}}</nowiki></pre> | |||
* <code>ITEM_ID</code> should be the ID of the item in the game database. See [[Template:ItemInfoBox]] documentation on how to obtain it. | |||
* <code>DROP_CHANCE</code> can be one of: <code>common</code>, <code>uncommon</code>, <code>rare</code>, <code>epic</code>, or <code>legendary</code>. | |||
* <code>QUANTITY</code> can be any text, e.g. <code>1</code> or <code>1~5</code> | |||
* <code>USED_FOR</code> can be any text, for example a link to a quest or to an item. | |||
== Examples == | |||
<pre><nowiki>{{MonsterValuedResourcesRow|1330000004|uncommon|1| {{ItemLink|1310100101}} }}</nowiki></pre> | |||
{| class="wikitable" | |||
{{MonsterValuedResourcesRow|1330000004|uncommon|1| {{ItemLink|1310100101}} }} | |||
|} | |||
</noinclude> |
Revision as of 05:24, 8 July 2024
Renders a row for the monster's "Valued Resources" table.
Usage
{{MonsterValuedResourcesRow|ITEM_ID|DROP_CHANCE|QUANTITY|USED_FOR}}
ITEM_ID
should be the ID of the item in the game database. See Template:ItemInfoBox documentation on how to obtain it.DROP_CHANCE
can be one of:common
,uncommon
,rare
,epic
, orlegendary
.QUANTITY
can be any text, e.g.1
or1~5
USED_FOR
can be any text, for example a link to a quest or to an item.
Examples
{{MonsterValuedResourcesRow|1330000004|uncommon|1| {{ItemLink|1310100101}} }}
Pukui Slice | Uncommon | 1 | Small Healing Potion |