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
m
m (testing something -- also usage and examples)
Line 1: Line 1:
<noinclude>{{PMarket Start}}</noinclude>
+
<includeonly>
| {{{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)}}}}
+
| {{{1|{{{red|??}} }}} || {{{2|{{red|??}} }}} || {{{3|{{red|??}} }}} || {{{4| }}} || ${{Format price|{{#expr:(({{{2}}} * 1.25)/100)}}}} || €{{Format price|{{#expr:(({{{2}}} * 1.2)/100)}}}} || £{{Format price|{{#expr:(({{{2}}} * 0.85)/100)}}}}
 
|-
 
|-
<noinclude>{{PMarket Row|Standard Points Bundle|400|Example|}}{{Table End}}
+
</includeonly>
 +
<noinclude>
 +
== Usage ==
 +
For use on [[Paragon Market]] and related pages. There are four parameters,
 +
Parameters are:
 +
:<nowiki>{{PMarket Row|&lt;Item Name In Market Interface>|&lt;PP>|&lt;Information/Description>|&lt;Free for VIPs?>}}</nowiki>
  
Now it even formats decimals for currency! Only one row is created by using the template (table heading and additional row on this page for demonstrative purposes). The only parameters are Item, PP, Info, and VIP. The USD, Euro, and GBP are calculated from PP.
+
== Example ==
 +
:'''{{tl|PMarket Start}}'''
 +
:'''<nowiki>{{PMarket Row|Standard Points Bundle|400|Example 1}}</nowiki>'''
 +
:'''<nowiki>{{PMarket Row|Super Duper Awesome Powerset|800|Example 2|Y}}</nowiki>'''
 +
:'''<nowiki>{{PMarket Row}}</nowiki>'''
 +
:'''{{tl|Table End}}'''
 +
 
 +
{{PMarket Start}}
 +
{{PMarket Row|Standard Points Bundle|400|Example 1}}
 +
{{PMarket Row|Super Duper Awesome Powerset|800|Example 2|Y}}
 +
{{PMarket Row}}
 +
{{Table End}}
 
[[Category:Paragon Market Templates]]</noinclude>
 
[[Category:Paragon Market Templates]]</noinclude>

Revision as of 03:43, 5 October 2011


Usage

For use on Paragon Market and related pages. There are four parameters, Parameters are:

{{PMarket Row|<Item Name In Market Interface>|<PP>|<Information/Description>|<Free for VIPs?>}}

Example

{{PMarket Start}}
{{PMarket Row|Standard Points Bundle|400|Example 1}}
{{PMarket Row|Super Duper Awesome Powerset|800|Example 2|Y}}
{{PMarket Row}}
{{Table End}}
Item PP Date Added Info VIP $ US € EU £ UK
Standard Points Bundle 400 Example 1 ?? $5.00 €3,98 £3.20
Super Duper Awesome Powerset 800 Example 2 Y $10.00 €7,97 £6.41
?? ?? ?? ?? ?? ?? ??

Template:Table End