Template:Infobox block: Difference between revisions

Undo revision 1728904 by Dhranios (talk) broke something, letme try again
m fixed
Line 3: Line 3:
{{#if: {{{rarity|}}} | {{infobox row|class=list-style-none|label=[[Rarity]]|field={{ucfirst:{{{rarity|}}}}} }} | }}
{{#if: {{{rarity|}}} | {{infobox row|class=list-style-none|label=[[Rarity]]|field={{ucfirst:{{{rarity|}}}}} }} | }}
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }}
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }}
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A [[Category:Missing stackability]] }} }}
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A {{#if: {{NAMESPACE}} || {{translation category|project=0|Missing stackability}}}} }} }}
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|field={{#vardefineecho: correct-tool | {{
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|field={{#vardefineecho: correct-tool | {{
   #switch: {{ lc: {{{tool|}}} }}
   #switch: {{ lc: {{{tool|}}} }}
Line 44: Line 44:
| {{Hardness values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }}
| {{Hardness values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }}
}} }}
}} }}
{{infobox row|label=[[Light|Luminant]]|field={{ #if: {{{light|}}} | {{{light}}} | ? [[Category:Missing luminance]] }} }}
{{infobox row|label=[[Light|Luminant]]|field={{ #if: {{{light|}}} | {{{light}}} | ? {{#if: {{NAMESPACE}} || {{translation category|project=0|Missing luminance}}}} }} }}
{{infobox row|label=[[Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? [[Category:Missing transparency]] }} }}
{{infobox row|label=[[Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? {{#if: {{NAMESPACE}} || {{translation category|project=0|Missing transparency}}}} }} }}
{{ #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}}} | ?[[Category:Missing flammability]] }} }}
{{infobox row|label=[[Flammable]]|field={{ #if: {{{flammable|}}} | {{{flammable}}} | ?{{#if: {{NAMESPACE}} || {{translation category|project=0|Missing flammability}}}} }} }}
{{infobox row|label=Catches fire from [[lava]]|field={{ #if: {{{lavasusceptible|}}} | {{{lavasusceptible}}} | ?[[Category:Missing lava susceptibility]] }} }} }}
{{infobox row|label=Catches fire from [[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|{{