Template:Infobox block: Difference between revisions

No edit summary
Line 2: Line 2:
| invimage = title
| invimage = title
| rows =
| rows =
{{#if: {{{rarity|}}} | {{infobox row|class=list-style-none|label={{#ifeq:{{NAMESPACE}}|Minecraft Earth|[[MCE:Rarity|Rarity]]|[[Rarity|Rarity color]]}}|field={{ucfirst:{{{rarity|}}}}} }} | }}
{{#if: {{{rarity|}}} | {{infobox row|class=list-style-none|label={{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Rarity|Rarity]]|[[Rarity|Rarity color]]}}|field={{ucfirst:{{{rarity|}}}}} }} | }}
{{#if: {{{renewable|}}} | {{infobox row|label=[[Renewable resource|Renewable]]|field={{{renewable}}} }} }}
{{#if: {{{renewable|}}} | {{infobox row|label=[[Renewable resource|Renewable]]|field={{{renewable}}} }} }}
{{#if: {{{stackable|}}} | {{infobox row|label=Stackable|field={{{stackable}}} {{#if: {{{maxStack|}}} | &nbsp;({{{maxStack}}}) }} }} |<!-- {{{stackable}}} not provided => --->{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing stackability}}}} }}
{{#if: {{{stackable|}}} | {{infobox row|label=Stackable|field={{{stackable}}} {{#if: {{{maxStack|}}} | &nbsp;({{{maxStack}}}) }} }} |<!-- {{{stackable}}} not provided => --->{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing stackability}}}} }}
Line 69: Line 69:
{{ #if: {{{heals|}}} | {{infobox row|label=[[Food|Restores]]|field={{{heals}}} }} }}
{{ #if: {{{heals|}}} | {{infobox row|label=[[Food|Restores]]|field={{{heals}}} }} }}
{{infobox row|label=[[Flammable]]|field={{ #if: {{{flammable|}}} | {{{flammable}}} | ?{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing flammability}}}} }} }}
{{infobox row|label=[[Flammable]]|field={{ #if: {{{flammable|}}} | {{{flammable}}} | ?{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing flammability}}}} }} }}
{{infobox row|label=Catches fire from {{#ifeq:{{NAMESPACE}}|Minecraft Earth|[[MCE:Lava|lava]]|[[lava]]}}|field={{ #if: {{{lavasusceptible|}}} | {{{lavasusceptible}}} | ?{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing lava susceptibility}}}} }} }} }}
{{infobox row|label=Catches fire from {{#ifeq:{{NAMESPACE}}|Earth|[[MCE:Lava|lava]]|[[lava]]}}|field={{ #if: {{{lavasusceptible|}}} | {{{lavasusceptible}}} | ?{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing lava susceptibility}}}} }} }} }}
{{#if: {{NAMESPACE}} ||
{{#if: {{NAMESPACE}} ||
{{translation category|project=0|{{
{{translation category|project=0|{{