ਫਰਮਾ:0
This template uses TemplateStyles: |
Usage
[ਸੋਧੋ]This template inserts an invisible (visibility: hidden
and color: transparent
) figure space character (by default), or other string (first argument). It is used for padding statistics and other numbers in table columns so that they line up properly, or in any situation where invisible padding equivalent to the length of a given string is needed.
Examples
[ਸੋਧੋ]Input | Displays as |
---|---|
|
00,012.00 km |
Note: The null template, {{0|}}
, used in the second to last line, produces the same alignment effect as omitting the template entirely. However, the null template can be useful for preserving the alignment within the wikicode.
See also
[ਸੋਧੋ]TemplateData
[ਸੋਧੋ]This template inserts an invisible (visibility:hidden and color:transparent) 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 in fact be replaced by any other string (which regardless, is made invisible), by specifying the string as the first optional parameter. This is useful to "visually pad out" equivalent length rows in numeric columns in such tables. This is accomplished by inserting extra invisible zeroes, thousands separators, or decimal points prefixing and suffixing the numeric field, (adjusted to pad to the length of the largest numeric value).
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
Hidden string | 1 | no description
| String | optional |