Difference between revisions of "Template:Item"

From Industrial-Craft-Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#invoke:infobox|infobox | rows = {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }} {{#if: {{{otherosonly|}}} | {{infobox row|label=Only...")
 
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
+
<includeonly>
| rows =
+
<div style="position: relative; width: 36px; display: inline-block; padding-left: 2px; padding-right: 2px; padding-bottom: 1px">
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
+
[[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>}}
{{#if: {{{otherosonly|}}} | {{infobox row|label=Only available in|field={{{otherosonly}}} }} }}
+
 
{{infobox row|label=Durability|field={{ #if: {{{durability|}}} | {{{durability}}} | N/A }} }}
+
</div>
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }}
+
</includeonly><noinclude>
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? }} }}
 
{{#if: {{{experience|}}} | {{infobox row | label= [[Experience]] | field= {{{experience}}} }} }}
 
{{#if: {{{multiplevers|}}}
 
| {{infobox row|label=First appearances|field={{{multiplevers}}} }}
 
| {{#if: {{{firstver|}}} | {{infobox row|label=First appearance|field={{version link|{{{firstver}}}}} {{
 
    #if: {{{firstdev|}}} | ({{version link|{{{firstdev}}}}})
 
    }}}}
 
  }}
 
}}
 
{{#if: {{{multipledata|}}}
 
  | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }}
 
  | {{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{data value|{{{data}}} }} }} }}
 
}}
 
{{#if: {{NAMESPACE}}
 
|
 
| {{#ifeq: {{lc: {{{nameid}}} }} | none
 
  |
 
  | {{infobox row|label=[[Data values|Name]]|field={{
 
    #if: {{{nameid|}}}
 
    | {{{nameid}}}
 
    | {{lc: {{#replace: {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} || _ }} }}
 
    }}}}
 
  }}
 
}}
 
}}{{
 
#if: {{{nocat|}}}{{NAMESPACE}} ||
 
{{#if: {{{type|}}} | {{ #ifeq: {{{type}}}| Items || {{translation category|{{{type}}}}} }} }}
 
{{translation category|project=0|{{
 
  #switch: {{lc: {{{renewable|}}} }}
 
  | yes = Renewable resources
 
  | no = Non-renewable resources
 
  | Resources with invalid renewability
 
  }}
 
}}}}</includeonly><noinclude>
 
  
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:27, 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)