Difference between revisions of "Template:Item/doc"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
(Not really documentation)
 
(added tier)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{doc/start|baddoc=1}}
{{doc/start}}
 
Template:Item is a common infoblock template for items, not blocks
 
== Parameters ==
{{Item|class=infoboxNoCollapse}}
{{Item|class=infoboxNoCollapse}}
'''Copy this into your page and fill out as needed:'''
<pre style="width:83%">{{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=
}}</pre>
'''Parameters with defaults as ''None'' aren't supposed to show when the Item's Infobox is on a page!'''
{| class=grid style="background-color: transparent;"
! Parameter
! Function
! Default value
|-
| <code>title</code> || Only needed to change the title from the page name || <code><nowiki>{{BASEPAGENAME}}</nowiki></code>
|-
| <code>image</code> || Big image of the block (it's scaled to 148px) || <code><nowiki>{{BASEPAGENAME}}_ig.png</nowiki></code> if it exists, otherwise [[:File:Picture na.png|Picture na.png]]<!--[[:File:No block image.png|No block image.png]]--> (linking to the page where to upload the missing image)
|-
| <code>invimage</code> || Image for object in inventory. || <code><nowiki>{{Gc|{{BASEPAGENAME}}}}</nowiki></code> if it exists, otherwise an empty inventory square
|-
| <code>invimage2</code> || 2<sup>nd</sup> Image for object in inventory. || ''None''
|-
| <code>invimage3</code> || 3<sup>rd</sup> Image for object in inventory. || ''None''
|-
| <code>invimage4</code> || 4<sup>th</sup> Image for object in inventory. || ''None''
|-
| <code>armorrating</code> || Armour protectiveness || ''None''
|-
| <code>armortoughness</code> || Armour toughness || ''None''
|-
| <code>damage</code> || Damage (for weapons) || ''None''
|-
| <code>durability</code> || Durability (for tools) || ''None''
|-
| <code>mininglevel</code> || Tool mining level || ''None''
|-
| <code>stackable</code> || If the object is stackable || <code><nowiki>Yes (64)</nowiki></code>
|-
| <code>danger</code> || Block/Item danger (ie radiation) || ''None''
|-
| <code>protection</code> || Protection needed (from danger) || ''None''
|-
| <code>storageslots</code> || Number of item storage slots || ''None''
|-
| <code>lstorage</code> || Liquid storage (for tanks) || ''None''
|-
| <code>upgrades</code> || Upgrades, use {{Tl|Gc}} for each block/item || ''None''
|-
| <code>tier</code> || Tier (1, 2, 3, 4, 5, LV, MV, HV, EV, IV) || ''None''
|-
| <code>prevtier</code> || Previous tier item, use {{Tl|Gc}} || ''None''
|-
| <code>nexttier</code> || Next tier item, use {{Tl|Gc}} || ''None''
|-
| <code>eu_use</code> || EU use per tick || ''None''
|-
| <code>eu_use2</code> || Additional detail line || ''None''
|-
| <code>storage</code> || How much EU that be can stored || ''None''
|-
| <code>eu_produce</code> || How much EU is produced || ''None''
|-
| <code>maxout</code> || Maximum EU output || ''None''
|-
| <code>uu</code>, <code>uu_cost</code> || [[Matter|UU]] needed to replicate item<br/>'''Set to either''' ''no'', ''n/a'', '''or''' ''none'' '''if it can't be replicated''' || ''None''
|-
| <code>firstappearance</code> || Version object was added || ''None''
|-
| <code>lastappearance</code> || Last version before object was removed || ''None''
|-
| <code>id</code> || The block/item ID || ''None''
|}
== Example ==
{| class="wikitable"
! Code !! Result
|-
|<pre>{{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
}}
</pre> ||
{{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
}}
|}
{{doc/end}}
{{doc/end}}

Latest revision as of 21:55, 5 February 2021

Template-info.png Documentation

Template:Item is a common infoblock template for items, not blocks

Parameters[edit]

Item
Picture na.png
Properties
Type Item




Stackable Yes (64)






Technical Details
UU Cost
First appearance
ID ?



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
}}
Weird Jetpack
Jetpack ig.png
Grid Electric Jetpack.png
Grid BatPack.png
Grid Energypack.png
Grid Jetpack.png
Properties
Type Item
Armor rating 5
Armor toughness 3
Damage 5 Hearts
Durability 300
Mining level Redstone
Stackable Yes (16)
Danger Loud
Protection Turn down sound
Storage 3
Liquid Storage 0 mB
Tier
Tier Tier-1 (LV)
Energy Consumption
Max EU Input 32 EU/t (LV)
EU Use 2 EU/t
3 EU/t with lava
EU Storage 500 EU
EU Production 5 EU/t
Technical Details
UU Cost ?
First appearance IC1
Last appearance IC3
ID IC2:jetpack



This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.