Difference between revisions of "Template:Tprice"
Jump to navigation
Jump to search
(Created page with "<includeonly><span class="sortkey" style="display:none;">{{#len:{{{1|}}}}}{{{1|}}}</span><span class="no-wrap"> 24px|alt=Coin Icon|link={{formatnum: {{#if:{{...") |
Margotbean (talk | contribs) (update template to use module) |
||
(18 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly | + | <includeonly>{{#if:{{{1|}}} |
− | + | |<span style="display: none;">data-sort-value="{{{1|}}}"</span><!-- | |
− | { | + | -->{{#invoke:Tcartprice|tprice |
− | + | |price = {{{1|}}} | |
− | + | |separator = – | |
− | {{# | + | |gold = g |
− | + | |spacearoundseparator = false | |
− | + | }} | |
− | + | |}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
Latest revision as of 17:55, 18 June 2023
Tprice is used to calculate the traveling cart price from the base price of an item. This template also adds a gold coin icon and a language-appropriate symbol for gold.
Examples
{{Tprice|2}}
100–1,000g
{{Tprice|225}}
675–1,125g
{{Tprice|1000000}}
3,000,000–5,000,000g
{{Tprice|furniture}}
250–2,500g