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

From Captain of Industry Wiki
Jump to: navigation, search
(Added fuel consumption)
Line 1: Line 1:
{{Infobox vehicle
{{Infobox vehicle
| Name         = Pickup Truck
| Name           = Pickup Truck
| Image         = Pickup.png
| Image           = Pickup.png
| Description   = Optional item description goes here. It can be as long or short as you like.
| Description     = Optional item description goes here. It can be as long or short as you like.
| CreatedIn     = [[Vehicles Depot]]
| CreatedIn       = [[Vehicles Depot]]
| Recipe       =  
| Recipe         =  
   {{Machine Recipe
   {{Machine Recipe
     | Input1Name  = Iron
     | Input1Name  = Iron
Line 15: Line 15:
     | Input4Qty  = 5
     | Input4Qty  = 5
   }}
   }}
| CargoSize     = 20
| CargoSize       = 20
| FuelTank     = 5
| FuelTank       = 5
| Maintenance   = 1.6
| FuelConsumption = 0.4
| Miner         = [[Small Excavator]]<br>[[Excavator]]<br>[[Tree Harvester]]<br>[[Large Tree Harvester]]
| Maintenance     = 1.6
| Transport     =  
| Miner           = [[Small Excavator]]<br>[[Excavator]]<br>[[Tree Harvester]]<br>[[Large Tree Harvester]]
| Variants     = [[Truck]]<br>[[Haul Truck (Dump)]]<br>[[Haul Truck (Tank)]]
| Transport       =  
| Variants       = [[Truck]]<br>[[Haul Truck (Dump)]]<br>[[Haul Truck (Tank)]]
}}
}}
Example usage:<pre>
Example usage:<pre>
{{Infobox vehicle
{{Infobox vehicle
| Name         = Pickup Truck
| Name           = Pickup Truck
| Image         = (if not the same as Name.png)
| Image           = (if not the same as Name.png)
| Description   = Optional item description goes here. It can be as long or short as you like.
| Description     = Optional item description goes here. It can be as long or short as you like.
| CreatedIn     = [[Vehicles Depot]]
| CreatedIn       = [[Vehicles Depot]]
| Recipe       =  
| Recipe         =  
   {{Machine Recipe
   {{Machine Recipe
     | Input1Name  = Iron
     | Input1Name  = Iron
Line 39: Line 40:
     | Input4Qty  = 5
     | Input4Qty  = 5
   }}
   }}
| CargoSize     = 20
| CargoSize       = 20
| FuelTank     = 5
| FuelTank       = 5
| Maintenance   = 1.6
| FuelConsumption = 0.4
| Miner         = [[Small Excavator]]<br>[[Excavator]]<br>[[Tree Harvester]]<br>[[Large Tree Harvester]]
| Maintenance     = 1.6
| Transport     =  
| Miner           = [[Small Excavator]]<br>[[Excavator]]<br>[[Tree Harvester]]<br>[[Large Tree Harvester]]
| Variants     = [[Truck]]<br>[[Haul Truck (Dump)]]<br>[[Haul Truck (Tank)]]
| Transport       =  
| Variants       = [[Truck]]<br>[[Haul Truck (Dump)]]<br>[[Haul Truck (Tank)]]
}}
}}
</pre>
</pre>
<includeonly>[[Category:Infobox templates|Material]]</includeonly><!--
<includeonly>[[Category:Infobox templates|Material]]</includeonly><!--
--><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
--><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 11:53, 7 September 2022

Pickup Truck
Pickup.png
Optional item description goes here. It can be as long or short as you like.
Created inVehicles Depot
Construction
Iron.png
20
+
Copper.png
10
+
Rubber.png
10
+
Diesel.png
5
Cargo Size20
Fuel Tank5
Fuel Consumption0.4 / 60 Clock.png
Maintenance1.6 / 60 Clock.png
Compatible MinerSmall Excavator
Excavator
Tree Harvester
Large Tree Harvester
VariantsTruck
Haul Truck (Dump)
Haul Truck (Tank)

Example usage:

{{Infobox vehicle
| Name            = Pickup Truck
| Image           = (if not the same as Name.png)
| Description     = Optional item description goes here. It can be as long or short as you like.
| CreatedIn       = [[Vehicles Depot]]
| Recipe          = 
  {{Machine Recipe
    | Input1Name  = Iron
    | Input1Qty   = 20
    | Input2Name  = Copper
    | Input2Qty   = 10
    | Input3Name  = Rubber
    | Input3Qty   = 10
    | Input4Name  = Diesel
    | Input4Qty   = 5
  }}
| CargoSize       = 20
| FuelTank        = 5
| FuelConsumption = 0.4
| Maintenance     = 1.6
| Miner           = [[Small Excavator]]<br>[[Excavator]]<br>[[Tree Harvester]]<br>[[Large Tree Harvester]]
| Transport       = 
| Variants        = [[Truck]]<br>[[Haul Truck (Dump)]]<br>[[Haul Truck (Tank)]]
}}