Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:PMarket Row"

From Paragon Wiki Archive
Jump to: navigation, search
Line 1: Line 1:
| {{{1}}} || {{{2}}} || {{{3}}} || {{{4}}} || ${{#expr:(({{{2}}} * 1.25)/100)}} || € {{#expr:(({{{2}}} * 1.2)/100)}} || £ {{#expr:(({{{2}}} * 0.85)/100)}}
+
| {{{1}}} || {{{2|0}}} || {{{3}}} || {{{4}}} || ${{Format price|{{#expr:(({{{2}}} * 1.25)/100)}}}} || € {{Format price|{{#expr:(({{{2}}} * 1.2)/100)}}}} || £ {{Format price|{{#expr:(({{{2}}} * 0.85)/100)}}}}
 
|-
 
|-
  
 
<noinclude>Despite the errors above, this is working properly when fed arguments. In order: item name, points price, info, free to VIPs? After that it calculates USD, Euro and GBP from points. If anyone can help me figure out how to make those values always display to two decimals, I'd appreciate it!</noinclude>
 
<noinclude>Despite the errors above, this is working properly when fed arguments. In order: item name, points price, info, free to VIPs? After that it calculates USD, Euro and GBP from points. If anyone can help me figure out how to make those values always display to two decimals, I'd appreciate it!</noinclude>

Revision as of 10:42, 2 October 2011

| {{{1}}} || 0 || {{{3}}} || {{{4}}} || $Template:Format price || € Template:Format price || £ Template:Format price |-

Despite the errors above, this is working properly when fed arguments. In order: item name, points price, info, free to VIPs? After that it calculates USD, Euro and GBP from points. If anyone can help me figure out how to make those values always display to two decimals, I'd appreciate it!