The PSUPedia needs donations to stay in operation. Click here for details on how you can help. All contributions are greatly appreciated!

Difference between revisions of "Template:Pricing info test"

From The re-PSUPedia
Jump to: navigation, search
m (Making a few notes.)
m (Save and test...)
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'''
 
| colspan="4" style="background:#e8e8e8" | '''Pricing information'''
|- style="background:#f2f2f2"
+
{{#switch: {{{Type|}}}
| colspan="2"| '''Weapon''' || colspan="2"| '''Board'''
+
|Weapon= {{!}}- style="background:#f2f2f2"
 +
{{!}} colspan="2" {{!}} '''Weapon''' {{!}}{{!}} colspan="2" {{!}} '''Board'''
 +
|Line shield= {{!}}- style="background:#f2f2f2"
 +
{{!}} colspan="2" {{!}} '''Line shield''' {{!}}{{!}} colspan="2" {{!}} '''Board'''
 +
|Unit= }}
 
|- 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 16: Line 20:
 
== Blank template ==
 
== Blank template ==
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
|
+
|Type=
 
}}</pre>
 
}}</pre>
  
Line 22: Line 26:
 
=== Weapon ===
 
=== Weapon ===
 
<pre>{{Pricing info test
 
<pre>{{Pricing info test
|
+
|Type= Weapon
 
}}</pre>
 
}}</pre>
 
...produces...
 
...produces...
 
{{Pricing info test
 
{{Pricing info test
|
+
|Type= Weapon
 
}}
 
}}
  
 
=== Line shield ===
 
=== Line shield ===
 +
<pre>{{Pricing info test
 +
|Type= Line shield
 +
}}</pre>
 +
...produces...
 +
{{Pricing info test
 +
|Type= Line shield
 +
}}
  
=== Unit ===</noinclude>
+
=== Unit ===
 +
<pre>{{Pricing info test
 +
|Type= Unit
 +
}}</pre>
 +
...produces...
 +
{{Pricing info test
 +
|Type= Unit
 +
}}</noinclude>

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

Examples

Weapon

{{Pricing info test
|Type= Weapon
}}

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

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

...produces...

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