Editing Template:ItemBox/docGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
{{TS}} | {{TS}} | ||
== | The data for each item is populated from [[Data:ItemData.json]] and retrieved by [[Module:ItemData]]. | ||
===Examples=== | |||
<pre> | |||
{{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|overrideIsImbue = true}} | |||
{{ItemBox|Surge of Power|overrideIsImbue = true}} | |||
{{ItemBox|Echo Shard|overrideIsImbue = true}} | |||
{{ItemBox|Frostbite Charm}} | |||
</pre> | |||
{{ | {{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|overrideIsImbue = true}} | |||
{{ItemBox|Surge of Power|overrideIsImbue = true}} | |||
{{ItemBox|Echo Shard|overrideIsImbue = true}} | |||
{{ItemBox|Frostbite Charm}} | |||
<pre> | <pre> | ||
{{ItemBox|Extended Magazine}} | {{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}} | |||
</pre> | </pre> | ||
{{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}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"itemName": { | "itemName": { | ||
"description": " | "description": "Name of the item. Will be used to get the item data from [[Module:ItemData]]", | ||
"example": "Extended Magazine", | |||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
"showTierTag": { | "showTierTag": { | ||
"description": " | "description": "Enable a tag top right on the card to show its tier.", | ||
" | "example": "true", | ||
"type": "string" | |||
"type": " | |||
}, | }, | ||
"overrideDisplayName": { | "overrideDisplayName": { | ||
"description": " | "description": "Overrides the name that is displayed on the card.", | ||
" | "example": "Test", | ||
" | "type": "string" | ||
}, | }, | ||
"overrideTier": { | "overrideTier": { | ||
"description": " | "description": "Overrides the cards tier.", | ||
" | "example": "1, 2, 3, 4 or 5", | ||
"type": "string" | |||
}, | }, | ||
"overrideSlot": { | "overrideSlot": { | ||
"description": " | "description": "Overrides the cards slot type.", | ||
" | "example": "Weapon, Armor or Tech", | ||
" | "type": "string" | ||
}, | }, | ||
"overrideIsActive": { | "overrideIsActive": { | ||
"description": " | "description": "Overrides the ACTIVE tag.", | ||
" | "example": "true or false", | ||
" | "type": "string" | ||
}, | }, | ||
"overrideIsImbue": { | "overrideIsImbue": { | ||
"description": " | "description": "Overrides the IMBUE tag.", | ||
" | "example": "true or false", | ||
" | "type": "string" | ||
}, | }, | ||
"overrideLinkTooltip": { | "overrideLinkTooltip": { | ||
"description": " | "description": "Overrides the link from where the tooltip gets its info.", | ||
" | "example": "Extended Magazine", | ||
" | "type": "string" | ||
}, | }, | ||
"overrideLinkImage": { | "overrideLinkImage": { | ||
"description": " | "description": "Overrides the link from where ItemBox gets the image.", | ||
" | "example": "Extended Magazine", | ||
" | "type": "string" | ||
}, | }, | ||
"overrideLinkClick": { | "overrideLinkClick": { | ||
"description": " | "description": "The name of the item's link in cases where itemName is incorrect", | ||
" | "example": "Bullet Lifesteal (item)", | ||
" | "type": "string" | ||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"itemName", | "itemName", | ||
"showTierTag", | |||
"overrideIsActive", "overrideIsImbue", | "overrideDisplayName", | ||
"overrideLinkTooltip", "overrideLinkImage", "overrideLinkClick" | "overrideTier", | ||
"overrideSlot", | |||
"overrideIsActive", | |||
"overrideIsImbue", | |||
"overrideLinkTooltip", | |||
"overrideLinkImage", | |||
"overrideLinkClick" | |||
], | ], | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata><noinclude>[[Category:Template documentation]]</noinclude> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | |||