Difference between revisions of "Template:Talent table"
From Tales of Maj'Eyal
(Made generic rows optional too) |
(Shrunk table by one column. Now that combat training has its own template, we should only need 4 columns to fit all the talents.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{|cellpadding="10" class="wikitable" style="color: black;" width="100%" | <includeonly><onlyinclude>{|cellpadding="10" class="wikitable" style="color: black;" width="100%" | ||
− | |style="background: #A4A4A4" colspan=" | + | |style="background: #A4A4A4" colspan="8"|'''''Class''''' |
|- | |- | ||
− | ! Type !! Name !! Mastery !! Locked !! colspan = " | + | ! Type !! Name !! Mastery !! Locked !! colspan = "4" | Talents |
{{{class_rows}}} | {{{class_rows}}} | ||
|- | |- | ||
− | {{#if: {{{generic_rows|}}} | {{!}}style="background: #A4A4A4" colspan=" | + | {{#if: {{{generic_rows|}}} | {{!}}style="background: #A4A4A4" colspan="8" {{!}} '''''Generic''''' | }} |
{{#if: {{{generic_rows|}}} | {{!}}- | }} | {{#if: {{{generic_rows|}}} | {{!}}- | }} | ||
− | {{#if: {{{generic_rows|}}} | ! Type !! Name !! Mastery !! | + | {{#if: {{{generic_rows|}}} | ! Type !! Name !! Mastery !! Locked !! colspan = "4" {{!}} Talents | }} |
{{#if: {{{generic_rows|}}} | {{!}}- | }} | {{#if: {{{generic_rows|}}} | {{!}}- | }} | ||
{{#if: {{{generic_rows|}}} | {{{generic_rows}}} | }} | {{#if: {{{generic_rows|}}} | {{{generic_rows}}} | }} | ||
|- | |- | ||
− | {{#if: {{{other_rows|}}} | {{!}}style="background: #A4A4A4" colspan=" | + | {{#if: {{{other_rows|}}} | {{!}}style="background: #A4A4A4" colspan="8" {{!}} '''''Other''''' | }} |
{{#if: {{{other_rows|}}} | {{!}}- | }} | {{#if: {{{other_rows|}}} | {{!}}- | }} | ||
− | {{#if: {{{other_rows|}}} | ! Type !! Name !! Mastery !! - !! colspan = " | + | {{#if: {{{other_rows|}}} | ! Type !! Name !! Mastery !! - !! colspan = "4" {{!}} Talents | }} |
{{#if: {{{other_rows|}}} | {{!}}- | }} | {{#if: {{{other_rows|}}} | {{!}}- | }} | ||
{{#if: {{{other_rows|}}} | {{{other_rows}}} | }} | {{#if: {{{other_rows|}}} | {{{other_rows}}} | }} | ||
|}</onlyinclude></includeonly> | |}</onlyinclude></includeonly> | ||
+ | This template is used to produce a table of talent trees and the talents underneath them for each of the classes in game. Use [[Template:Talent row|Talent row]] to add rows under the ''Class'' and ''Generic'' section, and [[Template:Other row|Other row]] for the ''Other'' section. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
− |
Latest revision as of 08:16, 29 September 2021
This template is used to produce a table of talent trees and the talents underneath them for each of the classes in game. Use Talent row to add rows under the Class and Generic section, and Other row for the Other section.