Difference between revisions of "Template:SkillTable/row"

From Stoneshard wiki
Jump to navigation Jump to search
(create template)
 
Line 2: Line 2:
|
|
-->{{#if:{{#var:skill table passivebonus}}|
-->{{#if:{{#var:skill table passivebonus}}|
| {{:{{{1}}}|Passivebonus}}
{{!}} {{:{{{1}}}|Passivebonus}}
}}<!--
}}<!--
-->{{#if:{{#var:skill table hiddenbonus}}|
-->{{#if:{{#var:skill table hiddenbonus}}|
| {{:{{{1}}}|Hiddenbonus}}
{{!}} {{:{{{1}}}|Hiddenbonus}}
}}<!--
}}<!--
-->{{#if:{{#var:skill table notes}}|
-->{{#if:{{#var:skill table notes}}|
| {{:{{{1}}}|Notes}}
{{!}} {{:{{{1}}}|Notes}}
|-</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
|-</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>

Revision as of 00:26, 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:

| aling="center" | Cleaving StrikeCleaving Strike | -->{{#if:|

|
SkillBasic StatsDescription

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

Template:Notes


|-


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

| aling="center" | Cleaving StrikeCleaving Strike | -->{{#if:|

|
SkillBasic StatsDescription


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

Template:Notes


|-