Difference between revisions of "Template:Item"
Jump to navigation
Jump to search
m (Redirected documentation too) |
|||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Infobox| | <includeonly>{{#invoke:Infobox|type=Item|tool=None|flammable=None}}}} | ||
{{#if:{{NAMESPACE}}||[[Category:Items]]}} | {{#if:{{NAMESPACE}}||[[Category:Items]]}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Documentation|Template: | {{Documentation|Template:Item}} | ||
</noinclude> | </noinclude> | ||
Revision as of 03:49, 5 February 2021
Template:Item is a common infoblock template for items, not blocks
Parameters[edit]
Script error: The function "type=Item" does not exist.}}
Copy this into your page and fill out as needed:
{{Item
{{Infobox
|title=
|image=
|invimage=
|invimage2=
|invimage3=
|invimage4=
|armorrating=
|armortoughness=
|damage=
|durability=
|mininglevel=
|stackable=
|danger=
|protection=
|storageslots=
|lstorage=
|upgrades=
|tier=
|prevtier=
|nexttier=
|eu_use=
|eu_use2=
|storage=
|eu_produce=
|maxout=
|uu=
|firstappearance=
|lastappearance=
|id=
}}
Parameters with defaults as None aren't supposed to show when the Item's 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 |
armorrating |
Armour protectiveness | None |
armortoughness |
Armour toughness | None |
damage |
Damage (for weapons) | None |
durability |
Durability (for tools) | None |
mininglevel |
Tool mining level | None |
stackable |
If the object is stackable | Yes (64)
|
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 |
tier |
Tier (1, 2, 3, 4, 5, LV, MV, HV, EV, IV) | None |
prevtier |
Previous tier item, use {{Gc}} |
None |
nexttier |
Next tier item, use {{Gc}} |
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 |
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 |
Example[edit]
| Code | Result |
|---|---|
{{Item
|title=Weird Jetpack
|image=Jetpack_ig.png
|invimage=Electric Jetpack
|invimage2=BatPack
|invimage3=Energypack
|invimage4=Jetpack
|armorrating=5
|armortoughness=3
|damage=5 Hearts
|durability=300
|mininglevel=Redstone
|stackable=Yes (16)
|danger=Loud
|protection=Turn down sound
|storageslots=3
|lstorage=0
|tier=LV
|maxeu=32
|eu_use=2
|eu_use2=3 EU/t with lava
|storage=500
|eu_produce=5
|uu=52 mB
|firstappearance=IC1
|lastappearance=IC3
|id=jetpack
}}
|
Script error: The function "type=Item" does not exist.}}
|
The above documentation is transcluded from Template:Item/doc. (edit | history)