Template:PMarket Row: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
imported>Thirty7
m (Undo revision 210496 by Thirty7 (talk) Thought it would look a bit better, but it doesn't)
imported>Blondeshell
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
| {{{1|{{red|??}} }}} || {{{2|{{red|??}} }}} || {{{3|{{red|??}} }}} || align="center" | {{{4| }}} || ${{Format price|{{#expr:(({{{2}}} * 1.25)/100)}}}} || €{{Format price|{{#expr:(({{{2}}} * 1.2)/100)}}}} || £{{Format price|{{#expr:(({{{2}}} * 0.85)/100)}}}}
|-
|-
</includeonly>
| {{{1|{{red|??}} }}}
<noinclude>
| style="text-align: right;" | {{{2|{{red|??}} }}}
== Usage ==
| style="text-align: center;" | {{{3|{{red|??}} }}}
For use on [[Paragon Market]] and related pages.
| {{{4|{{red|??}} }}}
 
| style="text-align: center;" | {{{5| }}}
:'''<nowiki>{{PMarket Row|&lt;Item Name>|&lt;PP>|&lt;Description>|&lt;VIPs?>}}</nowiki>'''
| style="text-align: right;" | {{#if: {{{2|}}} | ${{PP2USD|{{{2}}}}} | {{red|??}} }}
 
| style="text-align: right;" | {{#if: {{{2|}}} | €{{PP2EUR|{{{2}}}}} | {{red|??}} }}
There are four parameters, which are all technically optional, but all but VIP result in {{red|??}} if left out.
| style="text-align: right;" | {{#if: {{{2|}}} | £{{PP2GBP|{{{2}}}}} | {{red|??}} }}</includeonly><noinclude>{{Documentation}}</noinclude>
* The first parameter is for the item name as listed on the market interface. Use a singular name if it comes in packs (i.e. ''Mission Architect Story Slot'' instead of ''Mission Architect Story Slot x5'').
* The second parameter, for [[Paragon Points]], automatically translates the PP cost into the various real-world currencies.
* The third parameter, is for a human-readable "long description" of the item.
* The fourth parameter should be a Y if the item is included for free for VIPs, and should be left out if it is not.
 
== 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|Free Stuff|0|Example 3}}</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|Free Stuff|0|Example 3}}
{{PMarket Row}}
{{Table End}}
[[Category:Paragon Market Templates]]</noinclude>

Latest revision as of 21:28, 1 May 2012

[edit] [purge] Documentation


Usage

For use on Paragon Market and related pages.

{{PMarket Row|<Item Name>|<PP>|<Description>|<VIPs?>}}

There are four parameters, which are all technically optional, but all but VIP result in ?? if left out.

  • The first parameter is for the item name as listed on the market interface. Use a singular name if it comes in packs (i.e. Mission Architect Story Slot instead of Mission Architect Story Slot x5).
  • The second parameter, for Paragon Points, automatically translates the PP cost into the various real-world currencies.
  • The third parameter, is for a human-readable "long description" of the item.
  • The fourth parameter should be a Y if the item is included for free for VIPs, and should be left out if it is not.

Example

{{PMarket Start}}
{{PMarket Row|Standard Points Bundle|400|Example 1}}
{{PMarket Row|Super Duper Awesome Powerset|800|Example 2|Y}}
{{PMarket Row|Free Stuff|0|Example 3}}
{{PMarket Row}}
|}
Item PP Date Added Info VIP $ US € EU £ UK
Standard Points Bundle 400 Example 1 ?? ${{#number_format:5|2|. }} €{{#number_format:3,984|2|, }} £{{#number_format:3.204|2|. }}
Super Duper Awesome Powerset 800 Example 2 Y ${{#number_format:10|2|. }} €{{#number_format:7,968|2|, }} £{{#number_format:6.408|2|. }}
Free Stuff 0 Example 3 ?? ${{#number_format:0|2|. }} €{{#number_format:0|2|, }} £{{#number_format:0|2|. }}
?? ?? ?? ?? ?? ?? ??