Template:Item: Difference between revisions

no edit summary
(Tool standardization continues. I removed the note that every item with durability is a tool. You can disagree with that, but anyway, now tool-related wiki sets are at least somewhat consistent.)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
| invimage = title
| invimage = title
| rows =
| rows =
{{infobox row|class=list-style-none|label=[[Rarity|Rarity color]]|field={{{rarity|Common}}} }}
{{#if: {{{rarity|}}} | {{infobox row|label=[[Rarity|Rarity color]]|field={{{rarity|Common}}} }} }}
{{#if: {{{durability|}}} | {{infobox row|label=[[Item durability|Durability]]|field={{{durability}}} }} }}
{{#if: {{{durability|}}} | {{infobox row|label=[[minecraft:Item durability|Durability]]|field={{{durability}}} }} }}
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing renewability]]}} }} }}
{{infobox row|label=[[minecraft:Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing renewability]]}} }} }}
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing stackability]]}} }} }}
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing stackability]]}} }} }}
{{ #if: {{{heals|}}} | {{infobox row|label=[[Food|Restores]]|field={{{heals}}} }} }}
{{ #if: {{{heals|}}} | {{infobox row|label=[[Food|Restores]]|field={{{heals}}} }} }}
{{ #if: {{{effects|}}} | {{infobox row|label=[[Status effect]]s|field={{{effects}}} }} }}
{{ #if: {{{effects|}}} | {{infobox row|label=[[Status effect]]s|field={{{effects}}} }} }}
{{#if: {{{looted_from|}}} | {{infobox row|label=Looted from|field={{{looted_from}}} }} }}
{{#if: {{{seller|}}} | {{infobox row|label=Sold by|field={{{seller}}} }} }}
{{#if: {{{price|}}} | {{infobox row|label=Price|field={{{price}}} }} }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
<!-- categories/interwikis on the /doc subpage, not here -->
<!-- categories/interwikis on the /doc subpage, not here -->
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>