Difference between revisions of "Template:Pricing info test"
From PSU Cyril Wiki
m (I'm taking the easy way out here. <_<) |
m (Except I broke it.) |
||
Line 8: | Line 8: | ||
|Casino unit= colspan="2" | |Casino unit= colspan="2" | ||
|Event item= colspan="4" | |Event item= colspan="4" | ||
+ | |No board= colspan="2" | ||
|#default= colspan="4"}} style="background:#e8e8e8" | '''Pricing information''' | |#default= colspan="4"}} style="background:#e8e8e8" | '''Pricing information''' | ||
{{#switch: {{{Type|}}} | {{#switch: {{{Type|}}} | ||
Line 19: | Line 20: | ||
|Casino unit= | |Casino unit= | ||
|Event item= | |Event item= | ||
+ | |No board= | ||
|#default= {{!}}- style="background:#f2f2f2" | |#default= {{!}}- style="background:#f2f2f2" | ||
{{!}} colspan="2" {{!}} '''Weapon''' {{!}}{{!}} colspan="2" {{!}} '''Board'''}} | {{!}} colspan="2" {{!}} '''Weapon''' {{!}}{{!}} colspan="2" {{!}} '''Board'''}} | ||
Line 45: | Line 47: | ||
|Casino unit= | |Casino unit= | ||
|Event item= | |Event item= | ||
+ | |No board= | ||
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Sell price''' {{!}}{{!}} {{#if: {{{[B] sell|}}}|{{{[B] sell}}}|{{#switch: {{{Type|}}} | |#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Sell price''' {{!}}{{!}} {{#if: {{{[B] sell|}}}|{{{[B] sell}}}|{{#switch: {{{Type|}}} | ||
|Weapon= {{#if: {{{[B] buy|}}}|{{#expr: {{{[B] buy}}}*0.05}}|{{#if: {{{[B] sell|}}}|{{{[B] sell}}}|Unknown}}}} | |Weapon= {{#if: {{{[B] buy|}}}|{{#expr: {{{[B] buy}}}*0.05}}|{{#if: {{{[B] sell|}}}|{{{[B] sell}}}|Unknown}}}} | ||
Line 59: | Line 62: | ||
|Casino unit= | |Casino unit= | ||
|Event item= | |Event item= | ||
+ | |No board= | ||
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Shop location''' {{!}}{{!}} {{#if: {{{[B] shop|}}}|{{{[B] shop}}}|N/A}} | |#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Shop location''' {{!}}{{!}} {{#if: {{{[B] shop|}}}|{{{[B] shop}}}|N/A}} | ||
}} | }} |
Revision as of 00:01, 23 May 2008
Contents
Template parameters
- Type: Identify the type of item this as Weapon, Line shield or Unit. This will ensure the proper table layout and price calculations. For items from Casino Voloyal, identify them as Casino weapon, Casino line shield or Casino unit.
- Buy: If applicable, type the purchase price of the item here. If unknown, leave this field blank.
- Sell: Type the selling price of the item here. If unknown, leave blank.
- Shop: If available for purchase, list the shops where this item can be bought.
- [B] buy: If a synthesis board for this item is available for purchase, type the purchase price here.
- [B] sell: If known and applicable, type the selling price of the item's synthesis board here.
- [B] shop: List shops here where this item's board can be purchased.
To do
- --
Blank template
{{Pricing info test |Type= |Buy= |Sell= |Shop= |[B] buy= |[B] sell= |[B] shop= }}
Examples
Weapon
{{Pricing info test |Type= Weapon |Buy= 8600 |Sell= |Shop= |[B] buy= 4300 |[B] sell= |[B] shop= }}
...produces...
Pricing information | |||
Weapon | Board | ||
Buy price | 8600 | Buy price | 4300 |
Sell price | 1720 | Sell price | 215 |
Shop location | N/A | Shop location | N/A |
Weapon w/ no purchase price
{{Pricing info test |Type= Weapon |Buy= |Sell= 450 |Shop= |[B] buy= |[B] sell= |[B] shop= }}
...produces...
Pricing information | |||
Weapon | Board | ||
Buy price | N/A | Buy price | N/A |
Sell price | 450 | Sell price | Unknown |
Shop location | N/A | Shop location | N/A |
Weapon from Casino Voloyal
{{Pricing info test |Type= Casino weapon |Buy= {{Silver}} 04 |Sell= |Shop= [[Casino Voloyal]] |[B] buy= |[B] sell= |[B] shop= }}
...produces...
Pricing information | |
Buy price | 04 |
Sell price | Unknown |
Shop location | Casino Voloyal |
Line shield
{{Pricing info test |Type= Line shield |Buy= 45000 |Sell= |Shop= |[B] buy= 15000 |[B] sell= |[B] shop= }}
...produces...
Pricing information | |||
Line shield | Board | ||
Buy price | 45000 | Buy price | 15000 |
Sell price | 9000 | Sell price | 750 |
Shop location | N/A | Shop location | N/A |
Line shield from Casino Voloyal
{{Pricing info test |Type= Casino line shield |Buy= {{Gold}} 03 |Sell= |Shop= [[Casino Voloyal]] |[B] buy= |[B] sell= |[B] shop= }}
...produces...
Pricing information | |
Buy price | 03 |
Sell price | Unknown |
Shop location | Casino Voloyal |
Unit
{{Pricing info test |Type= Unit |Buy= 6000 |Sell= |Shop= |[B] buy= |[B] sell= |[B] shop= }}
...produces...
Pricing information | |
Buy price | 6000 |
Sell price | 600 |
Shop location | N/A |
Unit from Casino Voloyal
{{Pricing info test |Type= Casino unit |Buy= {{Bronze}} 50 |Sell= |Shop= [[Casino Voloyal]] |[B] buy= |[B] sell= |[B] shop= }}
...produces...
Pricing information | |
Buy price | 50 |
Sell price | Unknown |
Shop location | Casino Voloyal |
Event item (Spread Needle/G, for example)
{{Pricing info test |Type= Event item |Buy= |Sell= 100 |Shop= |[B] buy= |[B] sell= |[B] shop= }}
...produces...
Pricing information | |||
Buy price | N/A | ||
Sell price | 100 | ||
Shop location | N/A |