Template:Job trait unlock: Difference between revisions

From HorizonXI Wiki
m (space)
m (rv roman numerals easier to edit probably)
Line 2: Line 2:
<tr>
<tr>
<td data-sort-value="{{{level}}}">{{{level}}}{{#if:{{{level note|}}}|&#32;{{{level note}}}}}</td>
<td data-sort-value="{{{level}}}">{{{level}}}{{#if:{{{level note|}}}|&#32;{{{level note}}}}}</td>
<td data-sort-value="{{{trait}}} {{{tier|1}}}">[[{{{trait}}}|{{{trait}}}{{#switch:{{{tier}}}|2=&nbsp;II|3=&nbsp;III|4=&nbsp;IV|5=&nbsp;V|6=&nbsp;VI}}]]{{#if:{{{trait note|}}}|&#32;{{{trait note}}}}}</td>
<td data-sort-value="{{{trait}}} {{{tier|I}}}">[[{{{trait}}}|{{{trait}}}{{#if:{{{tier|}}}|&nbsp;{{{tier}}}}}]]{{#if:{{{trait note|}}}|&#32;{{{trait note}}}}}</td>
</tr>
</tr>
{{#ifeq:{{NAMESPACENUMBER}}|0|
{{#ifeq:{{NAMESPACENUMBER}}|0|
Line 17: Line 17:
| Level = Integer
| Level = Integer
| Trait = Page
| Trait = Page
| Tier = Integer
| Tier = String (allowed values = II, III, IV, V, VI)
}}
}}
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Revision as of 04:51, 18 September 2025

This template defines the table "JobTraitUnlocks". View table.

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.

Displays a table row showing a level and a trait. Also populates the JobTraitUnlocks table, to sync data between job pages and trait pages.

Usage

{| class="horizon-table jobs-table sortable" style="text-align: center;"
|-
! scope="col" style="width: 25%;" |Level
! scope="col" style="width: 75%;" |Trait
{{job trait unlock |level=15 |trait=Resist Virus }}
{{job trait unlock |level=35 |trait=Resist Virus |tier=II }}
|}
Level Trait
15 Resist Virus
35 Resist Virus II

External Links