Difference between revisions of "Template:WoWs SM"
Revision as of 09:17, 19 February 2016 Protected "Template:WoWs SM": Global template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) | Latest revision as of 20:16, 7 October 2021 Adjust missing translations for skip bombers and sonar | |||
12 intermediate revisions by 5 users not shown | ||||
Line 1: | Line 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||shots/min|50|artilleryShotSpeed<!-- | -->|Shot_Speed||shots/min|50|artilleryShotSpeed<!-- | |||
Line 10: | Line 8: | |||
-->|Burn_Prob_HE||%|50|artilleryBurnProbHE<!-- | -->|Burn_Prob_HE||%|50|artilleryBurnProbHE<!-- | |||
-->|Damage_AP||HP|60|artilleryDamageAP}} | -->|Damage_AP||HP|60|artilleryDamageAP}} | |||
? | |flightcontrol= | + | |flightcontrol= | |
? | + | |||
? | + | |||
? | + | |||
|hull={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |hull={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
? | -->|HEALTH||HP| | + | -->|HEALTH||HP|60|health<!-- | |
? | -->|ARMOR| | + | -->|ARMOR|min|mm|30|armourRangeMin<!-- | |
? | -->|ARMOR| | + | -->|ARMOR|max|mm|30|armourRangeMax<!-- | |
-->|ARTILLERY_GUNS_COUNT||pcs.|40|artilleryNumGuns<!-- | -->|ARTILLERY_GUNS_COUNT||pcs.|40|artilleryNumGuns<!-- | |||
? | -->|ATBA_GUNS_COUNT||pcs.|50| | + | -->|ATBA_GUNS_COUNT||pcs.|50|atba_numGuns<!-- | |
-->|AA_GUNS_COUNT||pcs.|50|aaNumguns<!-- | -->|AA_GUNS_COUNT||pcs.|50|aaNumguns<!-- | |||
-->|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||shots/min|50|torpedoesShotSpeed<!-- | |||
+ | -->|torpedoes_time_reload||sec|50|torpedoesShotDelay<!-- | |||
+ | -->|Rotation_Time||sec|60|torpedoesRotationTime<!-- | |||
+ | -->|torpedo_damage||HP|60|torpedoesDamage<!-- | |||
+ | -->|torpedo_speed||knot|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<!-- | |||
Line 39: | Line 41: | |||
-->|SQUADRON_SPEED||knot|100|planesDiveSpeed<!-- | -->|SQUADRON_SPEED||knot|100|planesDiveSpeed<!-- | |||
-->|SQUADRON_VITALITY||HP|50|planesDiveVitality}} | -->|SQUADRON_VITALITY||HP|50|planesDiveVitality}} | |||
? | ||||
? | ||||
? | ||||
? | ||||
? | ||||
? | ||||
? | ||||
|engine={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |engine={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
-->|maxspeed||knot|200|mobilityMaxSpeed}} | -->|maxspeed||knot|200|mobilityMaxSpeed}} | |||
? | | | + | |SkipBomber={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |
? | |#default=<br />{{#var:cur_mod}}}}{{#vardefine:k_mod|{{#expr:{{#var:k_mod}}+1}}}}}}</div></div></includeonly><noinclude>[[Category:WoWs templates]]<noinclude> | + | -->|SQUADRON_BOMB_DAMAGE||HP|100|planesSkipBombMaxDamage<!-- | |
+ | -->|SQUADRON_SPEED||knot|100|planesSkipSpeed<!-- | |||
+ | -->|SQUADRON_VITALITY||HP|50|planesSkipVitality}} | |||
+ | |Sonar={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
+ | -->|Shot_Speed||m/s|50|sonarShotSpeed<!-- | |||
+ | -->|torpedo_max_dist||km|50|sonarMaxDist}} | |||
+ | |#default=<br />{{#var:cur_mod}}}}}}{{#vardefine:k_mod|{{#expr:{{#var:k_mod}}+1}}}}}}</div></div></includeonly><noinclude>{{Doc}}[[Category:WoWs templates]]<noinclude> |
Latest revision as of 20:16, 7 October 2021
Documentation
Usage
{{WoWs_SM|ship}}
or
{{WoWs_SM|list|type|nation}}
Parameters
Ship - code of ship
List - exact string "list"
Type - one module from list:
- artillery
- flightcontrol
- hull
- suo
- fighter
- torpedobomber
- divebomber
- torpedoes
- engine
Nation - one or several (comma separated) from list: japan,uk,france,ussr,usa,germany,pan_asia,spain,europe,netherlands,italy,commonwealth,pan_america. Optional (all nation if empty).
Examples
{{WoWs_SM|PASA010_Ranger_1944}}
{{WoWs_SM|PASD008_Benson_1945}}
Category: