|
|
| (132 intermediate revisions by 39 users not shown) |
| Line 1: |
Line 1: |
| <includeonly>{{infobox common
| | {{#invoke:infobox|infobox |
| | title = {{ #if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
| | | defaultimagesize = 160px |
| | imagearea = [[File:{{#if: {{{image|}}} | {{{image}}} | {{#ifexist: File:{{BASEPAGENAME}}.png | {{BASEPAGENAME}}.png | No image.svg}} }}|150px|center]]{{ | | | defaultimageclass = pixel-image |
| #if: {{{image2|}}} | <div style="padding-top: 1em">[[File:{{{image2}}}|150px|center]]</div>
| | | invimage = title |
| }}{{
| |
| #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]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage}}} }}.png]]</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]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{BASEPAGENAME}} }}.png]]</span></span> }} }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage2}}} }} | none | | {{#if: {{{invimage2|}}} | <span style="position: relative">[[File:Grid layout None (small).png]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage2}}} }}.png]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage3}}} }} | none | | {{#if: {{{invimage3|}}} | <span style="position: relative">[[File:Grid layout None (small).png]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage3}}} }}.png]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage4}}} }} | none | | {{#if: {{{invimage4|}}} | <span style="position: relative">[[File:Grid layout None (small).png]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage4}}} }}.png]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage5}}} }} | none | | {{#if: {{{invimage5|}}} | <span style="position: relative">[[File:Grid layout None (small).png]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage5}}} }}.png]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage6}}} }} | none | | {{#if: {{{invimage6|}}} | <span style="position: relative">[[File:Grid layout None (small).png]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage6}}} }}.png]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage7}}} }} | none | | {{#if: {{{invimage7|}}} | <span style="position: relative">[[File:Grid layout None (small).png]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage7}}} }}.png]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage8}}} }} | none | | {{#if: {{{invimage8|}}} | <span style="position: relative">[[File:Grid layout None (small).png]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage8}}} }}.png]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage9}}} }} | none | | {{#if: {{{invimage9|}}} | <span style="position: relative">[[File:Grid layout None (small).png]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage9}}} }}.png]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage10}}} }} | none | | {{#if: {{{invimage10|}}} | <span style="position: relative">[[File:Grid layout None (small).png]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage10}}} }}.png]]</span></span> }}
| |
| }}{{
| |
| #ifeq: {{lc: {{{invimage11}}} }} | none | | {{#if: {{{invimage11|}}} | <span style="position: relative">[[File:Grid layout None (small).png]]<span style="position:absolute; left: 2px; top: -7px">[[File:Grid {{ucfirst: {{{invimage11}}} }}.png]]</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}}} | ? }} }} | | {{infobox row|class=list-style-none|label={{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Rarity|Rarity]]|[[minecraft:Rarity|Rarity color]]}}|field={{{rarity|Common}}} }} |
| {{#if: {{{otherosonly|}}} | {{infobox row|label=Only Available in|field={{{otherosonly}}} }} }} | | {{#if: {{{durability|}}} | {{infobox row|label=[[Durability]]|field={{{durability}}} }} }}<includeonly> |
| {{infobox row|label=Durability|field={{ #if: {{{durability|}}} | {{{durability}}} | N/A }} }} | | {{infobox row|label=[[minecraft:Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing renewability]]}} }} }} |
| {{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? }} }} | | {{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing stackability]]}} }} }}</includeonly> |
| {{#if: {{{firstver|}}} | {{infobox row|label=[[Version history|First Appearance]]|field={{{firstver}}} }} }} | | {{ #if: {{{heals|}}} | {{infobox row|label=[[Food|Restores]]|field={{{heals}}} }} }} |
| {{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{dv|{{{data}}} }} }} }}{{#if: {{{multipledata|}}} | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }} }} | | {{ #if: {{{effects|}}} | {{infobox row|label=[[Status effect]]s|field={{{effects}}} }} }} |
| }}{{#if:{{{type|}}}|[[Category:{{{type}}}{{!}}{{PAGENAME}}]]}}</includeonly><noinclude>
| | }}<noinclude> |
| {{/doc}} | | <!-- categories/interwikis on the /doc subpage, not here --> |
| | | {{Documentation}} |
| [[Category:Infobox templates|I]][[fr:Modèle:Objet]]
| |
| </noinclude> | | </noinclude> |