Template:Infobox item: Difference between revisions

m changing link and name, in light of this page, it's a better place to link to than the data values page
Invalid is invalid, else is common
Line 7: Line 7:
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? }} }}
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? }} }}
{{#if: {{{experience|}}} | {{infobox row | label= [[Experience]] | field= {{{experience}}} }} }}
{{#if: {{{experience|}}} | {{infobox row | label= [[Experience]] | field= {{{experience}}} }} }}
{{#if: {{{rarity|}}} | {{infobox row|label=[[Rarity]]|field={{{rarity}}} }} | [[Category:Items with invalid rarity]] }}
{{#switch: {{lc:{{{rarity|common}}}}} | common | uncommon | rare | epic = {{infobox row|label=[[Rarity]]|field={{ucfirst:{{{rarity|Common}}}}} }} | [[Category:Items with invalid rarity]] }}
{{#if: {{{firstver|}}} | {{infobox row|label=First appearance|field={{version link|{{{firstver}}}}} {{
{{#if: {{{firstver|}}} | {{infobox row|label=First appearance|field={{version link|{{{firstver}}}}} {{
     #if: {{{firstdev|}}} | ({{version link|{{{firstdev}}}}})
     #if: {{{firstdev|}}} | ({{version link|{{{firstdev}}}}})