Difference between revisions of "Template:Skill test"
Jump to navigation
Jump to search
(hide skill icon if first param exists (only show icon on skill pages)) |
(remove useless variables, revert to old code) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#vardefine:Page|{{#if:{{{1|}}}|{{{1|}}}|{{ROOTPAGENAME}}}}}}<!-- | -->{{#vardefine:Page|{{#if:{{{1|}}}|{{{1|}}}|{{ROOTPAGENAME}}}}}}<!-- | ||
-->{| width=300px; | -->{| width=300px; | ||
|{{#if: {{{1|}}}||{{#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:{{ | |{{#if: {{{1|}}}||{{#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}} }} | ||
{{Tooltip rule}} | {{Tooltip rule}} | ||
|- | |- |
Revision as of 11:40, 28 July 2022
Documentation
[purge]
This is skill template used to test new changes in Skill template.
Examples:
Stone Armor Geomancy skill data |
Geomancy skill data |
Geomancy skill data Geomancy skill data Hidden bonus: 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 |
Cleaving Strike Sword skill data |
Sword skill data |
Sword skill data Sword skill data Hidden bonus: 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 |
Offensive Tactic Warfare skill data |
Warfare skill data |
Warfare skill data Warfare skill data Hidden bonus: 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 |
Hammer and Anvil Mace skill data |
Mace skill data |
Mace skill data Mace skill data Hidden bonus: 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 |
Campfire Survival skill data |
Survival skill data |
Survival skill data Survival skill data Hidden bonus: 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 |
Honed Edge Sword skill data |
Sword skill data |
Sword skill data Sword skill data Hidden bonus: 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 |
Skinning Survival skill data |
Survival skill data |
Survival skill data Survival skill data Hidden bonus: 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 |
Element of Surprise Basic skill data |
Basic skill data |
Basic skill data Basic skill data Hidden bonus: 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 |
Example of a tooltip version (doesn't show the skill image, helps with some plugin limitations):
Campfire Survival skill data |
Survival skill data |
Survival skill data Survival skill data Hidden bonus: 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 |
Example of a non-existing skill:
I don't exist Skill data missing. |
Skill data missing. |
Skill data missing. Skill data missing. Hidden bonus: 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. |