Template:Infobox item/as: Difference between revisions

From He is Coming Official Wiki
Checking whether the item is common is not a surefire determination as to whether it has upgrades -- nor can #ifexists be used, since some Unique items do retain the upgraded art -- so we'll have to supply a specific parameter for now.
Jerimee (talk | contribs)
m add <noinclude>
 
(5 intermediate revisions by 2 users not shown)
Line 15: Line 15:
  | {{#switch: {{{1}}}
  | {{#switch: {{{1}}}
     | iconLink = {{Infobox_item/iconLink | name = {{{name|Ironstone Greatsword}}}}}
     | iconLink = {{Infobox_item/iconLink | name = {{{name|Ironstone Greatsword}}}}}
     | regionalRow = {{Infobox_item/regionalRow | name = {{{name}}} | rarity = {{{rarity}}} | basestats = {{{summarystats|{{{basestats}}}}}} | effect = {{{effect}}}}}
     | regionalRow = {{Infobox_item/regionalRow | name = {{{name}}} | rarity = {{{rarity}}} | basestats = {{{summarystats|{{{basestats}}}}}} | effect = {{{effect}}} | region = {{{region|}}}}}
     | <span class="error">Bad Template:Infobox_item output parameter!</span> }}}}</onlyinclude>
    | regionalRowOne = {{Infobox_item/regionalRow | name = {{{name}}} | rarity = {{{rarity}}} | basestats = {{{summarystats|{{{basestats}}}}}} | effect = {{{effect}}} | region = {{{region|}}}  | set_widths = true}}
     | <span class="error">Bad Template:Infobox_item output parameter!</span> }}}}</onlyinclude><noinclude>
The standard use of Infobox item produces a human-readable Infobox, but if the item page is used ''as a template'' with a&nbsp;"1&nbsp;=&nbsp;"&nbsp;specifier, the following results will be produced instead:
The standard use of Infobox item produces a human-readable Infobox, but if the item page is used ''as a template'' with a&nbsp;"1&nbsp;=&nbsp;"&nbsp;specifier, the following results will be produced instead:



Latest revision as of 19:38, 15 October 2026

Base Stats -
Effect -
Tags -
Rarity Common
Found in Treasure Chests
Region Woodland
Itemsets -

The standard use of Infobox item produces a human-readable Infobox, but if the item page is used as a template with a "1 = " specifier, the following results will be produced instead:

Specifier Result
iconLink Ironstone Greatsword
regionalRow style="" | Ironstone Greatsword Common 4
-2
- -