|
|
| (140 intermediate revisions by 43 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}}}| 200px|center]]
| | | invimage = title |
| #if: {{{image3|}}} | <div style="padding-top: 1em">[[File:{{{image3}}}| 200px|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> }} }} }}
| |
| | 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]]</noinclude>
| | </noinclude> |