Bienvenue sur le Wiki de Wargaming.net !
Variantes

Modèle:Commander Skills/doc : Différence entre versions

Aller à : navigation, rechercher
Version du 5 juillet 2020 à 22:16Version du 5 juillet 2020 à 22:19
Ligne 116 :Ligne 116 :
 | rating36 = 1 <!-- Superintendent --> | rating36 = 1 <!-- Superintendent -->
 | rating37 = 3 <!-- Demolition Expert --> | rating37 = 3 <!-- Demolition Expert -->
?| rating38 = <!-- Vigilance -->+| rating38 = 0 <!-- Vigilance -->
  
?| rating41 = <!-- Manual Fire Control for Secondary Armament -->+| rating41 = 0 <!-- Manual Fire Control for Secondary Armament -->
 | rating42 = 1 <!-- Fire Prevention --> | rating42 = 1 <!-- Fire Prevention -->
 | rating43 = 2 <!-- Inertia Fuse for HE Shells --> | rating43 = 2 <!-- Inertia Fuse for HE Shells -->

Version du 5 juillet 2020 à 22:19

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.

Exemple d'utilisation du code

{{Commander Skills
| rating11 =  <!-- Cible prioritaire -->
| rating12 =  <!-- Maintenance Préventive -->
| rating13 =  <!-- Expert chargeur -->
| rating14 =  <!-- Supériorité aérienne -->
| rating15 =  <!-- Centre de direction des chasseurs -->
| rating16 =  <!-- Boost moteur amélioré -->
| rating17 =  <!-- Alerte de Tir en approche -->
| rating18 =  <!-- Baroud d'honneur -->

| rating21 =  <!-- Grande alerte -->
| rating22 =  <!-- Multitâche -->
| rating23 =  <!-- Expert tireur d'élite -->
| rating24 =  <!-- Accélération des torpilles -->
| rating25 =  <!-- Expert en écran de fumée -->
| rating26 =  <!-- Moteur amélioré -->
| rating27 =  <!-- Poussée d'adrénaline -->
| rating28 =  <!-- Ultime résistance -->

| rating31 =  <!-- Bases de la capacité de survie -->
| rating32 =  <!-- Survivabilité experte-->
| rating33 =  <!-- Expertise de l'armement des torpilles-->
| rating34 =  <!-- Blindage de l'aviation -->
| rating35 =  <!-- Entraînement de base au tir -->
| rating36 =  <!-- Surintendant-->
| rating37 =  <!-- Expert en démolition -->
| rating38 =  <!-- Vigilance -->

| rating41 =  <!-- Contrôle de tir manuel pour l'armement secondaire -->
| rating42 =  <!-- Prévention des incendies -->
| rating43 =  <!-- Amorce à inertie pour obus HE -->
| rating44 =  <!-- Stabilisation de la visée -->
| rating45 =  <!-- Entraînement avancé au tir -->
| rating46 =  <!-- Tir AA massif -->
| rating47 =  <!-- Radiolocalisation -->
| rating48 =  <!-- Expert en dissimulation -->
}}


Exemple de l'USS Erie

{{Commander Skills
| 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 -->
}}