Template:Infobox item/as: Difference between revisions
From He is Coming Official Wiki
Humph. I don't like how much default information I'm forced to add here. But, whatever. Make it work, then iterate. |
Weird. Defaults will pick up for a template using another template, but not a template acting solo. |
||
| Line 11: | Line 11: | ||
}} | }} | ||
| {{#switch: {{{1}}} | | {{#switch: {{{1}}} | ||
| iconLink = {{Infobox_item/iconLink | name = {{{name| | | iconLink = {{Infobox_item/iconLink | name = {{{name|Ironstone Greatsword}}}}} | ||
| regionalRow = {{Infobox_item/regionalRow | name = {{{name | | regionalRow = {{Infobox_item/regionalRow | name = {{{name}}} | rarity = {{{rarity}}} | basestats = {{{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 "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: | ||
Revision as of 17:13, 7 August 2025
| File:Image | |
|---|---|
| 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 | Example | ||||
|---|---|---|---|---|---|
| iconLink | |||||
| regionalRow | style="" | [[File:{{{name}}}.png|18px|link=]] [[{{{name}}}]] | {{{rarity}}} | {{{basestats}}} | {{{effect}}} | - |


