Template:Currency: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><span style="white-space:nowrap">[[File:{{{image}}}|{{#if:{{{size|}}}|{{{size}}}|x20px}}|link={{#if:{{{link|}}}|{{{link}}}}}|{{PLURAL:{{#if:{{{amount|}}}|{{{amount}}}|0}}|{{{name}}}|{{{plural}}}}}]]{{#if:{{{amount|}}}| {{formatnum:{{{amount|}}}}}}}{{#if:{{{show name|}}}| {{#if:{{{show link|}}}|[[{{{link|{{{name}}}}}}|{{PLURAL:{{#if:{{{amount|}}}|{{{amount}}}|0}}|{{{name}}}|{{{plural}}}}}]]|{{PLURAL:{{#if:{{{amount|}}}|{{{amount}}}|0}}|{{{name}}}|{{{plural}}}}}}}}} | <includeonly><span style="white-space:nowrap">[[File:{{{image}}}|{{#if:{{{size|}}}|{{{size}}}|x20px}}|link={{#if:{{{link|}}}|{{#ifeq:{{PAGENAME}}|{{{link}}}||{{{link}}}}}}}|{{PLURAL:{{#if:{{{amount 2|}}}|{{{amount 2}}}|{{#if:{{{amount|}}}|{{{amount}}}|0}}}}|{{{name}}}|{{{plural}}}}}]]{{#if:{{{amount|}}}| {{formatnum:{{{amount|}}}}}{{#if:{{{amount 2|}}}|–{{formatnum:{{{amount 2|}}}}}}}}}</span>{{#if:{{{show name|}}}| {{#if:{{{show link|}}}|[[{{{link|{{{name}}}}}}|{{PLURAL:{{#if:{{{amount 2|}}}|{{{amount 2}}}|{{#if:{{{amount|}}}|{{{amount}}}|0}}}}|{{{name}}}|{{{plural}}}}}]]|{{PLURAL:{{#if:{{{amount 2|}}}|{{{amount 2}}}|{{#if:{{{amount|}}}|{{{amount}}}|0}}}}|{{{name}}}|{{{plural}}}}}}}}}</includeonly><noinclude>{{/doc}}</noinclude> | ||
Latest revision as of 21:47, 19 March 2026
A template for displaying currency icons, links, and formatted numbers. This is the base template used by higher-level templates like [[Template:BTD6 mm]] and [[Template:BATTD gem]], and should not be called directly by any article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| image | image | no description | Unknown | optional |
| size | size | no description | Unknown | optional |
| name | name | no description | Unknown | optional |
| plural | plural | no description | Unknown | optional |
| link | link | no description | Unknown | optional |
| amount | amount | no description | Unknown | optional |
| amount 2 | amount 2 | no description | Unknown | optional |
| show name | show name | no description | Unknown | optional |
| show link | show link | no description | Unknown | optional |