Difference between revisions of "Template:Combat training row"
From Tales of Maj'Eyal
(Created page. Will try to use this template to substitute out the Combat Training category in talent tables, and show it as two rows of three talents like it appears in game. This may require modifications to other templates and testing over several days.) |
(Added reminder that lower case parameter is different from previous row templates. Consistency is valuable, but there are too many pages to fix, so convenience first for now.) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><onlyinclude></onlyinclude></includeonly> | + | <includeonly><onlyinclude>|-{{#switch: {{{Locked|}}}|yes|Yes = style="background-color: #C0D0D0"}} |
+ | | rowspan="2" | {{ct|Technique}} | ||
+ | | rowspan="2" | {{c|Combat Training}} | ||
+ | | rowspan="2" | {{{mastery}}} | ||
+ | | rowspan="2" | {{#switch: {{{locked|}}}|yes|Yes = Yes|no|No| = No|{{{locked}}}}} | ||
+ | | <span class="tooltip_link" style="max-width:500px;">{{t|Thick Skin}}</span> | ||
+ | | <span class="tooltip_link" style="max-width:500px;">{{t|Heavy Armour Training}}</span> | ||
+ | | <span class="tooltip_link" style="max-width:500px;">{{t|Light Armour Training}}</span> | ||
+ | |-{{#switch: {{{Locked|}}}|yes|Yes = style="background-color: #C0D0D0"}} | ||
+ | | <span class="tooltip_link" style="max-width:500px;">{{t|Combat Accuracy}}</span> | ||
+ | | <span class="tooltip_link" style="max-width:500px;">{{t|Weapons 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. | ||
− | + | This template only requires two input parameters: | |
+ | |||
+ | '''mastery''': the mastery level for {{c|Combat Training}} | ||
+ | |||
+ | '''locked''': whether or not {{c|Combat Training}} is locked, will accept Yes/yes/No/no as possible inputs, and will default to "No" if no parameter is given | ||
+ | |||
+ | ''Note: these parameters use lower cases, unlike the ones for the [[Template: Talent row|talent row]] template.'' | ||
[[Category:Templates]] | [[Category:Templates]] |
Latest revision as of 02:50, 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, and will default to "No" if no parameter is given
Note: these parameters use lower cases, unlike the ones for the talent row template.