Bienvenue sur le Wiki de Wargaming.net !
Variantes

Modèle:AutoRoF : Différence entre versions

Aller à : navigation, rechercher
Version du 10 août 2014 à 11:48Version actuelle en date du 30 octobre 2014 à 10:53
24 versions
 
12 révisions intermédiaires par 2 utilisateurs non affichées
Ligne 4 :Ligne 4 :
 {{#vardefine:gun|{{{2|}}}}} {{#vardefine:gun|{{{2|}}}}}
 {{#vardefine:sidebar|{{{3|}}}}} {{#vardefine:sidebar|{{{3|}}}}}
 +
 +{{#if:{{#pos:{{#combatchars:{{#var:tank}}|crew}}|Commander (|}}}}|
 +{{#vardefine:crewcheck1|{{#pos:{{#combatchars:{{#var:tank}}|crew}}|Loader,|}}}}
 +{{#vardefine:crewcheck2|{{#pos:{{#combatchars:{{#var:tank}}|crew}}|Loader)|}}}}
 +|}}
 +
 +{{#if:{{#pos:{{#combatchars:{{#var:tank}}|crew}}|Gunner (|}}}}|
 +{{#vardefine:crewcheck3|{{#pos:{{#combatchars:{{#var:tank}}|crew}}|Loader,|}}}}
 +{{#vardefine:crewcheck4|{{#pos:{{#combatchars:{{#var:tank}}|crew}}|Loader)|}}}}
 +|}}
 +
 {{#vardefine:burstLength|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|burstCount}}}} {{#vardefine:burstLength|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|burstCount}}}}
 {{#vardefine:magSize|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|clipCount}}}} {{#vardefine:magSize|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|clipCount}}}}
 {{#vardefine:clipReloadTime|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|reloadTime}}}} {{#vardefine:clipReloadTime|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|reloadTime}}}}
 {{#vardefine:magRoF|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|clipFiringRate}}}} {{#vardefine:magRoF|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|clipFiringRate}}}}
?{{#vardefine:magReloadTime|{{#expr:{{#expr:60/{{#var:magRoF}}}}round2}}}}</div>+{{#vardefine:magReloadTime|{{#expr:{{#expr:60/{{#var:magRoF}}}}round2}}}}
?{{#expr:60*({{#var:magSize}}/({{#var:clipReloadTime}}+({{#var:magSize}}-1)*{{#var:magReloadTime}})) round 2}} {{#ifeq:{{#var:sidebar}}|yes+{{#vardefine:ReloadTime|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|reloadTime}}}}
?|<div class="wiki_tooltip">▲<div align="center"><span class="tooltip_brown"><b>Automatic Gun</b><br />+{{#vardefine:ReloadTimeRammer|{{#expr:{{#var:ReloadTime}}*0.9}}}}
?__________________________________<br />+{{#vardefine:RoFvalue|{{#expr:{{#expr:60/{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|reloadTime}} round 2}}}}}}
 +{{#vardefine:Nominal|{{#var:ReloadTime}}}}
 +{{#vardefine:crew50|{{#expr:{{#expr:{{#var:ReloadTime}}/0.807244}}round 2}}}}
 +{{#vardefine:crew75|{{#expr:{{#expr:{{#var:ReloadTime}}/0.9245088}}round 2}}}}
 +{{#vardefine:crew100|{{#expr:{{#expr:{{#var:ReloadTime}}/1.042933}}round 2}}}}
 +{{#vardefine:Rammer|{{#expr:{{#expr:{{#var:crew100}}*0.9}}round 2}}}}
 +{{#vardefine:Vents|{{#expr:{{#expr:{{#var:crew100}}/1.066431*1.042933}}round 2}}}}
 +{{#vardefine:RammerVents|{{#expr:{{#expr:{{#var:crew100}}*0.9/1.066431*1.042933}}round 2}}}}
 +{{#vardefine:RammerVentsBiA|{{#expr:{{#expr:{{#var:crew100}}*0.9/1.090106*1.042933}}round 2}}}}
 +{{#vardefine:RammerMaxCrew|{{#expr:{{#expr:{{#var:crew100}}*0.9/1.137279*1.042933}}round 2}}}}
 +{{#vardefine:RushOnly|{{#expr:{{#expr:{{#var:crew100}}/1.091}}round 2}}}}
 +{{#vardefine:RammerMaxCrewRush|{{#expr:{{#expr:{{#var:crew100}}*0.9/1.13/1.091}}round 2}}}}
 +{{#vardefine:AutoNominal|{{#var:clipReloadTime}}}}
 +{{#vardefine:autocrew50|{{#expr:{{#expr:{{#var:clipReloadTime}}/0.807244}}round 2}}}}
 +{{#vardefine:autocrew75|{{#expr:{{#expr:{{#var:clipReloadTime}}/0.9245088}}round 2}}}}
 +{{#vardefine:autocrew100|{{#expr:{{#expr:{{#var:clipReloadTime}}/1.042933}}round 2}}}}
 +{{#vardefine:autoVents|{{#expr:{{#expr:{{#var:autocrew100}}/1.066431*1.042933}}round 2}}}}
 +{{#vardefine:autoVentsBiA|{{#expr:{{#expr:{{#var:autocrew100}}/1.090106*1.042933}}round 2}}}}
 +{{#vardefine:autoMaxCrewRush|{{#expr:{{#expr:{{#var:autocrew100}}/1.13*1.04/1.091}}round 2}}}}
 + 
 +{{#if: {{#var:crewcheck1}} {{#var:crewcheck2}}|
 +{{#vardefine:burstLength|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|burstCount}}}}
 +{{#vardefine:magSize|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|clipCount}}}}
 +{{#vardefine:clipReloadTime|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|reloadTime}}}}
 +{{#vardefine:magRoF|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|clipFiringRate}}}}
 +{{#vardefine:magReloadTime|{{#expr:{{#expr:60/{{#var:magRoF}}}}round2}}}}
 +{{#vardefine:ReloadTime|{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|reloadTime}}}}
 +{{#vardefine:ReloadTimeRammer|{{#expr:{{#var:ReloadTime}}*0.9}}}}
 +{{#vardefine:RoFvalue|{{#expr:{{#expr:60/{{#combatchars:gun:{{#var:tank}}::{{#var:gun}}|reloadTime}} round 2}}}}}}
 +{{#vardefine:Nominal|{{#var:ReloadTime}}}}
 +{{#vardefine:crew50|{{#expr:{{#expr:{{#var:ReloadTime}}/0.785689}}round 2}}}}
 +{{#vardefine:crew75|{{#expr:{{#expr:{{#var:ReloadTime}}/0.892933}}round 2}}}}
 +{{#vardefine:crew100|{{#expr:{{#expr:{{#var:ReloadTime}}}}round 2}}}}
 +{{#vardefine:Rammer|{{#expr:{{#expr:{{#var:crew100}}*0.9}}round 2}}}}
 +{{#vardefine:Vents|{{#expr:{{#expr:{{#var:crew100}}/1.0234}}round 2}}}}
 +{{#vardefine:RammerVents|{{#expr:{{#expr:{{#var:crew100}}*0.9/1.0234}}round 2}}}}
 +{{#vardefine:RammerVentsBiA|{{#expr:{{#expr:{{#var:crew100}}*0.9/1.042933}}round 2}}}}
 +{{#vardefine:RammerMaxCrew|{{#expr:{{#expr:{{#var:crew100}}*0.9/1.0879}}round 2}}}}
 +{{#vardefine:RushOnly|{{#expr:{{#expr:{{#var:crew100}}/1.091}}round 2}}}}
 +{{#vardefine:RammerMaxCrewRush|{{#expr:{{#expr:{{#var:crew100}}*0.9/1.0879/1.091}}round 2}}}}
 +{{#vardefine:AutoNominal|{{#var:clipReloadTime}}}}
 +{{#vardefine:autocrew50|{{#expr:{{#expr:{{#var:clipReloadTime}}/0.785689}}round 2}}}}
 +{{#vardefine:autocrew75|{{#expr:{{#expr:{{#var:clipReloadTime}}/0.892933}}round 2}}}}
 +{{#vardefine:autocrew100|{{#expr:{{#expr:{{#var:clipReloadTime}}}}round 2}}}}
 +{{#vardefine:autoVents|{{#expr:{{#expr:{{#var:autocrew100}}/1.0234}}round 2}}}}
 +{{#vardefine:autoVentsBiA|{{#expr:{{#expr:{{#var:autocrew100}}/1.042933}}round 2}}}}
 +{{#vardefine:autoMaxCrewRush|{{#expr:{{#expr:{{#var:autocrew100}}/1.0879/1.091}}round 2}}}}
 +|}}
 +</div>
 + 
 +{{#ifeq:{{#var:sidebar}}|yes
 +|{{#expr:60*({{#var:magSize}}/({{#var:clipReloadTime}}+({{#var:magSize}}-1)*{{#var:magReloadTime}})) round 2}}<span style="color:gray"> r/m</span>&nbsp;<div class="wiki_tooltip">▲<div align="right"><span class="tooltip_brown" style="right:10px;">
 +<b>{{#if:{{#var:burstLength}}|Magazine-fed Gun|Autoloaded Gun}}</b><br />
 <br /> <br />
?Burst Length: {{#if:{{#var:burstLength}}|{{#var:burstLength}} rounds|1 round}}<br />+Burst Length: '''{{#if:{{#var:burstLength}}|{{#var:burstLength}} rounds|1 round}}'''<br />
?Magazine Size: {{#var:magSize}} round{{#ifexpr:{{#var:magSize}} > 1|s|}}<br />+Magazine Size: '''{{#var:magSize}} round{{#ifexpr:{{#var:magSize}} > 1|s|}}'''<br />
?Burst Reload Time: {{#var:magReloadTime}} s<br />+Cycle Time: '''{{#var:magReloadTime}}'''&nbsp;s<br />
?Magazine Reload Time: {{#var:clipReloadTime}} s<br />+''Magazine Reload Times''<br />
?________________________+Nominal: '''{{#var:AutoNominal}}'''&nbsp;s<br />
 +50%&nbsp;Crew: '''{{#var:autocrew50}}'''&nbsp;s<br />
 +75%&nbsp;Crew: '''{{#var:autocrew75}}'''&nbsp;s<br />
 +100%&nbsp;Crew: '''{{#var:autocrew100}}'''&nbsp;s<br />
 +With&nbsp;Vents: '''{{#var:autoVents}}'''&nbsp;s<br />
 +With&nbsp;Vents&nbsp;and&nbsp;BiA:&nbsp;'''{{#var:autoVentsBiA}}'''&nbsp;s<br />
 Click [[Automatic_Loader|here]] for more information.</span></div></div> Click [[Automatic_Loader|here]] for more information.</span></div></div>
?|}}+|{{#var:RoFvalue}}<span style="color:gray"> r/m</span>&nbsp;<div class="wiki_tooltip">▲<div align="right"><span class="tooltip_brown" style="right:10px;">
 +<b>Standard Gun</b><br />
 +<br />
 +''Reload Times''<br />
 +Nominal: '''{{#var:Nominal}}'''&nbsp;s<br />
 +50% Crew: '''{{#var:crew50}}'''&nbsp;s<br />
 +75% Crew: '''{{#var:crew75}}'''&nbsp;s<br />
 +100% Crew: '''{{#var:crew100}}'''&nbsp;s<br />
 +Rammer: '''{{#var:Rammer}}'''&nbsp;s<br />
 +Vents: '''{{#var:Vents}}'''&nbsp;s<br />
 +Both: '''{{#var:RammerVents}}'''&nbsp;s<br />
 +Both and BiA: '''{{#var:RammerVentsBiA}}'''&nbsp;s<br />
 +Both&nbsp;and&nbsp;Max&nbsp;Crew&nbsp;%:&nbsp;'''{{#var:RammerMaxCrew}}'''&nbsp;s<br />
 +See [[Crew|Crew]], [[Consumables|Consumables]], or [[Equipment|Equipment]] for more information.</span></div></div>
 +}}
 + 
 </includeonly><noinclude> </includeonly><noinclude>
 ==Usage== ==Usage==
Ligne 27 :Ligne 110 :
 *Tank code should be used to specify the tank. The tank codes are listed here: https://wiki.wargaming.net/ru/WoT:Коды_техники in the Code column (the 3rd column). *Tank code should be used to specify the tank. The tank codes are listed here: https://wiki.wargaming.net/ru/WoT:Коды_техники in the Code column (the 3rd column).
 *gun = ''stock'' or ''top'' *gun = ''stock'' or ''top''
?*sidebar = ''yes'' for explanation triangle, ''no'' for only RoF+*sidebar = ''yes'' for autoloader explanation triangle, ''no'' for non-autoloader explanation triangle
 + 
 + 
 +[[Category:C/P Templates]]
 </noinclude> </noinclude>

Version actuelle en date du 30 octobre 2014 à 10:53

Usage

{{AutoRoF|tankcode|gun|sidebar}}
  • Tank code should be used to specify the tank. The tank codes are listed here: https://wiki.wargaming.net/ru/WoT:Коды_техники in the Code column (the 3rd column).
  • gun = stock or top
  • sidebar = yes for autoloader explanation triangle, no for non-autoloader explanation triangle
Catégorie :