Template:Skill List/Documentation: Difference between revisions

no edit summary
No edit summary
No edit summary
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. Headers should be created ''ad hoc'' (and may be created as templates), 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}}
{|class="wikitable"
{{Skill List|1|2|3|4}}
!insert header cells here
|-
{{Skill List|1|2}}
|}
|}
</pre>
</pre>
Line 27: Line 23:
===Examples===
===Examples===
<pre>
<pre>
{{Skill List/Header}}
{|class="wikitable"
{{Skill List|[[Agi]]|3 MP|1 enemy|Attack one enemy with flames.}}
!Name !! Cost !! {{tt|P. Level|Power Level}} !! Target !! Hits !! {{tt|B. Power|Base power}} !! {{tt|C. Rate|Critical Hit Rate}} !! Rank !! Description !! Effect
|-
{{Skill List|SMT3|Agi}}
|}
|}
</pre>
</pre>
{{Skill List/Header}}
{|class="wikitable"
{{Skill List|[[Agi]]|3 MP|1 enemy|Attack one enemy with flames.}}
!Name !! Cost !! {{tt|P. Level|Power Level}} !! Target !! Hits !! {{tt|B. Power|Base power}} !! {{tt|C. Rate|Critical Hit Rate}} !! Rank !! Description !! Effect
|-
{{Skill List|SMT3|Agi}}
|}
|}
<noinclude>[[Category:Template Documentation]]</noinclude>
<noinclude>[[Category:Template Documentation]]</noinclude>