Template:This.value
跳到导航
跳到搜索
Converts the source code this.value
into {{pc}} {{gc}} {{sc}} {{cc}}. Designed to be used within item infoboxes, as the sell value wherever the source code uses this.value
.
It should be noted that in the source code, the sell value is 1/5 the buy value, so this template will first divide the number provided by 5.
Usage
{{this.value|amount}}
Example
This code | Produces |
---|---|
{{item infobox <!-- some parameters removed for brevity --> | name = Iron Pickaxe | pick = 40 | damage = 5 | damagetype = melee | knockback = 2 | use = 19 | sell = {{this.value|2000}} | id = 1 }} |