დოკუმენტაცია დოკუმენტაცია

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 any other string to make invisible, by specifying the string as the first optional parameter; this will be useful to make numeric columns in tables sortable (by inserting extra invisible zeroes, thousands separators, decimal point) like in:

<div>
{{0|0,000,0}}12{{0|.00}} km<br />
{{0|0,000,}}212.5{{0|0}} km<br />
{{0|0,00}}3,212.51 km<br />
</div>

which gives:

0,000,012.00 km
0,000,212.50 km
0,003,212.51 km

These hidden characters are part of the string used for collation when sorting tables, even though thy are not visible (but they still take space and numeric columns are correctly aligned as if they were present.