Difference between revisions of "Template:SkillTable/row"

From Stoneshard wiki
Jump to navigation Jump to search
Line 17: Line 17:
-->{{#if:{{#var:skill table passivebonus}}|<td>{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Passivevalue1}}|<br>{{C|Orange|{{Translate|Passive bonus|Properties}}:}}<br>{{:{{#var:Skilltree}}|{{{1}}}|Passivevalue1}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Passivebonus1}}|Properties}}{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Passivevalue2}} |<br>{{:{{#var:Skilltree}}|{{{1}}}|Passivevalue2}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Passivebonus2}}|Properties}}}}{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Passivevalue3}} |<br>{{:{{#var:Skilltree}}|{{{1}}}|Passivevalue3}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Passivebonus3}}|Properties}}}} }}</td>}}<!--
-->{{#if:{{#var:skill table passivebonus}}|<td>{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Passivevalue1}}|<br>{{C|Orange|{{Translate|Passive bonus|Properties}}:}}<br>{{:{{#var:Skilltree}}|{{{1}}}|Passivevalue1}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Passivebonus1}}|Properties}}{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Passivevalue2}} |<br>{{:{{#var:Skilltree}}|{{{1}}}|Passivevalue2}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Passivebonus2}}|Properties}}}}{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Passivevalue3}} |<br>{{:{{#var:Skilltree}}|{{{1}}}|Passivevalue3}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Passivebonus3}}|Properties}}}} }}</td>}}<!--
-->{{#if:{{#var:skill table hiddenbonus}}|<td>{{C|Gray|{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue1}}|<br>{{C|Orange|{{Translate|Hidden bonus|Properties}}:}}<br>{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Hiddentext1}}|{{:{{#var:Skilltree}}|{{{1}}}|Hiddentext1}}<br>}} {{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue1}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Hiddenbonus1}}|Properties}}{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue2}} |<br>{{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue2}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Hiddenbonus2}}|Properties}}}} }} }}</td>}}<!--
-->{{#if:{{#var:skill table hiddenbonus}}|<td>{{C|Gray|{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue1}}|<br>{{C|Orange|{{Translate|Hidden bonus|Properties}}:}}<br>{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Hiddentext1}}|{{:{{#var:Skilltree}}|{{{1}}}|Hiddentext1}}<br>}} {{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue1}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Hiddenbonus1}}|Properties}}{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue2}} |<br>{{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue2}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Hiddenbonus2}}|Properties}}}} }} }}</td>}}<!--
-->{{#if:{{#var:skill table formula}}|<td>{{C|Gray|{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Hiddenvalue1}}|<br>{{C|Orange|{{Translate|Formula|Properties}}:}}<br>{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Formula1}}|{{:{{#var:Skilltree}}|{{{1}}}|Formula1}}<br>}} {{:{{#var:Skilltree}}|{{{1}}}|Formula1}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Formula1}}|Properties}}{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Formula2}} |<br>{{:{{#var:Skilltree}}|{{{1}}}|Formula2}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Formula2}}|Properties}}}} }} }}</td>}}<!--
-->{{#if:{{#var:skill table formula}}|<td>{{C|Gray|{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Formula1}}|<br>{{C|Orange|{{Translate|Formula|Properties}}:}}<br>{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Formula1}}|{{:{{#var:Skilltree}}|{{{1}}}|Formula1}}<br>}} {{:{{#var:Skilltree}}|{{{1}}}|Formula1}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Formula1}}|Properties}}{{#if: {{:{{#var:Skilltree}}|{{{1}}}|Formula2}} |<br>{{:{{#var:Skilltree}}|{{{1}}}|Formula2}} {{Translate|{{:{{#var:Skilltree}}|{{{1}}}|Formula2}}|Properties}}}} }} }}</td>}}<!--
-->{{#if:{{#var:skill table notes}}|<td>{{:{{#var:Skilltree}}|{{{1}}}|Notes}}</td>}}<!--
-->{{#if:{{#var:skill table notes}}|<td>{{:{{#var:Skilltree}}|{{{1}}}|Notes}}</td>}}<!--
--></tr></includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
--></tr></includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>

Revision as of 11:51, 4 March 2023

Template-info.png Documentation

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
Type:
Target Area, 3 Tiles
Range:
1
Energy:
10
Cooldown:
8
Modified by:
Strength,Agility,Perception
- Requires one-handed sword
Delivers a strike to three adjacent targets with +25% Bodypart Damage and +50% 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
Type:
Target Area, 3 Tiles
Range:
1
Energy:
10
Cooldown:
8
Modified by:
Strength,Agility,Perception
- Requires one-handed sword
Delivers a strike to three adjacent targets with +25% Bodypart Damage and +50% Bleed Chance.

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

The effect stacks up to 3 times.