Modèle:WoWs SM : Différence entre versions
Version du 5 juillet 2020 à 14:29 | Version du 26 février 2021 à 22:47 | |||
Ligne 1 : | Ligne 1 : | |||
<includeonly><div class="b-wiki-panel"><div class="b-modules"> | <includeonly><div class="b-wiki-panel"><div class="b-modules"> | |||
? | {{#vardefine:m_f|{{#if:{{{3|}}}|nation={{{3|}}}|}}}}{{#vardefine:keys|{{#ifeq:{{{1|list}}}|list|-{{{2|vehicle}}}-|{{#shipchars:{{{1|}}}|modulesTree::keys}}}}}}{{#vardefine:k_mod|0}}{{#while:|{{#if:{{#explode:{{#var: | + | {{#vardefine:m_f|{{#if:{{{3|}}}|nation={{{3|}}}|}}}}{{#vardefine:keys|{{#ifeq:{{{1|list}}}|list|-{{{2|vehicle}}}-|{{#shipchars:{{{1|}}}|modulesTree::keys}}}}}}{{#vardefine:k_mod|0}}{{#vardefine:sk|{{WoWs_Module|list}}}}{{#while:|{{#if:{{#explode:{{#var:sk}}|;|{{#var:k_mod}}}}|true}}|{{#vardefine:cur_mod|{{#explode:{{#var:sk}}|;|{{#var:k_mod}}}}}}{{#if:{{#pos:{{#var:keys}}|{{#var:cur_mod}}}}|{{#switch:{{#var:cur_mod}} | |
? | {{#vardefine:cur_mod| | + | ||
? | {{#switch:{{#var:cur_mod}} | + | ||
|artillery={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |artillery={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
-->|Shot_Speed||coups/min|50|artilleryShotSpeed<!-- | -->|Shot_Speed||coups/min|50|artilleryShotSpeed<!-- | |||
Ligne 10 : | Ligne 8 : | |||
-->|Burn_Prob_HE||%|50|artilleryBurnProbHE<!-- | -->|Burn_Prob_HE||%|50|artilleryBurnProbHE<!-- | |||
-->|Damage_AP||PS|60|artilleryDamageAP}} | -->|Damage_AP||PS|60|artilleryDamageAP}} | |||
? | |flightcontrol= | + | |flightcontrol= | |
? | + | |||
? | + | |||
? | + | |||
|hull={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |hull={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
-->|HEALTH||PS|60|health<!-- | -->|HEALTH||PS|60|health<!-- | |||
Ligne 23 : | Ligne 18 : | |||
-->|TORPEDOES_GUNS_COUNT||pcs.|40|torpedoesNumGuns<!-- | -->|TORPEDOES_GUNS_COUNT||pcs.|40|torpedoesNumGuns<!-- | |||
-->|NUMBER_PLANES||pcs.|40|planesAmount}} | -->|NUMBER_PLANES||pcs.|40|planesAmount}} | |||
+ | |torpedoes={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
+ | -->|Shot_Speed||coups/min|50|torpedoesShotSpeed<!-- | |||
+ | -->|torpedoes_time_reload||sec|50|torpedoesShotDelay<!-- | |||
+ | -->|Rotation_Time||sec|60|torpedoesRotationTime<!-- | |||
+ | -->|torpedo_damage||PS|60|torpedoesDamage<!-- | |||
+ | -->|torpedo_speed||noeuds|50|torpedoesSpeed<!-- | |||
+ | -->|torpedo_max_dist||km|50|torpedoesMaxDist}} | |||
|suo={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |suo={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
-->|SUO_INCREASE_DIST||%|150|suoIncreaseDistPercent<!-- | -->|SUO_INCREASE_DIST||%|150|suoIncreaseDistPercent<!-- | |||
Ligne 32 : | Ligne 34 : | |||
-->|SQUADRON_VITALITY||PS|50|planesFighterVitality}} | -->|SQUADRON_VITALITY||PS|50|planesFighterVitality}} | |||
|torpedobomber={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |torpedobomber={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
? | ||||
-->|SQUADRON_TORPEDO_DAMAGE||PS|100|planesBomberTorpedoMaxDamage<!-- | -->|SQUADRON_TORPEDO_DAMAGE||PS|100|planesBomberTorpedoMaxDamage<!-- | |||
+ | -->|SQUADRON_SPEED||noeuds|100|planesBomberSpeed<!-- | |||
-->|SQUADRON_VITALITY||PS|50|planesBomberVitality}} | -->|SQUADRON_VITALITY||PS|50|planesBomberVitality}} | |||
|divebomber={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |divebomber={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
Ligne 39 : | Ligne 41 : | |||
-->|SQUADRON_BOMB_DAMAGE||PS|100|planesDiveBombMaxDamage<!-- | -->|SQUADRON_BOMB_DAMAGE||PS|100|planesDiveBombMaxDamage<!-- | |||
-->|SQUADRON_VITALITY||PS|50|planesDiveVitality}} | -->|SQUADRON_VITALITY||PS|50|planesDiveVitality}} | |||
? | ||||
? | ||||
? | ||||
? | ||||
? | ||||
? | ||||
? | ||||
|engine={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |engine={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
-->|maxspeed||noeuds|200|mobilityMaxSpeed}} | -->|maxspeed||noeuds|200|mobilityMaxSpeed}} | |||
? | ||||
|#default=<br />{{#var:cur_mod}}}}{{#vardefine:k_mod|{{#expr:{{#var:k_mod}}+1}}}}}}</div></div></includeonly><noinclude>{{Doc}}[[Category:WoWs templates]]</noinclude> | |#default=<br />{{#var:cur_mod}}}}{{#vardefine:k_mod|{{#expr:{{#var:k_mod}}+1}}}}}}</div></div></includeonly><noinclude>{{Doc}}[[Category:WoWs templates]]</noinclude> |
Version du 26 février 2021 à 22:47
Documentation
Usage
{{WoWs_SM|ship}}
ou
{{WoWs_SM|list|type|nation}}
Paramètres
Navire - code du navire
Liste
Type -un module de la liste:
- Artillerie
- Contrôle de vol
- Coque
- Avion
- Bombardier torpilleurs
- Bombardier
- Torpilles
- Moteur
Nation - une ou plusieurs (avec séparateur) de la list: japan,uk,france,ussr,usa,germany,pan_asia,spain,europe,netherlands,italy,commonwealth,pan_america. Optionnel (toutes les nations si non remplis).
Exemples
{{WoWs_SM|PASA010_Ranger_1944}}
{{WoWs_SM|PASD008_Benson_1945}}
Catégorie :