If you are looking for Information about PSU Clementine, Go check their Wiki

Difference between revisions of "Template:Pricing info test"

From The re-PSUPedia
Jump to: navigation, search
m (Let's see...)
m (Protected "Template:Pricing info test" [edit=sysop:move=sysop])
 
(35 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
| {{#switch: {{{Type|}}}
 
| {{#switch: {{{Type|}}}
 
|Weapon= colspan="4"
 
|Weapon= colspan="4"
 +
|Casino weapon= colspan="2"
 
|Line shield= colspan="4"
 
|Line shield= colspan="4"
 +
|Casino line shield= colspan="2"
 
|Unit= colspan="2"
 
|Unit= colspan="2"
 +
|Casino unit= colspan="2"
 +
|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|}}}
 
|Weapon= {{!}}- style="background:#f2f2f2"
 
|Weapon= {{!}}- style="background:#f2f2f2"
 
{{!}} colspan="2" {{!}} '''Weapon''' {{!}}{{!}} colspan="2" {{!}} '''Board'''
 
{{!}} colspan="2" {{!}} '''Weapon''' {{!}}{{!}} colspan="2" {{!}} '''Board'''
 +
|Casino weapon=
 
|Line shield= {{!}}- style="background:#f2f2f2"
 
|Line shield= {{!}}- style="background:#f2f2f2"
 
{{!}} colspan="2" {{!}} '''Line shield''' {{!}}{{!}} colspan="2" {{!}} '''Board'''
 
{{!}} colspan="2" {{!}} '''Line shield''' {{!}}{{!}} colspan="2" {{!}} '''Board'''
 +
|Casino line shield=
 
|Unit=  
 
|Unit=  
 +
|Casino unit=
 +
|Event item=
 +
|No board=
 
|#default= {{!}}- style="background:#f2f2f2"
 
|#default= {{!}}- style="background:#f2f2f2"
 
{{!}} colspan="2" {{!}} '''Weapon''' {{!}}{{!}} colspan="2" {{!}} '''Board'''}}
 
{{!}} colspan="2" {{!}} '''Weapon''' {{!}}{{!}} colspan="2" {{!}} '''Board'''}}
 
|- style="background:#f9f9f9"
 
