Template:WeaponSkillsTable: Difference between revisions

From Horizon Wiki Mirror
Content deleted Content added
imported>Kaimoon0
fixed WeaponType parameter (was always "Archery" oops)
imported>Kaimoon0
m doc
Line 20: Line 20:
Template which returns a table with all [[Weapon Skill]]s 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.
Template which returns a table with all [[Weapon Skill]]s 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.
See [[Template:WeaponSkillsTable/row]] for the template which formats each database result as an HTML table row.


===Examples===
===Examples===
<pre>{{WeaponSkillsTable|Axe}}</pre>
<pre>{{WeaponSkillsTable|Axe}}</pre>
{{WeaponSkillsTable|Axe}}
{{WeaponSkillsTable|Axes}}


<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|Axes|cssclasses=hide-col-2|id=axe-table}}
</noinclude>
</noinclude>

Revision as of 21:33, 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/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