Template:Skill List/Documentation: Difference between revisions

Jump to navigation Jump to search
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. 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.
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.


==Usage==
==Usage==
Line 14: Line 14:
===Code===
===Code===
<pre>
<pre>
{|class="wikitable"
{{Skill List/Header|1|2}}
!insert header cells here
|-
{{Skill List|1|2}}
{{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>
{|class="wikitable"
{{Skill List/Header|SMT3|Agi}}
!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}}
{{Skill List|SMT3|Agi}}
{{Skill List|SMT3|Maragi}}
|}
|}
</pre>
</pre>
{|class="wikitable"
{{Skill List/Header|SMT3|Agi}}
!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}}
{{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.