Template:Drop table gold: Difference between revisions

From bg3.wiki
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|}}}| &nbsp; - {{{upper}}} }}|rarity={{{rarity|Always}}}|note={{{note|}}} }}</onlyinclude></includeonly><noinclude>
<includeonly><onlyinclude>{{DropTableRow|icon={{DropTableGold/Icon|{{{lower}}} }}|item=Gold|quantity={{{lower}}}{{#if:{{{upper|}}}| &nbsp; - {{{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
  1. Only if you are a Flaming Sphere.

No description.

Template parameters

ParameterDescriptionTypeStatus
lowerlower

Either the amount of gold to be displayed, or the lower bound of the amount of gold to be displayed.

Numberrequired
upperupper

(optional) The upper bound of the amount to be displayed.

Unknownoptional
chancechance

(optional) The chance that this is dropped.

Default
Always
Unknownoptional
notenote

Can be used to provide a <ref/> note.

Unknownoptional