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 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", | ||
| Line 39: | Line 42: | ||
}, | }, | ||
"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 48: | ||
}, | }, | ||
"overrideTier": { | "overrideTier": { | ||
"label": "Override tier", | |||
"description": "Replaces the card's tier.", | "description": "Replaces the card's tier.", | ||
"type": "number", | "type": "number", | ||
| Line 49: | Line 54: | ||
}, | }, | ||
"overrideSlot": { | "overrideSlot": { | ||
"description": "Replaces the card's | "label": "Override slot", | ||
"description": "Replaces the card's slot.", | |||
"type": "string", | "type": "string", | ||
"suggestedvalues": ["Weapon", "Vitality", "Spirit"] | "suggestedvalues": ["Weapon", "Vitality", "Spirit"] | ||
}, | }, | ||
"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 66: | ||
}, | }, | ||
"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 72: | ||
}, | }, | ||
"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 78: | ||
}, | }, | ||
"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 84: | ||
}, | }, | ||
"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 167: | Line 178: | ||
{{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}} | ||
| Line 174: | Line 185: | ||
{{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 == | ||