Welcome to Wargaming.net Wiki!
Variants

Template:Commander Skills 2/doc

Jump to: navigation, search

Why?

This is a replacement for the old Template:Commander Skills. That one is too clever by half. It uses the skill name as both the usage documentation and as the variable name to pass the rating to the template. Slick, but a problem comes when the skill name changes, as it has several times recently. Either the old skill name must be used in the ship pages - breaking documentation - or ALL ship pages have to change.

This version uses variable names that correspond to the table position and are not unique to that skill, while the skill name, description, image, link, etc are all contained in the CS Cell NN template. Change it there and all ship pages change. The current skill names are used in the ship page to help orientation, but they are non-functional and can be edited at will.

Sample Usage Code

raw

{{Commander Skills 2
| rating11 =  <!-- Priority Target -->
| rating12 =  <!-- Preventive Maint -->
| rating13 =  <!-- Expert Loader -->
| rating14 =  <!-- Air Supremacy -->
| rating15 =  <!-- Direction Center for Fighters -->
| rating16 =  <!-- Improved Engine Boost -->
| rating17 =  <!-- Incoming Fire Alert -->
| rating18 =  <!-- Last Gasp -->

| rating21 =  <!-- High Alert -->
| rating22 =  <!-- Jack of All Trades -->
| rating23 =  <!-- Expert Marksman -->
| rating24 =  <!-- Torpedo Acceleration -->
| rating25 =  <!-- Smoke Screen Expert -->
| rating26 =  <!-- Improved Engines -->
| rating27 =  <!-- Adrenaline Rush -->
| rating28 =  <!-- Last Stand -->

| rating31 =  <!-- Basics of Survivability -->
| rating32 =  <!-- Survivability Expert-->
| rating33 =  <!-- Torpedo Armament Expertise-->
| rating34 =  <!-- Aircraft Armor -->
| rating35 =  <!-- Basic Firing Training -->
| rating36 =  <!-- Superintendent -->
| rating37 =  <!-- Demolition Expert -->
| rating38 =  <!-- Vigilance -->

| rating41 =  <!-- Manual Fire Control for Secondary Armament -->
| rating42 =  <!-- Fire Prevention -->
| rating43 =  <!-- Inertia Fuse for HE Shells -->
| rating44 =  <!-- Sight Stabilization -->
| rating45 =  <!-- Advanced Firing Training -->
| rating46 =  <!-- Massive AA Fire -->
| rating47 =  <!-- Radio Position Finding -->
| rating48 =  <!-- Concealment Expert -->
}}

from USS Erie

{{Commander Skills 2
| rating11 = 3 <!-- Priority Target -->
| rating12 = 2 <!-- Preventive Maint -->
| rating13 = 1 <!-- Expert Loader -->
| rating14 = 0 <!-- Air Supremacy -->
| rating15 = 0 <!-- Direction Center for Fighters -->
| rating16 = 0 <!-- Improved Engine Boost -->
| rating17 = 1 <!-- Incoming Fire Alert -->
| rating18 = 0 <!-- Last Gasp -->

| rating21 = 2 <!-- High Alert -->
| rating22 = 2 <!-- Jack of All Trades -->
| rating23 = 3 <!-- Expert Marksman -->
| rating24 = 0 <!-- Torpedo Acceleration -->
| rating25 = 0 <!-- Smoke Screen Expert -->
| rating26 = 0 <!-- Improved Engines -->
| rating27 = 2 <!-- Adrenaline Rush -->
| rating28 = 1 <!-- Last Stand -->

| rating31 = 2 <!-- Basics of Survivability -->
| rating32 = 1 <!-- Survivability Expert-->
| rating33 = 0 <!-- Torpedo Armament Expertise-->
| rating34 = 0 <!-- Aircraft Armor -->
| rating35 = 2 <!-- Basic Firing Training -->
| rating36 = 1 <!-- Superintendent -->
| rating37 = 3 <!-- Demolition Expert -->
| rating38 =  <!-- Vigilance -->

| rating41 =  <!-- Manual Fire Control for Secondary Armament -->
| rating42 = 1 <!-- Fire Prevention -->
| rating43 = 2 <!-- Inertia Fuse for HE Shells -->
| rating44 = 0 <!-- Sight Stabilization -->
| rating45 = 3 <!-- Advanced Firing Training -->
| rating46 = 0 <!-- Massive AA Fire -->
| rating47 = 2 <!-- Radio Position Finding -->
| rating48 = 3 <!-- Concealment Expert -->
}}