Template:Currency
Jump to navigation
Jump to search
{{Currency}}
template can be used to display the currency icon and the amount of currency, if specified.
Usage
{{Currency|Type|Amount|notext}}
Where:
Type
is a required parameter, and can be (case insensitive):Experience
,EXP
,XP
Requisition Slips
,Requisition
,Medals
,Super Credits
,SC
Common Samples
,Common
,Rare Sample
,Rare
,Super Samples
,Super
Amount
is an optional parameter, and can be any number.notext
is an optional parameter, and will remove text from the end of the output if present.
Examples
{{Currency|Experience|200}} |
![]() |
{{Currency|XP|200}} |
![]() |
{{Currency|Super Credits}} |
|
{{Currency|Common Samples|35|notext}} |
![]() |
{{Currency|Rare Samples|notext}} |
![]() |
Experience: | |
---|---|
{{Currency|Experience|200}} |
![]() |
{{Currency|XP|200}} |
![]() |
{{Currency|Experience}} |
![]() |
{{Currency|XP}} |
![]() |
{{Currency|XP|200|notext}} |
![]() |
{{Currency|Experience|notext}} |
![]() |
Requisition Slips: | |
{{Currency|Requisition|7500}} |
|
{{Currency|Requisition Slips|7500}} |
|
{{Currency|Requisition}} |
|
{{Currency|Requisition Slips}} |
|
{{Currency|Requisition Slips|7500|notext}} |
|
{{Currency|Requisition|notext}} |
|
Medals: | |
{{Currency|Medals|15}} |
|
{{Currency|Medals}} |
|
{{Currency|Medals|15|notext}} |
|
{{Currency|Medals|notext}} |
|
Super Credits: | |
{{Currency|Super Credits|150}} |
|
{{Currency|Super Credits}} |
|
{{Currency|Super Credits|150|notext}} |
|
{{Currency|Super Credits|notext}} |
|
Common Samples: | |
{{Currency|Common Samples|80}} |
![]() |
{{Currency|Common|80}} |
![]() |
{{Currency|Common Samples}} |
![]() |
{{Currency|Common}} |
![]() |
{{Currency|Common|80|notext}} |
![]() |
{{Currency|Common|notext}} |
![]() |
Rare Samples: | |
{{Currency|Rare Samples|40}} |
![]() |
{{Currency|Rare|40}} |
![]() |
{{Currency|Rare Samples}} |
![]() |
{{Currency|Rare}} |
![]() |
{{Currency|Rare|40|notext}} |
![]() |
{{Currency|Rare|notext}} |
![]() |
Super Samples: | |
{{Currency|Super Samples|10}} |
![]() |
{{Currency|Super|10}} |
![]() |
{{Currency|Super Samples}} |
![]() |
{{Currency|Super}} |
![]() |
{{Currency|Super|10|notext}} |
![]() |
{{Currency|Super|notext}} |
![]() |
The above documentation is transcluded from Template:Currency/doc. (edit | history)
{{Currency}} template can be used to display the currency icon and the amount of currency, if specified.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Currency Type | 1 | Name of the currency to be displayed
| Content | required |
Currency Amount | 2 | Amount of currency to be displayed
| Number | suggested |
Hide currency name | 3 | Assign 'notext' to hide the name of the currency
| String | suggested |