Template:AbilitySection/doc: Difference between revisions

Jump to navigation Jump to search
Vergir (talk | contribs)
Add AbilitySection doc
 
Vergir (talk | contribs)
m (ninjafix)
Line 3: Line 3:
Two-column layout wrapping [[Template:Ability card v2]] on the left and an optional tabbed details panel on the right. Backed by [[Module:AbilitySection]].
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:Vergir/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.


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.
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.
Line 18: Line 18:
| <code>notes</code> || Freeform wikitext for the Notes tab. Supports links, templates, bullet points. || No
| <code>notes</code> || Freeform wikitext for the Notes tab. Supports links, templates, bullet points. || No
|-
|-
| <code>interactions</code> || One or more [[User:Vergir/AbilityInteraction]] calls for the Interactions tab. || No
| <code>interactions</code> ||Freeform wikitext for the Interactions tab. || No
|-
|-
| <code>tips</code> || Freeform wikitext for the Tips tab. || No
| <code>tips</code> || Freeform wikitext for the Tips tab. || No
Line 33: Line 33:
=== Call Bell ===
=== Call Bell ===


{{User:Vergir/AbilitySection
{{AbilitySection
| hero_name  = The Doorman
| hero_name  = The Doorman
| ability_num = 1
| ability_num = 1