Template:Infobox item/as: Difference between revisions
From He is Coming Official Wiki
Okay. Looks like parameters must be explicitly relayed down to the next layer of transclusion. Confirming with iconLink, then updating for regionalRow. |
m add <noinclude> |
||
| (13 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 11: | Line 14: | ||
}} | }} | ||
| {{#switch: {{{1}}} | | {{#switch: {{{1}}} | ||
| iconLink = {{Infobox_item/iconLink | name = {{{name}}}}} | | iconLink = {{Infobox_item/iconLink | name = {{{name|Ironstone Greatsword}}}}} | ||
| regionalRow = {{Infobox_item/regionalRow}} | | 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="" | |
- | - |


