Template:Ntc/doc

This template creates a sortable numeric cell with centered contents in a Wikitable.

Use
The complete syntax of this template is:  

Parameters

 * var is a real number in the range -9999999999999999.999999 to 9999999999999999.999999 (-1E+16 to 1E+16)
 * prefix= an optional prefix
 * format= a number format option
 * format=yes – displays thousands separator commas (default)
 * format=no – does not display thousands separator commas
 * color= a text color option
 * color=black (default)
 * bgcolor=</tt> a background color option
 * bgcolor= #F7F7FF </tt> (default)
 * debug=</tt> a debug option
 * debug=yes</tt> – displays a debug prefix (see debug examples)
 * debug=no</tt> – does not display a debug prefix (default)

This template is subject to the number table sorting limitations.

Example
The following Wikitext:  {|class="wikitable sortable"  |+A Sortable Wikitable   !left alignment   !center alignment   !right alignment   |-      &amp;nbsp;km2   &amp;nbsp;km-2   |-      &amp;nbsp;km2   &amp;nbsp;km-2   |-      &amp;nbsp;km2   &amp;nbsp;km-2   |} </tt> creates: