Template:AbilitySection/doc: Difference between revisionsGive feedback
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. | |||
}} | |||
}} | }} | ||