Difference between revisions of "Template:Talent row"

From Tales of Maj'Eyal
Jump to: navigation, search
(Removed 5th talent parameter: now that combat training has its own template to accommodate 6 talents, this template should only need space for 4 talents. Adjusted documentation.)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>| {{{Type}}} || {{{Name}}} || {{{Mastery}}} || {{{Locked|No}}} || <span class="tooltip_link">{{{talent1|}}}</span> |<span class="tooltip_link">{{{talent2|}}}</span> || <span class="tooltip_link">{{{talent3|}}}</span> || <span class="tooltip_link">{{{talent4|}}}</span> || {{#if:{{{talent5|}}}|<span class="tooltip_link">{{{talent5|}}}</span> |}}
+
<includeonly><onlyinclude>|-{{#switch: {{{Locked|}}}|yes|Yes = style="background-color: #C0D0D0"}}
|-</includeonly>
+
| {{{Type}}}  
 +
| {{{Name}}}
 +
| {{{Mastery}}}
 +
| {{#switch: {{{Locked|}}}|yes|Yes = Yes|no|No| = No|{{{Locked}}}}}
 +
| <span class="tooltip_link" style="max-width:500px;">{{{talent1|}}}</span>
 +
| <span class="tooltip_link" style="max-width:500px;">{{{talent2|}}}</span>
 +
| <span class="tooltip_link" style="max-width:500px;">{{{talent3|}}}</span>
 +
| <span class="tooltip_link" style="max-width:500px;">{{{talent4|}}}</span></onlyinclude></includeonly>
 +
This template is used to produce extra rows in the [[Template:Talent table|talent table]] template for the ''Class'' and ''Generic'' sections.
 +
 
 +
For adding rows to the ''Other'' section, you should use the [[Template:Other row|other row]] template instead.
 +
 
 +
If adding a row for the {{c|Combat Training}} category, then the [[Template:Combat training row|combat training row]] template should be used to order the talents into two rows of three.
 +
 
 +
[[Category:Templates]]

Latest revision as of 08:14, 29 September 2021

This template is used to produce extra rows in the talent table template for the Class and Generic sections.

For adding rows to the Other section, you should use the other row template instead.

If adding a row for the Combat Training category, then the combat training row template should be used to order the talents into two rows of three.