Template:Skill List/Documentation: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Purpose==
==Purpose==
Used to create sortable tables for use on Skill Listing pages, using both a header template and multiple row templates. [[Template:Skill List/Header]] is placed at the top of the table, and the table must be closed by appending <code>|}</code> on the following line.
Used to create sortable tables for use on Skill Listing pages, using both a header template and multiple row templates. [[Template:Skill List/Header]] is placed at the top of the table, and the table must be closed by appending <code>|}</code> on the following line.
The template has columns for skill name, non-specific cost, target, and in-game description. Some games may require more specific information however; in which case, use their specified Skill List templates instead.


==Usage==
==Usage==
Line 9: Line 7:
! Parameter !! Description
! Parameter !! Description
|-
|-
| 1 || The linked name of the skill, corresponding to whatever the listed name is in-game.
| 1 || The [[Guidelines:Media Abbreviations|media abbreviation]] of the game.
|-
| 2 || The cost to use the skill. Include "MP" if the skill costs MP to use, or "HP" if it uses HP. If the skill has no associated cost at all, add an em dash instead —.
|-
| 3 || The skill's target.
|-
|-
| 4 || The skill's in-game description.
| 2 || The name of the skill, usually corresponding to whatever the listed name is in-game.
|}
|}


===Code===
===Code===
<pre>
<pre>
{{Skill List/Header}}
{{Skill List/Header|1|2}}
{{Skill List|1|2|3|4}}
{{Skill List|1|2}}
|}
|}
</pre>
</pre>
For the header, the first field is the media abbreviation and the second is the first skill in the table.


===Examples===
===Examples===
<pre>
<pre>
{{Skill List/Header}}
{{Skill List/Header|SMT3|Agi}}
{{Skill List|[[Agi]]|3 MP|1 enemy|Attack one enemy with flames.}}
{{Skill List|SMT3|Agi}}
{{Skill List|SMT3|Maragi}}
|}
|}
</pre>
</pre>
{{Skill List/Header}}
{{Skill List/Header|SMT3|Agi}}
{{Skill List|[[Agi]]|3 MP|1 enemy|Attack one enemy with flames.}}
{{Skill List|SMT3|Agi}}
{{Skill List|SMT3|Maragi}}
|}
|}
<noinclude>[[Category:Template Documentation]]</noinclude>
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 19:35, 15 October 2024

Purpose

Used to create sortable tables for use on Skill Listing pages, using both a header template and multiple row templates. Template:Skill List/Header is placed at the top of the table, and the table must be closed by appending |} on the following line.

Usage

Parameter Description
1 The media abbreviation of the game.
2 The name of the skill, usually corresponding to whatever the listed name is in-game.

Code

{{Skill List/Header|1|2}}
{{Skill List|1|2}}
|}

For the header, the first field is the media abbreviation and the second is the first skill in the table.

Examples

{{Skill List/Header|SMT3|Agi}}
{{Skill List|SMT3|Agi}}
{{Skill List|SMT3|Maragi}}
|}
Name Cost P. LevelPower Level Target Hits B. PowerBase Power Accuracy Rank Description Effect
Agi 3 MP Low Single 1 37 1 Low Fire damage to one foe.
Maragi 8 MP Low All 1 30 4 Low Fire damage to all foes.