Difference between revisions of "Template:Infobox material/doc"

From Captain of Industry Wiki
Jump to: navigation, search
(break out type param into type 1/2, add state param to example)
(document new param usage)
Line 1: Line 1:
{{Infobox material
{{Infobox material
| Name         = Cement
| Name           = Cement
| Image         =  
| Image         = <!-- only if image override is needed -->
| Description   = Optional item description goes here. It can be as long or short as you like.
| Description   = <!-- not currently implemented in-game -->
| Type1         = Crafted material
| Type1         = Crafted material
| State         = Loose
| State         = Loose <!-- Loose, Fluid, Unit, Molten, or Virtual -->
| CreatedIn     = [[Rotary Kiln]]
| CreatedIn     = [[Rotary Kiln]]
| UsedIn       = [[Concrete Mixer]]
| UsedIn         = [[Concrete Mixer]]
| TransportedBy = [[Flat Conveyor]]<br/>[[Pickup]]<br/>[[Large Truck]]
| OtherTransport = <!-- to add an extra transport to auto-generated list -->
| StoredIn     = [[Unit Storage]]<br/>[[Shipyard]]
| OtherStorage  = <!-- to add an extra storage to auto-generated list -->
| StartingQty   = Sailor: 450<br/>Captain: 300<br/>Admiral: 300
| TransportedBy  = <!-- only if transport override is needed -->
| StoredIn       = <!-- only if transport override is needed -->
| StartingQty   = Sailor: 450<br/>Captain: 300<br/>Admiral: 300
}}
}}
Example usage:<pre>
Example usage:<pre>
{{Infobox material
{{Infobox material
| Name          = Cement
| Name          = Cement
| Image        =     (if not the same as Name.png)
| Image        = <!-- only if image override is needed -->
| Description  = Optional item description goes here. It can be as long or short as you like.
| Description  = <!-- not currently implemented in-game -->
| Type1        = Crafted material
| Type1        = Crafted material
| State        = Loose
| State        = Loose <!-- Loose, Fluid, Unit, Molten, or Virtual -->
| CreatedIn    = [[Rotary Kiln]]
| CreatedIn    = [[Rotary Kiln]]
| UsedIn        = [[Concrete Mixer]]
| UsedIn        = [[Concrete Mixer]]
| TransportedBy = [[Flat Conveyor]]<br/>[[Pickup]]<br/>[[Large Truck]]
| OtherTransport = <!-- to add an extra transport to auto-generated list -->
| StoredIn     = [[Unit Storage]]<br/>[[Shipyard]]
| OtherStorage  = <!-- to add an extra storage to auto-generated list -->
| TransportedBy  = <!-- only if transport override is needed -->
| StoredIn       = <!-- only if transport override is needed -->
| StartingQty  = Sailor: 450<br/>Captain: 300<br/>Admiral: 300
| StartingQty  = Sailor: 450<br/>Captain: 300<br/>Admiral: 300
}}
}}

Revision as of 07:32, 29 January 2022

Cement
Cement.png
TypeCrafted material
StateLoose
Transported byU-shape Conveyor [IIIII]
PickupTruck
Haul Truck (Dump)
Stored inLoose Storage [IIIIIIV]
Shipyard
Created inRotary Kiln
Rotary Kiln (Gas)
Rotary Kiln
Used inConcrete Mixer
Concrete Mixer II
Concrete Mixer III
Concrete Mixer
Starting amountSailor: 450
Captain: 300
Admiral: 300

Example usage:

{{Infobox material
| Name          = Cement
| Image         = <!-- only if image override is needed -->
| Description   = <!-- not currently implemented in-game -->
| Type1         = Crafted material
| State         = Loose <!-- Loose, Fluid, Unit, Molten, or Virtual -->
| CreatedIn     = [[Rotary Kiln]]
| UsedIn        = [[Concrete Mixer]]
| OtherTransport = <!-- to add an extra transport to auto-generated list -->
| OtherStorage   = <!-- to add an extra storage to auto-generated list -->
| TransportedBy  = <!-- only if transport override is needed -->
| StoredIn       = <!-- only if transport override is needed -->
| StartingQty   = Sailor: 450<br/>Captain: 300<br/>Admiral: 300
}}