Template:MonsterValuedResourcesRow: Difference between revisions

From Ymirheim Wiki
(Marked this version for translation)
No edit summary
 
(6 intermediate revisions by the same user not shown)
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> (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> (optional) can be any text, e.g. <code>1</code> or <code>1~5</code>
* <code>USED_FOR</code> (optional) can be any text, for example a link to a quest or to an item.
 
== Examples ==
 
<pre><nowiki>{{MonsterValuedResourcesRow|1330000004}}</nowiki></pre>
{| class="wikitable"
{{MonsterValuedResourcesRow|1330000004}}
|}
 
<pre><nowiki>{{MonsterValuedResourcesRow|1330000004|uncommon|1| {{ItemLink|1310100101}} }}</nowiki></pre>
{| class="wikitable"
{{MonsterValuedResourcesRow|1330000004|uncommon|1| {{ItemLink|1310100101}} }}
|}
 
[[Category:Game Data Templates{{#translation:}}]]
</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