Editing Template:AbilitySection/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 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]]. | Intended to replace [[Template:Ability tabs]] on hero pages. Editors place four of these blocks in sequence, one per ability, each under its own <code>=== Ability Name ===</code> heading directly on the hero page. | ||
An interaction-hint rail is generated automatically between the card and the details panel: small item icons showing how the ability interacts with items (dispellable, duration-reduced, blocked, etc.), driven by [[Module:AbilityHints]]. It takes no parameters — membership comes from the same lists as the interaction tables. | |||
Tab visibility rules: | Tab visibility rules: | ||
| Line 38: | Line 40: | ||
"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", | ||
"required": false | "required": false | ||
| Line 52: | Line 48: | ||
"ability_num", | "ability_num", | ||
"notes", | "notes", | ||
"tips | "tips" | ||
], | ], | ||
"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 69: | Line 64: | ||
| tips = | | tips = | ||
* T3 talent allows stacking several bells for high damage traps. | * T3 talent allows stacking several bells for high damage traps. | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 84: | Line 74: | ||
| tips = | | tips = | ||
* T3 talent allows stacking several bells for high damage traps. | * T3 talent allows stacking several bells for high damage traps. | ||
}} | }} | ||