Template:0: Difference between revisions
Template page
More actions
m Reverted edits by Prahlad balaji (talk) to last revision by Sarang |
m high risk |
||
| Line 1: | Line 1: | ||
<span style="visibility:hidden; color:transparent;">{{{1|0}}}</span><noinclude> | <span style="visibility:hidden; color:transparent;">{{{1|0}}}</span><noinclude> | ||
{{Heavily used template}} | |||
---- | ---- | ||
Revision as of 17:57, 24 November 2016
Inserts a visibility:hidden and color:transparent (i.e. invisible) zero (0) character. It is used for padding statistics and other numbers in table columns so that they line up properly.
- The invisible zero may be replaced by specifying the first optional parameter (useful to make numeric columns in tables sortable).
Example
| Input: | Output: |
|---|---|
| {{0|00,0}}12{{0|.00}} km<br /> {{0|00,}}123.4{{0|0}} km<br /> {{0|0}}1,234.5{{0|0}} km<br /> 12,345.67 km<br /> |
12 km 123.4 km 1,234.5 km 12,345.67 km |