Difference between revisions of "Template:Talent table"

From Tales of Maj'Eyal
Jump to: navigation, search
(Added documentation)
(Made generic rows optional too)
Line 5: Line 5:
 
{{{class_rows}}}
 
{{{class_rows}}}
 
|-
 
|-
|style="background: #A4A4A4" colspan="9"|'''''Generic'''''
+
{{#if: {{{generic_rows|}}} | {{!}}style="background: #A4A4A4" colspan="9" {{!}} '''''Generic''''' | }}
|-
+
{{#if: {{{generic_rows|}}} | {{!}}- | }}
! Type !! Name !! Mastery !! Locked !! colspan = "5" | Talents
+
{{#if: {{{generic_rows|}}} | ! Type !! Name !! Mastery !! - !! colspan = "5" {{!}} Talents | }}
{{{generic_rows}}}
+
{{#if: {{{generic_rows|}}} | {{!}}- | }}
 +
{{#if: {{{generic_rows|}}} | {{{generic_rows}}} | }}
 
|-
 
|-
 
{{#if: {{{other_rows|}}} | {{!}}style="background: #A4A4A4" colspan="9" {{!}} '''''Other''''' | }}
 
{{#if: {{{other_rows|}}} | {{!}}style="background: #A4A4A4" colspan="9" {{!}} '''''Other''''' | }}

Revision as of 14:56, 9 September 2014

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.