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 (That should take care of the unnecessary cells for unit pricing info.)
m (Let's see...)
Line 14: Line 14:
 
{{!}} colspan="2" {{!}} '''Weapon''' {{!}}{{!}} colspan="2" {{!}} '''Board'''}}
 
{{!}} colspan="2" {{!}} '''Weapon''' {{!}}{{!}} colspan="2" {{!}} '''Board'''}}
 
|- style="background:#f9f9f9"
 
|- style="background:#f9f9f9"
| style="background:#f2f2f2" | '''Buy price''' || {{#switch: {{{Type|}}}
+
| style="background:#f2f2f2" | '''Buy price''' || {{#switch: {{{Mfr.}}}{{{Rarity}}}{{{Type}}}
 +
|G1Weapon=
 +
|G2Weapon=
 +
|G3Weapon=
 +
|G4Weapon= 8600
 +
|#default= N/A}} {{#switch: {{{Type|}}}
 
|Unit=  
 
|Unit=  
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Buy price''' {{!}}{{!}}
+
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Buy price''' {{!}}{{!}} XX
 
}}
 
}}
 
|- style="background:#f9f9f9"
 
|- style="background:#f9f9f9"
| style="background:#f2f2f2" | '''Sell price''' || {{#switch: {{{Type|}}}
+
| style="background:#f2f2f2" | '''Sell price''' || XX {{#switch: {{{Type|}}}
 
|Unit=  
 
|Unit=  
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Sell price''' {{!}}{{!}}
+
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Sell price''' {{!}}{{!}} XX
 
}}
 
}}
 
|- style="background:#f9f9f9"
 
|- style="background:#f9f9f9"
| style="background:#f2f2f2" | '''Shop location''' || {{#switch: {{{Type|}}}
+
| style="background:#f2f2f2" | '''Shop location''' || XX {{#switch: {{{Type|}}}
 
|Unit=  
 
|Unit=  
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Shop location''' {{!}}{{!}}
+
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Shop location''' {{!}}{{!}} XX
 
}}  
 
}}  
 
|}</includeonly>
 
|}</includeonly>
Line 44: Line 49:
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
 
|Type= Weapon
 
|Type= Weapon
|Mfr.=  
+
|Mfr.= G
|Rarity=  
+
|Rarity= 4
 
}}</pre>
 
}}</pre>
 
...produces...
 
...produces...
 
{{Pricing info test
 
{{Pricing info test
 
|Type= Weapon
 
|Type= Weapon
|Mfr.=  
+
|Mfr.= G
|Rarity=  
+
|Rarity= 4
 
}}
 
}}
  

Revision as of 20:37, 17 April 2008

Necessary 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.
  • Prices (both buy and sell) should be researched and patterns documented for items based on manufacturer and rarity. We should be able to have the template auto-populate cells for this information for most items.

Blank template

{{Pricing info test
|Type= 
|Mfr.= 
|Rarity= 
}}

Examples

Weapon

{{Pricing info test
|Type= Weapon
|Mfr.= G
|Rarity= 4
}}

...produces...

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


Line shield

{{Pricing info test
|Type= Line shield
|Mfr.= 
|Rarity= 
}}

...produces...

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


Unit

{{Pricing info test
|Type= Unit
|Mfr.= 
|Rarity= 
}}

...produces...

Pricing information
Buy price N/A
Sell price Unknown
Shop location N/A