Difference between revisions of "Template:Skill test"

From Stoneshard wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#vardefine:Page|{{#if:{{{1|}}}|{{{1|}}}|{{ROOTPAGENAME}}}}}}{| width=300px;
<includeonly><--
|{{#ifexist: File:{{#var:Page}}.png | <div style="position:relative;float:right;margin-top: -9px;">[[File:{{#var:Page}}.png|{{Translate|{{{Name|{{#var:Page}}}}}|SkillNames}}|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}]]| }}</div><span style="font-size: 20px;">{{Translate|{{{Name|{{#var:Page}}}}}|SkillNames}}</span> <br />{{#switch: {{:Skill data|{{#var:Page}}|Active}} | Active | active = {{C|Active|{{Translate|Active|Properties}}}} | Passive | passive = {{C|Passive|{{Translate|Passive|Properties}}}} | {{:Skill data|{{#var:Page}}|Active}} }}
-->{{#vardefine:Page|{{#if:{{{1|}}}|{{{1|}}}|{{ROOTPAGENAME}}}}}}<--
-->{{#vardefine:SubPage|{{#if:{{{SUBPAGENAME|}}}|{{{SUBPAGENAME|}}}|{{#var:Page}}}}}}<--
-->{{#vardefine:BasePage|{{#if:{{{BASEPAGENAME|}}}|{{{BASEPAGENAME|}}}|{{#var:Page}}}}}}<--
-->{| width=300px;
|{{#ifexist: File:{{#var:Page}}.png | <div style="position:relative;float:right;margin-top: -9px;">[[File:{{#var:Page}}.png|{{Translate|{{{Name|{{#var:Page}}}}}|SkillNames}}|link={{#ifeq:{{#var:SubPage}}|Tooltip|{{#var:BasePage}}|{{#var:Page}}/Tooltip}}]]| }}</div><span style="font-size: 20px;">{{Translate|{{{Name|{{#var:Page}}}}}|SkillNames}}</span> <br />{{#switch: {{:Skill data|{{#var:Page}}|Active}} | Active | active = {{C|Active|{{Translate|Active|Properties}}}} | Passive | passive = {{C|Passive|{{Translate|Passive|Properties}}}} | {{:Skill data|{{#var:Page}}|Active}} }}
{{Tooltip rule}}
{{Tooltip rule}}
|-
|-

Revision as of 15:22, 27 July 2022

Template-info.png Documentation

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


Examples:

<-- --><-- --><-- --><-- -->{| width=300px;

|
Stone Armor
Stone Armor
Geomancy skill data

|-

|Geomancy skill data

|-

|
Geomancy skill data
Geomancy skill data


Passive bonus:
Geomancy skill data Geomancy skill data
Geomancy skill data Geomancy skill data
Geomancy skill data Geomancy skill data

|- |

Show formulasHide formulas

|}

<-- --><-- --><-- --><-- -->{| width=300px;

|
Cleaving Strike
Cleaving Strike
Sword skill data

|-

|Sword skill data

|-

|
Sword skill data
Sword skill data


Passive bonus:
Sword skill data Sword skill data
Sword skill data Sword skill data
Sword skill data Sword skill data

|- |

Show formulasHide formulas

|}

<-- --><-- --><-- --><-- -->{| width=300px;

|
Offensive Tactic
Offensive Tactic
Warfare skill data

|-

|Warfare skill data

|-

|
Warfare skill data
Warfare skill data


Passive bonus:
Warfare skill data Warfare skill data
Warfare skill data Warfare skill data
Warfare skill data Warfare skill data

|- |

Show formulasHide formulas

|}

<-- --><-- --><-- --><-- -->{| width=300px;

|
Hammer and Anvil
Hammer and Anvil
Mace skill data

|-

|Mace skill data

|-

|
Mace skill data
Mace skill data


Passive bonus:
Mace skill data Mace skill data
Mace skill data Mace skill data
Mace skill data Mace skill data

|- |

Show formulasHide formulas

|}

<-- --><-- --><-- --><-- -->{| width=300px;

|
Campfire
Campfire
Survival skill data

|-

|Survival skill data

|-

|
Survival skill data
Survival skill data


Passive bonus:
Survival skill data Survival skill data
Survival skill data Survival skill data
Survival skill data Survival skill data

|- |

Show formulasHide formulas

|}

<-- --><-- --><-- --><-- -->{| width=300px;

|
Honed Edge
Honed Edge
Sword skill data

|-

|Sword skill data

|-

|
Sword skill data
Sword skill data


Passive bonus:
Sword skill data Sword skill data
Sword skill data Sword skill data
Sword skill data Sword skill data

|- |

Show formulasHide formulas

|}

<-- --><-- --><-- --><-- -->{| width=300px;

|
Skinning
Skinning
Survival skill data

|-

|Survival skill data

|-

|
Survival skill data
Survival skill data


Passive bonus:
Survival skill data Survival skill data
Survival skill data Survival skill data
Survival skill data Survival skill data

|- |

Show formulasHide formulas

|}

<-- --><-- --><-- --><-- -->{| width=300px;

|
Element of Surprise
Element of Surprise
Basic skill data

|-

|Basic skill data

|-

|
Basic skill data
Basic skill data


Passive bonus:
Basic skill data Basic skill data
Basic skill data Basic skill data
Basic skill data Basic skill data

|- |

Show formulasHide formulas

|}

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

<-- --><-- --><-- --><-- -->{| width=300px;

|
Campfire
Campfire
Survival skill data

|-

|Survival skill data

|-

|
Survival skill data
Survival skill data


Passive bonus:
Survival skill data Survival skill data
Survival skill data Survival skill data
Survival skill data Survival skill data

|- |

Show formulasHide formulas

|}

Example of a non-existing skill:

<-- --><-- --><-- --><-- -->{| width=300px;

|
I don't exist
Skill data missing.

|-

|Skill data missing.

|-

|
Skill data missing.
Skill data missing.


Passive bonus:
Skill data missing. Skill data missing.
Skill data missing. Skill data missing.
Skill data missing. Skill data missing.

|- |

Show formulasHide formulas

|}