|- style="background:#f9f9f9"
| style="background:#f2f2f2" | '''Buy price''' || {{#switch: {{{Mfr.}}}{{{Rarity}}}{{{Type}}}
+
| style="background:#f2f2f2" | '''Buy price''' || {{#if: {{{Buy|}}}|{{{Buy}}}|N/A}} {{#switch: {{{Type|}}}
|G1Weapon=
+
|Casino weapon=
|G2Weapon=
+
|Casino line shield=
|G3Weapon=
 
|G4Weapon= 8600
 
|#default= N/A}} {{#switch: {{{Type|}}}
 
 
|Unit=  
 
|Unit=  
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Buy price''' {{!}}{{!}} XX
+
|Casino unit=
 +
|Event item=
 +
|No board=
 +
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Buy price''' {{!}}{{!}} {{#if: {{{[B] buy|}}}|{{{[B] buy}}}|N/A}}
 
}}
 
}}
 
|- style="background:#f9f9f9"
 
|- style="background:#f9f9f9"
| style="background:#f2f2f2" | '''Sell price''' || XX {{#switch: {{{Type|}}}
+
| style="background:#f2f2f2" | '''Sell price''' || {{#if: {{{Sell|}}}|{{{Sell}}}|{{#switch: {{{Type|}}}
 +
|Weapon= {{#if: {{{Buy|}}}|{{#expr: {{{Buy}}}*0.2}}|{{#if: {{{Sell|}}}|{{{Sell}}}|Unknown}}}}
 +
|Casino weapon= {{#if: {{{Buy|}}}|{{#if: {{{Sell|}}}|{{{Sell}}}|Unknown}}}}
 +
|Line shield= {{#if: {{{Buy|}}}|{{#expr: {{{Buy}}}*0.2}}|{{#if: {{{Sell|}}}|{{{Sell}}}|Unknown}}}}
 +
|Casino line shield= {{#if: {{{Buy|}}}|{{#if: {{{Sell|}}}|{{{Sell}}}|Unknown}}}}
 +
|Unit= {{#if: {{{Buy|}}}|{{#expr: {{{Buy}}}*0.1}}|{{#if: {{{Sell|}}}|{{{Sell}}}|Unknown}}}}
 +
|Casino unit= {{#if: {{{Buy|}}}|{{#if: {{{Sell|}}}|{{{Sell}}}|Unknown}}}}
 +
|#default= Unknown}}}} {{#switch: {{{Type|}}}
 +
|Casino weapon=
 +
|Casino line shield=
 
|Unit=  
 
|Unit=  
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Sell price''' {{!}}{{!}} XX
+
|Casino unit=
 +
|Event item=
 +
|No board=
 +
|#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}}}}
 +
|Casino weapon= {{#if: {{{[B] buy|}}}|{{#if: {{{[B] sell|}}}|{{{[B] sell}}}|Unknown}}}}
 +
|Line shield= {{#if: {{{[B] buy|}}}|{{#expr: {{{[B] buy}}}*0.05}}|{{#if: {{{[B] sell|}}}|{{{[B} sell}}}|Unknown}}}}
 +
|Casino line shield= {{#if: {{{[B] buy|}}}|{{#if: {{{[B] sell|}}}|{{{[B] sell}}}|Unknown}}}}
 +
|#default= Unknown}}}}
 
}}
 
}}
 
|- style="background:#f9f9f9"
 
|- style="background:#f9f9f9"
| style="background:#f2f2f2" | '''Shop location''' || XX {{#switch: {{{Type|}}}
+
| style="background:#f2f2f2" | '''Shop location''' || {{#if: {{{Shop|}}}|{{{Shop}}}|N/A}} {{#switch: {{{Type|}}}
 +
|Casino weapon=
 +
|Casino line shield=
 
|Unit=  
 
|Unit=  
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Shop location''' {{!}}{{!}} XX
+
|Casino unit=
 +
|Event item=
 +
|No board=
 +
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Shop location''' {{!}}{{!}} {{#if: {{{[B] shop|}}}|{{{[B] shop}}}|N/A}}
 
}}  
 
}}  
 
|}</includeonly>
 
|}</includeonly>
<noinclude>== Necessary parameters ==
+
<noinclude>== Template parameters ==
* This template should modify itself based on values which will identify it as a pricing table for a weapon, line shield or unit.  Weapons and line shields will include a section for boards while units will not.
+
* '''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''''No board'' can also be used to remove the synthesis board pricing columns.<br/>
* Prices (both buy and sell) should be researched and patterns documented for items based on manufacturer and rarityWe should be able to have the template auto-populate cells for this information for most items.
+
* '''Buy:'''  If applicable, type the purchase price of the item here.  If unknown, leave this field blank.<br/>
 +
* '''Sell:'''  Type the selling price of the item here.  If unknown, leave blank.<br/>
 +
* '''Shop:'''  If available for purchase, list the shops where this item can be bought.<br/>
 +
* '''[B] buy:'''  If a synthesis board for this item is available for purchase, type the purchase price here.<br/>
 +
* '''[B] sell:'''  If known and applicable, type the selling price of the item's synthesis board here.<br/>
 +
* '''[B] shop:''' List shops here where this item's board can be purchased.
 +
 
 +
'''In the case of an unknown value, leave the field blank!  Do not enter question marks!'''
  
 
== Blank template ==
 
== Blank template ==
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
 
|Type=  
 
|Type=  
|Mfr.=  
+
|Buy=  
|Rarity=  
+
|Sell=  
}}</pre>
+
|Shop=
 +
|[B] buy=
 +
|[B] sell=
 +
|[B] shop= }}</pre>
  
 
== Examples ==
 
== Examples ==
Line 49: Line 91:
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
 
|Type= Weapon
 
|Type= Weapon
|Mfr.= G
+
|Buy= 8600
|Rarity= 4
+
|Sell=
 +
|Shop=
 +
|[B] buy= 4300
 +
|[B] sell=
 +
|[B] shop=  
 
}}</pre>
 
}}</pre>
 
...produces...
 
...produces...
 
{{Pricing info test
 
{{Pricing info test
 
|Type= Weapon
 
|Type= Weapon
|Mfr.= G
+
|Buy= 8600
|Rarity= 4
+
|Sell=
 +
|Shop=
 +
|[B] buy= 4300
 +
|[B] sell=
 +
|[B] shop=
 +
}}
 +
 
 +
=== Weapon w/ no purchase price ===
 +
<pre>{{Pricing info test
 +
|Type= Weapon
 +
|Buy=
 +
|Sell= 450
 +
|Shop=
 +
|[B] buy=
 +
|[B] sell=
 +
|[B] shop=
 +
}}</pre>
 +
...produces...
 +
{{Pricing info test
 +
|Type= Weapon
 +
|Buy=
 +
|Sell= 450
 +
|Shop=
 +
|[B] buy=
 +
|[B] sell=
 +
|[B] shop=
 +
}}
 +
 
 +
=== Weapon from Casino Voloyal ===
 +
<pre>{{Pricing info test
 +
|Type= Casino weapon
 +
|Buy= {{Silver}} 04
 +
|Sell=
 +
|Shop= [[Casino Voloyal]]
 +
|[B] buy=
 +
|[B] sell=
 +
|[B] shop=
 +
}}</pre>
 +
...produces...
 +
{{Pricing info test
 +
|Type= Casino weapon
 +
|Buy= {{Silver}} 04
 +
|Sell=
 +
|Shop= [[Casino Voloyal]]
 +
|[B] buy=
 +
|[B] sell=  
 +
|[B] shop=  
 
}}
 
}}
  
Line 62: Line 154:
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
 
|Type= Line shield
 
|Type= Line shield
|Mfr.=  
+
|Buy= 45000
|Rarity=  
+
|Sell=
 +
|Shop=
 +
|[B] buy= 15000
 +
|[B] sell=
 +
|[B] shop=  
 
}}</pre>
 
}}</pre>
 
...produces...
 
...produces...
 
{{Pricing info test
 
{{Pricing info test
 
|Type= Line shield
 
|Type= Line shield
|Mfr.=  
+
|Buy= 45000
|Rarity=  
+
|Sell=
 +
|Shop=
 +
|[B] buy= 15000
 +
|[B] sell=
 +
|[B] shop=
 +
}}
 +
 
 +
=== Line shield from Casino Voloyal ===
 +
<pre>{{Pricing info test
 +
|Type= Casino line shield
 +
|Buy= {{Gold}} 03
 +
|Sell=
 +
|Shop= [[Casino Voloyal]]
 +
|[B] buy=
 +
|[B] sell=
 +
|[B] shop=
 +
}}</pre>
 +
...produces...
 +
{{Pricing info test
 +
|Type= Casino line shield
 +
|Buy= {{Gold}} 03
 +
|Sell=
 +
|Shop= [[Casino Voloyal]]
 +
|[B] buy=
 +
|[B] sell=  
 +
|[B] shop=  
 
}}
 
}}
  
Line 75: Line 196:
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
 
|Type= Unit
 
|Type= Unit
|Mfr.=  
+
|Buy= 6000
|Rarity=  
+
|Sell=
 +
|Shop=
 +
|[B] buy=
 +
|[B] sell=
 +
|[B] shop=  
 
}}</pre>
 
}}</pre>
 
...produces...
 
...produces...
 
{{Pricing info test
 
{{Pricing info test
 
|Type= Unit
 
|Type= Unit
|Mfr.=  
+
|Buy= 6000
|Rarity=  
+
|Sell=
 +
|Shop=
 +
|[B] buy=
 +
|[B] sell=
 +
|[B] shop=
 +
}}
 +
 
 +
=== Unit from Casino Voloyal ===
 +
<pre>{{Pricing info test
 +
|Type= Casino unit
 +
|Buy= {{Bronze}} 50
 +
|Sell=
 +
|Shop= [[Casino Voloyal]]
 +
|[B] buy=
 +
|[B] sell=
 +
|[B] shop=
 +
}}</pre>
 +
...produces...
 +
{{Pricing info test
 +
|Type= Casino unit
 +
|Buy= {{Bronze}} 50
 +
|Sell=
 +
|Shop= [[Casino Voloyal]]
 +
|[B] buy=
 +
|[B] sell=
 +
|[B] shop=
 +
}}
 +
 
 +
=== Event item (Spread Needle/G, for example) ===
 +
<pre>{{Pricing info test
 +
|Type= Event item
 +
|Buy=
 +
|Sell= 100
 +
|Shop=
 +
|[B] buy=
 +
|[B] sell=
 +
|[B] shop=
 +
}}</pre>
 +
...produces...
 +
{{Pricing info test
 +
|Type= Event item
 +
|Buy=
 +
|Sell= 100
 +
|Shop=
 +
|[B] buy=
 +
|[B] sell=  
 +
|[B] shop=  
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 14:50, 10 May 2009

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. No board can also be used to remove the synthesis board pricing columns.
  • 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.

In the case of an unknown value, leave the field blank! Do not enter question marks!

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 VC silver.gif 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 VC gold.gif 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 VC bronze.gif 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