(创建页面,内容为“Template for showing prices. Correctly fits inside a sentence or bullet lists. == Usage == <pre> {{value | platinum coin amount | gold coin amount | silver coin amo…”) |
(sync :: en revid:831801::) |
||
(未显示同一用户的3个中间版本) | |||
第59行: | 第59行: | ||
*[[Meteor Head]]s drop {{Value|0|0|1-4|50-70}} |
*[[Meteor Head]]s drop {{Value|0|0|1-4|50-70}} |
||
+ | == See also == |
||
+ | * [[Template:Pc]] |
||
+ | * [[Template:Gc]] |
||
+ | * [[Template:Sc]] |
||
+ | * [[Template:Cc]] |
||
<includeonly> |
<includeonly> |
||
[[Category:Shortcut templates]] |
[[Category:Shortcut templates]] |
2018年10月16日 (二) 04:40的最新版本
Template for showing prices. Correctly fits inside a sentence or bullet lists.
Usage
{{value | platinum coin amount | gold coin amount | silver coin amount | copper coin amount | link = yes: optional, provides link(s) to the coin page, default is no. It is recommended to use links for the first use of the template in a page, but not afterwards. | text = yes: optional, name of coin will be displayed instead of icon, default is no. | small = yes: optional, coin images will be reduced to 11px, default is no. (coins have a default image size ranging from 12px to 16px) }}
{{value|platinum|gold|silver|copper|link=|text=|small=}}
Notes
- Values of "0", "" or null are not displayed.
- The values can also be a range.
- The template is inside a nowrap.
This | Gives |
---|---|
{{Value|1}} | 1 |
{{Value|0|1}} | 1 |
{{Value|0|0|1|}} | 1 |
{{Value|0|0|0|1}} | 1 |
{{Value|1|2|0|4}} | 1 2 4 |
{{Value|0|1|1|link=yes}} | 1 1 |
{{Value|0|1|1|text=yes}} | 1 金 1 银 |
{{Value|0|1|1|link=yes|text=yes}} | 1 金 1 银 |
{{Value|1|2|3|4|small=yes}} | 1 2 3 4 |
Inside a sentence:
- The Mining Helmet can be bought from a merchant for 4 .
- 1 is worth 100 .
- Meteor Heads drop 1-4 50-70