Template:0
From OpenMedia
Revision as of 00:22, 30 April 2008 by Rocket000 (Talk) (Imported 2013-03-10 from http://commons.wikimedia.org/wiki/[SAME-NAME-AS-HERE] to enable licence display of reused media. See there for complete license and author attribution!)
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:
{{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 />
Output:
12 km
123.4 km
1,234.5 km
12,345.67 km