Template:Infobox block: Difference between revisions

m fixed
m change N/A to ?
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 {{#if: {{NAMESPACE}} || {{translation category|project=0|Missing stackability}}}} }} }}
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? {{#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|}}} }}