Template:Currency/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{No documentation}}")
 
No edit summary
Line 1: Line 1:
{{Documentation}}
{{No documentation}}

The '''currency'''template formats currency using the in-game icons.

==Usage==
{| class="wikitable"
|+
!Code
!Visible result
|-
|<nowiki>{{Currency|100}}</nowiki>
|{{Currency|100}}
|-
|<nowiki>{{Currency|100100}}</nowiki>
|{{Currency|100100}}
|-
|<nowiki>{{Currency|100100100}}</nowiki>
|{{Currency|100100100}}
|}

<includeonly>[[Category:Formatting templates]]</includeonly>

Revision as of 15:40, 14 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 currencytemplate formats currency using the in-game icons.

Usage

Code Visible result
{{Currency|100}} 100 Copper
{{Currency|100100}} 100 Silver 100 Copper
{{Currency|100100100}} 100 Gold 100 Silver 100 Copper