Template:Drop table gold: Difference between revisions
Jump to navigation
Jump to search
(actually full namespace is required) |
(update docs, rename param to chance from rarity) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{DropTableRow|icon={{DropTableGold/Icon|{{{lower}}} }}|item=Gold|quantity={{{lower}}}{{#if:{{{upper|}}}| - {{{upper}}} }}|rarity={{{ | <includeonly><onlyinclude>{{DropTableRow|icon={{DropTableGold/Icon|{{{lower}}} }}|item=Gold|quantity={{{lower}}}{{#if:{{{upper|}}}| - {{{upper}}} }}|rarity={{{chance|Always}}}|note={{{note|}}} }}</onlyinclude></includeonly><noinclude> | ||
{{DropTableStart}} | {{DropTableStart}} | ||
Line 18: | Line 18: | ||
"upper": { | "upper": { | ||
"description": "(optional) The upper bound of the amount to be displayed." | "description": "(optional) The upper bound of the amount to be displayed." | ||
}, | |||
"note": { | |||
"description": "Can be used to provide a <ref/> note." | |||
}, | |||
"chance": { | |||
"description": "(optional) The chance that this is dropped.", | |||
"default": "Always" | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"lower", | |||
"upper", | |||
"chance", | |||
"note" | |||
] | |||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 03:48, 12 September 2023
Item | Quantity | Chance | |
---|---|---|---|
Gold | 1 | Always | |
Gold | 10 - 100 | Always | |
Gold | 532 | Always | |
Gold [1] | 99 | Always |
- ↑ Only if you are a Flaming Sphere.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
lower | lower | Either the amount of gold to be displayed, or the lower bound of the amount of gold to be displayed. | Number | required |
upper | upper | (optional) The upper bound of the amount to be displayed. | Unknown | optional |
chance | chance | (optional) The chance that this is dropped.
| Unknown | optional |
note | note | Can be used to provide a <ref/> note. | Unknown | optional |