Template:WeaponSkillsTable: Difference between revisions

From Horizon Wiki Mirror
Content deleted Content added
imported>Aramachus
Created page with "<includeonly><onlyinclude> {{#dpl: | category=Weapon Skills | includematch=/type\s*=\s*{{{1}}}/ | include={Infobox Weapon Skill¦WeaponSkillsTable.dpl} | table=class="horizon-table center-col-2 {{{cssclasses|}}}",Name,Skill Level,Description,Modifiers,Skillchain A,Skillchain B / (C) | tablesortcol=2 }} </onlyinclude></includeonly> ==Usage== ===Examples=== {{WeaponSkillsTable|Axe}}"
 
imported>Kaimoon0
m split documentation to Template:WeaponSkillsTable/doc
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><table {{#if:{{{id|}}}|id="{{{id}}}"}} class="sortable horizon-table ffxi-table center-col-2 {{{cssclasses|}}}" style="width: auto; {{{style|}}}">
<includeonly><onlyinclude>
<tr>
{{#dpl:
<th scope="col">Name</th>
| category=Weapon Skills
<th scope="col">Requirements</th>
| includematch=/type\s*=\s*{{{1}}}/
<th scope="col" class="unsortable">Description/<wbr>Skillchain&nbsp;Properties/<wbr>Modifiers</th>
| include={Infobox Weapon Skill¦WeaponSkillsTable.dpl}
<th scope="col" class="unsortable">Horizon Changes {{changes}}</th>
| table=class="horizon-table center-col-2 {{{cssclasses|}}}",Name,Skill Level,Description,Modifiers,Skillchain A,Skillchain B / (C)
</tr>
| tablesortcol=2
{{#cargo_query:
|tables=WeaponSkills
|where=WeaponType="{{{1}}}"
|fields=_pageName=Page,Name,SkillRequired,JobsRequired,SubJobAllowed,QuestRequired,EquipmentSources,Description,CONCAT(SkillchainProperties__full)=SkillchainProperties,StrModifier,DexModifier,VitModifier,AgiModifier,IntModifier,MndModifier,ChrModifier,OtherModifier,HorizonChanges
|format=template
|template=WeaponSkillsTable/row
|named args=yes
|order by=(SkillRequired IS NULL),SkillRequired
}}
}}
</onlyinclude></includeonly>
</table></includeonly><noinclude>{{Documentation}}</noinclude>
==Usage==

===Examples===
{{WeaponSkillsTable|Axe}}

Latest revision as of 03:27, 18 September 2025

Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

Usage

Template which returns a table with all Weapon Skills for a given weapon type. Optional parameter cssclasses to add css classes and style to add html style to the table. Optional parameter id to give the html element an id in case that is needed.

See Template:WeaponSkillsTable/row for the template which formats each database result as an HTML table row.

Examples

{{WeaponSkillsTable|Axe}}
Error: Table WeaponSkills not found.
Name Requirements Description/Skillchain Properties/Modifiers Horizon Changes HorizonXI specific changes
{{WeaponSkillsTable|Axe|cssclasses=hide-col-2|id=axe-table}}
Error: Table WeaponSkills not found.
Name Requirements Description/Skillchain Properties/Modifiers Horizon Changes HorizonXI specific changes

Data source

The data displayed by this template is set by {{Infobox Weapon Skill}} templates on individual weapon skill pages. To add, remove, or change data, edit those infoboxes.