Difference between revisions of "Template:SkillTable/row/doc"

From Stoneshard wiki
Jump to navigation Jump to search
(Add doc page.)
 
(added second parameter and example usage, different formatting)
Line 1: Line 1:
{{doc/start}}
{{doc/start}}
Uses [[Skill data]] page as reference.<br>
Uses [[Skill data]] page as reference.
Translations are to be made in a separate page.<br>
 
== Usage ==
This template must be used with header for proper table display. Header has its own template:
 
{{tl|SkillTable/head}}
 
 
First parameter is required to specify the skill. Skill data is stored in [[Skill data]] pages.
 
<nowiki>{{SkillTable/row|(SkillName)}}</nowiki>
 
 
Adding a second parameter will display a modified description, where the values are adjusted according to the Enemy's attributes (STR, AGL, PRC, VIT, WIL).
 
Intended for use on Enemy pages, see [[Skeleton Footman]] for example.
 
<nowiki>{{SkillTable/row|(SkillName)|1}}</nowiki>
 
 
Template also supports translation to other languages. Translated strings are stored in four different pages.
 
Ex:
Ex:
{{tl|PT-BR SkillNames}}
* {{tl|PT-BR SkillNames}}
{{tl|PT-BR SkillDescription}}
* {{tl|PT-BR SkillDescription}}
{{tl|PT-BR SkillFormulaDescription}}
* {{tl|PT-BR SkillFormulaDescription}}
* {{tl|PT-BR EnemySkillDescription}}


== Usage ==
See [[:Category:Language_templates]] for more information.
{{tl|SkillTable/head}}<br>
 
{{tl|SkillTable/row|(SkillName)}}
== Examples ==
<nowiki>{{SkillTable/head}}
{{SkillTable/row|Mighty Kick}}</nowiki>
 
 
Standard usage:
 
{{SkillTable/head}}
{{SkillTable/row|Cleaving Strike}}
</table>


* Must be used with header for proper table display.


== Example ==
Usage with second parameter (this page isn't an Enemy page, all attributes return as 0, therefore values are lowered)
{{tl|SkillTable/row|Mighty Kick}}


{{SkillTable/head}}
{{SkillTable/head}}
{{SkillTable/row|Mighty Kick}}
{{SkillTable/row|Cleaving Strike|1}}
</table>


{{doc/end}}
{{doc/end}}

Revision as of 18:48, 27 February 2025

Template-info.png Documentation

Uses Skill data page as reference.

Usage

This template must be used with header for proper table display. Header has its own template:

{{SkillTable/head}}


First parameter is required to specify the skill. Skill data is stored in Skill data pages.

{{SkillTable/row|(SkillName)}}


Adding a second parameter will display a modified description, where the values are adjusted according to the Enemy's attributes (STR, AGL, PRC, VIT, WIL).

Intended for use on Enemy pages, see Skeleton Footman for example.

{{SkillTable/row|(SkillName)|1}}


Template also supports translation to other languages. Translated strings are stored in four different pages.

Ex:

See Category:Language_templates for more information.

Examples

{{SkillTable/head}}
{{SkillTable/row|Mighty Kick}}


Standard usage:

SkillBasic StatsDescription
Cleaving Strike
Cleaving Strike
Attack
Type:
Target Area, 3 Tiles
Range:
1
Energy:
10
Cooldown:
8
Modified by:
Strength,Agility,Perception
- Requires a one-handed sword
Delivers a strike to three adjacent targets with +26% Bodypart Damage and +57% Bleed Chance.

Grants +5% Counter Chance for 5 turns for each enemy hit by the strike.

The effect stacks up to 3 times.


Usage with second parameter (this page isn't an Enemy page, all attributes return as 0, therefore values are lowered)

SkillBasic StatsDescription
Cleaving Strike
Cleaving Strike
Attack
Type:
Target Area, 3 Tiles
Range:
1
Energy:
10
Cooldown:
8
Modified by:
Strength,Agility,Perception
- Requires a one-handed sword
Delivers a strike to three adjacent targets with +15% Bodypart Damage and +30% Bleed Chance.

Grants +0% Counter Chance for 5 turns for each enemy hit by the strike.

The effect stacks up to 3 times.