- Bells can be detonated by melee attacks.
- Bells can be detonated by melee attacks.
Docs: remove stale non-functional interactions param; document the auto-generated interaction-hint rail (with help from vergir-bot LLM) |
m update doc once more |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
On narrow viewports the two columns stack vertically via CSS flex-wrap. Styles are loaded from [[Template:AbilitySection/styles.css]] via TemplateStyles. | On narrow viewports the two columns stack vertically via CSS flex-wrap. Styles are loaded from [[Template:AbilitySection/styles.css]] via TemplateStyles. | ||
An interaction-hint rail is generated automatically between the card and the details panel: small item icons showing how the ability interacts with items, driven by [[Module:AbilityHints]]. | |||
An interaction-hint rail is generated automatically between the card and the details panel: small item icons showing how the ability interacts with items | |||
Tab visibility rules: | Tab visibility rules: | ||
| Line 40: | Line 38: | ||
"description": "Wikitext for the Tips tab.", | "description": "Wikitext for the Tips tab.", | ||
"example": "* T3 talent allows stacking several bells for high damage traps.", | "example": "* T3 talent allows stacking several bells for high damage traps.", | ||
"type": "string", | |||
"required": false | |||
}, | |||
"interactions": { | |||
"description": "Wikitext for the Interactions tab. Use {{AbilityInteraction}} blocks.", | |||
"example": "{{AbilityInteraction | interaction = stun | text = ... }}", | |||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
| Line 48: | Line 52: | ||
"ability_num", | "ability_num", | ||
"notes", | "notes", | ||
"tips" | "tips", | ||
"interactions" | |||
], | ], | ||
"description": "Generates ability cards in hero pages. Uses Ability card v2/Card" | "description": "Generates ability cards in hero pages. Uses Ability card v2/Card" | ||
| Line 64: | Line 69: | ||
| tips = | | tips = | ||
* T3 talent allows stacking several bells for high damage traps. | * T3 talent allows stacking several bells for high damage traps. | ||
| interactions = | |||
{{AbilityInteraction | |||
| interaction = debuff resist | |||
| text = Debuff Resist shortens duration of [[Movement Slow|move slow]] and accuracy debuff. | |||
}} | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 74: | Line 84: | ||
| tips = | | tips = | ||
* T3 talent allows stacking several bells for high damage traps. | * T3 talent allows stacking several bells for high damage traps. | ||
| interactions = | |||
{{AbilityInteraction | |||
| interaction = debuff resist | |||
| text = Debuff Resist shortens duration of [[Movement Slow|move slow]] and accuracy debuff. | |||
}} | |||
}} | }} | ||
Two-column layout wrapping Template:Ability card v2 on the left and an optional tabbed details panel on the right. Backed by Module:AbilitySection.
On narrow viewports the two columns stack vertically via CSS flex-wrap. Styles are loaded from Template:AbilitySection/styles.css via TemplateStyles.
An interaction-hint rail is generated automatically between the card and the details panel: small item icons showing how the ability interacts with items, driven by Module:AbilityHints.
Tab visibility rules:
Show All tab is appended automatically if two or more tabs have content.Generates ability cards in hero pages. Uses Ability card v2/Card
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| hero_name | hero_name | Hero name, passed to Template:Ability card v2.
| String | required |
| ability_num | ability_num | Ability index (1–4), passed to Template:Ability card v2.
| Number | required |
| notes | notes | Wikitext for the Notes tab.
| String | optional |
| tips | tips | Wikitext for the Tips tab.
| String | optional |
| interactions | interactions | Wikitext for the Interactions tab. Use {{AbilityInteraction}} blocks.
| String | optional |
{{AbilitySection
| hero_name = The Doorman
| ability_num = 1
| notes =
* Bells can be detonated by [[Melee Attack|melee attacks]].
| tips =
* T3 talent allows stacking several bells for high damage traps.
| interactions =
{{AbilityInteraction
| interaction = debuff resist
| text = Debuff Resist shortens duration of [[Movement Slow|move slow]] and accuracy debuff.
}}
}}
Call Bell
Debuff Resist shortens duration of move slow and accuracy debuff.
Debuff Resist shortens duration of move slow and accuracy debuff.