Difference between revisions of "Template:Item"

From Industrial-Craft-Wiki
Jump to: navigation, search
Line 2: Line 2:
 
! colspan="2" class="infoboxFirstHeader" | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
 
! colspan="2" class="infoboxFirstHeader" | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
 
|- class="infoboxBlockImage"
 
|- class="infoboxBlockImage"
| colspan="2" | {{#ifeq:{{{image|}}}|None||[[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{BASEPAGENAME}}_ig.png | {{BASEPAGENAME}}_ig.png | Picture na.png{{!}}link=File:{{BASEPAGENAME}}.png}} }}|148px|center]]}}
+
| colspan="2"  
 +
| {{#ifeq:{{{image|}}}|None||[[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{BASEPAGENAME}}_ig.png | {{BASEPAGENAME}}_ig.png | Picture na.png{{!}}link=File:{{BASEPAGENAME}}.png}} }}|148px|center]]}}
 
|-  
 
|-  
| colspan="2" | <div style="position: relative; width: 36px; display: inline-block; padding-left: 2px; padding-right: 2px; padding-bottom: 1px">
+
| colspan="2"  
[[File:Grid layout None (small).png|link=|alt=]]{{#if:{{{invimage|}}}|<span style="left:3px; position:absolute; top:2px; z-index:1;">{{Gc|{{ucfirst:{{{invimage}}}}}}}</span>}}
+
| <div style="position: relative; width: 36px; display: inline-block; padding-left: 2px; padding-right: 2px; padding-bottom: 1px">
 
+
[[File:Grid layout None (small).png|link=|alt=]]{{#if:{{{invimage|}}}
</div>|}</includeonly><noinclude>
+
|<span style="left:3px; position:absolute; top:2px; z-index:1;">{{Gc|{{ucfirst:{{{invimage}}}}}}}</span>}}</div>
 
+
|}
 +
</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:48, 9 April 2015


Template-badinfo.png Documentation
This template's documentation has been marked as bad. Please improve or add to it.
Item
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}}}


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

{{Item
|image=
|invimage=
|type=
|stackable=
|flammable=
|uu_cost=
|damage=
|protection=
|item_id=
}}


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