Difference between revisions of "Template:Skill test"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(add translation for range since the value can be "Vision")
old>Realpsojed
(wrong one :D)
Line 5: Line 5:
|{{#switch: {{:Data|{{ROOTPAGENAME}}|Active}}
|{{#switch: {{:Data|{{ROOTPAGENAME}}|Active}}
| Active
| Active
| active = <div style="float: left">{{Translate|Type|Properties}}</div><div style="float: right">{{Translate|{{:Data|{{ROOTPAGENAME}}|Type}}|Properties}}</div>{{Clear}}{{#if: {{:Data|{{ROOTPAGENAME}}|Range}} | <div style="float: left">{{Translate|{{:Data|{{ROOTPAGENAME}}|Range}}|Properties}}</div><div style="float: right">{{:Data|{{ROOTPAGENAME}}|Range}}</div>{{Clear}} | }}{{#if: {{:Data|{{ROOTPAGENAME}}|Energy}} | <div style="float: left">{{Translate|Energy|Properties}}</div><div style="float: right">{{:Data|{{ROOTPAGENAME}}|Energy}}</div>{{Clear}} |}}{{#if: {{:Data|{{ROOTPAGENAME}}|Cooldown}} | <div style="float: left">{{Translate|Cooldown|Properties}}</div><div style="float: right">{{:Data|{{ROOTPAGENAME}}|Cooldown}}</div>{{Clear}} | }}{{#if: {{:Data|{{ROOTPAGENAME}}|Modifiers}} | {{Translate|Modified by|Properties}}: {{Translate|{{:Data|{{ROOTPAGENAME}}|Modifiers}}|Properties}}{{#if: {{:Data|{{ROOTPAGENAME}}|Requirements}}|<br><br>}}|{{#if: {{:Data|{{ROOTPAGENAME}}|Requirements}}|<br>}}}}
| active = <div style="float: left">{{Translate|Type|Properties}}</div><div style="float: right">{{Translate|{{:Data|{{ROOTPAGENAME}}|Type}}|Properties}}</div>{{Clear}}{{#if: {{:Data|{{ROOTPAGENAME}}|Range}} | <div style="float: left">{{Translate|Range|Properties}}</div><div style="float: right">{{Translate|{{:Data|{{ROOTPAGENAME}}|Range}}|Properties}}</div>{{Clear}} | }}{{#if: {{:Data|{{ROOTPAGENAME}}|Energy}} | <div style="float: left">{{Translate|Energy|Properties}}</div><div style="float: right">{{:Data|{{ROOTPAGENAME}}|Energy}}</div>{{Clear}} |}}{{#if: {{:Data|{{ROOTPAGENAME}}|Cooldown}} | <div style="float: left">{{Translate|Cooldown|Properties}}</div><div style="float: right">{{:Data|{{ROOTPAGENAME}}|Cooldown}}</div>{{Clear}} | }}{{#if: {{:Data|{{ROOTPAGENAME}}|Modifiers}} | {{Translate|Modified by|Properties}}: {{Translate|{{:Data|{{ROOTPAGENAME}}|Modifiers}}|Properties}}{{#if: {{:Data|{{ROOTPAGENAME}}|Requirements}}|<br><br>}}|{{#if: {{:Data|{{ROOTPAGENAME}}|Requirements}}|<br>}}}}
| }}{{#if: {{:Data|{{ROOTPAGENAME}}|Requirements}}|{{C|Req|{{Translate|{{:Data|{{ROOTPAGENAME}}|Requirements}}|Properties}}}}{{Tooltip rule}}|{{#if: {{:Data|{{ROOTPAGENAME}}|Type}} |{{Tooltip rule}}}}}}
| }}{{#if: {{:Data|{{ROOTPAGENAME}}|Requirements}}|{{C|Req|{{Translate|{{:Data|{{ROOTPAGENAME}}|Requirements}}|Properties}}}}{{Tooltip rule}}|{{#if: {{:Data|{{ROOTPAGENAME}}|Type}} |{{Tooltip rule}}}}}}
|-
|-

Revision as of 19:15, 21 June 2021

Template-info.png Documentation

This is skill template used to test new changes in Skill template.


Examples:

Skill test

Skill test

Skill test

Skill test

Skill test

Skill test

Skill test

Skill test

Example of a tooltip version (doesn't show the skill image, helps with some plugin limitations):

Skill test

Example of a non-existing skill:

Skill test