Template:MonsterValuedResourcesRow: Difference between revisions
From Ymirheim Wiki
(Created page with "|- | {{ItemLink| {{{1}}} }} | {{#switch: {{{2|}}} | common = Common | uncommon = Uncommon | rare = Rare | epic = Epic | legendary = Legendary | #default = {{NA}} }} | {{{3|?}}} | {{{4|}}}") |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
|- | <includeonly>|- | ||
| {{ItemLink| {{{1}}} }} | | {{ItemLink| {{{1}}} }} | ||
| {{#switch: {{{2|}}} | | {{#switch: {{{2|}}} | ||
| common = Common | | common = <translate nowrap><!--T:1--> Common</translate> | ||
| uncommon = Uncommon | | uncommon = <translate nowrap><!--T:2--> Uncommon</translate> | ||
| rare = Rare | | rare = <translate nowrap><!--T:3--> Rare</translate> | ||
| epic = Epic | | epic = <translate nowrap><!--T:4--> Epic</translate> | ||
| legendary = Legendary | | legendary = <translate nowrap><!--T:5--> Legendary</translate> | ||
| #default = | | #default = ? | ||
}} | }} | ||
| {{{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
, orlegendary
.QUANTITY
(optional) can be any text, e.g.1
or1~5
USED_FOR
(optional) can be any text, for example a link to a quest or to an item.
Examples
{{MonsterValuedResourcesRow|1330000004}}
Pukui Slice | ? | ? |
{{MonsterValuedResourcesRow|1330000004|uncommon|1| {{ItemLink|1310100101}} }}
Pukui Slice | Uncommon | 1 | Small Healing Potion |