Template:Infobox item: Difference between revisions
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. |
m 199 revisions imported |
||
(9 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:infobox|infobox | |||
| defaultimagesize = 160px | | defaultimagesize = 160px | ||
| defaultimageclass = pixel-image | |||
| invimage = title | | invimage = title | ||
| rows = | | rows = | ||
{{infobox row|class=list-style-none|label=[[Rarity|Rarity color]]|field={{{rarity|Common}}} }} | {{infobox row|class=list-style-none|label={{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Rarity|Rarity]]|[[Rarity|Rarity color]]}}|field={{{rarity|Common}}} }} | ||
{{#if: {{{durability|}}} | {{infobox row|label=[[ | {{#if: {{{durability|}}} | {{infobox row|label=[[Durability]]|field={{{durability}}} }} }}<includeonly> | ||
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing renewability]]}} }} }} | {{infobox row|label=[[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]]}} }} }}</includeonly> | ||
{{ #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}}} }} }} | ||
}} | }}<noinclude> | ||
<!-- categories/interwikis on the /doc subpage, not here --> | <!-- categories/interwikis on the /doc subpage, not here --> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |