Template:Ntsp
{{ntsh|{{{1}}}}}{{{3|}}}{{Formatprice|{{{1}}}|{{{2|}}}}}
"Number Table Sorting, Price-format". Use to sort numbers formatted with {{Formatprice}} in tables with one template.
Usage
{{ntsp|value|digits|symbol}}
Example:
{| class="wikitable sortable"
! Car !! Price
|-
| Jalopy || {{ntsp|10.99|2|$}}
|-
| Nice car || {{ntsp|15000||$}}
|-
| Luxury car || {{ntsp|60000||$}}
|-
| Exotic car || {{ntsp|1000000||$}}
|-
| Super Exotic car || {{ntsp|100000000||$}}
|-
| Ridiculously Exotic car || {{ntsp|1000000000||$}}
|-
| Unattainable car || {{ntsp|100000000000||$}}
|} |
|
Related pages
</includeonl
| The above documentation is transcluded from Template:Ntsp/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |