Template:Drop table gold: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(created)
 
(Rename alt->alias. Make it work)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{DropTableRow|icon={{TraderGoldRow/Icon|{{{lower}}} }}|item=Gold|quantity={{{lower}}}{{#if:{{{upper|}}}| &nbsp; - {{{upper}}} }}|rarity={{{rarity|Always}}}|note={{{note|}}} }}</onlyinclude></includeonly><noinclude>
<includeonly><onlyinclude>{{Drop table row|icon={{Drop table gold/Icon|{{{lower}}} }}|item=Gold|alias={{{alias|}}}|quantity={{{lower}}}{{#if:{{{upper|}}}| &nbsp;- {{{upper}}} }}|rarity={{{chance|Always}}}|note={{{note|}}} }}</onlyinclude></includeonly><noinclude>


{{DropTableStart}}
{{Drop table start}}
{{DropTableGold|lower=1}}
{{Drop table gold|lower=1}}
{{DropTableGold|lower=10|upper=100}}
{{Drop table gold|lower=10|upper=100}}
{{DropTableGold|lower=532|rarity=1/6}}
{{Drop table gold|lower=532|chance=1/6}}
{{DropTableGold|lower=99|note={{#tag:ref|Only if you are a Flaming Sphere. }} }}
{{Drop table gold|lower=99|note={{#tag:ref|Only if you are a Flaming Sphere. }} }}
{{DropTableEnd}}
{{Drop table gold|alias=Fool's Gold|lower=99}}
{{Drop table end}}


<templatedata>
<templatedata>
Line 18: Line 19:
"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"
},
"alias": {
"description": "Alternative display name.",
"type": "string"
}
}
}
},
"paramOrder": [
"lower",
"upper",
"chance",
"note",
"alias"
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 17:34, 18 October 2023


Item Quantity Chance
Gold 1 Always
Gold 10 - 100 Always
Gold 532 1/6
Gold [1] 99 Always
Fool's Gold 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
aliasalias

Alternative display name.

Stringoptional