Difference between revisions of "Template:Skill test"

From Stoneshard wiki
Jump to navigation Jump to search
m
(load Reqvalue1,2,3 for skills that require materials to use (Campfire, Bedroll))
Line 9: Line 9:
<div class="mw-collapsible" id="mw-customcollapsible-description1">{{C|Gray|{{Translate|{{:Skill data|{{#var:Page}}|Description}}|SkillDescription}}}}</div>
<div class="mw-collapsible" id="mw-customcollapsible-description1">{{C|Gray|{{Translate|{{:Skill data|{{#var:Page}}|Description}}|SkillDescription}}}}</div>
{{#if: {{{1|}}}||<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}}|Hiddenvalue1}}|<br>{{C|Orange|{{Translate|Hidden bonus|Properties}}:}}<br>{{#if: {{:Skill data|{{#var:Page}}|Hiddentext1}}|{{:Skill data|{{#var:Page}}|Hiddentext1}}<br>}} {{:Skill data|{{#var:Page}}|Hiddenvalue1}} {{Translate|{{:Skill data|{{#var:Page}}|Hiddenbonus1}}|Properties}}{{#if: {{:Skill data|{{#var:Page}}|Hiddenvalue2}} |<br>{{:Skill data|{{#var:Page}}|Hiddenvalue2}} {{Translate|{{:Skill data|{{#var:Page}}|Hiddenbonus2}}|Properties}}}} }}<!--
{{#if: {{{1|}}}||<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}}|Hiddenvalue1}}|<br>{{C|Orange|{{Translate|Hidden bonus|Properties}}:}}<br>{{#if: {{:Skill data|{{#var:Page}}|Hiddentext1}}|{{:Skill data|{{#var:Page}}|Hiddentext1}}<br>}} {{:Skill data|{{#var:Page}}|Hiddenvalue1}} {{Translate|{{:Skill data|{{#var:Page}}|Hiddenbonus1}}|Properties}}{{#if: {{:Skill data|{{#var:Page}}|Hiddenvalue2}} |<br>{{:Skill data|{{#var:Page}}|Hiddenvalue2}} {{Translate|{{:Skill data|{{#var:Page}}|Hiddenbonus2}}|Properties}}}} }}<!--
-->{{#if: {{:Skill data|{{#var:Page}}|Passivevalue1}}|<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}}}} }} }}
-->{{#if: {{:Skill data|{{#var:Page}}|Reqvalue1}}|<br>{{C|Orange|{{Translate|Required materials|Properties}}:}}<br>{{Translate|{{:Skill data|{{#var:Page}}|Reqvalue1}}|Properties}}{{#if: {{:Skill data|{{#var:Page}}|Reqvalue2}} |<br>{{Translate|{{:Skill data|{{#var:Page}}|Reqvalue2}}|Properties}}}}{{#if: {{:Skill data|{{#var:Page}}|Reqvalue3}} |<br>{{Translate|{{:Skill data|{{#var:Page}}|Reqvalue3}}|Properties}}}} }} }}<!--
{{#if: {{{1|}}}||<br>
-->{{#if: {{:Skill data|{{#var:Page}}|Passivevalue1}}|<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}}}} }} }}<!--
-->{{#if: {{{1|}}}||<br>
<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><!--
<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><!--
--><span class="mw-collapsible mw-collapsed mw-customtoggle-description1 mw-customtoggle-description2" id="mw-customcollapsible-description2" style="background-color: #272340; border: 2px solid black; padding: 10px 15px; font-size: 16px;">Hide formulas</span></div>}}
--><span class="mw-collapsible mw-collapsed mw-customtoggle-description1 mw-customtoggle-description2" id="mw-customcollapsible-description2" style="background-color: #272340; border: 2px solid black; padding: 10px 15px; font-size: 16px;">Hide formulas</span></div>}}

Revision as of 14:24, 28 July 2022

Template-info.png Documentation

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


Examples:

Stone Armor
Geomancy skill data
Geomancy skill data
Geomancy skill data


Hidden bonus:
Geomancy skill data
Geomancy skill data Geomancy skill data
Geomancy skill data Geomancy skill data
Required materials:
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


Hidden bonus:
Sword skill data
Sword skill data Sword skill data
Sword skill data Sword skill data
Required materials:
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


Hidden bonus:
Warfare skill data
Warfare skill data Warfare skill data
Warfare skill data Warfare skill data
Required materials:
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


Hidden bonus:
Mace skill data
Mace skill data Mace skill data
Mace skill data Mace skill data
Required materials:
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


Hidden bonus:
Survival skill data
Survival skill data Survival skill data
Survival skill data Survival skill data
Required materials:
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


Hidden bonus:
Sword skill data
Sword skill data Sword skill data
Sword skill data Sword skill data
Required materials:
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


Hidden bonus:
Survival skill data
Survival skill data Survival skill data
Survival skill data Survival skill data
Required materials:
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


Hidden bonus:
Basic skill data
Basic skill data Basic skill data
Basic skill data Basic skill data
Required materials:
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


Hidden bonus:
Survival skill data
Survival skill data Survival skill data
Survival skill data Survival skill data
Required materials:
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.


Hidden bonus:
Skill data missing.
Skill data missing. Skill data missing.
Skill data missing. Skill data missing.
Required materials:
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. }}