Template:PMarket Row: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Thirty7 (historical)
m (Undo revision 210496 by Thirty7 (talk) Thought it would look a bit better, but it doesn't)
imported>Sekoia (historical)
(Using {{Decimals}} instead of {{Format price}}; the first renders 10.2 as "10.20" while the second renders it as "10.2")
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)}}}}
| {{{1|{{red|??}} }}} || {{{2|{{red|??}} }}} || {{{3|{{red|??}} }}} || align="center" | {{{4| }}} || ${{Decimals|{{#expr:(({{{2}}} * 1.25)/100)}}|2}} || €{{Decimals|{{#expr:(({{{2}}} * 1.2)/100)}}|2}} || £{{Decimals|{{#expr:(({{{2}}} * 0.85)/100)}}|2}}
|-
|-
</includeonly>
</includeonly>

Revision as of 07:43, 20 January 2012


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}}
{{Table End}}
Template:Table End
Item PP Date Added Info VIP $ US € EU £ UK Standard Points Bundle 400 Example 1 $5 €4.8 £3.4
Super Duper Awesome Powerset 800 Example 2 Y $10 €9.6 £6.8
Free Stuff 0 Example 3 $0 €0 £0
?? ?? ?? $Expression error: Unexpected < operator. Expression error: Unexpected < operator. £Expression error: Unexpected < operator.