Template:Infobox

From Industrial-Craft-Wiki
Jump to: navigation, search


Template-info.png Documentation

Generate an Infobox to insert information about Blocks and Items in. Should be called from {{Block}} for block pages and {{Item}} for item pages, so that the categories are added correctly.

Parameters

Infobox
Picture na.png
Properties
Type  ?
Tool  ?
Armor rating {{{armorrating}}}
Damage {{{damage}}}
Durability {{{durability}}}
Mining level {{{mininglevel}}}
Stackable Yes (64)
Flammable No
Danger {{{danger}}}
Protection {{{protection}}}
Storage {{{storageslots}}}
Liquid Storage {{{lstorage}}} mB
Upgrades
{{{upgrades}}}
Previous tier {{{prevtier}}}
Next tier {{{nexttier}}}
Energy Consumption
Max EU Input {{{maxeu}}}
EU Use {{{eu_use}}} EU/t
EU Per Operation {{{eu_op}}}
EU Storage {{{storage}}} EU
EU Production {{{eu_produce}}} EU/t
Max EU Output {{{maxout}}}
Max Heat Input {{{maxhu}}} HU/t
Heat Use {{{hu_use}}} HU/t
Heat Production {{{hu_produce}}} HU/t
Max Kinetic Input {{{maxku}}} KU/t
Kinetic Use {{{ku_use}}} KU/t
Kinetic Production {{{ku_produce}}} KU/t
Technical Details
Operation Length {{{optime}}} Seconds
UU Cost {{{uu_cost}}}
First appearance {{{firstappearance}}}
Last appearance {{{lastappearance}}}
ID IC2:{{{id}}}
Flow Speed {{{fluidspeed}}} m/s
Player Speed {{{movespeed}}}

Full, blank parameters to be copied into pages:

{{Infobox
|title=
|image=
|invimage=
|invimage2=
|invimage3=
|invimage4=
|type=
|tool=
|tool2=
|armorrating=
|damage=
|durability=
|mininglevel=
|stackable=
|flammable=
|danger=
|protection=
|storageslots=
|lstorage=
|upgrades=
|prevtier=
|nexttier=
|maxeu=
|eu_use=
|eu_use2=
|storage=
|eu_produce=
|maxout=
|maxhu=
|hu_use=
|hu_use2=
|hu_produce=
|maxku=
|ku_use=
|ku_use2=
|ku_produce=
|optime=
|uu=
|firstappearance=
|lastappearance=
|id=
|fluidspeed=
|movespeed=
}}

Parameters with defaults as None won't show when the Infobox is on a page!

Parameter Function Default value
title Only needed to change the title from the page name {{BASEPAGENAME}}
image Big image of the block (it's scaled to 148px) {{BASEPAGENAME}}_ig.png if it exists, otherwise Picture na.png (linking to the page where to upload the missing image)
invimage Image for object in inventory. {{Gc|{{BASEPAGENAME}}}} if it exists, otherwise an empty inventory square
invimage2 2nd Image for object in inventory. None
invimage3 3rd Image for object in inventory. None
invimage4 4th Image for object in inventory. None
type Type (Block/Machine/Item/etc.) ?
tool Desired tool to break with ?
tool2 Second tool to break with None
armorrating Armour protectiveness None
damage Damage (for weapons) None
durability Durability (for tools) None
mininglevel Tool mining level None
stackable If the object is stackable Yes (64)
flammable If the object is flammable, set None to hide No
danger Block/Item danger (ie radiation) None
protection Protection needed (from danger) None
storageslots Number of item storage slots None
lstorage Liquid storage (for tanks) None
upgrades Upgrades, use {{Gc}} for each block/item None
prevtier Previous tier item, use {{Gc}} None
nexttier Next tier item, use {{Gc}} None
maxeu Maximum EU input before explosion None
eu_use EU use per tick None
eu_use2 Additional detail line None
storage How much EU that be can stored None
eu_produce How much EU is produced None
maxout Maximum EU output None
maxhu Maximum Heat input None
hu_use Heat usage per tick None
hu_use2 Additional detail line None
hu_produce Heat production per tick None
maxku Maximum KU input None
ku_use KU usage per tick None
ku_use2 Additional detail line None
ku_produce KU production per tick None
optime Time taken per operation (seconds) None
uu, uu_cost UU needed to replicate item
Set to either no, n/a, or none if it can't be replicated
None
firstappearance Version object was added None
lastappearance Last version before object was removed None
id The block/item ID None
fluidspeed Speed of fluid None
movespeed Speed of player in the fluid None

Example

Code Result
{{Infobox
|title=Macerator
|image=Macerator_ig.png
|invimage=Macerator
|invimage2=Compressor
|invimage3=Extractor
|invimage4=Canning Machine
|type=Machine
|tool=wrench
|tool2=pick
|armorrating=5
|damage=5 Hearts
|durability=300
|mininglevel=Redstone
|stackable=Yes (16)
|flammable=Yes
|danger=Loud
|protection=Turn down sound
|storageslots=3
|lstorage=0
|upgrades={{Gc|Overclocker upgrade}}
|prevtier={{Gc|Generator}}
|nexttier={{Gc|[Macerator 9000!\It's amazing!]Macerator}}
|maxeu=32
|eu_use=2
|eu_use2=3 EU/t with lava
|storage=500
|eu_produce=5
|maxout=128
|maxhu=50
|hu_use=50
|hu_use2=Any less won't work
|hu_produce=0-100
|maxku=25
|ku_use=5
|ku_use2=On average
|ku_produce=10-30
|optime=10
|uu=52 mB
|firstappearance=IC1
|lastappearance=IC3
|id=blockMachine@1
|fluidspeed=5
|movespeed=2
}}
Macerator
Macerator ig.png
Grid Macerator.png
Grid Compressor.png
Grid Extractor.png
Grid Canning Machine.png
Properties
Type Machine
Tools Grid Wrench.pngStone Pickaxe
Armor rating 5
Damage 5 Hearts
Durability 300
Mining level Redstone
Stackable Yes (16)
Flammable Yes
Danger Loud
Protection Turn down sound
Storage 3
Liquid Storage 0 mB
Upgrades
Grid Overclocker upgrade.png
Previous tier
Grid Generator.png
Next tier
Grid Macerator.png
Energy Consumption
Max EU Input 32 EU/t (LV)
EU Use 2 EU/t
3 EU/t with lava
EU Per Operation {{{eu_op}}}
EU Storage 500 EU
EU Production 5 EU/t
Max EU Output 128 EU/t (MV)
Max Heat Input 50 HU/t
Heat Use 50 HU/t
Any less won't work
Heat Production 0-100 HU/t
Max Kinetic Input 25 KU/t
Kinetic Use 5 KU/t
On average
Kinetic Production 10-30 KU/t
Technical Details
Operation Length 10 Seconds
UU Cost 52 mB
First appearance IC1
Last appearance IC3
ID IC2:blockMachine@1
Flow Speed 5 m/s
Player Speed 2

The above documentation is transcluded from Template:Infobox/doc. (edit | history)