Difference between revisions of "Item info"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m |
||
Line 38: | Line 38: | ||
stats are comma-separated and in the format: | stats are comma-separated and in the format: | ||
[stat name] [stat value] | [stat name] [stat value] | ||
− | -->{{#arraydefine:stats|{{{stats}}}}}<!-- | + | -->{{#arraydefine:stats|{{{stats|}}}}}<!-- |
satiety effects are comma-separated and in the format: | satiety effects are comma-separated and in the format: | ||
Line 79: | Line 79: | ||
{{#if:{{{hero|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Req. [[Hero]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}[[{{{hero}}}]]}}<!-- | {{#if:{{{hero|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Req. [[Hero]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}[[{{{hero}}}]]}}<!-- | ||
− | --> | + | -->{{#arrayprint:stats||@|<tr><td class="skill-infobox-row-heading">'''{{#explode:@|:|0}}'''</td><td class="skill-infobox-row-data">{{#sub:@|{{#expr:{{#pos:@|:}}+1}}}}</td></tr>}} |
|- | |- | ||
{{#if:{{{duration|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Duration'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{duration}}}}} | {{#if:{{{duration|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Duration'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{duration}}}}} |
Revision as of 23:27, 9 February 2024
Description
Displays an information page about an item.
Usage
{{Item info|<icon=icon>|<name=name>|<tooltip=tooltip>|<description=description>|<tier=I>|<stats=28 Weapon Damage>|<duration=120>|<level=1>|<mastery=Destroyer>|<value=1>|<category=category>|<quests=Quest 1; Quest 2>}}
Parameters
- icon: An image of the item.
- Optional. Defaults to '
{{PAGENAME}}.png
'. - Notes: Only use if the icon name differs from the name of the page.
- change: Displays a note stating that the Item's appearance may change.
- Optional.
- Notes: Set to any value to enable.
- name: The name of the item.
- Optional. Defaults to '
{{PAGENAME}}
'. - Notes: Only use if the template is on a different page to the item's main article.
- binding: The binding of the item.
- Optional.
- Notes: Only use if the item is bound. Choose between '
equip
', 'pickup
', or a custom binding.
- quality: The item's quality.
- Optional.
- Notes: Input ranges of qualities with '
[quality1]-[quality2]
'.
- tier: The item's tier.
- Optional.
- Notes: In roman numerals.
- stats: A comma-separated list of the item's stat values and names.
- Optional.
- Notes: e.g. '
[stat1]: [value1], [stat2]: [value2], etc.
'
- satiety effect: A comma-separated list of the item's satiety effect stat values and names.
- Optional.
- Notes: e.g. '
[value1] [stat1], [value2] [stat2], etc.
'
- hero: The hero required for item use.
- Optional.
- Notes: If the '
mastery
' parameter is specified, do not use this parameter.
Possible categories:
- •Armor
- •Artifacts
- •Chips
- •Consumables
- •Crafting Materials
- •Items
- •Quest Items
- •Raw Materials
- •Runes
- •Weapons
Errors
No description was provided. Add a description parameter.