Template:Drop table gold: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(add alt)
Line 1: Line 1:
<includeonly><onlyinclude>{{DropTableRow|icon={{DropTableGold/Icon|{{{lower}}} }}|item=Gold|quantity={{{lower}}}{{#if:{{{upper|}}}| &nbsp;- {{{upper}}} }}|rarity={{{chance|Always}}}|note={{{note|}}} }}</onlyinclude></includeonly><noinclude>
<includeonly><onlyinclude>{{DropTableRow|icon={{DropTableGold/Icon|{{{lower}}} }}|item={{{alt|Gold}}}|quantity={{{lower}}}{{#if:{{{upper|}}}| &nbsp;- {{{upper}}} }}|rarity={{{chance|Always}}}|note={{{note|}}} }}</onlyinclude></includeonly><noinclude>


{{DropTableStart}}
{{DropTableStart}}
Line 25: Line 25:
"description": "(optional) The chance that this is dropped.",
"description": "(optional) The chance that this is dropped.",
"default": "Always"
"default": "Always"
},
"alt": {
"description": "Alternative display name.",
"type": "string"
}
}
},
},
Line 31: Line 35:
"upper",
"upper",
"chance",
"chance",
"note"
"note",
"alt"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 16:30, 18 October 2023


Item Quantity Chance
Gold 1 Always
Gold 10 - 100 Always
Gold 532 1/6
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
altalt

Alternative display name.

Stringoptional