Template:Infobox item/as: Difference between revisions

From He is Coming Official Wiki
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.
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.
Line 1: Line 1:
<onlyinclude>{{#ifeq: {{{1|}}} |  
<onlyinclude>{{#ifeq: {{{1|}}} |  
  | {{Infobox item
  | {{Infobox item
     | hasupgrades = {{#ifeq: {{{rarity|}}} | [[File:Rarity common.png]] Common | true | {{{hasupgrades|}}} }}
     | hasupgrades = {{{hasupgrades|false}}}
     | image = {{{image|{{{name|Unknown}}} 16x.png}}}
     | image = {{{image|{{{name|Unknown}}} 16x.png}}}
     | goldimage = {{{goldimage|{{{name|Unknown}}} Gold 16x.png}}}
     | goldimage = {{{goldimage|{{{name|Unknown}}} Gold 16x.png}}}

Revision as of 15:46, 11 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
- -