Template:Infobox item/as: Difference between revisions
From He is Coming Official Wiki
Weird. Defaults will pick up for a template using another template, but not a template acting solo. |
m add <noinclude> |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude>{{#ifeq: {{{1|}}} | | <onlyinclude>{{#ifeq: {{{1|}}} | | ||
| {{Infobox item | | {{Infobox item | ||
| image = {{{image| | | hasupgrades = {{{hasupgrades|false}}} | ||
| image = {{{image|{{{name|Unknown}}} 16x.png}}} | |||
| goldimage = {{{goldimage|{{{name|Unknown}}} Gold 16x.png}}} | |||
| diamondimage = {{{diamondimage|{{{name|Unknown}}} Diamond 16x.png}}} | |||
| basestats = {{{basestats|-}}} | | basestats = {{{basestats|-}}} | ||
| effect = {{{effect|-}}} | | effect = {{{effect|-}}} | ||
| Line 12: | 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}}} | 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 "1 = " 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 "1 = " specifier, the following results will be produced instead: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Specifier | ! Specifier | ||
! | ! Result | ||
|- | |- | ||
| iconLink || {{Infobox_item/ | | iconLink || {{Infobox_item/iconLink}} | ||
|- | |- | ||
| regionalRow || {{Infobox_item/ | | regionalRow || {{Infobox_item/regionalRow}} | ||
|} | |} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:38, 15 October 2026
| Base Stats | - |
|---|---|
| Effect | - |
| Tags | - |
| Rarity | |
| 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 | |||||
| regionalRow | style="" | |
- | - |


