Editing Template:ItemBox/docGive feedback
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 13: | Line 13: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "", | "description": "Renders a Deadlock shop item card.", | ||
"params": { | "params": { | ||
"itemName": { | "itemName": { | ||
"label": "Item name", | |||
"description": "Item name; keys into Module:ItemData. Positional.", | "description": "Item name; keys into Module:ItemData. Positional.", | ||
"type": "string", | "type": "string", | ||
| Line 23: | Line 24: | ||
}, | }, | ||
"size": { | "size": { | ||
"label": "Size", | |||
"description": "Scales the whole card. 1 = default (80px wide), 1.5 = 150%, 0.75 = 75%.", | "description": "Scales the whole card. 1 = default (80px wide), 1.5 = 150%, 0.75 = 75%.", | ||
"type": "number", | "type": "number", | ||
| Line 29: | Line 31: | ||
}, | }, | ||
"showTierTag": { | "showTierTag": { | ||
"label": "Show tier tag", | |||
"description": "Set to true to show the tier corner badge.", | "description": "Set to true to show the tier corner badge.", | ||
"type": "boolean", | "type": "boolean", | ||
"suggestedvalues": ["true", "false"] | "suggestedvalues": ["true", "false"] | ||
}, | }, | ||
"overrideDisplayName": { | "overrideDisplayName": { | ||
"label": "Override display name", | |||
"description": "Replaces the name shown on the card.", | "description": "Replaces the name shown on the card.", | ||
"type": "string", | "type": "string", | ||
| Line 44: | Line 43: | ||
}, | }, | ||
"overrideTier": { | "overrideTier": { | ||
"label": "Override tier", | |||
"description": "Replaces the card's tier.", | "description": "Replaces the card's tier.", | ||
"type": "number", | "type": "number", | ||
| Line 49: | Line 49: | ||
}, | }, | ||
"overrideSlot": { | "overrideSlot": { | ||
"description": "Replaces the card's | "label": "Override slot", | ||
"description": "Replaces the card's slot.", | |||
"type": "string", | "type": "string", | ||
"suggestedvalues": ["Weapon", " | "suggestedvalues": ["Weapon", "Armor", "Tech"] | ||
}, | }, | ||
"overrideIsActive": { | "overrideIsActive": { | ||
"label": "Override active tag", | |||
"description": "Forces the ACTIVE tag on or off.", | "description": "Forces the ACTIVE tag on or off.", | ||
"type": "boolean", | "type": "boolean", | ||
| Line 59: | Line 61: | ||
}, | }, | ||
"overrideIsImbue": { | "overrideIsImbue": { | ||
"label": "Override imbue tag", | |||
"description": "Forces the IMBUE tag on or off.", | "description": "Forces the IMBUE tag on or off.", | ||
"type": "boolean", | "type": "boolean", | ||
| Line 64: | Line 67: | ||
}, | }, | ||
"overrideLinkTooltip": { | "overrideLinkTooltip": { | ||
"label": "Override tooltip source", | |||
"description": "Page the hover tooltip reads its info from.", | "description": "Page the hover tooltip reads its info from.", | ||
"type": "string", | "type": "string", | ||
| Line 69: | Line 73: | ||
}, | }, | ||
"overrideLinkImage": { | "overrideLinkImage": { | ||
"label": "Override image", | |||
"description": "Page/file the icon image comes from.", | "description": "Page/file the icon image comes from.", | ||
"type": "string", | "type": "string", | ||
| Line 74: | Line 79: | ||
}, | }, | ||
"overrideLinkClick": { | "overrideLinkClick": { | ||
"label": "Override click link", | |||
"description": "Page the card links to when clicked.", | "description": "Page the card links to when clicked.", | ||
"type": "string", | "type": "string", | ||
| Line 80: | Line 86: | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"itemName", "size", "showTierTag | "itemName", "size", "showTierTag", | ||
"overrideDisplayName", "overrideTier", "overrideSlot", | "overrideDisplayName", "overrideTier", "overrideSlot", | ||
"overrideIsActive", "overrideIsImbue", | "overrideIsActive", "overrideIsImbue", | ||
| Line 131: | Line 137: | ||
{{ItemBox|Extended Magazine}} | {{ItemBox|Extended Magazine}} | ||
{{ItemBox|Extended Magazine|size = 1.5}} | {{ItemBox|Extended Magazine|size = 1.5}} | ||
=== Overrides === | === Overrides === | ||
| Line 164: | Line 143: | ||
{{ItemBox|High-Velocity Rounds|overrideDisplayName = Test Name}} | {{ItemBox|High-Velocity Rounds|overrideDisplayName = Test Name}} | ||
{{ItemBox|Intensifying Magazine|overrideTier = 4}} | {{ItemBox|Intensifying Magazine|overrideTier = 4}} | ||
{{ItemBox|Weakening Headshot|overrideSlot = | {{ItemBox|Weakening Headshot|overrideSlot = Tech}} | ||
{{ItemBox|Recharging Rush|overrideIsActive = true}} | {{ItemBox|Recharging Rush|overrideIsActive = true}} | ||
{{ItemBox|Alchemical Fire|overrideIsImbue = true}} | {{ItemBox|Alchemical Fire|overrideIsImbue = true}} | ||
{{ItemBox|Bullet Lifesteal|overrideLinkClick = | {{ItemBox|Bullet Lifesteal|overrideLinkClick = Bullet_Lifesteal_(item)}} | ||
</pre> | </pre> | ||
{{ItemBox|High-Velocity Rounds|overrideDisplayName = Test Name}} | {{ItemBox|High-Velocity Rounds|overrideDisplayName = Test Name}} | ||
{{ItemBox|Intensifying Magazine|overrideTier = 4}} | {{ItemBox|Intensifying Magazine|overrideTier = 4}} | ||
{{ItemBox|Weakening Headshot|overrideSlot = | {{ItemBox|Weakening Headshot|overrideSlot = Tech}} | ||
{{ItemBox|Recharging Rush|overrideIsActive = true}} | {{ItemBox|Recharging Rush|overrideIsActive = true}} | ||
{{ItemBox|Alchemical Fire|overrideIsImbue = true}} | {{ItemBox|Alchemical Fire|overrideIsImbue = true}} | ||
{{ItemBox|Bullet Lifesteal|overrideLinkClick = | {{ItemBox|Bullet Lifesteal|overrideLinkClick = Bullet_Lifesteal_(item)}} | ||
== References == | == References == | ||