Template:Info Block
Jump to navigation
Jump to search
This template adds rows to the table "Blocks", which is declared by the template Info Block. View table.This template defines the table "Blocks". View table.
Template Documentation: |
---|
Note: the template above may sometimes be partially or fully invisible. |
Documentation controls: [purge] [edit] [view] (Help with documentation) |
Description
This template is used to insert info boxes describing block properties and recipes. It displays an icon if a file "Icon Block Page Name.png" exists. It is updated through a script from the game files after an update.
Syntax
{{Info Block |name={{PAGENAME}} |DataCategory='Armor' |DataDLC='Vanilla' |DataFunction='' |DataFitsSmall= |DataMassSmall= |DataHPSmall= |DataCapacitySmall= |DataCapacityUnitSmall= |DataPowerSmall= |DataPowerUnitSmall= |DataForceSmall= |DataRangeSmall= |DataPcuSmall= |DataSizeSmall= |DataTimeSmall= |DataFitsLarge= |DataMassLarge= |DataHPLarge= |DataCapacityLarge= |DataCapacityUnitLarge= |DataPowerLarge= |DataPowerUnitLarge= |DataForceLarge= |DataRangeLarge= |DataPcuLarge= |DataSizeLarge= |DataTimeLarge= }}
Samples
{{Info Block |name=Example Thing |DataCategory='Armor' |DataDLC='Vanilla' |DataFunction='' |DataFitsSmall=yes |DataMassSmall=123 |DataHPSmall=55 |DataCapacitySmall=1000 |DataCapacityUnitSmall=kg |DataPowerSmall=-0.9 |DataPowerUnitSmall=MW |DataForceSmall= |DataRangeSmall= |DataPcuSmall=77 |DataSizeSmall=1x2x3 |DataTimeSmall=8 |DataFitsLarge= |DataMassLarge= |DataHPLarge= |DataCapacityLarge= |DataCapacityUnitLarge= |DataPowerLarge= |DataPowerUnitLarge= |DataForceLarge= |DataRangeLarge= |DataPcuLarge= |DataSizeLarge= |DataTimeLarge= }}
results in...
Info Block | |
---|---|
Category: | 'Armor' |
Function: | |
DLC? | 'Vanilla' |
Fits small grid | |
Mass: | 123 kg |
Hitpoints: | 55 |
Capacity: | 1000 kg |
Power: | -0.9 MW |
PCU: | 77 |
Size: | 1x2x3 |
Time to Build: | 8 sec |
Data Controls: | [purge] (?)) |