[dismiss]
Difference between revisions of "Template:Drops table row"
Jump to navigation
Jump to search
Freedom4556 (talk | contribs) m Tag: Manual revert |
|||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
-->{{#if:{{{fixed|}}}| [[File:Starred Bag.png|20px|This item is guaranteed to drop.|link=]]}} | -->{{#if:{{{fixed|}}}| [[File:Starred Bag.png|20px|This item is guaranteed to drop.|link=]]}} | ||
| {{#if:{{{type|}}}|{{#arraymap:{{{type}}}|, |@@@|[[{{ucfirst:{{lc:@@@}}}}]]|, }}|{{#arraymap:{{#show:{{{1}}}|?Has item type}}|, |@@@|[[@@@]]|, }}}} | | {{#if:{{{type|}}}|{{#arraymap:{{{type}}}|, |@@@|[[{{ucfirst:{{lc:@@@}}}}]]|, }}|{{#arraymap:{{#show:{{{1}}}|?Has item type}}|, |@@@|[[@@@]]|, }}}} | ||
| {{#if:{{#show:{{{1}}}|?Has item level}}|{{#show:{{{1}}}|?Has item level}}|N/A}} | |||
| {{#if:{{#show:{{{1}}}|?Has item rarity}}|{{rarity|{{#show:{{{1}}}|?Has item rarity}}}}}} | | {{#if:{{#show:{{{1}}}|?Has item rarity}}|{{rarity|{{#show:{{{1}}}|?Has item rarity}}}}}} | ||
| style="text-align:center;" | {{#var:drop_qty_min}}{{#ifeq:{{#var:drop_qty_max}}|0||-{{#var:drop_qty_max}}}}<!-- | | style="text-align:center;" | {{#var:drop_qty_min}}{{#ifeq:{{#var:drop_qty_max}}|0||-{{#var:drop_qty_max}}}}<!-- |
Latest revision as of 01:02, 18 October 2023
Description
Creates a row storing a single drop info. For use with {{Drops table header}}.
Parameters
- unnamed parameter 1
- Required. Item name.
- unnamed parameter 2
- Optional. Quantity. Accepts a hyphen-separated value for min/max output quantities.
- level
- Optional. Adds another column to the row and adds the contents of the parameter. Accepts a hyphen-separated value for min/max level range. Defaults to
{{#var:dropstablelevel}}
if present. - fate
- Optional. Adds a line break to the item name column and adds information that this is only dropped from the specified FATE.
- fixed
- Optional. Adds a line break to the item name column and adds information that this drop is fixed.
- rarity
- Optional. Checks for the specified rarity of the subobjects of the given item, and will only display this rarity.
- type
- Optional. Overrides the type field with the specified item types, separated by comma.
Example 1
{{Drops table header|show-levels=n}} {{Drops table row|Antiquated Failnaught}} {{Drops table row|Frumenty|fate=Some FATE}} {{Drops table row|Raisins|fixed=y}} {{Table footer}}
Name | Type | Item Level | Rarity | Quantity |
---|---|---|---|---|
Antiquated Failnaught | Archer's Arm | 290 | Blue | 1 |
Frumenty ![]() |
Meal | 4 | Basic | 1 |
Raisins ![]() |
Meal | 3 | Basic | 1 |
Example 2
{{Drops table header|show-levels=y|levels=3-80}} {{Drops table row|Raisins|2|level=48}} {{Drops table row|Wind Shard}} {{Table footer}}
Name | Type | Item Level | Rarity | Quantity | Creature level |
---|---|---|---|---|---|
Raisins | Meal | 3 | Basic | 2 | 48 |
Wind Shard | Crystal | N/A | Basic | 1 | 3-80 |