Difference between revisions of "Template:Pricing info test"

From PSU Cyril Wiki
Jump to: navigation, search
m
m (Save and test)
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''' || || style="background:#f2f2f2" | '''Buy price''' ||
+
| style="background:#f2f2f2" | '''Buy price''' || {{#switch: {{{Type|}}}
 +
|Unit=
 +
|#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Buy price''' {{!}}{{!}}
 +
}}
 
|- style="background:#f9f9f9"
 
|- style="background:#f9f9f9"
 
| style="background:#f2f2f2" | '''Sell price''' || || style="background:#f2f2f2" | '''Sell price''' ||  
 
| style="background:#f2f2f2" | '''Sell price''' || || style="background:#f2f2f2" | '''Sell price''' ||  

Revision as of 20:30, 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.= 
|Rarity= 
}}

...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