เมนูนำทาง
แม่แบบ:Number_table_sorting ParametersThe template has only one required parameter: a real number. These examples use the name of the redirect, {{nts}}, for brevity.
Optional parametersprefix
: To display some text before the number, use |prefix=some prefix
{{nts|123456789.00123|prefix=approx. }}
→ approx. 123,456,789.00123format
: For unformatted output, use |format=no
{{nts|123456789.00123}}
→ 123,456,789.00123{{nts|123456789.00123|format=no}}
→ 123456789.00123debug
: 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.00123Apart 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(ยังไม่มีการตรวจสอบ)
พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
---|---|---|---|---|
Number | 1 | 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.) | สตริง | เลือกได้ |
Debug | debug | If set to "yes", forces output to include debug data | สตริง | เลือกได้ |
Prefix | prefix | The prefix to be displayed before the number. E.g. "Appox." or "$" | สตริง | เลือกได้ |
เมนูนำทาง
แม่แบบ:Number_table_sorting Parametersใกล้เคียง
แม่แบบ แม่แตงร่มใบ แมน-แบท แม่บ้านบัตเตอร์สกอตช์ แม่ของแผ่นดิน แม่แจ่ม แม่บ้านลึกลับกับครอบครัวอลเวง แม่แตง แซ่แบ้ แม่บ้าน (แก้ความกำกวม)แหล่งที่มา
WikiPedia: แม่แบบ:Number_table_sorting