Template:Format price/testcases
< Template:Format price
Jump to navigation
Jump to search
Revision as of 10:18, 28 September 2013 by test>Edgepedia (→Testing main template: wrong template)
| This is the template test cases page for the sandbox of Template:Format price. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Testing sandbox version
{{Format price/sandbox|7.2}}-> 7.20{{Format price/sandbox|8.1}}-> 8.10{{Format price/sandbox|8.2}}-> 8.20{{Format price/sandbox|9.2}}-> 9.20{{Format price/sandbox|456.789}}= 456.79{{Format price/sandbox|456.789|1}}= 456.80{{Format price/sandbox|456.789|0}}= 457{{Format price/sandbox|456.789|-2}}= 500- $
{{Format price/sandbox|1234}}= $1.23 thousand - $
{{Format price/sandbox|12345}}= $12.3 thousand - $
{{Format price/sandbox|123456}}= $123 thousand - $
{{Format price/sandbox|1000000}}= $1 million - ¥
{{Format price/sandbox|98765432109876}}= ¥98.8 trillion {{Format price/sandbox|7.86178E+25}}atoms = 78.6 septillion atoms{{Format price/sandbox}}= Format price error: cannot parse value ""{{Format price/sandbox||0}}= Format price error: cannot parse value ""{{Format price/sandbox|-100}}= Format price error: cannot parse value "-100"{{Format price/sandbox|xyz|A}}= Format price error: cannot parse value "xyz"
Testing main template
{{Format price|7.2}}-> 7.20{{Format price|8.1}}-> 8.10{{Format price|8.2}}-> 8.20
{{Format price|9.2}}-> 9.20
{{Format price|1.2}}= 1.20{{Format price|456.789}}= 456.79{{Format price|456.789|1}}= 456.80{{Format price|456.789|0}}= 457{{Format price|456.789|-2}}= 500- $
{{Format price|1234}}= $1.23 thousand - $
{{Format price|12345}}= $12.3 thousand - $
{{Format price|123456}}= $123 thousand - $
{{Format price|1000000}}= $1 million - ¥
{{Format price|98765432109876}}= ¥98.8 trillion {{Format price|7.86178E+25}}atoms = 78.6 septillion atoms{{Format price}}= Format price error: cannot parse value ""{{Format price||0}}= Format price error: cannot parse value ""{{Format price|-100}}= Format price error: cannot parse value "-100"{{Format price|xyz|A}}= Format price error: cannot parse value "xyz"