Commodity |
---|
Nominal Cost |
1.00¢ |
Weight |
0.00kg |
Pack Size |
|
Template:Commodity
How to use
To use this template, simply copy this into the very top of a commodity's page.
{{Commodity | Name = | Picture = | Cost = ¢ | Weight = kg | Size = | Capacity = }}
Then fill in information as need. See the examples below.
Notes:
- If the commodity does not have any capacity, just leave the capacity tag blank.
A few of the fields can left blank to invoke the default, which is:
- Name =
{{PAGENAME}}
- Picture =
Imbox deletion.png
- Cost =
1.00¢
- Weight =
0.00kg
- Size =
n/a
- Capacity = (Special, the capacity section will only be visible if the "capacity" tag is used)
Special Tabber Option
A special styling option is also provided if you're using the infobox inside a tabbed section:
Tabbed = yes
Any value being given will center the table and also set its width to 100%. If left blank, the default style of floating to the right is used, and the table will use its default width. This is mainly used for tabbed commodities when used in the Template:TabberHeader template. Do not use outside of a tabbed section!
Minimal Example
{{Commodity | Name = | Picture = | Cost = | Weight = | Size = | Capacity = }}
Full Examples
{{Commodity | Name = Example | Picture = C_Key.png | Cost = 42.00¢ | Weight = 9.00kg | Size = 27 | Capacity = }}
Tabber Example
{{TabberHeader}}<tabber> |-|First= {{Commodity | Name = First Example | Picture = C_Key.png | Cost = 42.00¢ | Weight = 9.00kg | Size = 27 | Capacity = | Tabbed = yes }} |-|Second= {{Commodity | Name = Second Example | Picture = C_Key.png | Cost = 2142.00¢ | Weight = 18.00kg | Size = 13 | Capacity = | Tabbed = yes }} </tabber>{{TabberFooter}}