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 (Unexpected operator. D:)
m
Line 19: Line 19:
 
}}
 
}}
 
|- style="background:#f9f9f9"
 
|- style="background:#f9f9f9"
| style="background:#f2f2f2" | '''Sell price''' || {{#if: {{{Buy|}}}|{{#expr: {{{Buy}}}*0.2}}|N/A}} {{#switch: {{{Type|}}}
+
| style="background:#f2f2f2" | '''Sell price''' || {{#switch: {{{Type|}}}
 +
|Weapon= {{#if: {{{Buy|}}}|{{#expr: {{{Buy}}}*0.2}}|{{{Sell}}}}}
 +
|Line shield= {{#if: {{{Buy|}}}|{{#expr: {{{Buy}}}*0.2}}|{{{Sell}}}}}
 +
|Unit= {{#if: {{{Buy|}}}|{{#expr: {{{Buy}}}*0.1}}|{{{Sell}}}}}
 +
|#default= {{{Sell}}}}} {{#switch: {{{Type|}}}
 
|Unit=  
 
|Unit=  
 
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Sell price''' {{!}}{{!}} {{#if: {{{[B] sell|}}}|{{{[B] sell}}}|N/A}}
 
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Sell price''' {{!}}{{!}} {{#if: {{{[B] sell|}}}|{{{[B] sell}}}|N/A}}
Line 65: Line 69:
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
 
|Type= Line shield
 
|Type= Line shield
|Buy=  
+
|Buy= 18000
 
|Sell=  
 
|Sell=  
 
|Shop=  
 
|Shop=  
Line 75: Line 79:
 
{{Pricing info test
 
{{Pricing info test
 
|Type= Line shield
 
|Type= Line shield
|Buy=  
+
|Buy= 18000
 
|Sell=  
 
|Sell=  
 
|Shop=  
 
|Shop=  
Line 86: Line 90:
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
 
|Type= Unit
 
|Type= Unit
|Buy=  
+
|Buy= 6000
 
|Sell=  
 
|Sell=  
 
|Shop=  
 
|Shop=  
Line 96: Line 100:
 
{{Pricing info test
 
{{Pricing info test
 
|Type= Unit
 
|Type= Unit
|Buy=  
+
|Buy= 6000
 
|Sell=  
 
|Sell=  
 
|Shop=  
 
|Shop=  

Revision as of 01:45, 18 April 2008

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= 
|[B] sell= 
|[B] shop= 
}}

...produces...

Pricing information
Weapon Board
Buy price 8600 Buy price N/A
Sell price 1720 Sell price Unknown
Shop location N/A Shop location N/A


Line shield

{{Pricing info test
|Type= Line shield
|Buy= 18000
|Sell= 
|Shop= 
|[B] buy= 
|[B] sell= 
|[B] shop= 
}}

...produces...

Pricing information
Line shield Board
Buy price 18000 Buy price N/A
Sell price 3600 Sell price Unknown
Shop location N/A Shop location N/A


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