Module:AbilitySection/doc: Difference between revisions

Vergir (talk | contribs)
m remove traces of user-space period
Vergir (talk | contribs)
m fix example
Line 1: Line 1:
== Overview ==
== Overview ==
Lua backend for [[Template:AbilitySection]]. Renders a two-column layout with the ability card on the left and an optional tabbed details panel on the right.
Lua backend for [[Template:AbilitySection]]. Renders a two-column layout with the ability card on the left and an optional tabbed details panel on the right.


Line 43: Line 44:


<pre>
<pre>
{{User:AbilitySection
{{AbilitySection
| hero_name  = Abrams
| hero_name  = Abrams
| ability_num = 1
| ability_num = 1
| notes             =
| notes =
* This is an example of a note.
* This is an example of a note.
| interactions       =
| interactions =
* This is an example of an interaction.
* This is an example of an interaction.
| tips               =
| tips =
* This is an example of a tip.
* This is an example of a tip.
}}
}}
</pre>
</pre>


{{User:AbilitySection
{{AbilitySection
| hero_name  = Abrams
| hero_name  = Abrams
| ability_num = 1
| ability_num = 1
| notes             =
| notes =
* This is an example of a note.
* This is an example of a note.
| interactions       =
| interactions =
* This is an example of an interaction.
* This is an example of an interaction.
| tips               =
| tips =
* This is an example of a tip.
* This is an example of a tip.
}}
}}