- Bells can be detonated by melee attacks.
- Bells can be detonated by melee attacks.
Improve doc: add templatedata, type column, inline examples, live render (with help from vergir-bot LLM) |
m (ninjafix) |
||
| Line 20: | Line 20: | ||
"hero_name": { | "hero_name": { | ||
"description": "Hero name, passed to Template:Ability card v2.", | "description": "Hero name, passed to Template:Ability card v2.", | ||
"example": " | "example": "Doorman", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
| Line 31: | Line 31: | ||
}, | }, | ||
"notes": { | "notes": { | ||
"description": "Wikitext for the Notes tab | "description": "Wikitext for the Notes tab.", | ||
"example": "* | "example": "* Can be detonated by [[Melee Attack|melee attacks]].", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | }, | ||
"interactions": { | "interactions": { | ||
"description": "Wikitext for the Interactions tab | "description": "Wikitext for the Interactions tab.", | ||
"example": " | "example": "* Cast range is not affected by [[Ability Range]] increases.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | }, | ||
"tips": { | "tips": { | ||
"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", | "type": "string", | ||
| Line 82: | Line 82: | ||
| notes = | | notes = | ||
* Bells can be detonated by [[Melee Attack|melee attacks]]. | * Bells can be detonated by [[Melee Attack|melee attacks]]. | ||
* | | interactions = | ||
* Cast range is not affected by [[Ability Range]] increases | |||
| tips = | | tips = | ||
* T3 talent allows stacking several bells for high damage traps. | * T3 talent allows stacking several bells for high damage traps. | ||
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.
Intended to replace Template:Ability tabs on hero pages. Editors place four of these blocks in sequence, one per ability, each under its own === Ability Name === heading directly on the hero page.
Tab visibility rules:
Show All tab is appended automatically if two or more tabs have content.Two-column ability layout with card on the left and optional tabbed notes panel on the right.
| 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 |
| interactions | interactions | Wikitext for the Interactions tab.
| String | optional |
| tips | tips | Wikitext for the Tips tab.
| String | optional |
=== Call Bell ===
{{AbilitySection
| hero_name = The Doorman
| ability_num = 1
| notes =
* Bells can be detonated by [[Melee Attack|melee attacks]].
* Can be shot to detonate early.
| tips =
* T3 talent allows stacking several bells for high damage traps.
}}
Call Bell