Template:WeaponSkillsTable: Difference between revisions
From Horizon Wiki Mirror
Content deleted Content added
imported>Kaimoon0 m table auto width |
imported>Kaimoon0 dpl to cargo migration |
||
| Line 1: | Line 1: | ||
| ⚫ | |||
<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 Properties/<wbr>Modifiers</th> |
|||
| include={Infobox Weapon Skill¦WeaponSkillsTable.dpl} |
|||
<th scope="col" class="unsortable">Horizon Changes {{changes}}</th> |
|||
| ⚫ | |||
</tr> |
|||
| tablesortcol=2 |
|||
{{#cargo_query: |
|||
|tables=WeaponSkills |
|||
|where=WeaponType="Archery" |
|||
|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 |
|||
}} |
}} |
||
</ |
</table></includeonly><noinclude> |
||
==Usage== |
==Usage== |
||
| Line 20: | Line 28: | ||
<pre>{{WeaponSkillsTable|Axe|cssclasses=hide-col-2|id=axe-table}}</pre> |
<pre>{{WeaponSkillsTable|Axe|cssclasses=hide-col-2|id=axe-table}}</pre> |
||
{{WeaponSkillsTable|Axe|cssclasses=hide-col-2|id=axe-table}} |
{{WeaponSkillsTable|Axe|cssclasses=hide-col-2|id=axe-table}} |
||
</noinclude> |
|||
Revision as of 17:29, 6 September 2025
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.dpl for the phantom template responsible for generating the table.
Examples
{{WeaponSkillsTable|Axe}}
Error: Table WeaponSkills not found.
| Name | Requirements | Description/ |
Horizon Changes ![]() |
|---|
{{WeaponSkillsTable|Axe|cssclasses=hide-col-2|id=axe-table}}
Error: Table WeaponSkills not found.
