Difference between revisions of "Template:Decimal-align/doc"
Jump to navigation
Jump to search
imported>Swpb (←Created page with '{{Documentation subpage}} {{Lua|Module:Decimal-align}} Aligns numbers in multiple table cells on the decimal point. Can wrap wikitext, including multi-cell outpu...') |
imported>Swpb |
||
| Line 10: | Line 10: | ||
| 1 (unnamed) || cells to perform alignment on | | 1 (unnamed) || cells to perform alignment on | ||
|- | |- | ||
| − | | | + | | leftx (optional, x = 1 to 10) || alignment of the decimal point within column x |
| + | |- | ||
| + | | left (optional) || default alignment of the decimal point if no "leftx" argument is given (defaults to 50%) | ||
|} | |} | ||
Revision as of 20:13, 24 January 2019
| This is a documentation subpage for Template:Decimal-align. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Aligns numbers in multiple table cells on the decimal point. Can wrap wikitext, including multi-cell outputs of {{convert}}.
Arguments
| Argument | Meaning |
|---|---|
| 1 (unnamed) | cells to perform alignment on |
| leftx (optional, x = 1 to 10) | alignment of the decimal point within column x |
| left (optional) | default alignment of the decimal point if no "leftx" argument is given (defaults to 50%) |
See also
- Template:Decimal cell, similar template that operates on single table cells only and splits them into separate cells