Template:Commodity/Doc: Difference between revisions

From Hazeron Wiki
Jump to navigation Jump to search
(Hate writing on my phone. Hope it make sense.)
 
m (Minor update.)
Line 5: Line 5:
  <nowiki>| Name = </nowiki>
  <nowiki>| Name = </nowiki>
  <nowiki>| Picture = </nowiki>
  <nowiki>| Picture = </nowiki>
  <nowiki>| Cost = </nowiki>
  <nowiki>| Cost = ¢</nowiki>
  <nowiki>| Weight = </nowiki>
  <nowiki>| Weight = </nowiki>
  <nowiki>| Size = </nowiki>
  <nowiki>| Size = </nowiki>
Line 19: Line 19:
* Name = <code><nowiki>{{PAGENAME}}</nowiki></code>
* Name = <code><nowiki>{{PAGENAME}}</nowiki></code>
* Picture = <code>Imbox deletion.png</code>
* Picture = <code>Imbox deletion.png</code>
* Cost = <code>1.00</code>
* Cost = <code>1.00¢</code>
* Weight = <code>0.00kg</code>
* Weight = <code>0.00kg</code>
* Size = <code>n/a</code>
* Size = <code>n/a</code>
Line 64: Line 64:
  <nowiki>| Name = Example</nowiki>
  <nowiki>| Name = Example</nowiki>
  <nowiki>| Picture = C_Key.png</nowiki>
  <nowiki>| Picture = C_Key.png</nowiki>
  <nowiki>| Cost = 42.00</nowiki>
  <nowiki>| Cost = 42.00¢</nowiki>
  <nowiki>| Weight = 9.00kg</nowiki>
  <nowiki>| Weight = 9.00kg</nowiki>
  <nowiki>| Size = 9 x 3</nowiki>
  <nowiki>| Size = 9 x 3</nowiki>
  <nowiki>| Capacity = </nowiki>
  <nowiki>| Capacity = </nowiki>
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>

Revision as of 17:03, 5 June 2015

How to use

To use this template, simply copy this into the very top of a commodity's page.

{{Commodity
| Name = 
| Picture = 
| Cost = ¢
| Weight = 
| 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)

Minimal Example

Commodity
Commodity/Doc
Nominal Cost
1.00¢
Weight
0.00kg
Pack Size
  • n/a
{{Commodity
| Name = 
| Picture = 
| Cost = 
| Weight = 
| Size = 
| Capacity = 
}}






Full Examples

Commodity
Example
C_Key.png
Nominal Cost
42.00
Weight
9.00kg
Pack Size
  • 9 x 3
{{Commodity
| Name = Example
| Picture = C_Key.png
| Cost = 42.00¢
| Weight = 9.00kg
| Size = 9 x 3
| Capacity = 
}}