Difference between revisions of "Template:Pricing info test"

From PSU Cyril Wiki
Jump to: navigation, search
m (Save and test...)
m
Line 1: Line 1:
 
<includeonly>{| class="wikitable" style="text-align:center"
 
<includeonly>{| class="wikitable" style="text-align:center"
| colspan="4" style="background:#e8e8e8" | '''Pricing information'''
+
| {{#switch: {{{Type|}}}
 +
|Weapon= colspan="4"
 +
|Line shield= colspan="4"
 +
|Unit= colspan="2"
 +
|#default= colspan="4"}} style="background:#e8e8e8" | '''Pricing information'''
 
{{#switch: {{{Type|}}}
 
{{#switch: {{{Type|}}}
 
|Weapon= {{!}}- style="background:#f2f2f2"
 
|Weapon= {{!}}- style="background:#f2f2f2"
Line 6: Line 10:
 
|Line shield= {{!}}- style="background:#f2f2f2"
 
|Line shield= {{!}}- style="background:#f2f2f2"
 
{{!}} colspan="2" {{!}} '''Line shield''' {{!}}{{!}} colspan="2" {{!}} '''Board'''
 
{{!}} colspan="2" {{!}} '''Line shield''' {{!}}{{!}} colspan="2" {{!}} '''Board'''
|Unit= }}
+
|Unit=  
 +
|#default= {{!}}- style="background:#f2f2f2"
 +
{{!}} 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''' || || style="background:#f2f2f2" | '''Buy price''' ||  
Line 21: Line 27:
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
 
|Type=  
 
|Type=  
 +
|Mfr.=
 +
|Rarity=
 
}}</pre>
 
}}</pre>
  
Line 27: Line 35:
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
 
|Type= Weapon
 
|Type= Weapon
 +
|Mfr.=
 +
|Rarity=
 
}}</pre>
 
}}</pre>
 
...produces...
 
...produces...
 
{{Pricing info test
 
{{Pricing info test
 
|Type= Weapon
 
|Type= Weapon
 +
|Mfr.=
 +
|Rarity=
 
}}
 
}}
  
Line 36: Line 48:
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
 
|Type= Line shield
 
|Type= Line shield
 +
|Mfr.=
 +
|Rarity=
 
}}</pre>
 
}}</pre>
 
...produces...
 
...produces...
 
{{Pricing info test
 
{{Pricing info test
 
|Type= Line shield
 
|Type= Line shield
 +
|Mfr.=
 +
|Rarity=
 
}}
 
}}
  
Line 45: Line 61:
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
 
|Type= Unit
 
|Type= Unit
 +
|Mfr.=
 +
|Rarity=
 
}}</pre>
 
}}</pre>
 
...produces...
 
...produces...
 
{{Pricing info test
 
{{Pricing info test
 
|Type= Unit
 
|Type= Unit
 +
|Mfr.=
 +
|Rarity=
 
}}</noinclude>
 
}}</noinclude>

Revision as of 20:27, 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