टेम्पलेट:0: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
छोNo edit summary
छोNo edit summary
लाइन 3:
 
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 invisitble zeroes, thousands separators, decimal point) like in:
<pre><nowiki><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></nowiki></pre>
which gives:
<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>
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.
[[Category:Function templates|{{PAGENAME}}]]