Template:Currency/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
(Add more examples)
Line 11: Line 11:
|{{Currency|100}}
|{{Currency|100}}
|-
|-
|<nowiki>{{Currency|100100}}</nowiki>
|<nowiki>{{Currency|200100}}</nowiki>
|{{Currency|100100}}
|{{Currency|200100}}
|-
|<nowiki>{{Currency|300200100}}</nowiki>
|{{Currency|300200100}}
|-
|<nowiki>{{Currency|400300200100}}</nowiki>
|{{Currency|400300200100}}
|-
|<nowiki>{{Currency|400000000000}}</nowiki>
|{{Currency|400000000000}}
|-
|<nowiki>{{Currency|300000100}}</nowiki>
|{{Currency|300000100}}
|-
|<nowiki>{{Currency|400000200000}}</nowiki>
|{{Currency|400300200100}}
|-
|-
|<nowiki>{{Currency|100100100}}</nowiki>
|{{Currency|100100100}}
|}
|}



Revision as of 22:10, 19 November 2024

This is a documentation subpage for Template:Currency.
It contains usage information, categories, and other content that is not part of the original template page.
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 Copper
{{Currency|200100}} 200 Silver 100 Copper
{{Currency|300200100}} 300 Gold 200 Silver 100 Copper
{{Currency|400300200100}} 400 Platinum 300 Gold 200 Silver 100 Copper
{{Currency|400000000000}} 400 Platinum
{{Currency|300000100}} 300 Gold 0 Silver 100 Copper
{{Currency|400000200000}} 400 Platinum 300 Gold 200 Silver 100 Copper