Template:Infobox item: Difference between revisions

Switching to using deprecated input category instead, as this category was designed to be used for all deprecated arguments/values, while that one only has this 1 use and nothing more
maybe that'll be less confusing? I think some people have proposed this change before
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
<includeonly>{{#invoke:infobox|infobox
| rows =
| rows =
{{#ifeq: {{lc: {{{rarity|}}} }} | no || {{infobox row|class=list-style-none|label=[[Rarity]]|field={{ucfirst:{{{rarity|Common}}}}} }} }}
{{#ifeq: {{lc: {{{rarity|}}} }} | no || {{infobox row|class=list-style-none|label=[[Rarity|Rarity color]]|field={{ucfirst:{{{rarity|Common}}}}} }} }}
{{#if: {{{durability|}}} | {{infobox row|label=[[Item durability|Durability]]|field={{{durability}}} }} }}
{{#if: {{{durability|}}} | {{infobox row|label=[[Item durability|Durability]]|field={{{durability}}} }} }}
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }}
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }}