Template:WeaponSkillsTable/row: Difference between revisions

From HorizonXI Wiki
m (Kaimoon0 moved page Template:WeaponSkillsTable.dpl to Template:WeaponSkillsTable/row: dpl to cargo migration)
(dpl to cargo migration)
Line 1: Line 1:
<includeonly><onlyinclude><!--
<includeonly>
-->[[%PAGE%|%TITLE%]]
<tr>
| {{#if:{{{skill level|}}}|<div>{{{skill level}}} skill level</div>}}{{#if:{{{quest|}}}|<div>Quest: [[{{{quest}}}]]</div>}}{{#if:{{{main or sub jobs|{{{main jobs|}}}}}}|<div>{{#if:{{{main or sub jobs|}}}|Main or sub|Main}} job: {{{main or sub jobs|{{{main jobs|}}}}}}</div>}}{{#if:{{{equipment|}}}|<div>Equip: {{{equipment}}}</div>}}
<td>[[{{{Page}}}|{{{Name}}}]]</td>
| style="width: 31ch;" | <div>{{{description|}}}</div><div class="flex-container" style="justify-content: center; gap: 1ch; margin-top: 0.5em;"><div style="flex: 1.5 1 18ch;">{{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)|}}</div><div style="flex: 1 1 12ch;"><!--
<td>{{#if:{{{SkillRequired|}}}|<div>{{{SkillRequired}}} skill level</div>}}{{#if:{{{QuestRequired|}}}|<div>Quest: [[{{{QuestRequired}}}]]</div>}}{{#if:{{{JobsRequired|}}}|<div>{{#ifeq:{{{SubJobAllowed|}}}|Yes|Main or sub|Main}} job: {{{JobsRequired}}}</div>}}{{#if:{{{EquipmentSources|}}}|<div>Equip: {{{EquipmentSources}}}</div>}}</td>
-->{{#if: {{{str modifier|}}}|<div>[[STR]]: {{{str modifier}}}</div>}}<!--
<td style="width: 31ch;"><div>{{{Description|}}}</div><div class="flex-container" style="justify-content: center; gap: 1ch; margin-top: 0.5em;"><div style="flex: 1.5 1 18ch;">{{Property|{{#explode:{{{SkillchainProperties|}}}|/|0}}|icon}}&nbsp;{{#if:{{#explode:{{{SkillchainProperties|}}}|/|1}}|(A) <br>{{Property|{{#explode:{{{SkillchainProperties|}}}|/|1}}|icon}}&nbsp;(B)|}}{{#if:{{#explode:{{{SkillchainProperties|}}}|/|2}}|<br>{{Property|{{#explode:{{{SkillchainProperties|}}}|/|2}}|icon}}&nbsp;(C)|}}</div><div style="flex: 1 1 12ch;"><!--
-->{{#if: {{{dex modifier|}}}|<div>[[DEX]]: {{{dex modifier}}}</div>}}<!--
-->{{#if: {{{StrModifier|}}}|<div>[[STR]]: {{{StrModifier}}}</div>}}<!--
-->{{#if: {{{vit modifier|}}}|<div>[[VIT]]: {{{vit modifier}}}</div>}}<!--
-->{{#if: {{{DexModifier|}}}|<div>[[DEX]]: {{{DexModifier}}}</div>}}<!--
-->{{#if: {{{agi modifier|}}}|<div>[[AGI]]: {{{agi modifier}}}</div>}}<!--
-->{{#if: {{{VitModifier|}}}|<div>[[VIT]]: {{{VitModifier}}}</div>}}<!--
-->{{#if: {{{int modifier|}}}|<div>[[INT]]: {{{int modifier}}}</div>}}<!--
-->{{#if: {{{AgiModifier|}}}|<div>[[AGI]]: {{{AgiModifier}}}</div>}}<!--
-->{{#if: {{{mnd modifier|}}}|<div>[[MND]]: {{{mnd modifier}}}</div>}}<!--
-->{{#if: {{{IntModifier|}}}|<div>[[INT]]: {{{IntModifier}}}</div>}}<!--
-->{{#if: {{{chr modifier|}}}|<div>[[CHR]]: {{{chr modifier}}}</div>}}<!--
-->{{#if: {{{MndModifier|}}}|<div>[[MND]]: {{{MndModifier}}}</div>}}<!--
-->{{#if: {{{other modifier|}}}|<div>{{{other modifier}}}</div>}}</div></div>
-->{{#if: {{{ChrModifier|}}}|<div>[[CHR]]: {{{ChrModifier}}}</div>}}<!--
|
-->{{#if: {{{OtherModifier|}}}|<div>{{{OtherModifier}}}</div>}}</div></div></td>
{{{horizon changes|''None''}}}</onlyinclude></includeonly>
<td>
{{{HorizonChanges|''None''}}}</td>
</tr>
</includeonly><noinclude>
==Usage==
==Usage==


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


===Output of the Main Template===
===Output of the Main Template===


{{WeaponSkillsTable|Club}}
{{WeaponSkillsTable|Club}}
</noinclude>

Revision as of 17:32, 6 September 2025

Usage

Formatting template for Template:WeaponSkillsTable which generates the rows of the table based on data from Template:Infobox Weapon Skill.

Output of the Main Template

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