Template:Currency/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Im Wired In (talk | contribs) mNo edit summary |
(Add more examples) |
||
Line 11: | Line 11: | ||
|{{Currency|100}} |
|{{Currency|100}} |
||
|- |
|- |
||
|<nowiki>{{Currency| |
|<nowiki>{{Currency|200100}}</nowiki> |
||
|{{Currency| |
|{{Currency|200100}} |
||
|- |
|||
⚫ | |||
⚫ | |||
|- |
|||
|<nowiki>{{Currency|400300200100}}</nowiki> |
|||
|{{Currency|400300200100}} |
|||
|- |
|||
|<nowiki>{{Currency|400000000000}}</nowiki> |
|||
|{{Currency|400000000000}} |
|||
|- |
|||
|<nowiki>{{Currency|300000100}}</nowiki> |
|||
|{{Currency|300000100}} |
|||
|- |
|||
|<nowiki>{{Currency|400000200000}}</nowiki> |
|||
|{{Currency|400300200100}} |
|||
|- |
|- |
||
⚫ | |||
⚫ | |||
|} |
|} |
||
Revision as of 22:10, 19 November 2024
Template:Currency invokes function main in Module:Currency using Lua.
The currency template formats currency using the in-game icons.
Usage
Code | Visible result |
---|---|
{{Currency|100}} | 100 |
{{Currency|200100}} | 200 100 |
{{Currency|300200100}} | 300 200 100 |
{{Currency|400300200100}} | 400 300 200 100 |
{{Currency|400000000000}} | 400 |
{{Currency|300000100}} | 300 0 100 |
{{Currency|400000200000}} | 400 300 200 100 |