Template:Job trait unlock: Difference between revisions
From HorizonXI Wiki
(tier to integer) |
m (cargo: data type) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<tr> | <tr> | ||
<td>{{{level}}}{{{level note|}}}</td> | <td data-sort-value="{{{level}}}">{{{level}}}{{#if:{{{level note|}}}| {{{level note}}}}}</td> | ||
<td>[[{{{trait}}}|{{{trait}}}{{# | <td data-sort-value="{{{trait}}} {{{tier|I}}}">[[{{{trait}}}|{{{trait}}}{{#if:{{{tier|}}}| {{{tier}}}}}]]{{#if:{{{trait note|}}}| {{{trait note}}}}}</td> | ||
</tr> | </tr> | ||
{{#ifeq:{{NAMESPACENUMBER}}|0| | {{#ifeq:{{NAMESPACENUMBER}}|0| | ||
| Line 10: | Line 10: | ||
| Level = {{{level|}}} | | Level = {{{level|}}} | ||
| Trait = {{{trait|}}} | | Trait = {{{trait|}}} | ||
| Tier = {{{tier| | | Tier = {{#switch:{{{tier}}}|II=2|III=3|IV=4|V=5|VI=6}} | ||
}} | }} | ||
}}</includeonly><noinclude>{{#cargo_declare: | }}</includeonly><noinclude>{{#cargo_declare: | ||
_table = JobTraitUnlocks | _table = JobTraitUnlocks | ||
| Job = | | Job = Page | ||
| Level = Integer | | Level = Integer | ||
| Trait = Page | | Trait = Page | ||
Latest revision as of 03:35, 19 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 |
