Difference between revisions of "Template:Skill test"
Jump to navigation
Jump to search
old>Realpsojed (test template to update to new version) |
old>Realpsojed (add translation) |
||
Line 1: | Line 1: | ||
{| width=300px; | |||
|{{#ifexist: File:{{ROOTPAGENAME}}.png | <div style="position:relative;float:right;margin-top: -9px;">[[File:{{ROOTPAGENAME}}.png|{{{Name|{{ROOTPAGENAME}}}}}|link={{ROOTPAGENAME}}/Tooltip]]| }}</div><span style="font-size: 20px;">{{{Name|{{ROOTPAGENAME}}}}}</span> <br />{{#switch: {{{Active}}} | Active | active = {{C|Active|Active}} | Passive | passive = {{C|Passive|Passive}} | {{{Active}}} }} | |{{#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: {{{Active}}} | Active | active = {{C|Active|{{Translate|Active|Properties}}}} | Passive | passive = {{C|Passive|{{Translate|Passive|Properties}}}} | {{{Active}}} }} | ||
{{Tooltip rule}} | {{Tooltip rule}} | ||
|- | |- | ||
|{{#switch: {{{Active}}} | |{{#switch: {{{Active}}} | ||
| Active | | Active | ||
| active = <div style="float: left">Type</div><div style="float: right">{{{Type}}}</div>{{Clear}}{{#if: {{{Range|}}} | <div style="float: left">Range</div><div style="float: right">{{{Range}}}</div>{{Clear}} | }}{{#if: {{{Energy|}}} | <div style="float: left">Energy</div><div style="float: right">{{{Energy}}}</div>{{Clear}} |}}{{#if: {{{Cooldown|}}} | <div style="float: left">Cooldown</div><div style="float: right">{{{Cooldown}}}</div>{{Clear}} | }}{{#if: {{{Modifiers|}}} | Modified by: {{{Modifiers}}}{{#if: {{{Requirements|}}}|<br><br>}}|{{#if: {{{Requirements|}}}|<br>}}}} | | active = <div style="float: left">{{Translate|Type|Properties}}</div><div style="float: right">{{Translate|{{{Type}}}|Properties}}</div>{{Clear}}{{#if: {{{Range|}}} | <div style="float: left">{{Translate|Range|Properties}}</div><div style="float: right">{{Translate|{{{Range}}}|Properties}}</div>{{Clear}} | }}{{#if: {{{Energy|}}} | <div style="float: left">{{Translate|Energy|Properties}}</div><div style="float: right">{{Translate|{{{Energy}}}|Properties}}</div>{{Clear}} |}}{{#if: {{{Cooldown|}}} | <div style="float: left">{{Translate|Cooldown|Properties}}</div><div style="float: right">{{Translate|{{{Cooldown}}}|Properties}}</div>{{Clear}} | }}{{#if: {{{Modifiers|}}} | {{Translate|Modified by:|Properties}} {{Translate|{{{Modifiers}}}|Properties}}{{#if: {{{Requirements|}}}|<br><br>}}|{{#if: {{{Requirements|}}}|<br>}}}} | ||
| }}{{#if: {{{Requirements|}}}|{{C|Req|{{{Requirements}}}}}{{Tooltip rule}}|{{#if: {{{Type|}}} |{{Tooltip rule}}}}}} | | }}{{#if: {{{Requirements|}}}|{{C|Req|{{Translate|{{{Requirements}}}|Properties}}}}{{Tooltip rule}}|{{#if: {{{Type|}}} |{{Tooltip rule}}}}}} | ||
|- | |- | ||
| {{C|Gray|{{{Description}}} {{#if: {{{Passivebonus|}}}|<br><br>{{C|Orange|Passive bonus:}}<br>{{{ | | {{C|Gray|{{Translate|{{{Description}}}|SkillDescription}} {{#if: {{{Passivebonus|}}}|<br><br>{{C|Orange|{{Translate|Passive bonus:|Properties}}}}<br>{{{Passivevalue1}}} {{Translate|{{{Passivebonus1}}}|Properties}}}}}} | ||
|}</includeonly><noinclude>{{doc}} | |}</includeonly><noinclude>{{doc}} | ||
[[Category:Tooltip templates]]</noinclude> | [[Category:Tooltip templates]]</noinclude> |
Revision as of 18:25, 21 June 2021
Skill test {{{Active}}} |
{{{Description}}} |
</includeonly>
Documentation
[purge]
This is skill template used to test new changes in Skill template.
Examples:
Skill test {{{Active}}} |
{{{Description}}} |
Skill test {{{Active}}} |
{{{Description}}} |
Skill test {{{Active}}} |
{{{Description}}} |
Skill test {{{Active}}} |
{{{Description}}} |
Skill test {{{Active}}} |
{{{Description}}} |
Skill test {{{Active}}} |
{{{Description}}} |
Skill test {{{Active}}} |
{{{Description}}} |
Skill test {{{Active}}} |
{{{Description}}} |
Example of a tooltip version (doesn't show the skill image, helps with some plugin limitations):
Skill test {{{Active}}} |
{{{Description}}} |
Example of a non-existing skill:
Skill test {{{Active}}} |
{{{Description}}} |