Template:PMarket Row: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
mNo edit summary
imported>Aggelakis
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}}
Template:Table End
Item PP Date Added Info VIP $ US € EU £ UK Standard Points Bundle 400 Example 1 $Template:Format price Template:Format price £Template:Format price
Super Duper Awesome Powerset 800 Example 2 Y $Template:Format price Template:Format price £Template:Format price
{?? ?? ?? $Template:Format price Template:Format price £Template:Format price