Template:ItemBox/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 14: | Line 14: | ||
{{ItemBox|Celestial Blessing}} | {{ItemBox|Celestial Blessing}} | ||
{{ItemBox|Golden Goose Egg}} | {{ItemBox|Golden Goose Egg}} | ||
{{ItemBox|Duration Extender | {{ItemBox|Duration Extender}} | ||
{{ItemBox|Surge of Power | {{ItemBox|Surge of Power}} | ||
{{ItemBox|Echo Shard | {{ItemBox|Echo Shard}} | ||
{{ItemBox|Frostbite Charm}} | {{ItemBox|Frostbite Charm}} | ||
</pre> | </pre> | ||
| Line 31: | Line 31: | ||
{{ItemBox|Celestial Blessing}} | {{ItemBox|Celestial Blessing}} | ||
{{ItemBox|Golden Goose Egg}} | {{ItemBox|Golden Goose Egg}} | ||
{{ItemBox|Duration Extender | {{ItemBox|Duration Extender}} | ||
{{ItemBox|Surge of Power | {{ItemBox|Surge of Power}} | ||
{{ItemBox|Echo Shard | {{ItemBox|Echo Shard}} | ||
{{ItemBox|Frostbite Charm}} | {{ItemBox|Frostbite Charm}} | ||
Revision as of 13:44, 21 May 2026
This template uses CSS found at ItemBox/styles.css.
The data for each item is populated from Data:ItemData.json and retrieved by Module:ItemData.
Examples
{{ItemBox|Close Quarters}}
{{ItemBox|Spirit Shredder Bullets}}
{{ItemBox|Shadow Weave}}
{{ItemBox|Silencer}}
{{ItemBox|Haunting Shot}}
{{ItemBox|Extra Health}}
{{ItemBox|Bullet Lifesteal|overrideLinkClick = Bullet_Lifesteal_(item)}}
{{ItemBox|Dispel Magic}}
{{ItemBox|Unstoppable}}
{{ItemBox|Celestial Blessing}}
{{ItemBox|Golden Goose Egg}}
{{ItemBox|Duration Extender}}
{{ItemBox|Surge of Power}}
{{ItemBox|Echo Shard}}
{{ItemBox|Frostbite Charm}}
{{ItemBox|Restorative Shot|showTierTag = true}}
{{ItemBox|High-Velocity Rounds|overrideDisplayName = Test Name}}
{{ItemBox|Intensifying Magazine|overrideTier = 4}}
{{ItemBox|Weakening Headshot|overrideSlot = Tech}}
{{ItemBox|Recharging Rush|overrideIsActive = true}}
{{ItemBox|Alchemical Fire|overrideIsImbue = true}}
{{ItemBox|Ballistic Enchantment|overrideLinkTooltip = Extended Magazine}}
{{ItemBox|Escalating Resilience|overrideLinkImage = Extended Magazine}}
{{ItemBox|Headhunter|overrideLinkClick = Extended Magazine}}
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Item Name | itemName 1 | Name of the item. Will be used to get the item data from [[Module:ItemData]]
| String | required |
| Show Tier Tag | showTierTag | Enable a tag top right on the card to show its tier.
| String | optional |
| Override Display Name | overrideDisplayName | Overrides the name that is displayed on the card.
| String | optional |
| Override Tier | overrideTier | Overrides the cards tier.
| String | optional |
| Override Slot | overrideSlot | Overrides the cards slot type.
| String | optional |
| Override Is Active | overrideIsActive | Overrides the ACTIVE tag.
| String | optional |
| Override Is Imbue | overrideIsImbue | Overrides the IMBUE tag.
| String | optional |
| Override Link Tooltip | overrideLinkTooltip | Overrides the link from where the tooltip gets its info.
| String | optional |
| Override Link Image | overrideLinkImage | Overrides the link from where the ItemBox gets the image.
| String | optional |
| Override Link Click | overrideLinkClick | Overrides where the ItemBox links to when clicked on.
| String | optional |