Parameters ของ แม่แบบ:Number_table_sorting

The template has only one required parameter: a real number. These examples use the name of the redirect, {{nts}}, for brevity.

Optional parameters
  • prefix: To display some text before the number, use |prefix=some prefix{{nts|123456789.00123|prefix=approx. }} → approx. 123,456,789.00123
  • format: For unformatted output, use |format=no{{nts|123456789.00123}} → 123,456,789.00123{{nts|123456789.00123|format=no}} → 123456789.00123
  • debug: To display the sort key, use |debug=yes.{{nts|123456789.00123|debug=yes}} → 7008123456789001230♠123,456,789.00123{{nts|-123456789.00123|debug=yes}} → 2991876543210998770♠−123,456,789.00123

Apart from the added thousands separators the numbers are formatted as supplied (scientific notation or not, leading and trailing zeros, and a zero before the decimal point or not). This formatting does not affect the sorted order except for numbers not satisfying the limitations mentioned below.

ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งถูกใช้งานโดยเครื่องมือแก้ไขแบบเห็นภาพและเครื่องมืออื่น ๆ

ข้อมูลแม่แบบสำหรับ Number table sorting(ยังไม่มีการตรวจสอบ)

พารามิเตอร์แม่แบบ

พารามิเตอร์คำอธิบายชนิดสถานะ
Number1

Your number

จำนวนจำเป็น
Format output?format

If you do not wish the output to be formatted (i.e. separated by thousand separators), please put "no" in this field. (Without quotation marks.)

สตริงเลือกได้
Debugdebug

If set to "yes", forces output to include debug data

สตริงเลือกได้
Prefixprefix

The prefix to be displayed before the number. E.g. "Appox." or "$"

สตริงเลือกได้