Template:Currency

From Dune: Awakening Community Wiki
Jump to navigation Jump to search


Usage Examples

Template Call Output
{{Currency|CHOAM Cargo|3}} 3
{{Currency|CHOAM Credit|label=true}} CHOAM Credit
{{Currency|Coin|5000|label=true}} 5,000 Solari Coin
{{Currency|Intel|40}} 40
{{Currency|Scrip|1000|label=true}} 1,000 House Scrip
{{Currency|Solari|9999}} 9,999
{{Currency|Spice|10|label=true}} 10 Spice Melange

TemplateData

Displays a currency icon, with an optional quantity shown before the icon, and an optional label shown after the icon.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Currency1

The currency to display.

Suggested values
CHOAM Cargo CHOAM Credit Coin Intel Scrip Solari Spice
Stringrequired
Quantity2

Optional quantity to display before the icon.

Stringoptional
Display Labellabel

If specified with a truthy value, the currency's corresponding label will be displayed behind the icon as a wikilink. Defaults to false.

Suggested values
true yes 1
Default
false
Booleanoptional