Difference between revisions of "Template:WoWs SM"
Revision as of 09:39, 2 December 2019 Blanked the page | Latest revision as of 20:16, 7 October 2021 Adjust missing translations for skip bombers and sonar | |||
3 intermediate revisions by 3 users not shown | ||||
Line 1: | Line 1: | |||
? | + | <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}}{{#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}} | |||
+ | |artillery={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
+ | -->|Shot_Speed||shots/min|50|artilleryShotSpeed<!-- | |||
+ | -->|Rotation_Time||sec|60|artilleryRotationTime<!-- | |||
+ | -->|Dispersion||m|50|artilleryDispersion<!-- | |||
+ | -->|Damage_HE||HP|60|artilleryDamageHE<!-- | |||
+ | -->|Burn_Prob_HE||%|50|artilleryBurnProbHE<!-- | |||
+ | -->|Damage_AP||HP|60|artilleryDamageAP}} | |||
+ | |flightcontrol= | |||
+ | |hull={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
+ | -->|HEALTH||HP|60|health<!-- | |||
+ | -->|ARMOR|min|mm|30|armourRangeMin<!-- | |||
+ | -->|ARMOR|max|mm|30|armourRangeMax<!-- | |||
+ | -->|ARTILLERY_GUNS_COUNT||pcs.|40|artilleryNumGuns<!-- | |||
+ | -->|ATBA_GUNS_COUNT||pcs.|50|atba_numGuns<!-- | |||
+ | -->|AA_GUNS_COUNT||pcs.|50|aaNumguns<!-- | |||
+ | -->|TORPEDOES_GUNS_COUNT||pcs.|40|torpedoesNumGuns<!-- | |||
+ | -->|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_INCREASE_DIST||%|150|suoIncreaseDistPercent<!-- | |||
+ | -->|MAXIMUM_DISTANCE||km|150|suoMaxDist}} | |||
+ | |fighter={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
+ | -->|SQUADRON_SPEED||knot|100|planesFighterSpeed<!-- | |||
+ | -->|SQUADRON_MED_DAMAGE||HP/min|100|planesFighterMedDamage<!-- | |||
+ | -->|SQUADRON_AMMO_AMOUNT|||100|planesFighterAmmoamount<!-- | |||
+ | -->|SQUADRON_VITALITY||HP|50|planesFighterVitality}} | |||
+ | |torpedobomber={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
+ | -->|SQUADRON_TORPEDO_DAMAGE||HP|100|planesBomberTorpedoMaxDamage<!-- | |||
+ | -->|SQUADRON_SPEED||knot|100|planesBomberSpeed<!-- | |||
+ | -->|SQUADRON_VITALITY||HP|50|planesBomberVitality}} | |||
+ | |divebomber={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
+ | -->|SQUADRON_BOMB_DAMAGE||HP|100|planesDiveBombMaxDamage<!-- | |||
+ | -->|SQUADRON_SPEED||knot|100|planesDiveSpeed<!-- | |||
+ | -->|SQUADRON_VITALITY||HP|50|planesDiveVitality}} | |||
+ | |engine={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
+ | -->|maxspeed||knot|200|mobilityMaxSpeed}} | |||
+ | |SkipBomber={{WoWs_SM_MS|{{{1|}}}|{{#var:cur_mod}}<!-- | |||
+ | -->|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: