Difference between revisions of "Template:SkillTable/row"

From Stoneshard wiki
Jump to navigation Jump to search
Tag: Manual revert
Line 1: Line 1:
<includeonly>| aling="center" | [[File:{{{1}}}.png|center|link={{{1}}}|{{{1}}}]]{{cl|{{:{{{1}}}|Active}}|{{{1}}}}}
<includeonly><tr>
| {{#if: {{:{{{1}}}|Type}} | <div style="float: left">Type</div><div style="float: right">{{:{{{1}}}|Type}}</div>{{Clear}}{{#if: {{:{{{1}}}|Range}} | <div style="float: left">Range</div><div style="float: right">{{:{{{1}}}|Range}}</div>{{Clear}} | }}{{#if: {{:{{{1}}}|Energy}} | <div style="float: left">Energy</div><div style="float: right">{{:{{{1}}}|Energy}}</div>{{Clear}} |}}{{#if: {{:{{{1}}}|Cooldown}} | <div style="float: left">Cooldown</div><div style="float: right">{{:{{{1}}}|Cooldown}}</div>{{Clear}} | }}{{#if: {{:{{{1}}}|Modifiers}} | Modified by: {{:{{{1}}}|Modifiers}}{{#if: {{:{{{1}}}|Requirements}}|<br><br>}}|{{#if: {{:{{{1}}}|Requirements}}|<br>}}}}
<td aling="center">[[File:{{{1}}}.png|center|link={{{1}}}|{{{1}}}]]{{cl|{{:{{{1}}}|Active}}|{{{1}}}}}</td>
| {{:{{{1}}}|Description}}<!--
<td>{{#if: {{:{{{1}}}|Type}} | <div style="float: left">Type</div><div style="float: right">{{:{{{1}}}|Type}}</div>{{Clear}}{{#if: {{:{{{1}}}|Range}} | <div style="float: left">Range</div><div style="float: right">{{:{{{1}}}|Range}}</div>{{Clear}} | }}{{#if: {{:{{{1}}}|Energy}} | <div style="float: left">Energy</div><div style="float: right">{{:{{{1}}}|Energy}}</div>{{Clear}} |}}{{#if: {{:{{{1}}}|Cooldown}} | <div style="float: left">Cooldown</div><div style="float: right">{{:{{{1}}}|Cooldown}}</div>{{Clear}} | }}{{#if: {{:{{{1}}}|Modifiers}} | Modified by: {{:{{{1}}}|Modifiers}}{{#if: {{:{{{1}}}|Requirements}}|<br><br>}}|{{#if: {{:{{{1}}}|Requirements}}|<br>}}}}</td>
-->{{#if:{{#var:skill table passivebonus}}|
<td>{{:{{{1}}}|Description}}</td>
{{!}} {{:{{{1}}}|Passivebonus}}
{{#if:{{#var:skill table passivebonus}}|<td>{{:{{{1}}}|Passivebonus}}</td>}}
}}<!--
{{#if:{{#var:skill table hiddenbonus}}|<td>{{:{{{1}}}|Hiddenbonus}}</td>}}
-->{{#if:{{#var:skill table hiddenbonus}}|
{{#if:{{#var:skill table notes}}|<td>{{:{{{1}}}|Notes}}</td>}}
{{!}} {{:{{{1}}}|Hiddenbonus}}
</tr></includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
}}<!--
-->{{#if:{{#var:skill table notes}}|
{{!}} {{:{{{1}}}|Notes}}
}}
|-</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>

Revision as of 22:51, 30 May 2022

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
{{#if:

This article is a stub. You can help Stoneshard wiki by expanding it.


|
Type

This article is a stub. You can help Stoneshard wiki by expanding it.


Range

This article is a stub. You can help Stoneshard wiki by expanding it.


Energy

This article is a stub. You can help Stoneshard wiki by expanding it.


Cooldown

This article is a stub. You can help Stoneshard wiki by expanding it.


Modified by:

This article is a stub. You can help Stoneshard wiki by expanding it.





This article is a stub. You can help Stoneshard wiki by expanding it.



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
{{#if:

This article is a stub. You can help Stoneshard wiki by expanding it.


|
Type

This article is a stub. You can help Stoneshard wiki by expanding it.


Range

This article is a stub. You can help Stoneshard wiki by expanding it.


Energy

This article is a stub. You can help Stoneshard wiki by expanding it.


Cooldown

This article is a stub. You can help Stoneshard wiki by expanding it.


Modified by:

This article is a stub. You can help Stoneshard wiki by expanding it.





This article is a stub. You can help Stoneshard wiki by expanding it.