Template:Weapon Skill Header: Difference between revisions
From HorizonXI Wiki
.mythicangel (talk | contribs) No edit summary |
.mythicangel (talk | contribs) No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{{Weapon Skill Header/Help|{{{1}}}}}<!-- | {{Weapon Skill Header/Help|{{{1}}}}}<!-- | ||
-->{{categorize|{{{1|}}}|[[Category: | -->{{categorize|{{{1|}}}|[[Category:Weapon Skill]]<!-- | ||
Mission Header/ExpansionSwitch returns blank if the expression is not recognized so condition for that instead of the parameter | Mission Header/ExpansionSwitch returns blank if the expression is not recognized so condition for that instead of the parameter | ||
-->{{#if:{{Mission Header/ExpansionSwitch|{{{Expansion|}}}}}|[[Category:{{Mission Header/ExpansionSwitch|{{{Expansion}}}}} | -->{{#if:{{Mission Header/ExpansionSwitch|{{{Expansion|}}}}}|[[Category:{{Mission Header/ExpansionSwitch|{{{Expansion}}}}} Weapon Skill]]|}}<!-- | ||
Categorize Location does the categorization by itself | Categorize Location does the categorization by itself | ||
-->{{#if:{{{Start Location|}}}|{{Categorize Location|location={{{Start Location}}}|category type= | -->{{#if:{{{Start Location|}}}|{{Categorize Location|location={{{Start Location}}}|category type=Weapon Skill}}}}<!-- | ||
Quest Header/Type returns blank if the expression is not recognized so condition for that instead of the parameter | Quest Header/Type returns blank if the expression is not recognized so condition for that instead of the parameter | ||
-->{{#if:{{Weapon Skill Header/Type|{{{Type|}}}}}|[[Category:{{Weapon Skill Header/Type|{{{Type}}}}} | -->{{#if:{{Weapon Skill Header/Type|{{{Type|}}}}}|[[Category:{{Weapon Skill Header/Type|{{{Type}}}}} Weapon Skill]]|}}<!-- | ||
if Custom Content is true then categorize as such | if Custom Content is true then categorize as such | ||
-->{{#if:{{{Custom Content|}}}|{{#switch:{{lc:{{{Custom Content}}}}} | -->{{#if:{{{Custom Content|}}}|{{#switch:{{lc:{{{Custom Content}}}}} | ||
| y | yes | true = [[Category:HorizonXI Custom Content/ | | y | yes | true = [[Category:HorizonXI Custom Content/Weapon Skill]][[Category:HorizonXI Custom Content]] | ||
|#default= | |#default= | ||
}}|}}<!-- | }}|}}<!-- | ||
Line 31: | Line 31: | ||
if the Weapon Skill is horizon custom then add the horizon custom icon to the name | if the Weapon Skill is horizon custom then add the horizon custom icon to the name | ||
-->}}__NOTOC__ | -->}}__NOTOC__ | ||
{| class="ffxi-table | {| class="horizon-table ffxi-table table-xs center-col-2 center-col-3" | ||
|- | |- | ||
! colspan="3" style="text-align: center;" | {{#if: {{{Weapon Skill Name|}}}|{{{Weapon Skill Name}}}|{{PAGENAME}}}}<!-- | ! colspan="3" style="text-align: center;" | {{#if: {{{Weapon Skill Name|}}}|{{{Weapon Skill Name}}}|{{PAGENAME}}}}<!-- | ||
-->{{#if:{{{Custom Content|}}}|{{#switch:{{lc:{{{Custom Content}}}}} | -->{{#if:{{{Custom Content|}}}|{{#switch:{{lc:{{{Custom Content}}}}} | ||
| y | yes | true = <nowiki> </nowiki>{{changes|HorizonXI Custom | | y | yes | true = <nowiki> </nowiki>{{changes|HorizonXI Custom Weapon Skill|link=:Category:HorizonXI Custom Content/Weapon Skill{{!}}HorizonXI Custom Weapon Skill}} | ||
|#default=}} | |#default=}} | ||
}}<!-- | }}<!-- | ||
Line 57: | Line 57: | ||
--> | --> | ||
|- | |- | ||
! Weapon Type | ! Weapon Type: | ||
| colspan="2";" | {{#if:{{{Weapon Type|}}}|<!-- | | colspan="2";" | {{#if:{{{Weapon Type|}}}|<!-- | ||
-->{{#switch: {{lc:{{{Weapon Type}}}}}<!-- | -->{{#switch: {{lc:{{{Weapon Type}}}}}<!-- | ||
Line 84: | Line 84: | ||
If one is given, false, n, no and none trigger ''None'', | If one is given, false, n, no and none trigger ''None'', | ||
else the output for XX is Level XX | else the output for XX is Level XX | ||
--> | |||
|- | |||
! Weapon Skill Type: | |||
| colspan="2" |{{#if: {{{Weapon Skill Type|}}} | {{{Weapon Skill Type}}} | Unknown }}<!-- | |||
--> | --> | ||
|- | |- | ||
Line 91: | Line 96: | ||
--> | --> | ||
|- | |- | ||
! | ! Target: | ||
| colspan="2" |{{#if: {{{ | | colspan="2";" | {{#if:{{{Target|}}}|<!-- | ||
-->{{#switch: {{lc:{{{Target}}}}}<!-- | |||
-->|m|m=Multiple<!-- | |||
-->|#default={{{Target}}}<!-- | |||
-->}}<!-- | |||
-->|Single}}<!-- | |||
If a description is given, display it. If none is given, the row vanishes. | If a description is given, display it. If none is given, the row vanishes. | ||
-->{{#if: {{{Description|}}} | | --> | ||
|- | |||
! Description: | |||
| colspan="2" |{{#if: {{{Description|}}} | {{{Description}}} | Unknown }}<!-- | |||
}} | |||
--> | --> | ||
|- | |- | ||
! | ! Sneak Attack: | ||
| {{#if:{{{ | | colspan="2";" | {{#if:{{{Sneak Attack|}}}|<!-- | ||
-->{{#switch: {{lc:{{{ | -->{{#switch: {{lc:{{{Sneak Attack}}}}}<!-- | ||
-->| | -->|yes|yes=Does stack with [[Sneak Attack]].<!-- | ||
-->|#default={{{Skill Chains}}}<!-- | |||
-->|#default={{{ | |||
-->}}<!-- | -->}}<!-- | ||
-->| | -->|Does not stack with [[Sneak Attack]].}}<!-- | ||
Equipment that this is aligned with to do extra damage or modify the damage. | |||
-->{{#if: {{{ | --> | ||
|- | |||
! Aligned with: | |||
| colspan="2" |{{#if: {{{Aligned with|}}} | {{{Aligned with}}} | None }}<!-- | |||
}}<!-- | |||
--> | |||
-->{{#if: {{{ | |- | ||
{{ | ! Command: | ||
| colspan="2" |{{#if: {{{Command|}}} | {{{Command}}} | /ws "{{PAGENAME}}" <stnpc> }}<!-- | |||
}}<!-- | |||
Line 155: | Line 145: | ||
--> | --> | ||
|- | |- | ||
! colspan=" | ! colspan="3" style="text-align: center;" | Properties | ||
|- | |- | ||
! Skill Chains | ! Skill Chains: | ||
| {{#if:{{{Skill Chains|}}}|<!-- | | colspan="2" |{{#if:{{{Skill Chains|}}}|<!-- | ||
-->{{#switch: {{lc:{{{Skill Chains}}}}}<!-- | -->{{#switch: {{lc:{{{Skill Chains}}}}}<!-- | ||
-->|tr|tr=[[Transfixion]]<!-- | -->|tr|tr=[[Transfixion]]<!-- | ||
Line 180: | Line 170: | ||
|- | |- | ||
! Modifiers: | ! Modifiers: | ||
| {{#if: {{{Modifiers|}}} | {{{Modifiers}}} | None }} | | colspan="2" |{{#if: {{{Modifiers|}}} | {{{Modifiers}}} | None }}<!-- | ||
--> | |||
|- | |||
! colspan="3" style="text-align: center;" | Damage Multipliers by TP: | |||
|- | |||
! 1000 TP | |||
! 2000 TP | |||
! 3000 TP | |||
|- | |||
| style="text-align: center;" width="33%" | {{#if: {{{1000TP|}}} | {{{1000TP}}} | --- }} | |||
| style="text-align: center;" width="33%" | {{#if: {{{2000TP|}}} | {{{2000TP}}} | --- }} | |||
| style="text-align: center;" width="33%" | {{#if: {{{3000TP|}}} | {{{3000TP}}} | --- }} | |||
|}<!-- | |}<!-- | ||
Line 192: | Line 195: | ||
===Code=== | ===Code=== | ||
<pre>{{ | <pre>{{Weapon Skill Header | ||
| | |Weapon Skill Name=Brainshaker | ||
| | |Weapon Type=cl | ||
|Weapon Skill Type=Physical | |||
|Level=70 | |||
|Target= | |||
|Description=[[Stun|Stuns]] enemy. Duration of [[stun]] varies with [[TP]]. | |||
|Sneak Attack=Yes | |||
|Aligned with=Aqua Equipment ([[Aqua Gorget]]) | |||
| Type = | |Command= | ||
| Level = | |Skill Chains=re | ||
| | |Modifiers=[[STR]]: 30% | ||
| | |1000TP=1.0 | ||
|2000TP=1.0 | |||
|3000TP=1.0 | |||
| Skill Chains = | |||
| Modifiers = [[STR]]: 30% | |||
}}</pre> | }}</pre> | ||
Line 218: | Line 219: | ||
|Weapon Skill Type=Physical | |Weapon Skill Type=Physical | ||
|Level=70 | |Level=70 | ||
| | |Target= | ||
| | |Description=[[Stun|Stuns]] enemy. Duration of [[stun]] varies with [[TP]]. | ||
|Sneak Attack=Yes | |||
|Aligned with=Aqua Equipment ([[Aqua Gorget]]) | |||
| | |Command= | ||
|Skill Chains= | |Skill Chains=re | ||
|Modifiers=[[STR]]: 30% | |Modifiers=[[STR]]: 30% | ||
|1000TP=1.0 | |||
|2000TP=1.0 | |||
|3000TP=1.0 | |||
}} | }} | ||
===Documentation=== | ===Documentation=== | ||
{{Template: | {{Template:Weapon Skill Header/Documentation}} |
Latest revision as of 11:41, 17 October 2024
Usage
This is a work in-progress
Code
{{Weapon Skill Header |Weapon Skill Name=Brainshaker |Weapon Type=cl |Weapon Skill Type=Physical |Level=70 |Target= |Description=[[Stun|Stuns]] enemy. Duration of [[stun]] varies with [[TP]]. |Sneak Attack=Yes |Aligned with=Aqua Equipment ([[Aqua Gorget]]) |Command= |Skill Chains=re |Modifiers=[[STR]]: 30% |1000TP=1.0 |2000TP=1.0 |3000TP=1.0 }}
Example
Template:Weapon Skill Header/Help
Brainshaker | ||
---|---|---|
Weapon Type: | Club | |
Weapon Skill Type: | Physical | |
Skill Level: | 70 | |
Target: | Single | |
Description: | Stuns enemy. Duration of stun varies with TP. | |
Sneak Attack: | Does stack with Sneak Attack. | |
Aligned with: | Aqua Equipment (Aqua Gorget) | |
Command: | /ws "Weapon Skill Header" <stnpc> | |
Properties | ||
Skill Chains: | Reverberation | |
Modifiers: | STR: 30% | |
Damage Multipliers by TP: | ||
1000 TP | 2000 TP | 3000 TP |
1.0 | 1.0 | 1.0 |