|
|
| (164 intermediate revisions by 55 users not shown) |
| Line 1: |
Line 1: |
| <includeonly>{{infobox common
| | {{#invoke:infobox|infobox |
| | title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| | | invimage = none |
| | imagearea= {{#ifeq:{{{base|Item}}}|Item|
| |
| [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{BASEPAGENAME}}.png | {{BASEPAGENAME}}.png | No image.svg}} }}|150px|center]]
| |
| {{ #ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | <div style="padding-top: 1em; margin: 0 auto; display: table"><div style="position: relative; width: 36px">[[File:Grid layout None (small).png|link=File:Grid {{ucfirst: {{{invimage}}} }}.png]]<span class="grid-input">[[File:Grid {{ucfirst: {{{invimage}}} }}.png]]</span></div> | {{#ifexist: File:Grid {{BASEPAGENAME}}.png | <div style="padding-top: 1em; margin: 0 auto; display: table"><div style="position: relative; width: 36px">[[File:Grid layout None (small).png|link=File:Grid {{BASEPAGENAME}}.png]]<span class="grid-input">[[File:Grid {{BASEPAGENAME}}.png]]</span></div> }} }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage2}}} }} | none | | {{#if: {{{invimage2|}}} | <div style="display: table-cell"><div style="position: relative; width: 36px">[[File:Grid layout None (small).png|link=File:Grid {{ucfirst: {{{invimage2}}} }}.png]]<span class="grid-input">[[File:Grid {{ucfirst: {{{invimage2}}} }}.png]]</span></div></div> }}
| |
| }}{{#ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | </div> | {{#ifexist: File:Grid {{BASEPAGENAME}}.png | </div> }} }} }}
| |
| |<!-- end Item picture code, begin Block -->
| |
| [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{BASEPAGENAME}}.png | {{BASEPAGENAME}}.png | No block image.png{{!}}link=File:{{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; display: table"><div style="display: table-row"><div style="display: table-cell"><div style="position: relative; width: 36px">[[File:Grid layout None (small).png|link=File:Grid {{ucfirst: {{{invimage}}} }}.png]]<span class="grid-input">[[File:Grid {{ucfirst: {{{invimage}}} }}.png]]</span></div></div> | {{#ifexist: File:Grid {{BASEPAGENAME}}.png | <div style="padding-top: 1em; margin: 0 auto; display: table"><div style="display: table-row"><div style="display: table-cell"><div style="position: relative; width: 36px">[[File:Grid layout None (small).png|link=File:Grid {{BASEPAGENAME}}.png]]<span class="grid-input">[[File:Grid {{BASEPAGENAME}}.png]]</span></div></div> }} }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage2}}} }} | none | | {{#if: {{{invimage2|}}} | <div style="display: table-cell"><div style="position: relative; width: 36px">[[File:Grid layout None (small).png|link=File:Grid {{ucfirst: {{{invimage2}}} }}.png]]<span class="grid-input">[[File:Grid {{ucfirst: {{{invimage2}}} }}.png]]</span></div></div> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage3}}} }} | none | | {{#if: {{{invimage3|}}} | <div style="display: table-cell"><div style="position: relative; width: 36px">[[File:Grid layout None (small).png|link=File:Grid {{ucfirst: {{{invimage3}}} }}.png]]<span class="grid-input">[[File:Grid {{ucfirst: {{{invimage3}}} }}.png]]</span></div></div> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage4}}} }} | none | | {{#if: {{{invimage4|}}} | <div style="display: table-cell"><div style="position: relative; width: 36px">[[File:Grid layout None (small).png|link=File:Grid {{ucfirst: {{{invimage4}}} }}.png]]<span class="grid-input">[[File:Grid {{ucfirst: {{{invimage4}}} }}.png]]</span></div></div> }}
| |
| }}{{#ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | </div></div> | {{#ifexist: File:Grid {{BASEPAGENAME}}.png | </div></div> }} }} }}
| |
| <!--end Block picture code and #if-->
| |
| }}
| |
| | rows = | | | rows = |
| {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
| | {{ #if: {{{health|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Health|Health points]]|[[Health|Health points]]}}|{{{health}}} }} }} |
| {{#ifeq: {{{base|Item}}} | Item | | {{ #if: {{{armor|}}} | {{Infobox row|[[Armor|Armor points]]|{{{armor}}} }} }} |
| | | | {{ #if: {{{behavior|}}} | {{Infobox row|Behavior|{{{behavior}}} }} }} |
| {{infobox row|label=Durability|field={{ #if: {{{durability|}}} | {{{durability}}} | N/A }} }}
| | {{ #if: {{{classification|}}} | {{Infobox row|{{#ifeq:{{NAMESPACE}}|Earth|Classification|{{tooltip|Classification|Java Edition only}}}}|{{{classification}}} }} }} |
| {{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? }} }}
| | {{ #if: {{{family|}}} | {{Infobox row|{{tooltip|Family|Bedrock Edition only}}|{{{family}}} }} }} |
| {{#if: {{{firstver|}}} | {{infobox row|label=[[Version history|First Appearance]]|field={{{firstver}}} }} }} | | {{ #if: {{{damage|}}} | {{Infobox row|Attack<br/>strength|{{{damage}}} }} }} |
| {{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{dv|{{{data}}} }} }} }}{{#if: {{{multipledata|}}} | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }} }} | | {{ #if: {{{size|}}} | {{Infobox row|[[Hitbox|Hitbox size]]|{{{size}}} }} }} |
| <!-- end Item data fields, begin Block-->
| | {{ #if: {{{speed|}}} | {{Infobox row|[[Attribute#movementSpeed|Speed]]|{{{speed}}} }} }} |
| | | | {{ #if: {{{knockbackresistance|}}} | {{Infobox row|[[Attribute#knockbackResistance|Knockback<br/>resistance]]|{{{knockbackresistance}}} }} }} |
| {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
| | {{ #if: {{{spawn|}}} | {{Infobox row|[[Spawn]]|{{{spawn}}} }} }} |
| {{ #if: {{{transparency|}}} | {{infobox row|label=Transparency|field= {{{transparency}}} }} }}
| | {{ #if: {{{equipment|}}} | {{Infobox row|[[Drops#Equipped items|Natural<br/>equipment]]|{{{equipment}}}|class=list-style-none}} }} |
| {{ | | {{ #if: {{{usableitems|}}} | {{Infobox row|Usable items|{{{usableitems}}}|class=list-style-none}} }} |
| #switch: {{ lc: {{{type|solid}}} }}
| | {{ #if: {{{rarity|}}} | {{Infobox row|[[MCE:Rarity|Rarity]]|{{{rarity}}} }} }} |
| | solid block | solid | block = {{infobox row|label=Requirements|field={{
| | | footer = |
| #switch: {{ lc: {{{dirt}}} }}
| | {{#if: {{{notes|}}} | '''Notes'''<br />{{{notes}}} }} |
| | yes = Sunlight and dirt
| | }}<noinclude> |
| | no = None
| | {{Documentation}} |
| | sand = Sunlight and sand
| | <!-- Put categories/interwiki on the documentation page --> |
| | #default = {{ #if: {{{dirt|}}} | {{{dirt}}} | ? }}
| | </noinclude> |
| }} }}
| |
| }} | |
| {{infobox row|label=Physics|field={{ #if: {{{gravity|}}} | {{{gravity}}} | ? }} }}
| |
| {{infobox row|label=[[Opacity|Transparency]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }}
| |
| {{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }}
| |
| {{infobox row|label=[[Explosion#Blast_Resistance|Blast Resistance]] <sup>[{{fullurl|Template:Blast Resistance Values|action{{=}}edit|text=edit}}]</sup>|field={{ #if: {{{tntres|}}} | {{{tntres}}} | {{Blast Resistance Values | {{ #titleparts: {{PAGENAME}} | 1 | 1 }} }} }} }}
| |
| {{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{
| |
| #switch: {{ lc: {{{tool|}}} }}
| |
| | pick | pickaxe = [[File:Use-pickaxe.png|32px|link=Pickaxe]]
| |
| | spade | shovel = [[File:Use-spade.png|32px|link=Shovel]]
| |
| | axe = [[File:Use-axe.png|32px|link=Axe]]
| |
| | hoe = [[File:Use-hoe.png|32px|link=Hoe]]
| |
| | bucket | pail = [[File:Use-bucket.png|32px|link=Bucket]]
| |
| | sword = [[File:Use-sword.png|32px|link=Sword]]
| |
| | n/a | none = None
| |
| | all | alltools | any | anytool = Any tool
| |
| | #default = ?
| |
| }}{{
| |
| #if: {{{tool2|}}} | {{
| |
| #switch: {{ lc: {{{tool2}}} }}
| |
| | pick | pickaxe = [[File:Use-pickaxe.png|32px|link=Tools#Pickaxe|Pickaxe]]
| |
| | spade | shovel = [[File:Use-spade.png|32px|link=Tools#Shovel|Shovel]]
| |
| | axe = [[File:Use-axe.png|32px|link=Tools#Axe|Axe]]
| |
| | hoe = [[File:Use-hoe.png|32px|link=Tools#Hoe|Hoe]]
| |
| }}
| |
| }} }}
| |
| {{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }}
| |
| {{
| |
| #switch: {{ lc: {{{type|fluid}}} }}
| |
| | fluid =
| |
| {{infobox row|label=Speed of fluid movement|field={{ #if: {{{fluidspeed|}}} | {{{fluidspeed}}} | ? }} }}
| |
| {{infobox row|label=Speed of walking through|field={{ #if: {{{movespeed|}}} | {{{movespeed}}} | ? }} }}
| |
| }} | |
| {{#if: {{{firstver|}}} | {{infobox row|label=First Appearance|field={{{firstver}}} }} }} | |
| <!--{{#if: {{{multiplevers|}}} | {{infobox row|label=First Appearances|field={{{multiplevers}}} }} }}
| |
| nead confirmation to create a template for this to work-->
| |
| {{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{dv|{{{data}}} }} }} }}{{#if: {{{multipledata|}}} | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }} }} | |
| <!-- end Block data fields and #if-->
| |
| }}
| |
| {{infobox row|label=Created Entity ID|field={{ #if: {{{id|}}} | {{{id}}} | ? }} }}
| |
| }} | |
| {{#if:{{{type|}}}|[[Category:{{{type}}}{{!}}{{PAGENAME}}]]}} | |
| </includeonly><noinclude> | |
| {{/doc}}
| |
| | |
| [[Category:Infobox templates|I]]</noinclude>
| |