|
|
| (228 intermediate revisions by 43 users not shown) |
| Line 1: |
Line 1: |
| <includeonly>{{infobox common
| | {{#invoke:infobox|infobox |
| | title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| | | invimage = title |
| | imagearea = [[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"><span style="position: relative">[[File:Grid layout None (small).png|link={{ucfirst: {{{invimage}}} }}]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage}}} }}.png|link={{ucfirst: {{{invimage}}} }}]]</span></span> | {{#ifexist: File:Grid {{BASEPAGENAME}}.png | <div style="padding-top: 1em; margin: 0 auto"><span style="position: relative">[[File:Grid layout None (small).png|link={{ucfirst: {{{BASEPAGENAME}}} }}]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{BASEPAGENAME}}} }}.png|link={{ucfirst: {{{BASEPAGENAME}}} }}]]</span></span> }} }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage2}}} }} | none | | {{#if: {{{invimage2|}}} | <span style="position: relative">[[File:Grid layout None (small).png|link={{ucfirst: {{{invimage2}}} }}]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage2}}} }}.png|link={{ucfirst: {{{invimage2}}} }}]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage3}}} }} | none | | {{#if: {{{invimage3|}}} | <span style="position: relative">[[File:Grid layout None (small).png|link={{ucfirst: {{{invimage3}}} }}]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage3}}} }}.png|link={{ucfirst: {{{invimage3}}} }}]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage4}}} }} | none | | {{#if: {{{invimage4|}}} | <span style="position: relative">[[File:Grid layout None (small).png|link={{ucfirst: {{{invimage4}}} }}]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage4}}} }}.png|link={{ucfirst: {{{invimage4}}} }}]]</span></span>> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage5}}} }} | none | | {{#if: {{{invimage5|}}} | <span style="position: relative">[[File:Grid layout None (small).png|link={{ucfirst: {{{invimage5}}} }}]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage5}}} }}.png|link={{ucfirst: {{{invimage5}}} }}]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage6}}} }} | none | | {{#if: {{{invimage6|}}} | <span style="position: relative">[[File:Grid layout None (small).png|link={{ucfirst: {{{invimage6}}} }}]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage6}}} }}.png|link={{ucfirst: {{{invimage6}}} }}]]</span></span> }}
| |
| }}{{#ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | </div> | {{#ifexist: File:Grid {{BASEPAGENAME}}.png | </div> }} }} }}
| |
| | rows = | | | rows = |
| {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
| | {{#if: {{{rarity|}}} | {{infobox row|class=list-style-none|label=[[minecraft:Rarity|Rarity color]]|field={{ucfirst:{{{rarity|}}}}} }} | }} |
| {{
| | {{#if: {{{renewable|}}} | {{infobox row|label=[[minecraft:Renewable resource|Renewable]]|field={{{renewable}}} }} }} |
| #switch: {{ lc: {{{type|solid}}} }}
| | {{#if: {{{stackable|}}} | {{infobox row|label=Stackable|field={{{stackable}}} {{#if: {{{maxStack|}}} | ({{{maxStack}}}) }} }} |<!-- {{{stackable}}} not provided => --->{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing stackability}}}} }} |
| | solid block | solid | block = {{infobox row|label=Requirements|field={{
| | {{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|field={{{tool|}}}{{ |
| #switch: {{ lc: {{{dirt}}} }}
| | #if: {{{tool2|}}} | {{{tool2|}}} |
| | yes = Sunlight and dirt
| |
| | no = None
| |
| | sand = Sunlight and sand
| |
| | #default = {{ #if: {{{dirt|}}} | {{{dirt}}} | ? }}
| |
| }} }}
| |
| }}
| |
| {{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]]
| |
| | wooden pickaxe = [[File:Grid Wooden Pickaxe.png|32px|link=Pickaxe]]
| |
| | stone pickaxe = [[File:Grid Stone Pickaxe.png|32px|link=Pickaxe]]
| |
| | iron pickaxe = [[File:Grid Iron Pickaxe.png|32px|link=Pickaxe]]
| |
| | diamond pickaxe = [[File:Grid Diamond Pickaxe.png|32px|link=Pickaxe]]
| |
| | gold pickaxe = [[File:Grid Gold 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]]
| |
| | shears = [[File:Grid Shears.png|32px|link=Shears]]
| |
| | n/a | none = None
| |
| | all | alltools | any | anytool = Any tool
| |
| | #default = ?
| |
| }}{{ | | }}{{ |
| #if: {{{tool2|}}} | {{ | | #if: {{{tool3|}}} | {{{tool3|}}} |
| #switch: {{ lc: {{{tool2}}} }}
| | }} }} |
| | pick | pickaxe = [[File:Use-pickaxe.png|32px|link=Tools#Pickaxe|Pickaxe]]
| | {{infobox row|label=[[minecraft:Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}} |
| | wooden pickaxe = [[File:Grid Wooden Pickaxe.png|32px|link=Pickaxe]]
| | | {{{tntres}}}{{#if: {{NAMESPACE}} || {{translation category|project=0|Pages with overridden tntres}} }} |
| | stone pickaxe = [[File:Grid Stone Pickaxe.png|32px|link=Pickaxe]]
| | | {{Blast resistance values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }} |
| | iron pickaxe = [[File:Grid Iron Pickaxe.png|32px|link=Pickaxe]]
| | }} }} |
| | diamond pickaxe = [[File:Grid Diamond Pickaxe.png|32px|link=Pickaxe]]
| | {{infobox row|label=[[minecraft:Breaking#Blocks by hardness|Hardness]]|field={{ #if: {{{hardness|}}} |
| | gold pickaxe = [[File:Grid Gold Pickaxe.png|32px|link=Pickaxe]]
| | | {{{hardness}}}{{#if: {{NAMESPACE}} || {{translation category|project=0|Pages with overridden hardness}} }} |
| | spade | shovel = [[File:Use-spade.png|32px|link=Shovel]]
| | | {{Hardness values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }} |
| | axe = [[File:Use-axe.png|32px|link=Axe]]
| |
| | hoe = [[File:Use-hoe.png|32px|link=Hoe]]
| |
| | shears = [[File:Grid Shears.png|32px|link=Shears]]
| |
| }}
| |
| }} }} | | }} }} |
| {{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }}
| | {{#if: {{{durability|}}} |{{infobox row|Durability|{{{durability|}}}}}}} |
| {{ | | {{infobox row|label=[[minecraft:Light|Luminous]]|field={{ #if: {{{light|}}} | {{{light}}} {{#if: {{{lightLevel|}}} | ({{{lightLevel}}}) }} | ? {{#if: {{NAMESPACE}} || {{translation category|project=0|Missing luminance}}}} }} }} |
| #switch: {{ lc: {{{type|fluid}}} }}
| | {{infobox row|label=[[minecraft:Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? {{#if: {{NAMESPACE}} || {{translation category|project=0|Missing transparency}}}} }} }} |
| | fluid =
| | {{ #if: {{{waterloggable|}}} | {{infobox row|label=[[minecraft:Waterlogging|Waterloggable]]|field={{{waterloggable}}} }} }} |
| {{infobox row|label=Speed of fluid movement|field={{ #if: {{{fluidspeed|}}} | {{{fluidspeed}}} | ? }} }} | | {{ #if: {{{heals|}}} | {{infobox row|label=[[minecraft:Food|Restores]]|field={{{heals}}} }} }} |
| {{infobox row|label=Speed of walking through|field={{ #if: {{{movespeed|}}} | {{{movespeed}}} | ? }} }} | | {{infobox row|label=[[minecraft:Flammable|Flammable]]|field={{ #if: {{{flammable|}}} | {{{flammable}}} | ?{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing flammability}}}} }} }} |
| }} | | {{infobox row|label=Catches fire from [https://minecraft.wiki/w/Lava Lava]|field={{ #if: {{{lavasusceptible|}}} | {{{lavasusceptible}}} | ?{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing lava susceptibility}}}} }} }} }} |
| {{#if: {{{firstver|}}} | {{infobox row|label=First Appearance|field={{{firstver}}} }} }} | | {{#if: {{NAMESPACE}} || |
| <!--{{#if: {{{multiplevers|}}} | {{infobox row|label=First Appearances|field={{{multiplevers}}} }} }}
| | {{translation category|project=0|{{ |
| nead confirmation to create a template for this to work-->
| | #switch: {{lc: {{{renewable|}}} }} |
| {{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{dv|{{{data}}} }} }} }}{{#if: {{{multipledata|}}} | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }} }}
| | | yes = Renewable resources |
| | footer = | | | no = Non-renewable resources |
| {{{notes|}}} | | | Resources with invalid renewability |
| }}{{#if:{{NAMESPACE}}||[[Category:Blocks]]}}</includeonly><noinclude> | | }}}} |
| {{/doc}} | | }}<noinclude> |
| [[Category:Infobox templates|B]][[fr:Modèle:Bloc]]
| | {{documentation}} |
| | <!-- Put categories/interwiki on the documentation page --> |
| </noinclude> | | </noinclude> |