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": " | "label": "Item Name", | ||
"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": { | ||
"label": "Show Tier Tag", | |||
" | "description": "Enable a tag top right on the card to show its tier.", | ||
"suggestedvalues": ["true | "suggestedvalues": ["true, false"], | ||
"type": "string" | |||
"type": " | |||
}, | }, | ||
"overrideDisplayName": { | "overrideDisplayName": { | ||
"description": " | "label": "Override Display Name", | ||
" | "description": "Overrides the name that is displayed on the card.", | ||
" | "example": "Test", | ||
"type": "string" | |||
}, | }, | ||
"overrideTier": { | "overrideTier": { | ||
"label": "Override Tier", | |||
" | "description": "Overrides the cards tier.", | ||
"suggestedvalues": ["1 | "suggestedvalues": ["1, 2, 3, 4, 5"], | ||
"type": "string" | |||
}, | }, | ||
"overrideSlot": { | "overrideSlot": { | ||
"label": "Override Slot", | |||
" | "description": "Overrides the cards slot type.", | ||
"suggestedvalues": ["Weapon", " | "suggestedvalues": ["Weapon, Armor, Tech"], | ||
"type": "string" | |||
}, | }, | ||
"overrideIsActive": { | "overrideIsActive": { | ||
"description": " | "label": "Override Is Active", | ||
" | "description": "Overrides the ACTIVE tag.", | ||
" | "suggestedvalues": ["true, false"], | ||
"type": "string" | |||
}, | }, | ||
"overrideIsImbue": { | "overrideIsImbue": { | ||
"description": " | "label": "Override Is Imbue", | ||
" | "description": "Overrides the IMBUE tag.", | ||
" | "suggestedvalues": ["true, false"], | ||
"type": "string" | |||
}, | }, | ||
"overrideLinkTooltip": { | "overrideLinkTooltip": { | ||
"description": " | "label": "Override Link Tooltip", | ||
" | "description": "Overrides the link from where the tooltip gets its info.", | ||
" | "example": "Extended Magazine", | ||
"type": "string" | |||
}, | }, | ||
"overrideLinkImage": { | "overrideLinkImage": { | ||
"description": " | "label": "Override Link Image", | ||
" | "description": "Overrides the link from where the ItemBox gets the image.", | ||
" | "example": "Extended Magazine", | ||
"type": "string" | |||
}, | }, | ||
"overrideLinkClick": { | "overrideLinkClick": { | ||
"description": " | "label": "Override Link Click", | ||
" | "description": "Overrides where the ItemBox links to when clicked on.", | ||
" | "example": "Bullet Lifesteal (item)", | ||
"type": "string" | |||
} | } | ||
}, | }, | ||
" | "description": " " | ||
} | } | ||
</templatedata> | </templatedata><noinclude>[[Category:Template documentation]]</noinclude> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | |||