Template:Infobox item: Difference between revisions
m Reorder |
I guess there's no need for invalid rarity, considering there are pages with multiple items; Use rarity=no to hide the row. |
||
| Line 2: | Line 2: | ||
| rows = | | rows = | ||
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }} | {{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }} | ||
{{# | {{#ifeq: {{lc: {{{rarity|}}} }} | no || {{infobox row|class=list-style-none|label=[[Rarity]]|field={{ucfirst:{{{rarity|Common}}}}} }} }} | ||
{{#if: {{{otherosonly|}}} | {{infobox row|label=Only available in|field={{{otherosonly}}} }} }} | {{#if: {{{otherosonly|}}} | {{infobox row|label=Only available in|field={{{otherosonly}}} }} }} | ||
{{#if: {{{durability|}}} | {{infobox row|label=[[Item durability|Durability]]|field={{{durability}}} }} }} | {{#if: {{{durability|}}} | {{infobox row|label=[[Item durability|Durability]]|field={{{durability}}} }} }} | ||