Template:MonsterValuedResourcesRow: Difference between revisions

From Ymirheim Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 17: Line 17:


* <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>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>DROP_CHANCE</code> (optional) can be one of (listed in the order of increasing rarity): <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>QUANTITY</code> (optional) 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.
* <code>USED_FOR</code> (optional) can be any text, for example a link to a quest or to an item.


== Examples ==
== Examples ==
<pre><nowiki>{{MonsterValuedResourcesRow|1330000004}}</nowiki></pre>
{| class="wikitable"
{{MonsterValuedResourcesRow|1330000004}}
|}
<pre><nowiki>{{MonsterValuedResourcesRow|1330000004|uncommon|1| {{ItemLink|1310100101}} }}</nowiki></pre>
<pre><nowiki>{{MonsterValuedResourcesRow|1330000004|uncommon|1| {{ItemLink|1310100101}} }}</nowiki></pre>
{| class="wikitable"
{| class="wikitable"
Line 27: Line 33:
|}
|}


 
[[Category:Game Data Templates{{#translation:}}]]
</noinclude>
</noinclude>

Latest revision as of 03:22, 11 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 (optional) can be one of (listed in the order of increasing rarity): common, uncommon, rare, epic, or legendary.
  • QUANTITY (optional) can be any text, e.g. 1 or 1~5
  • USED_FOR (optional) can be any text, for example a link to a quest or to an item.

Examples

{{MonsterValuedResourcesRow|1330000004}}
icon Pukui Slice ? ?
{{MonsterValuedResourcesRow|1330000004|uncommon|1| {{ItemLink|1310100101}} }}
icon Pukui Slice Uncommon 1 icon Small Healing Potion