Template:AbilitySection/doc: Difference between revisionsGive feedback
m update example |
m update doc once more |
||
| (2 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 45: | Line 43: | ||
"interactions": { | "interactions": { | ||
"description": "Wikitext for the Interactions tab. Use {{AbilityInteraction}} blocks.", | "description": "Wikitext for the Interactions tab. Use {{AbilityInteraction}} blocks.", | ||
"example": "{{AbilityInteraction | | "example": "{{AbilityInteraction | interaction = stun | text = ... }}", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
| Line 73: | Line 71: | ||
| interactions = | | interactions = | ||
{{AbilityInteraction | {{AbilityInteraction | ||
| | | interaction = debuff resist | ||
| text = Debuff Resist shortens duration of [[Movement Slow|move slow]] and accuracy debuff. | | text = Debuff Resist shortens duration of [[Movement Slow|move slow]] and accuracy debuff. | ||
}} | }} | ||
| Line 91: | Line 86: | ||
| interactions = | | interactions = | ||
{{AbilityInteraction | {{AbilityInteraction | ||
| | | interaction = debuff resist | ||
| text = Debuff Resist shortens duration of [[Movement Slow|move slow]] and accuracy debuff. | |||
| text | |||
}} | }} | ||
}} | }} | ||