Template:Item: Difference between revisions

m (1 revision)
 
m (Protected "Template:Item" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikia-infobox"
<includeonly>{{infobox common
| title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| imagearea = [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | No image.png}} }}|{{#ifeq: {{NAMESPACE}} | {{ns:10}} || link=File:{{#if: {{{image|}}} | {{{image}}} | {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png }} }}|150px|center]]{{
  #if: {{{image2|}}} | <div style="padding-top: 1em">[[File:{{{image2}}}|150px|center]]</div>
}}{{
  #if: {{{image3|}}} | <div style="padding-top: 1em">[[File:{{{image3}}}|150px|center]]</div>
}}{{
  #ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | <div style="padding-top: 1em; margin: 0 auto">{{Grid|{{{invimage}}}|link=none}} | {{#ifexist: File:Grid {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | <div style="padding-top: 1em; margin: 0 auto">{{Grid|{{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}|link=none}} }} }}
  }}{{
  #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}
  }}{{
  #if: {{{invimage3|}}} | {{Grid|{{{invimage3}}}|link=none}}
  }}{{
  #if: {{{invimage4|}}} | {{Grid|{{{invimage4}}}|link=none}}
  }}{{
  #if: {{{invimage5|}}} | {{Grid|{{{invimage5}}}|link=none}}
  }}{{
  #if: {{{invimage6|}}} | {{Grid|{{{invimage6}}}|link=none}}
  }}{{
  #if: {{{invimage7|}}} | {{Grid|{{{invimage7}}}|link=none}}
  }}{{
  #if: {{{invimage8|}}} | {{Grid|{{{invimage8}}}|link=none}}
  }}{{
  #if: {{{invimage9|}}} | {{Grid|{{{invimage9}}}|link=none}}
  }}{{
  #if: {{{invimage10|}}} | {{Grid|{{{invimage10}}}|link=none}}
  }}{{
  #if: {{{invimage11|}}} | {{Grid|{{{invimage11}}}|link=none}}
  }}{{
  #if: {{{invimage12|}}} | {{Grid|{{{invimage12}}}|link=none}}
  }}{{
  #if: {{{invimage13|}}} | {{Grid|{{{invimage13}}}|link=none}}
  }}{{
  #if: {{{invimage14|}}} | {{Grid|{{{invimage14}}}|link=none}}
  }}{{
  #if: {{{invimage15|}}} | {{Grid|{{{invimage15}}}|link=none}}
  }}{{
  #if: {{{invimage16|}}} | {{Grid|{{{invimage16}}}|link=none}}
  }}{{
  #if: {{{invimage17|}}} | {{Grid|{{{invimage17}}}|link=none}}
  }}{{
  #if: {{{invimage18|}}} | {{Grid|{{{invimage18}}}|link=none}}
  }}{{
  #if: {{{invimage19|}}} | {{Grid|{{{invimage19}}}|link=none}}
  }}{{
  #if: {{{invimage20|}}} | {{Grid|{{{invimage20}}}|link=none}}
  }}{{
  #if: {{{invimage21|}}} | {{Grid|{{{invimage21}}}|link=none}}
  }}{{
  #if: {{{invimage22|}}} | {{Grid|{{{invimage22}}}|link=none}}
  }}{{
  #if: {{{invimage23|}}} | {{Grid|{{{invimage23}}}|link=none}}
  }}{{
  #if: {{{invimage24|}}} | {{Grid|{{{invimage24}}}|link=none}}
  }}{{
  #if: {{{invimage25|}}} | {{Grid|{{{invimage25}}}|link=none}}
  }}{{#ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | </div> | {{#ifexist: File:Grid {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}.png | </div> }} }} }}
| rows =
{{#if: {{{addedby|}}}|{{infobox row|label=Mod|field=[[{{{addedby}}}]] }}|}}
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
{{#if: {{{otherosonly|}}} | {{infobox row|label=Only Available in|field={{{otherosonly}}} }} }}
{{infobox row|label=Durability|field={{ #if: {{{durability|}}} | {{{durability}}} | N/A }} }}
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? }} }}
{{#if: {{{multiplevers|}}}
  | {{infobox row|label=First Appearances|field={{{multiplevers}}} }}
  | {{#if: {{{firstver|}}} | {{infobox row|label=First Appearance|field={{version link|{{{firstver}}}}} }} }}
}}
{{#if: {{{multipledata|}}}
  | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }}
  | {{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{data value|{{{data}}} }} }} }}
}}
}}{{#if:{{{type|}}}|[[Category:{{{type}}}{{!}}{{PAGENAME}}]]}}{{#if: {{{mod|}}}|[[Category:{{{mod}}}]]}}</includeonly><noinclude>
{{doc}}


|-
[[Category:Infobox templates|I]]
! class="wikia-infobox-header" colspan="2" | {{{title|{{PAGENAME}}}}}
</noinclude>
 
|-
{{#if: {{{image|}}} |
{{!}} class="wikia-infobox-image" colspan="2" {{!}} [[File:{{{image|}}}|{{{imagesize|175}}}px|{{{imagecaption|}}}]]
| }}
 
|-
{{#if: {{{imagecaption|}}} |
{{!}} class="wikia-infobox-caption" colspan="2" {{!}} {{{imagecaption}}}
| }}
 
|-
! ID
| {{{id|''Unknown''}}}
 
|-
! Stackable
| {{{stackable|''Unknown''}}}
 
|-
! Type
| {{{type|''Unknown''}}}
 
|-
! Craftable
| {{{craftable|''Unknown''}}}
 
|-
{{#if: {{{isloot|}}} |
! Is Loot
{{!}} {{{isloot}}}
| }}
 
|-
{{#if: {{{durability|}}} |
! Durability
{{!}} {{{durability}}}
| }}
 
|-
{{#if: {{{tier|}}} |
! Tier
{{!}} {{{tier}}}
| }}
 
|-
{{#if: {{{damage|}}} |
! Damage
{{!}} {{{damage}}} {{#ifexpr: ({{{damage|0}}}/2) <= 5 | ({{Heart|hearts={{#expr:{{{damage|0}}}/2}}}}) | ({{Heart|hearts=1|mult={{#expr:{{{damage|0}}}/2}}}}) }}
| }}
 
|-
{{#if: {{{armor|}}} |
! Armor Pts.
{{!}} {{{armor}}} {{#ifexpr: ({{{armor|0}}}/2) <= 5 | ({{Armor|armors={{#expr:{{{armor|0}}}/2}}}}) | ({{Armor|armors=1|mult={{#expr:{{{armor|0}}}/2}}}}) }}
| }}
 
|-
{{#if: {{{speed|}}} |
! Speed
{{!}} {{{speed}}}
| }}
 
|-
{{#if: {{{heals|}}} |
! Heals
{{!}} {{{heals}}} {{#ifexpr: ({{{heals|0}}}/2) <= 5 | ({{Heart|hearts={{#expr:{{{heals|0}}}/2}}}}) | ({{Heart|hearts=1|mult={{#expr:{{{heals|0}}}/2}}}}) }}
| }}
 
|-
{{#if: {{{restores|}}} |
! Restores
{{!}} {{{restores}}} {{#ifexpr: ({{{restores|0}}}/2) <= 5 | ({{Hunger|hungers={{#expr:{{{restores|0}}}/2}}}}) | ({{Hunger|hungers=1|mult={{#expr:{{{restores|0}}}/2}}}}) }}
| }}
 
|-
{{#if: {{{enchantable|}}} |
! Enchantable
{{!}} {{{enchantable}}}
| }}
 
|-
{{#if: {{{cookable|}}} |
! Cookable
{{!}} {{{cookable}}}
| }}
 
|-
{{#if: {{{cooktime|}}} |
! Cook Time
{{!}} {{{cooktime}}}
| }}
 
|-
{{#if: {{{smeltable|}}} |
! Smeltable
{{!}} {{{smeltable}}}
| }}
 
|-
{{#if: {{{smelttime|}}} |
! Smelting Time
{{!}} {{{smelttime}}}
| }}
 
|-
{{#if: {{{isfuel|}}} |
! Is Fuel
{{!}} {{{isfuel}}}
| }}
 
|-
{{#if: {{{effects|}}} |
! Effects
{{!}} {{{effects}}}
| }}
 
|-
{{#if: {{{duration|}}} |
! Duration
{{!}} {{{duration}}}
| }}
 
|-
{{#if: {{{addedby|}}} |
! Added By
{{!}} {{#if: {{{nomodlink|}}} | {{{addedby}}} | [[{{{addedby}}}]] }}
| }}
 
|- style="font-size:0; line-height:0;"
! style="width:50%; padding:0" |
! style="width:50%; padding:0" |
 
|}{{#if: {{{clear|}}} | <div style="clear: {{{clear}}};"></div> | }}{{#if: {{{notypecat|}}} | | {{#if: {{{typecat|}}} | [[Category:{{{typecat}}}]] | {{#if: {{{type|}}} | [[Category:{{{type}}}]] | }} }} }}{{#if: {{{noaddedbycat|}}} | | {{#if: {{{addedbycat|}}} | [[Category:{{{addedbycat}}}]] | {{#if: {{{addedby|}}} | [[Category:{{{addedby}}}]] | }} }} }}{{#if: {{{noitemcat|}}} | | [[Category:Items]]}}{{#ifexpr: {{#if: {{{id|}}} | 0 | 1}} or {{#if: {{{stackable|}}} | 0 | 1}} or {{#if: {{{type|}}} | 0 | 1}} or {{#if: {{{craftable|}}} | 0 | 1}} | [[Category:Incomplete Templates]] | }}</includeonly><noinclude><br style="clear:both;" />
{{/doc}}</noinclude>

Latest revision as of 16:37, 4 October 2013

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis