Template:WeaponSkillsTable/row: Difference between revisions

From HorizonXI Wiki
mNo edit summary
(adding str/dex/etc modifier parameters for easier migration from dpl to cargo)
Line 3: Line 3:
|{{#switch:{{#len:{{{skill level}}}}}|1=‌‌{{{skill level}}}|2=‌{{{skill level}}}|3={{{skill level}}}|#default={{{skill level}}}}}
|{{#switch:{{#len:{{{skill level}}}}}|1=‌‌{{{skill level}}}|2=‌{{{skill level}}}|3={{{skill level}}}|#default={{{skill level}}}}}
| {{{description|}}}{{#if:{{{jobs|}}}|<br>''{{{jobs}}} only.''|}}
| {{{description|}}}{{#if:{{{jobs|}}}|<br>''{{{jobs}}} only.''|}}
| {{{modifiers}}}
| {{#if: {{{str modifier|}}}|<div>[[STR]]: {{{str modifier}}}</div>}}<!--
-->{{#if: {{{dex modifier|}}}|<div>[[DEX]]: {{{dex modifier}}}</div>}}<!--
-->{{#if: {{{vit modifier|}}}|<div>[[VIT]]: {{{vit modifier}}}</div>}}<!--
-->{{#if: {{{agi modifier|}}}|<div>[[AGI]]: {{{agi modifier}}}</div>}}<!--
-->{{#if: {{{int modifier|}}}|<div>[[INT]]: {{{int modifier}}}</div>}}<!--
-->{{#if: {{{mnd modifier|}}}|<div>[[MND]]: {{{mnd modifier}}}</div>}}<!--
-->{{#if: {{{chr modifier|}}}|<div>[[CHR]]: {{{chr modifier}}}</div>}}<!--
-->{{#if: {{{other modifier|}}}|<div>{{{other modifier}}}</div>}}<!--
-->{{#if: {{{str modifier|}}}{{{dex modifier|}}}{{{vit modifier|}}}{{{agi modifier|}}}{{{int modifier|}}}{{{mnd modifier|}}}{{{chr modifier|}}}{{{other modifier|}}}||{{{modifiers|}}}}} <!-- fallback, backwards compatibility -->
| style="min-width: 25%" | {{Property|{{{skillchain property}}}|icon}}&nbsp;{{#if:{{{skillchain property 2|}}}|(A) <br>{{Property|{{{skillchain property 2}}}|icon}}&nbsp;(B)|}}{{#if:{{{skillchain property 3|}}}|<br>{{Property|{{{skillchain property 3}}}|icon}}&nbsp;(C)|}}</onlyinclude></includeonly>
| style="min-width: 25%" | {{Property|{{{skillchain property}}}|icon}}&nbsp;{{#if:{{{skillchain property 2|}}}|(A) <br>{{Property|{{{skillchain property 2}}}|icon}}&nbsp;(B)|}}{{#if:{{{skillchain property 3|}}}|<br>{{Property|{{{skillchain property 3}}}|icon}}&nbsp;(C)|}}</onlyinclude></includeonly>
==Usage==
==Usage==

Revision as of 18:19, 3 September 2025

Usage

dpl phantom template for Template:WeaponSkillsTable which generates the rows of the table based on the input parameters of Template:Infobox Weapon Skill.

Output of the Main Template

No results
Name Requirements Description/Skillchain Properties/Modifiers Horizon Changes HorizonXI specific changes