Template:Skill List/Documentation: Difference between revisions

Jump to navigation Jump to search
m (Protected "Template:Skill List/Documentation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
Line 2: Line 2:
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, and effect. Some games may require more specific information however; in which case, use their specified Skill List templates instead.
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 13: Line 13:
| 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 —.
| 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 —.
|-
|-
| 2 || A '''brief''' description of the skill's general effect.
| 3 || The skill's target.
|-
| 4 || The skill's in-game description.
|}
|}


Line 19: Line 21:
<pre>
<pre>
{{Skill List/Header}}
{{Skill List/Header}}
{{Skill List|1|2|3}}
{{Skill List|1|2|3|4}}
|}
|}
</pre>
</pre>
Line 26: Line 28:
<pre>
<pre>
{{Skill List/Header}}
{{Skill List/Header}}
{{Skill List|[[Agi]]|3 MP|Inflicts Fire damage on one enemy.}}
{{Skill List|[[Agi]]|3 MP|1 enemy|Attack one enemy with flames.}}
|}
|}
</pre>
</pre>
{{Skill List/Header}}
{{Skill List/Header}}
{{Skill List|[[Agi]]|3 MP|Inflicts Fire damage on one enemy.}}
{{Skill List|[[Agi]]|3 MP|1 enemy|Attack one enemy with flames.}}
|}
|}
<noinclude>[[Category:Template Documentation]]</noinclude>
<noinclude>[[Category:Template Documentation]]</noinclude>

Revision as of 00:10, 5 November 2023

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.

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

Parameter Description
1 The linked name of the skill, corresponding to whatever the listed name is in-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.

Code

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

Examples

{{Skill List/Header}}
{{Skill List|[[Agi]]|3 MP|1 enemy|Attack one enemy with flames.}}
|}

Lua error in package.lua at line 80: module 'Module:Data/Skill/{{{1}}}' not found. Lua error in package.lua at line 80: module 'Module:Data/Skill/agi' not found. |}