Template:Align Silver
Revision as of 17:10, 20 September 2022 by Ickputzdirwech (talk | contribs)
Summary
This table can be used to align values of silver. This might be useful in tables and lists. It has three parameters:
- The first parameter is the amount of silver.
- The second parameter is the expected maximum power of ten of the first parameter. (default = 5; maximum 2)
- The third parameter is the expected number of decimal places. (default = 2; maximum 2)
Examples
{{Align Silver|1|2}} {{Align Silver|10|2}}
1
10
Default length is five:
{{Align Silver|1,000}} {{Align Silver|10,000}} {{Align Silver|100,000}}
1,000Expression error: Unrecognized punctuation character ",".Expression error: Unrecognized punctuation character ",".
10,000Expression error: Unrecognized punctuation character ",".Expression error: Unrecognized punctuation character ",".
100,000Expression error: Unrecognized punctuation character ",".Expression error: Unrecognized punctuation character ",".
Maximum length is seven:
{{Align Silver|1|7}} {{Align Silver|10|7}} {{Align Silver|100|7}} {{Align Silver|1,000|7}} {{Align Silver|10,000|7}} {{Align Silver|100,000|7}} {{Align Silver|1,000,000|7}}
1
10
100
1,000Expression error: Unrecognized punctuation character ",".Expression error: Unrecognized punctuation character ",".
10,000Expression error: Unrecognized punctuation character ",".Expression error: Unrecognized punctuation character ",".
100,000Expression error: Unrecognized punctuation character ",".Expression error: Unrecognized punctuation character ",".
1,000,000Expression error: Unrecognized punctuation character ",".Expression error: Unrecognized punctuation character ",".
Decimal places:
{{Align Silver|10|3|2}} {{Icon Small|silver}} {{Align Silver|1|3|2}} {{Icon Small|silver}} {{Align Silver|0.1|3|2}} {{Icon Small|silver}} {{Align Silver|100.01|3|2}} {{Icon Small|silver}} {{Align Silver|0.001|3|2}} {{Icon Small|silver}}10 1 0.1 0.001
The above documentation is transcluded from Template:Align Silver/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |