Template:Cost/zh-cn
跳转到导航
跳转到搜索
用途
{{Cost}}
will display the numeric cost of a currency item. Whether is be Gold, Renown, Focus, Skill Medals, or Chapaa Chase Tickets.
构造
{{Cost|amount|currency|show-name}}
Field | Accepted Parameters |
---|---|
amount
|
The amount of the currency, defaults to 1 . Amounts over 1000 will automatically be formatted according with the current language (Eg; 1000 → 1,000 and 1234000 → 1,234,000 )
|
currency
|
Optional. The type of currency, defaults to Gold. Can be Gold or the name of a Skill. |
show-name
|
Optional. Displays the name of the currency after the amount, defaults to 0 if the currency is not provided.
|
Supported Currencies
- Premium
-
- 帕利亚币 (
Palia Coin
)
- 帕利亚币 (
- Items
-
- 幸运硬币 (
Lucky Coin
)
- 幸运硬币 (
示例
构造 | Result | Note |
---|---|---|
{{Cost|10000}}
|
![]() |
The default implementation, to show gold cost |
{{Cost|10000|Gold}}
|
![]() |
This will show gold cost, and also show "Gold" text because the name was explicitly typed |
{{Cost|10000|Gold|0}}
{{Cost|10000|Renown|0}}
{{Cost|10000|Lucky Coin|0}}
{{Cost|10000|Chapaa Chase Ticket|0}}
|
![]() |
This explicitly types the currency, but also explicitly disables showing the name |
{{Cost|##|Gold}}
|
![]() |
Placeholder number |
{{Cost|10000|Renown}}
|
![]() |
Item costs Renown |
{{Cost|10000|Focus}}
|
![]() |
Item costs Focus |
{{Cost|10000|Writ}}
|
![]() |
Item costs Writs |
{{Cost|10000|Palia Coin}}
|
![]() |
Items from the Premium Store cost Palia Coins |
{{Cost|10000|Lucky Coin}}
|
![]() |
Item costs Lucky Coins |
{{Cost|10000|Cooking}}
{{Cost|10000|Hunting}}
{{Cost|10000|Bug Catching}}
{{Cost|10000|Gardening}}
{{Cost|10000|Foraging}}
{{Cost|10000|Fishing}}
{{Cost|10000|Furniture Making}}
{{Cost|10000|Mining}}
|
![]()
|
Costs Skill Medals |
{{Cost|10000|Chapaa Chase Ticket}}
{{Cost|10000|Lucky Envelope}}
|
![]()
|
Item costs Maji Market currencies |