Difference between revisions of "Template:SimpleItembox/doc"

From Space Engineers Wiki
Jump to: navigation, search
m
m (Example usage)
Line 12: Line 12:
 
Unit2 - The unit to display the second property in.
 
Unit2 - The unit to display the second property in.
 
etc...</pre>
 
etc...</pre>
 +
 +
Example:
 +
<pre>
 +
{{SimpleItembox
 +
|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall
 +
|Liten Vätgastank
 +
|Size||Volume|{{m3}}|Mass|g|Integrity||BuildTimeSeconds||OperationalPowerConsumption||StandbyPowerConsumption||Size||Capacity||IsAirTight||InventoryVolume|L|ResourceSinkGroup||PCU}}</pre>
 +
{{SimpleItembox
 +
|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall
 +
|Liten Vätgastank
 +
|Size||Volume|{{m3}}|Mass|g|Integrity||BuildTimeSeconds||OperationalPowerConsumption||StandbyPowerConsumption||Size||Capacity||IsAirTight||InventoryVolume|L|ResourceSinkGroup||PCU}}

Revision as of 19:35, 3 April 2020

🚧🚧🚧 Under Construction 🚧🚧🚧
Attention - This page is currently being actively worked on, and may contain incomplete information

Display the info box "Itembox" of an item from a different page.

Usage: 
{{SimpleItembox|ItemStatPage|Label|Prop1|Unit1|Prop2|Unit2|...}}

ItemStatPage - The page holding the object's stats.
Label - The localized text to display as the object's name.
Prop1 - The first property to display.
Unit1 - The unit to display the first property in.
Prop2 - The second property to display.
Unit2 - The unit to display the second property in.
etc...

Example:

{{SimpleItembox
|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall
|Liten Vätgastank
|Size||Volume|{{m3}}|Mass|g|Integrity||BuildTimeSeconds||OperationalPowerConsumption||StandbyPowerConsumption||Size||Capacity||IsAirTight||InventoryVolume|L|ResourceSinkGroup||PCU}}
Small Hydrogen Tank Icon.png
Small Ship
Small Hydrogen Tank
Small Ship Icon.png

ComponentsRequired

 Functional 

 Hack 

Property:Liten Vätgastank
Dimensions (W,H,L)2,2,1
Volume0.5 m³
500 L
0.032 Large-Blocks
4 Small-Blocks
50 hL
500,000 mL
  • Some part "<nowiki>...</nowiki>" of the query was not understood.
  • Some subquery has no valid condition.
Mass109.8 kg
109,800 g
109,800,000 mg
0.11 t
Property:g
Integrity454
Build time12 s
Power Consumption200 W
0.2 kW
2.0e-4 MW
Idle Power Consumption0.2 W
2.0e-4 kW
2.0e-7 MW
Dimensions (W,H,L)2,2,1
Capacity
BrowseLast edit: 2020-11-25