Difference between revisions of "Template:Skill test"

From Stoneshard wiki
Jump to navigation Jump to search
(add Formuladesc param and toggle to show/hide formulas)
m
Line 8: Line 8:
| }}{{#if: {{:Skill data|{{ROOTPAGENAME}}|Requirements}}|{{C|Req|{{Translate|{{:Skill data|{{ROOTPAGENAME}}|Requirements}}|Properties}}}}{{Tooltip rule}}|{{#if: {{:Skill data|{{ROOTPAGENAME}}|Type}} |{{Tooltip rule}}}}}}
| }}{{#if: {{:Skill data|{{ROOTPAGENAME}}|Requirements}}|{{C|Req|{{Translate|{{:Skill data|{{ROOTPAGENAME}}|Requirements}}|Properties}}}}{{Tooltip rule}}|{{#if: {{:Skill data|{{ROOTPAGENAME}}|Type}} |{{Tooltip rule}}}}}}
|-
|-
| <div class="mw-collapsible" id="mw-customcollapsible-description1">{{C|Gray|{{Translate|{{:Skill data|{{ROOTPAGENAME}}|Description}}|SkillDescription}}</div><!--
| <div class="mw-collapsible" id="mw-customcollapsible-description1">{{C|Gray|{{Translate|{{:Skill data|{{ROOTPAGENAME}}|Description}}|SkillDescription}}}}</div><!--
--><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-description1">{{C|Gray|{{Translate|{{:Skill data|{{ROOTPAGENAME}}|Formuladesc}}|SkillDescription}}</div> {{#if: {{:Skill data|{{ROOTPAGENAME}}|Passivevalue1}}|<br><br>{{C|Orange|{{Translate|Passive bonus|Properties}}:}}<br>{{:Skill data|{{ROOTPAGENAME}}|Passivevalue1}} {{Translate|{{:Skill data|{{ROOTPAGENAME}}|Passivebonus1}}|Properties}}{{#if: {{:Skill data|{{ROOTPAGENAME}}|Passivevalue2}} |<br>{{:Skill data|{{ROOTPAGENAME}}|Passivevalue2}} {{Translate|{{:Skill data|{{ROOTPAGENAME}}|Passivebonus2}}|Properties}}}}{{#if: {{:Skill data|{{ROOTPAGENAME}}|Passivevalue3}} |<br>{{:Skill data|{{ROOTPAGENAME}}|Passivevalue3}} {{Translate|{{:Skill data|{{ROOTPAGENAME}}|Passivebonus3}}|Properties}}}} }}}}
--><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-description1">{{C|Gray|{{Translate|{{:Skill data|{{ROOTPAGENAME}}|Formuladesc}}|SkillDescription}}}}</div> {{#if: {{:Skill data|{{ROOTPAGENAME}}|Passivevalue1}}|<br><br>{{C|Orange|{{Translate|Passive bonus|Properties}}:}}<br>{{:Skill data|{{ROOTPAGENAME}}|Passivevalue1}} {{Translate|{{:Skill data|{{ROOTPAGENAME}}|Passivebonus1}}|Properties}}{{#if: {{:Skill data|{{ROOTPAGENAME}}|Passivevalue2}} |<br>{{:Skill data|{{ROOTPAGENAME}}|Passivevalue2}} {{Translate|{{:Skill data|{{ROOTPAGENAME}}|Passivebonus2}}|Properties}}}}{{#if: {{:Skill data|{{ROOTPAGENAME}}|Passivevalue3}} |<br>{{:Skill data|{{ROOTPAGENAME}}|Passivevalue3}} {{Translate|{{:Skill data|{{ROOTPAGENAME}}|Passivebonus3}}|Properties}}}} }}}}
|-
|-
| {{Tooltip rule}}<div style="text-align:center;"><span class="mw-collapsible mw-customtoggle-description1 mw-customtoggle-description2" id="mw-customcollapsible-description2" style="background-color: #272340; border: 2px solid black; padding: 10px 15px; font-size: 16px;">Show formulas</span><!--
| {{Tooltip rule}}<div style="text-align:center;"><span class="mw-collapsible mw-customtoggle-description1 mw-customtoggle-description2" id="mw-customcollapsible-description2" style="background-color: #272340; border: 2px solid black; padding: 10px 15px; font-size: 16px;">Show formulas</span><!--

Revision as of 12:24, 21 June 2022

Template-info.png Documentation

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


Examples:

Skill test
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
Skill test
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
Skill test
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
Skill test
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
Skill test
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
Skill test
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
Skill test
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
Skill test
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

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

Skill test
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

Example of a non-existing skill:

Skill test
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