Difference between revisions of "Template:Skill test"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
<includeonly>{| width=300px; | <includeonly>{{#vardefine:Page|{{#if:{{{1|}}}|{{{1|}}}|{{ROOTPAGENAME}}}}}}{| width=300px; | ||
|{{#ifexist: File:{{ | |{{#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}} | ||
|- | |- | ||
|{{#switch: {{:Skill data|{{ | |{{#switch: {{:Skill data|{{#var:Page}}|Active}} | ||
| Active | | Active | ||
| active = <div style="float: left">{{Translate|Type|Properties}}</div><div style="float: right">{{Translate|{{:Skill data|{{ | | active = <div style="float: left">{{Translate|Type|Properties}}</div><div style="float: right">{{Translate|{{:Skill data|{{#var:Page}}|Type}}|Properties}}</div>{{Clear}}{{#if: {{:Skill data|{{#var:Page}}|Range}} | <div style="float: left">{{Translate|Range|Properties}}</div><div style="float: right">{{Translate|{{:Skill data|{{#var:Page}}|Range}}|Properties}}</div>{{Clear}} | }}{{#if: {{:Skill data|{{#var:Page}}|Energy}} | <div style="float: left">{{Translate|Energy|Properties}}</div><div style="float: right">{{:Skill data|{{#var:Page}}|Energy}}</div>{{Clear}} |}}{{#if: {{:Skill data|{{#var:Page}}|Cooldown}} | <div style="float: left">{{Translate|Cooldown|Properties}}</div><div style="float: right">{{:Skill data|{{#var:Page}}|Cooldown}}</div>{{Clear}} | }}{{#if: {{:Skill data|{{#var:Page}}|Modifiers}} | {{Translate|Modified by|Properties}}: {{Translate|{{:Skill data|{{#var:Page}}|Modifiers}}|Properties}}{{#if: {{:Skill data|{{#var:Page}}|Requirements}}|<br><br>}}|{{#if: {{:Skill data|{{#var:Page}}|Requirements}}|<br>}}}} | ||
| }}{{#if: {{:Skill data|{{ | | }}{{#if: {{:Skill data|{{#var:Page}}|Requirements}}|{{C|Req|{{Translate|{{:Skill data|{{#var:Page}}|Requirements}}|Properties}}}}{{Tooltip rule}}|{{#if: {{:Skill data|{{#var:Page}}|Type}} |{{Tooltip rule}}}}}} | ||
|- | |- | ||
| <div class="mw-collapsible" id="mw-customcollapsible-description1">{{C|Gray|{{Translate|{{:Skill data|{{ | | <div class="mw-collapsible" id="mw-customcollapsible-description1">{{C|Gray|{{Translate|{{:Skill data|{{#var:Page}}|Description}}|SkillDescription}}}}</div><!-- | ||
--><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-description1">{{C|Gray|{{Translate|{{:Skill data|{{ | --><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-description1">{{C|Gray|{{Translate|{{:Skill data|{{#var:Page}}|Formuladesc}}|SkillDescription}}}}</div> {{C|Gray|{{#if: {{:Skill data|{{#var:Page}}|Passivevalue1}}|<br><br>{{C|Orange|{{Translate|Passive bonus|Properties}}:}}<br>{{:Skill data|{{#var:Page}}|Passivevalue1}} {{Translate|{{:Skill data|{{#var:Page}}|Passivebonus1}}|Properties}}{{#if: {{:Skill data|{{#var:Page}}|Passivevalue2}} |<br>{{:Skill data|{{#var:Page}}|Passivevalue2}} {{Translate|{{:Skill data|{{#var:Page}}|Passivebonus2}}|Properties}}}}{{#if: {{:Skill data|{{#var:Page}}|Passivevalue3}} |<br>{{:Skill data|{{#var:Page}}|Passivevalue3}} {{Translate|{{:Skill data|{{#var:Page}}|Passivebonus3}}|Properties}}}} }}}} | ||
|- | |- | ||
|<br> | |<br> |
Revision as of 15:10, 27 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 Passive bonus: Geomancy skill data Geomancy skill data Geomancy skill data Geomancy skill data Geomancy skill data Geomancy skill data |
Show formulasHide formulas
|
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
|
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
|
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
|
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
|
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
|
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
|
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):
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:
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
|