Difference between revisions of "Template:Combat training row"

From Tales of Maj'Eyal
Jump to: navigation, search
(Define two inputs: should only need mastery and locked status)
(First try test code)
Line 1: Line 1:
 
<includeonly><onlyinclude>|-{{#switch: {{{Locked|}}}|yes|Yes = style="background-color: #C0D0D0"}}
 
<includeonly><onlyinclude>|-{{#switch: {{{Locked|}}}|yes|Yes = style="background-color: #C0D0D0"}}
| {{ct|Technique}}
+
| colspan="2" | {{ct|Technique}}
| {{c|Combat Training}}
+
| colspan="2" | {{c|Combat Training}}
| {{{Mastery}}}
+
| colspan="2" | {{{Mastery}}}
| {{#switch: {{{Locked|}}}|yes|Yes = Yes|no|No| = No|{{{Locked}}}}}
+
| colspan="2" | {{#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;">{{t|Thick Skin}}</span>
| <span class="tooltip_link" style="max-width:500px;">{{{talent2|}}}</span>
+
| <span class="tooltip_link" style="max-width:500px;">{{t|Heavy Armour Training}}</span>
| <span class="tooltip_link" style="max-width:500px;">{{{talent3|}}}</span>
+
| <span class="tooltip_link" style="max-width:500px;">{{t|Light Armour Training}}</span>
| <span class="tooltip_link" style="max-width:500px;">{{{talent4|}}}</span>
+
|-{{#switch: {{{Locked|}}}|yes|Yes = style="background-color: #C0D0D0"}}
| <span class="tooltip_link" style="max-width:500px;">{{{talent5|}}}</span></onlyinclude></includeonly>
+
| <span class="tooltip_link" style="max-width:500px;">{{t|Combat Accuracy}}</span>
 +
| <span class="tooltip_link" style="max-width:500px;">{{t|Weapon Mastery}}</span>
 +
| <span class="tooltip_link" style="max-width:500px;">{{t|Dagger Mastery}}</span></onlyinclude></includeonly>
  
 
The {{c|Combat Training}} category has extra talents that make it difficult to use the [[Template: Talent row|talent row]] or [[Template:Other row|other row]] templates. This template is used to insert these talents into a [[Template:Talent table|talent table]]. The six talents in the category should be displayed as two rows of three talents, in a manner similar to how they appear in game.
 
The {{c|Combat Training}} category has extra talents that make it difficult to use the [[Template: Talent row|talent row]] or [[Template:Other row|other row]] templates. This template is used to insert these talents into a [[Template:Talent table|talent table]]. The six talents in the category should be displayed as two rows of three talents, in a manner similar to how they appear in game.

Revision as of 02:25, 29 September 2021


The Combat Training category has extra talents that make it difficult to use the talent row or other row templates. This template is used to insert these talents into a talent table. The six talents in the category should be displayed as two rows of three talents, in a manner similar to how they appear in game.

This template only requires two input parameters:

Mastery: the mastery level for Combat Training

Locked: whether or not Combat Training is locked, will accept Yes/yes/No/no as possible inputs.