Difference between revisions of "Template:0"

From RobotX
Jump to navigation Jump to search
m (1 revision imported)
m (Text replacement - "<tvar|(.*)>" to "")
Line 1: Line 1:
<span style="visibility:hidden; color:transparent;">{{{1|0}}}</span><noinclude>
+
 
  
 
{{Heavily used template}}
 
{{Heavily used template}}
Line 11: Line 11:
 
!Input:!!Output:
 
!Input:!!Output:
 
|-
 
|-
|<nowiki>{{0|00,0}}12{{0|.00}} km<br /></nowiki><br><nowiki>{{0|00,}}123.4{{0|0}} km<br /></nowiki><br><nowiki>{{0|0}}1,234.5{{0|0}} km<br /></nowiki><br><nowiki>12,345.67 km<br /></nowiki>
+
 
|{{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
+
12,345.67 km
 
|}
 
|}
  
 
<!--
 
<!--
''Input:''<br />
+
 
<pre>
+
 
{{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 />
+
 
</pre>
+
 
''Output:''<br />
+
 
{{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 />    -->
+
 
  
 
[[Category:Formatting templates|{{PAGENAME}}]]
 
[[Category:Formatting templates|{{PAGENAME}}]]
 
[[Category:Function templates|{{PAGENAME}}]]
 
[[Category:Function templates|{{PAGENAME}}]]
</noinclude>
 

Revision as of 16:20, 21 December 2019


Lua error in Module:Autotranslate at line 72: No fallback page found for autotranslate (base=Template:Heavily used template, lang=⧼lang⧽).


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

12,345.67 km
Input: Output: