Template:Currency cell/doc

From Brighter Shores Wiki
Revision as of 12:17, 20 November 2024 by Artoire (talk | contribs) (Create initial documentation (Still need to document parameters force_sign, sign, show_zeroes, html))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:Currency cell.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Currency cell invokes function cell in Module:Currency using Lua.

Creates a table cell with a currency. The header should have colspan="8" (or colspan="9" when sign=leading)

Usage example:

{| class="wikitable sortable"
! colspan="8" | Header
|-
| {{Currency cell|0}}
|-
| {{Currency cell|1000}}
|-
| {{Currency cell|1001}}
|-
| {{Currency cell|1}}
|-
| {{Currency cell|-1}}
|}
Header
0 Copper
1 Silver 0 Copper
1 Silver 1 Copper
1 Copper
-1 Copper