Template:Infobox item/as: Difference between revisions

From He is Coming Official Wiki
No edit summary
The "summarystats" attribute became necessary for Mythic Woodland weapons, which tend to have [sword]-0, but don't want to confuse the reader with this number given it will be overwritten by the effect.
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 = {{{basestats}}} | effect = {{{effect}}}}}
     | regionalRow = {{Infobox_item/regionalRow | name = {{{name}}} | rarity = {{{rarity}}} | basestats = {{{summarystats|{{{basestats}}}}}} | effect = {{{effect}}}}}
     | <span class="error">Bad Template:Infobox_item output parameter!</span> }}}}</onlyinclude>
     | <span class="error">Bad Template:Infobox_item output parameter!</span> }}}}</onlyinclude>
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:

Revision as of 19:18, 9 August 2025

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
- -