Template:WeaponSkillsTable: Difference between revisions
From HorizonXI Wiki
(removed default table size class so it can be set when the template is used based on the number of columns included) |
(added option to give html id to tables e.g. for collapsibles) |
||
Line 4: | Line 4: | ||
| includematch=/type\s*=\s*{{{1}}}/ | | includematch=/type\s*=\s*{{{1}}}/ | ||
| include={Infobox Weapon Skill¦WeaponSkillsTable.dpl},##Horizon Changes.* | | include={Infobox Weapon Skill¦WeaponSkillsTable.dpl},##Horizon Changes.* | ||
| table=class="horizon-table ffxi-table center-col-2 {{{cssclasses|}}}",Name,Skill Level,Description,Modifiers,Skillchain Properties,Horizon Changes {{changes}} | | table={{#if:{{{id|}}}|id="{{{id}}}"|}} class="horizon-table ffxi-table center-col-2 {{{cssclasses|}}}",Name,Skill Level,Description,Modifiers,Skillchain Properties,Horizon Changes {{changes}} | ||
| tablesortcol=2 | | tablesortcol=2 | ||
}} | }} | ||
Line 10: | Line 10: | ||
==Usage== | ==Usage== | ||
Template which returns a table with all [[Weapon Skill]]s for a given weapon type. Optional parameter ''cssclasses'' to add css classes to the table for styling. | Template which returns a table with all [[Weapon Skill]]s for a given weapon type. Optional parameter ''cssclasses'' to add css classes to the table for styling. Optional parameter ''id'' to give the html element an id in case that is needed. | ||
see [[:Template:WeaponSkillsTable.dpl]] for the phantom template responsible for generating the table. | see [[:Template:WeaponSkillsTable.dpl]] for the phantom template responsible for generating the table. | ||
Line 18: | Line 18: | ||
{{WeaponSkillsTable|Axe}} | {{WeaponSkillsTable|Axe}} | ||
<pre>{{WeaponSkillsTable|Axe|cssclasses=hide-col-2 hide-col-4}}</pre> | <pre>{{WeaponSkillsTable|Axe|cssclasses=hide-col-2 hide-col-4|id=axe-table}}</pre> | ||
{{WeaponSkillsTable|Axe|cssclasses=hide-col-2 hide-col-4}} | {{WeaponSkillsTable|Axe|cssclasses=hide-col-2 hide-col-4|id=axe-table}} |
Revision as of 18:14, 30 November 2023
Usage
Template which returns a table with all Weapon Skills for a given weapon type. Optional parameter cssclasses to add css classes to the table for styling. Optional parameter id to give the html element an id in case that is needed.
see Template:WeaponSkillsTable.dpl for the phantom template responsible for generating the table.
Examples
{{WeaponSkillsTable|Axe}}
Name | Skill Level | Description | Modifiers | Skillchain Properties | Horizon Changes | |
---|---|---|---|---|---|---|
Avalanche Axe | Avalanche Axe | 100 | Delivers a single-hit attack. Damage varies with TP. | STR: 30% | Induration |
|
Calamity | Calamity | 200 | Delivers a single-hit attack. Damage varies with TP. Warriors and Beastmasters only. |
STR: 32% ; VIT: 32% | Scission (A) Impaction (B) |
None |
Decimation | Decimation (obtained via Quest) |
240 | Delivers a three-hit attack that ignores defense. Amount ignored based on TP. | STR: 50% | Fusion (A) Detonation (B) |
|
Gale Axe | Gale Axe | 70 | Applies Weight to target. Duration of effect varies with TP. | STR:30% | Detonation | |
Mistral Axe | Mistral Axe | 225 | Delivers a single-hit ranged attack at a maximum distance of 15.7'. Damage varies with TP. Warriors and Beastmasters only. |
STR: 50% | Fusion |
None |
Onslaught | Onslaught | N/A | Delivers a five-hit attack that lowers target's accuracy. Additional effect: temporarily increases Attack. | STR: 80% | Darkness (A) Gravitation (B) |
|
Raging Axe | Raging Axe | 5 | Delivers a two-hit attack. Damage varies with TP. | STR: 30% | Detonation (A) Impaction (B) |
|
Rampage | Rampage | 175 | Delivers a five-hit attack. Chance of critical varies with TP. | STR: 30% | Scission |
None |
Smash Axe | Smash Axe | 40 | Stuns enemy. Duration of stun varies with TP. | STR: 30% | Induration (A) Reverberation (B) |
none |
Spinning Axe | Spinning Axe | 150 | Single-hit attack. Damage varies with TP. Warriors, Beastmasters and Dark Knights only. |
STR: 35% | Liquefaction (A) Scission (B) |
|
{{WeaponSkillsTable|Axe|cssclasses=hide-col-2 hide-col-4|id=axe-table}}