Difference between revisions of "Template:Pricing info test"
From PSU Cyril Wiki
m (Save and test) |
m (That should take care of the unnecessary cells for unit pricing info.) |
||
Line 19: | Line 19: | ||
}} | }} | ||
|- style="background:#f9f9f9" | |- style="background:#f9f9f9" | ||
− | | style="background:#f2f2f2" | '''Sell price''' || || style="background:#f2f2f2" | + | | style="background:#f2f2f2" | '''Sell price''' || {{#switch: {{{Type|}}} |
+ | |Unit= | ||
+ | |#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Sell price''' {{!}}{{!}} | ||
+ | }} | ||
|- style="background:#f9f9f9" | |- style="background:#f9f9f9" | ||
− | | style="background:#f2f2f2" | '''Shop location''' || || style="background:#f2f2f2" | + | | style="background:#f2f2f2" | '''Shop location''' || {{#switch: {{{Type|}}} |
+ | |Unit= | ||
+ | |#default= {{!}}{{!}} style="background:#f2f2f2" {{!}} '''Shop location''' {{!}}{{!}} | ||
+ | }} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude>== Necessary parameters == | <noinclude>== Necessary parameters == |
Revision as of 20:32, 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 |