Template:Ntsp
Appearance
{{ntsh|{{{1}}}}}{{{3|}}}{{Format price|{{{1}}}|{{{2|}}}}}
"Number Table Sorting, Price-format". Use to sort numbers formatted with {{#invoke:Format price}} 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||$}}
|}
|
|
See also
This template has not been added to any categories. Please help out by adding categories to it so that it can be listed with similar templates. |