Difference between revisions of "Template:Skill test"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(read parameters from Data page instead of skill tooltip page, add second passive bonus and value)
old>Realpsojed
(fix image link to account for translation pages)
Line 1: Line 1:
<includeonly>{| width=300px;
<includeonly>{| width=300px;
|{{#ifexist: File:{{ROOTPAGENAME}}.png | <div style="position:relative;float:right;margin-top: -9px;">[[File:{{ROOTPAGENAME}}.png|{{Translate|{{{Name|{{ROOTPAGENAME}}}}}|SkillNames}}|link={{ROOTPAGENAME}}/Tooltip]]| }}</div><span style="font-size: 20px;">{{Translate|{{{Name|{{ROOTPAGENAME}}}}}|SkillNames}}</span> <br />{{#switch: {{:Data|{{ROOTPAGENAME}}|Active}} | Active | active = {{C|Active|{{Translate|Active|Properties}}}} | Passive | passive = {{C|Passive|{{Translate|Passive|Properties}}}} | {{:Data|{{ROOTPAGENAME}}|Active}} }}
|{{#ifexist: File:{{ROOTPAGENAME}}.png | <div style="position:relative;float:right;margin-top: -9px;">[[File:{{ROOTPAGENAME}}.png|{{Translate|{{{Name|{{ROOTPAGENAME}}}}}|SkillNames}}|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}]]| }}</div><span style="font-size: 20px;">{{Translate|{{{Name|{{ROOTPAGENAME}}}}}|SkillNames}}</span> <br />{{#switch: {{:Data|{{ROOTPAGENAME}}|Active}} | Active | active = {{C|Active|{{Translate|Active|Properties}}}} | Passive | passive = {{C|Passive|{{Translate|Passive|Properties}}}} | {{:Data|{{ROOTPAGENAME}}|Active}} }}
{{Tooltip rule}}
{{Tooltip rule}}
|-
|-

Revision as of 19:11, 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