Template:Currency cell/doc: Difference between revisions
Document changed show_zeros arg
(Fixed decimal values) |
(Document changed show_zeros arg) |
||
Line 48:
===show_zeros===
Three options:
* <code>show_zeros=
* <code>show_zeros=
* <code>show_zeros=none</code>: hide all denominations with zero value
{| class="wikitable"
! Amount
! colspan="10" | <code>show_zeros=all</code>▼
! colspan="10" | <code>show_zeros=some</code>
▲! colspan="10" | <code>show_zeros=all</code>
! colspan="10" | <code>show_zeros=none</code>
|-
| 0 || {{Currency cell|0|show_zeros=
|-
| 1 || {{Currency cell|1|show_zeros=
|-
| 2,000 || {{Currency cell|2000|show_zeros=
|-
| 2,001 || {{Currency cell|2001|show_zeros=
|-
| 3,002,000 || {{Currency cell|3002000|show_zeros=
|-
| 4,000,002,000 || {{Currency cell|4000002000|show_zeros=
|-
| 4,003,002,000 || {{Currency cell|4003002000|show_zeros=
|}
{| class="wikitable"
! Amount
! colspan="10" | <code>show_zeros=some</code>
|-
| 2,000
| {{Currency cell|2000|show_zeros=some}}
|-
| 3,002,000
| {{Currency cell|3002000|show_zeros=some}}
|}
Notice how there is no 0 copper column above
===force_sign===
|