Template:Ntsp/doc
Appearance
This is a documentation subpage for Template:Ntsp. It may contain usage information, categories and other content that is not part of the original template page. |
"Number Table Sorting, Price-format". Use to sort numbers formatted with {{#invoke:Format price}} in tables with one template.
Usage
[edit]{{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||$}}
|}
|
|