Welcome to Wargaming.net Wiki!
Variants

Difference between revisions of "Template:Sidebar"

Jump to: navigation, search
Revision as of 09:52, 13 May 2014Latest revision as of 12:04, 6 August 2018
Added Italy
 
46 intermediate revisions by 5 users not shown
Line 14:Line 14:
 {{#ifeq:{{{accuracy}}}|{{{accuracyTop}}}||{{#vardefine:switch|1}}}} {{#ifeq:{{{accuracy}}}|{{{accuracyTop}}}||{{#vardefine:switch|1}}}}
 {{#ifeq:{{{aim}}}|{{{aimTop}}}||{{#vardefine:switch|1}}}} {{#ifeq:{{{aim}}}|{{{aimTop}}}||{{#vardefine:switch|1}}}}
 +{{#ifeq:{{{DPM}}}|{{{DPMTop}}}||{{#vardefine:switch|1}}}}
 {{#ifeq:{{{fire}}}|{{{fireTop}}}||{{#vardefine:switch|1}}}} {{#ifeq:{{{fire}}}|{{{fireTop}}}||{{#vardefine:switch|1}}}}
 +{{#ifeq:{{{shellsstock}}}|{{{shellstop}}}||{{#vardefine:switch|1}}}}
 +{{#ifeq:{{{shellcoststock}}}|{{{shellcosttop}}}||{{#vardefine:switch|1}}}}
 {{#vardefine:hpt|{{#expr:{{#expr:({{{engine}}})/({{#explode:{{{weight}}}|/|0}})}}round2}}}} {{#vardefine:hpt|{{#expr:{{#expr:({{{engine}}})/({{#explode:{{{weight}}}|/|0}})}}round2}}}}
 {{#vardefine:hptTop|{{#expr:{{#expr:({{{engineTop}}})/({{#explode:{{{weightTop}}}|/|0}})}}round2}}}} {{#vardefine:hptTop|{{#expr:{{#expr:({{{engineTop}}})/({{#explode:{{{weightTop}}}|/|0}})}}round2}}}}
 +{{BattleTier}}
 +{{#vardefine:BTLength|{{#len:{{#var:BTOut}}}}}}
 +{{#vardefine:BTLow|{{#explode:{{#var:BTOut}}|/|0}}}}
 +{{#vardefine:BTHigh|{{#explode:{{#var:BTOut}}|/|-1}}}}
 </div> </div>
?<div id="Panel" class="Tank">+<div class="b-performance">
?<h3>{{#if:{{{name|}}}|{{#ifeq:{{lc:{{{unavailable}}}}}|yes|[[image:PremiumIcon3.png|link=|Unavailable]]&nbsp;&nbsp;{{{name}}}|{{#ifeq:{{lc:{{{notInShop}}}}}|yes|[[image:PremiumIcon2.png|link=|Gift]]&nbsp;&nbsp;{{{name}}}|{{#ifeq:{{lc:{{{premium}}}}}|yes|[[image:GoldIcon2.png|link=|Premium]]&nbsp;&nbsp;{{{name}}}|{{{name}}}}}}}}}|{{PAGENAME}}}}</h3>+<div class="b-performance_border" style="padding: 0px">
?[[image:{{#ifexist:Image:Wot_{{PAGENAME}}_render.jpg|Wot_{{PAGENAME}}_render.jpg{{!}}232px{{!}}Render|{{#ifexist:Image:anno{{{shortname}}}.png|anno{{{shortname}}}.png{{!}}Icon|NoRender.png|Missing Image}}}}|center]]+<h3 class="b-performance_title b-performance_title__header">{{#if:{{{name|}}}|{{#ifeq:{{lc:{{{unavailable}}}}}|yes|[[image:PremiumIcon3.png|link=|Unavailable]]&nbsp;&nbsp;{{{name}}}|{{#ifeq:{{lc:{{{notInShop}}}}}|yes|[[image:PremiumIcon2.png|link=|Gift]]&nbsp;&nbsp;{{{name}}}|{{#ifeq:{{lc:{{{premium}}}}}|yes|[[image:GoldIcon2.png|link=|Premium]]&nbsp;&nbsp;{{{name}}}|{{{name}}}}}}}}}|{{PAGENAME}}}}</h3>
?<table class="NTC"><tr>+{{#ifexist: Media:{{#var:name}} render 1.jpg | [[File:{{#var:name}} render 1.jpg|240px|center]][[Category:Tank articles using images from shared media repository]] | [[Image:Anno{{PAGENAME}}.png|232px|center]] }}
?<td>{{#switch:{{lc:{{{nation}}}}}+<div class="b-performance_position">'''{{#switch:{{lc:{{{nation}}}}}
?|germany=Germany+|usa=[[USA]][[Category:USA Tanks]]
?|ussr=USSR+|ussr=[[USSR]][[Category:USSR Tanks]]
?|usa=USA+|germany=[[Germany]][[Category:German Tanks]]
?|france=France+|uk=[[UK]][[Category:British Tanks]]
?|uk=UK+|france=[[France]][[Category:French Tanks]]
?|china=China+|china=[[China]][[Category:Chinese Tanks]]
?|japan=Japan+|japan=[[Japan]][[Category:Japanese Tanks]]
?|#default=<span class="error">nation</span>}}</td>+|czech=[[Czechoslovakia]][[Category:Czech Tanks]]
?<td>{{#switch:{{lc:{{{class}}}}}+|sweden=[[Sweden]][[Category:Swedish Tanks]]
?|light=Light Tank+|poland=[[Poland]][[Category:Polish Tanks]]
?|medium=Medium Tank+|italy=[[Italy]][[Category:Italian Tanks]]
?|heavy=Heavy Tank+|#default=<span class="error">nation</span>}}''' {{!}} '''{{#switch:{{lc:{{{class}}}}}
?|spg=SPG+|light=[[Light Tank]][[Category:Light Tanks]]
?|td=TD+|lightTank=[[Light Tank]][[Category:Light Tanks]]
?|ttd=Turreted TD+|medium=[[Medium Tank]][[Category:Medium Tanks]]
?|tspg=Turreted SPG+|mediumTank=[[Medium Tank]][[Category:Medium Tanks]]
?|lightTank=Light Tank+|heavy=[[Heavy Tank]][[Category:Heavy Tanks]]
?|mediumTank=Medium Tank+|heavyTank=[[Heavy Tank]][[Category:Heavy Tanks]]
?|heavyTank=Heavy Tank+|spg=[[SPG]][[Category:Self-Propelled Guns]]
?|AT-SPG=TD+|tspg=Turreted [[SPG]][[Category:Self-Propelled Guns]]
?|#default=<span class="error">class</span>}}</td>+|td=[[TD]][[Category:Tank Destroyers]]
?<td>{{#switch:{{lc:{{{tier}}}}}+|ttd=Turreted [[TD]][[Category:Tank Destroyers]]
?|i=[[:Category:Tier I Tanks|Tier I]]|1=Tier I+|at-spg=[[TD]][[Category:Tank Destroyers]]
?|ii=[[:Category:Tier II Tanks|Tier II]]|2=Tier II+|#default=<span class="error">class</span>}}''' {{!}} '''{{#switch:{{lc:{{{tier}}}}}
?|iii=[[:Category:Tier III Tanks|Tier III]]|3=Tier III+|i|1=[[:Category:Tier I Tanks|Tier I]][[Category:Tier I Tanks]]
?|iv=[[:Category:Tier IV Tanks|Tier IV]]|4=Tier IV+|ii|2=[[:Category:Tier II Tanks|Tier II]][[Category:Tier II Tanks]]
?|v=[[:Category:Tier V Tanks|Tier V]]|5=Tier V+|iii|3=[[:Category:Tier III Tanks|Tier III]][[Category:Tier III Tanks]]
?|vi=[[:Category:Tier VI Tanks|Tier VI]]|6=Tier VI+|iv|4=[[:Category:Tier IV Tanks|Tier IV]][[Category:Tier IV Tanks]]
?|vii=[[:Category:Tier VII Tanks|Tier VII]]|7=Tier VII+|v|5=[[:Category:Tier V Tanks|Tier V]][[Category:Tier V Tanks]]
?|viii=[[:Category:Tier VIII Tanks|Tier VIII]]|8=Tier VIII+|vi|6=[[:Category:Tier VI Tanks|Tier VI]][[Category:Tier VI Tanks]]
?|ix=[[:Category:Tier IX Tanks|Tier IX]]|9=Tier IX+|vii|7=[[:Category:Tier VII Tanks|Tier VII]][[Category:Tier VII Tanks]]
?|x=[[:Category:Tier X Tanks|Tier X]]|10=Tier X+|viii|8=[[:Category:Tier VIII Tanks|Tier VIII]][[Category:Tier VIII Tanks]]
?|#default=<span class="error">tier</span>}}</td>+|ix|9=[[:Category:Tier IX Tanks|Tier IX]][[Category:Tier IX Tanks]]
?</tr></table>+|x|10=[[:Category:Tier X Tanks|Tier X]][[Category:Tier X Tanks]]
?<table style="text-indent:0;">+|#default=<span class="error">tier</span>[[Category:Tank articles requiring maintenance]]}}'''</div><!--
 <tr><th class="spacer"></th><td></td></tr> <tr><th class="spacer"></th><td></td></tr>
 <tr><th colspan="2" style="text-align:center;">Battle Tiers</th></tr> <tr><th colspan="2" style="text-align:center;">Battle Tiers</th></tr>
 <tr><td colspan="2">{{BattleTiers|shortname={{{shortname}}}|tier={{{tier}}}|class={{{class}}}}}</td></tr> <tr><td colspan="2">{{BattleTiers|shortname={{{shortname}}}|tier={{{tier}}}|class={{{class}}}}}</td></tr>
 <tr><th class="spacer"></th><td></td></tr> <tr><th class="spacer"></th><td></td></tr>
?<tr><th colspan="2" style="text-align:center;">Totals</th></tr>+--><div class="b-battles-levels">[[Battle Tier|class=b-performance_title b-performance_title__link|]]
?<tr><th class="spacer"></th><td></td></tr>+{{#gw_levels_bar:total=11|from={{#var:BTLow}}|to={{#var:BTHigh}}}}</div>
?<tr><th>Cost</th>+<div class="b-performance_title">Overview<br />
?<td>{{#ifeq:{{lc:{{{unavailable}}}}}|yes|This tank is not available to players on EU/NA/SEA servers.|{{#ifeq:{{lc:{{{notInShop}}}}}|yes|Gift Tank (}}{{#if:{{{cost|}}}|{{#ifeq:{{{premium}}}|yes|{{{cost}}}&nbsp;&nbsp;[[image:GoldIcon.png|12px|link=|Gold]]|{{{cost}}}&nbsp;&nbsp;[[image:Credits.png|12px|link=|Credits]]}}{{#ifeq:{{lc:{{{notInShop}}}}}|yes|)}}|<span class="error">cost</span>}}}}</td></tr>+<small>Mouse over "<div class="wiki_tooltip">▲<div align="right"><span class="tooltip_brown" style="right:45px;">Well, the ones further down, of course.</span></div></div>" for more information<br />
?<tr><th class="spacer"></th><td></td></tr>+[Client Values; Actual values in </small><div class="wiki_tooltip"><div align="right"><span class="tooltip_brown" style="right:10px;">Specifically, the mismatch in crew values caused by commander's 10% crew skill bonus. Outside of a crew of 1 commander only, 100% crew is a fiction. The client values, given for 100% crew, will normally be taken into battle with 110% crew skill members aside from specific functions, causing their actual performance to deviate from the expected client value.
?<tr><th>Hit Points</th>+These differences are taken into account in tooltip boxes.</span></div></div>]<small></small></div>
?<td>{{#if:{{{health|}}}|<span class="stock">{{{health}}}</span><span class="top">{{#if:{{{healthTop|}}}|{{{healthTop}}}|{{{health}}}}}</span><span style="color:gray"> HP</span>|<span class="error">health</span>}}</td></tr>+<div class="b-performance_text">
?<tr><th class="spacer"></th><td></td></tr>+<table class="t-performance">
?<tr><th>Weight Limit</th>+{{DataLine| Cost |{{#ifeq:{{lc:{{{unavailable}}}}}|yes|This tank is not available to players on EU/NA/SEA servers.|{{#ifeq:{{lc:{{{notInShop}}}}}|yes|Gift Tank (}}{{#if:{{{cost|}}}|{{#ifeq:{{{premium}}}|yes|{{{cost}}}&nbsp;&nbsp;[[image:GoldIcon.png|12px|link=|Gold]]|{{{cost}}}&nbsp;&nbsp;[[image:Credits.png|12px|link=|Credits]]}}{{#ifeq:{{lc:{{{notInShop}}}}}|yes|)}}|<span class="error">cost</span>}}}} }}
?<td>{{#if:{{{weight|}}}|<span class="stock">{{{weight}}}</span><span class="top">{{#if:{{{weightTop|}}}|{{{weightTop}}}|{{{weight}}}}}</span><span style="color:gray"> t</span>|<span class="error">weight</span>}}</td></tr>+{{DataLine| Hit Points |{{#if:{{{health|}}}|<span class="stock">{{{health}}}</span><span class="top">{{#if:{{{healthTop|}}}|{{{healthTop}}}|{{{health}}}}}</span><span style="color:gray"> HP</span>|<span class="error">health</span>}} }}
?<tr><th class="spacer"></th><td></td></tr>+{{DataLine| Weight Limit |{{#if:{{{weight|}}}|<span class="stock">{{{weight}}}</span><span class="top">{{#if:{{{weightTop|}}}|{{{weightTop}}}|{{{weight}}}}}</span><span style="color:gray"> t</span>|<span class="error">weight</span>}} }}
?<tr><th colspan="2" style="text-align:center;">Crew</th>+</table>
?<tr><td colspan="2" style="text-align:center;">{{#if:{{{crew|}}}|{{{crew}}}|<span class="error">crew</span>}}</td></tr>+</div>
?<tr><th class="spacer"></th><td></td></tr>+<div class="b-performance_title">Crew</div><div class="b-performance_text">{{#if:{{{crew|}}}|{{{crew}}}|<span class="error">crew</span>}}</div>
?<tr><th colspan="2" style="text-align:center;">Mobility</th></tr>+<div class="b-performance_title">Mobility</div>
?<tr><th class="spacer"></th><td></td></tr>+<div class="b-performance_text">
?<tr><th>Engine Power</th>+<table class="t-performance">
?<td>{{#if:{{{engine|}}}|<span class="stock">{{{engine}}}</span><span class="top">{{#if:{{{engineTop|}}}|{{{engineTop}}}|{{{engine}}}}}</span><span style="color:gray"> hp</span>|<span class="error">engine</span>}}</td></tr>+{{DataLine| Engine Power |{{#if:{{{engine|}}}|<span class="stock">{{{engine}}}</span><span class="top">{{#if:{{{engineTop|}}}|{{{engineTop}}}|{{{engine}}}}}</span><span style="color:gray"> hp</span>|<span class="error">engine</span>}} }}
?<tr><th class="spacer"></th><td></td></tr>+{{DataLine| Speed Limit |{{#if:{{{speed|}}}|{{{speed}}}<span style="color:gray"> km/h</span>|<span class="error">speed</span>}} }}
?<tr><th>Speed Limit</th>+{{DataLine| Traverse |{{#if:{{{traverse|}}}|<span class="stock">{{{traverse}}}</span><span class="top">{{#if:{{{traverseTop|}}}|{{{traverseTop}}}|{{{traverse}}}}}</span><span style="color:gray"> deg/s</span>|<span class="error">traverse</span>}} }}
?<td>{{#if:{{{speed|}}}|{{{speed}}}<span style="color:gray"> km/h</span>|<span class="error">speed</span>}}</td></tr>+{{DataLine| Power/Wt Ratio |{{#if:{{{weight|}}}|<span class="stock">{{#var:hpt}}</span><span class="top">{{#if:{{{weightTop|}}}|{{#var:hptTop}}|{{#var:hpt}}}}</span><span style="color:gray"> hp/t</span>|<span class="error">hp/weight</span>}} }}
?<tr><th class="spacer"></th><td></td></tr>+{{DataLine| Pivot |{{#if:{{{pivot|}}}|<span class="stock">{{{pivot}}}</span><span class="top">{{#if:{{{pivotTop|}}}|{{{pivotTop}}}|{{{pivot}}}}}</span>|<span class="error">pivot</span>}} }}
?<tr><th>Traverse</th>+</table>
?<td>{{#if:{{{traverse|}}}|<span class="stock">{{{traverse}}}</span><span class="top">{{#if:{{{traverseTop|}}}|{{{traverseTop}}}|{{{traverse}}}}}</span><span style="color:gray"> deg/s</span>|<span class="error">traverse</span>}}</td></tr>+</div>
?<tr><th class="spacer"></th><td></td></tr>+<div class="b-performance_title">Armor</div>
?<tr><th>Power/Wt Ratio</th>+<div class="b-performance_text">
?<td>{{#if:{{{weight|}}}|<span class="stock">{{#var:hpt}}</span><span class="top">{{#if:{{{weightTop|}}}|{{#var:hptTop}}|{{#var:hpt}}}}</span><span style="color:gray"> hp/t</span>|<span class="error">hp/weight</span>}}</td></tr>+<table class="t-performance">
?<tr><th class="spacer"></th><td></td></tr>+{{DataLine| Hull Armor |{{#if:{{{armor|}}}|{{{armor}}}<span style="color:gray"> mm</span>|<span class="error">armor</span>}} }}
?<tr><th>Pivot</th>+
?<td>{{#if:{{{pivot|}}}|<span class="stock">{{{pivot}}}</span><span class="top">{{#if:{{{pivotTop|}}}|{{{pivotTop}}}|{{{pivot}}}}}</span>|<span class="error">pivot</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th colspan="2" style="text-align:center;">Armor</th></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Hull Armor</th>+
?<td>{{#if:{{{armor|}}}|{{{armor}}}<span style="color:gray"> mm</span>|<span class="error">armor</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
 {{#switch:{{lc:{{{class}}}}} {{#switch:{{lc:{{{class}}}}}
 |td= |td=
 |spg= |spg=
?|#default=<tr><th>Turret Armor</th><td>{{#if:{{{turretArmor|}}}|<span class="stock">{{{turretArmor}}}</span><span class="top">{{#if:{{{turretArmorTop|}}}|{{{turretArmorTop}}}|{{{turretArmor}}}}}</span><span style="color:gray"> mm</span>|<span class="error">turretArmor</span>}}</td></tr>+|#default={{DataLine| Turret Armor |{{#if:{{{turretArmor|}}}|<span class="stock">{{{turretArmor}}}</span><span class="top">{{#if:{{{turretArmorTop|}}}|{{{turretArmorTop}}}|{{{turretArmor}}}}}</span><span style="color:gray"> mm</span>|<span class="error">turretArmor</span>}} }}
?<tr><th class="spacer"></th><td></td></tr>}}+}}
?<tr><th colspan="2" style="text-align:center;">Armament</th></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Damage</th>+
?<td>{{#if:{{{damage|}}}|<span class="stock">{{{damage}}}</span><span class="top">{{#if:{{{damageTop|}}}|{{{damageTop}}}|{{{damage}}}}}</span><span style="color:gray"> HP</span>|<span class="error">damage</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Penetration</th>+
?<td>{{#if:{{{penetration|}}}|<span class="stock">{{{penetration}}}</span><span class="top">{{#if:{{{penetrationTop|}}}|{{{penetrationTop}}}|{{{penetration}}}}}</span><span style="color:gray"> mm</span>|<span class="error">penetration</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Rate of Fire</th>+
?<td>{{#if:{{{rof|}}}|<span class="stock">{{{rof}}}</span><span class="top">{{#if:{{{rofTop|}}}|{{{rofTop}}}|{{{rof}}}}}</span><span style="color:gray"> r/m</span>|<span class="error">rof</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Accuracy</th>+
?<td>{{#if:{{{accuracy|}}}|<span class="stock">{{{accuracy}}}</span><span class="top">{{#if:{{{accuracyTop|}}}|{{{accuracyTop}}}|{{{accuracy}}}}}</span><span style="color:gray"> m</span>|<span class="error">accuracy</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Aim time</th>+
?<td>{{#if:{{{aim|}}}|<span class="stock">{{{aim}}}</span><span class="top">{{#if:{{{aimingTimeTop|}}}|{{{aimingTimeTop}}}|{{{aim}}}}}</span><span style="color:gray"> s</span>|<span class="error">aim</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?{{#switch:{{lc:{{{class}}}}}+
?|td=<tr><th>Gun Traverse Speed</th>+
?|spg=<tr><th>Gun Traverse Speed</th>+
?|#default=<tr><th>Turret Traverse</th>}}+
?{{#switch:{{lc:{{{class}}}}}+
?|td=<td>{{#if:{{{gunTraverse|}}}|<span class="stock">{{{gunTraverse}}}</span><span class="top">{{#if:{{{gunTraverseTop|}}}|{{{gunTraverseTop}}}|{{{gunTraverse}}}}}</span><span style="color:gray"> deg/s</span>|<span class="error">gunTraverse</span>}}+
?|spg=<td>{{#if:{{{gunTraverse|}}}|<span class="stock">{{{gunTraverse}}}</span><span class="top">{{#if:{{{gunTraverseTop|}}}|{{{gunTraverseTop}}}|{{{gunTraverse}}}}}</span><span style="color:gray"> deg/s</span>|<span class="error">gunTraverse</span>}}+
?|#default=<td>{{#if:{{{turretTraverse|}}}|<span class="stock">{{{turretTraverse}}}</span><span class="top">{{#if:{{{turretTraverseTop|}}}|{{{turretTraverseTop}}}|{{{turretTraverse}}}}}</span><span style="color:gray"> deg/s</span>|<span class="error">turretTraverse</span>}}+
?}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Gun Arc</th>+
?<td>{{#if:{{{gunTraverseArc|}}}|{{#if:{{#explode:{{{gunTraverseArc}}}|/|1}}|-}}{{#explode:{{{gunTraverseArc}}}|/|0}}<span style="color:gray">°</span>{{#if:{{#explode:{{{gunTraverseArc}}}|/|1}}|/+{{#explode:{{{gunTraverseArc}}}|/|1}}<span style="color:gray">°</span>}}|<span class="error">gunTraverseArc</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Elevation Arc</th>+
?<td>{{#if:{{{gunVerticalLimits|}}}|<span class="stock">-{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |0}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |0}}|/|1}}<span style="color:gray">°</span>{{#if:{{#explode:{{{gunVerticalLimits}}}| // |1}}| // -{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |1}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |1}}|/|1}}<span style="color:gray">°</span>|}}</span><span class="top">{{#if:{{{gunVerticalLimitsTop|}}}|-{{#explode:{{#explode:{{{gunVerticalLimitsTop}}}| // |0}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimitsTop}}}| // |0}}|/|1}}<span style="color:gray">°</span>{{#if:{{#explode:{{{gunVerticalLimitsTop}}}| // |1}}| // -{{#explode:{{#explode:{{{gunVerticalLimitsTop}}}| // |1}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimitsTop}}}| // |1}}|/|1}}<span style="color:gray">°</span>|}}|-{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |0}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |0}}|/|1}}<span style="color:gray">°</span>{{#if:{{#explode:{{{gunVerticalLimits}}}| // |1}}| // -{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |1}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |1}}|/|1}}<span style="color:gray">°</span>|}}}}</span>|<span class="error">gunVerticalLimits</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Ammo Capacity</th>+
?<td>{{#if:{{{ammo|}}}|<span class="stock">{{{ammo}}}</span><span class="top">{{#if:{{{ammoTop|}}}|{{{ammoTop}}}|{{{ammo}}}}}</span><span style="color:gray"> rounds</span>|<span class="error">ammo</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th colspan="2" style="text-align:center;">General</th></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Chance of Fire</th>+
?<td>{{#if:{{{fire|}}}|<span class="stock">{{{fire}}}</span><span class="top">{{#if:{{{fireTop|}}}|{{{fireTop}}}|{{{fire}}}}}</span><span style="color:gray"> %</span>|<span class="error">fire</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>View Range</th>+
?<td>{{#if:{{{view|}}}|<span class="stock">{{{view}}}</span><span class="top">{{#if:{{{viewTop|}}}|{{{viewTop}}}|{{{view}}}}}</span><span style="color:gray"> m</span>|<span class="error">view</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Signal Range</th>+
?<td>{{#if:{{{signal|}}}|<span class="stock">{{{signal}}}</span><span class="top">{{#if:{{{signalTop|}}}|{{{signalTop}}}|{{{signal}}}}}</span><span style="color:gray"> m</span>|<span class="error">signal</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Parent</th>+
?<td>{{#if:{{{parent|}}}|{{#ifeq:{{{parent}}}|none|<span style="color:gray">none</span>|{{{parent}}}}}|<span class="error">parent</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
?<tr><th>Child</th>+
?<td>{{#if:{{{child|}}}|{{#ifeq:{{{child}}}|none|<span style="color:gray">none</span>|{{{child}}}}}|<span class="error">child</span>}}</td></tr>+
?<tr><th class="spacer"></th><td></td></tr>+
 </table> </table>
?<div class="note">{{#ifeq:{{#var:switch}}|1|<span id="switcher" style="font-size:120%;font-weight:bold;cursor:pointer;"><span id="switcherStock">Values are Stock - click for Top</span><span id="switcherTop" style="display:none;">Values are Top - click for Stock</span></span>|}}</div>+</div>
?</div>__NOTOC__</includeonly><noinclude>+<div class="b-performance_title">Armament</div>
 +<div class="b-performance_text">
 +<table class="t-performance">
 +{{DataLine| Shells |{{#if:{{{shellsstock|}}}|<span class="stock">{{{shellsstock}}}</span><span class="top">{{#if:{{{shellstop|}}}|{{{shellstop}}}|{{{shellsstock}}}}}</span>}} }}
 +{{DataLine| Shell Cost |{{#if:{{{shellcoststock|}}}|<span class="stock">{{{shellcoststock}}}</span><span class="top">{{#if:{{{shellcosttop|}}}|{{{shellcosttop}}}|{{{shellcoststock}}}}}</span>}} }}
 +{{DataLine| Damage |{{#if:{{{damage|}}}|<span class="stock">{{{damage}}}</span><span class="top">{{#if:{{{damageTop|}}}|{{{damageTop}}}|{{{damage}}}}}</span><span style="color:gray"> HP</span>|<span class="error">damage</span>|<span class="error">shellcost</span>}} }}
 +{{DataLine| Penetration |{{#if:{{{penetration|}}}|<span class="stock">{{{penetration}}}</span><span class="top">{{#if:{{{penetrationTop|}}}|{{{penetrationTop}}}|{{{penetration}}}}}</span><span style="color:gray"> mm</span>|<span class="error">penetration</span>}} }}
 +{{DataLine| Rate of Fire |{{#if:{{{rof|}}}|<span class="stock">{{{rof}}}</span><span class="top">{{#if:{{{rofTop|}}}|{{{rofTop}}}|{{{rof}}}}}</span>|<span class="error">rof</span>}} }}
 +{{DataLine| Damage Per Minute |{{#if:{{{DPM|}}}|<span class="stock">{{{DPM}}}</span><span class="top">{{#if:{{{DPMTop|}}}|{{{DPMTop}}}|{{{DPM}}}}}</span>|<span class="error">DPM</span>}} }}
 +{{DataLine| Accuracy |{{#if:{{{accuracy|}}}|<span class="stock">{{{accuracy}}}</span><span class="top">{{#if:{{{accuracyTop|}}}|{{{accuracyTop}}}|{{{accuracy}}}}}</span>|<span class="error">accuracy</span>}} }}
 +{{DataLine| Aim time |{{#if:{{{aim|}}}|<span class="stock">{{{aim}}}</span><span class="top">{{#if:{{{aimTop|}}}|{{{aimTop}}}|{{{aim}}}}}</span>|<span class="error">aim</span>}} }}
 +{{DataLine| {{#switch:{{lc:{{{class}}}}}
 +|td=Gun Traverse Speed
 +|spg=Gun Traverse Speed
 +|#default=Turret Traverse}} | {{#switch:{{lc:{{{class}}}}}
 +|td={{#if:{{{gunTraverse|}}}|<span class="stock">{{{gunTraverse}}}</span><span class="top">{{#if:{{{gunTraverseTop|}}}|{{{gunTraverseTop}}}|{{{gunTraverse}}}}}</span><span style="color:gray"> deg/s</span>|<span class="error">gunTraverse</span>}}
 +|spg={{#if:{{{gunTraverse|}}}|<span class="stock">{{{gunTraverse}}}</span><span class="top">{{#if:{{{gunTraverseTop|}}}|{{{gunTraverseTop}}}|{{{gunTraverse}}}}}</span><span style="color:gray"> deg/s</span>|<span class="error">gunTraverse</span>}}
 +|#default={{#if:{{{turretTraverse|}}}|<span class="stock">{{{turretTraverse}}}</span><span class="top">{{#if:{{{turretTraverseTop|}}}|{{{turretTraverseTop}}}|{{{turretTraverse}}}}}</span><span style="color:gray"> deg/s</span>|<span class="error">turretTraverse</span>}}
 +}} }}
 +{{DataLine| Gun Arc |{{#if:{{{gunTraverseArc|}}}|{{#if:{{#explode:{{{gunTraverseArc}}}|/|1}}|-}}{{#explode:{{{gunTraverseArc}}}|/|0}}<span style="color:gray">°</span>{{#if:{{#explode:{{{gunTraverseArc}}}|/|1}}|/+{{#explode:{{{gunTraverseArc}}}|/|1}}<span style="color:gray">°</span>}}|<span class="error">gunTraverseArc</span>}} }}
 +{{DataLine| Elevation Arc |{{#if:{{{gunVerticalLimits|}}}|<span class="stock">-{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |0}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |0}}|/|1}}<span style="color:gray">°</span>{{#if:{{#explode:{{{gunVerticalLimits}}}| // |1}}| // -{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |1}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |1}}|/|1}}<span style="color:gray">°</span>|}}</span><span class="top">{{#if:{{{gunVerticalLimitsTop|}}}|-{{#explode:{{#explode:{{{gunVerticalLimitsTop}}}| // |0}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimitsTop}}}| // |0}}|/|1}}<span style="color:gray">°</span>{{#if:{{#explode:{{{gunVerticalLimitsTop}}}| // |1}}| // -{{#explode:{{#explode:{{{gunVerticalLimitsTop}}}| // |1}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimitsTop}}}| // |1}}|/|1}}<span style="color:gray">°</span>|}}|-{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |0}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |0}}|/|1}}<span style="color:gray">°</span>{{#if:{{#explode:{{{gunVerticalLimits}}}| // |1}}| // -{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |1}}|/|0}}<span style="color:gray">°</span>/+{{#explode:{{#explode:{{{gunVerticalLimits}}}| // |1}}|/|1}}<span style="color:gray">°</span>|}}}}</span>|<span class="error">gunVerticalLimits</span>}} }}
 +{{DataLine| Ammo Capacity |{{#if:{{{ammo|}}}|<span class="stock">{{{ammo}}}</span><span class="top">{{#if:{{{ammoTop|}}}|{{{ammoTop}}}|{{{ammo}}}}}</span><span style="color:gray"> rounds</span>|<span class="error">ammo</span>}} }}
 +</table>
 +</div>
 +<div class="b-performance_title">General</div>
 +<div class="b-performance_text">
 +<table class="t-performance">
 +{{DataLine| Chance of Fire | {{#if:{{{fire|}}}|<span class="stock">{{{fire}}}</span><span class="top">{{#if:{{{fireTop|}}}|{{{fireTop}}}|{{{fire}}}}}</span><span style="color:gray"> %</span>|<span class="error">fire</span>}} }}
 +{{DataLine| View Range | {{#if:{{{view|}}}|<span class="stock">{{{view}}}</span><span class="top">{{#if:{{{viewTop|}}}|{{{viewTop}}}|{{{view}}}}}</span>|<span class="error">view</span>}} }}
 +{{DataLine| Signal Range | {{#if:{{{signal|}}}|<span class="stock">{{{signal}}}</span><span class="top">{{#if:{{{signalTop|}}}|{{{signalTop}}}|{{{signal}}}}}</span>|<span class="error">signal</span>}} }}
 +</table>
 +</div>
 +<div class="b-performance_title">{{#ifeq:{{#var:switch}}|1|<span id="switcher" style="font-size:110%;font-weight:bold;cursor:pointer;"><span id="switcherStock">Values are Stock - click for Top</span><span id="switcherTop" style="display:none;">Values are Top - click for Stock</span></span>|}}</div></div>
 +{{#gw_vehicle_relatives:{{#var:tank}}}}
 + 
 +{{#if:{{{Camostop|}}}{{{Camomove|}}}{{{Camofire|}}}{{{Passhard|}}}{{{Passmed|}}}{{{Passsoft|}}}{{{DispTurret|}}}{{{DispRecoil|}}}{{{DispAccel|}}}{{{DispTurning|}}}{{{SubArc_Count|}}}|
 +{{Popup
 +|header=<h4>Additional Statistics <br />
 +(Top Configuration)</h4>
 +|content=
 +{{#if:{{{GunAlt|}}}|When using the {{{GunAlt|}}} gun:<br />|}}
 + 
 +{{#if:{{{Camostop|}}}{{{Camomove|}}}{{{Camofire|}}}|<h4>Camouflage</h4>
 +{{#if:{{{Camostop|}}}|*Stationary: {{#expr:{{{Camostop|}}}round 2}}%|}}
 +{{#if:{{{Camomove|}}}|*When Moving: {{#expr:{{{Camomove|}}}round 2}}%|}}
 +{{#if:{{{Camofire|}}}|*When Firing: {{#expr:{{{Camofire|}}}round 2}}%|}}
 +<br />}}
 +{{#if:{{{Passhard|}}}{{{Passmed|}}}{{{Passsoft|}}}|<h4>Terrain Resistance</h4>
 +{{#if:{{{Passhard|}}}|*On Hard Ground: {{#expr:{{{Passhard|}}}round 2}}|}}
 +{{#if:{{{Passmed|}}}|*On Medium Ground: {{#expr:{{{Passmed|}}}round 2}}|}}
 +{{#if:{{{Passsoft|}}}|*On Soft Ground: {{#expr:{{{Passsoft|}}}round 2}}|}}
 +<br />}}
 +{{#if:{{{DispTurret|}}}{{{DispRecoil|}}}{{{DispAccel|}}}{{{DispTurning|}}}|<h4>Dispersion Change Values</h4>
 +{{#if:{{{DispTurret|}}}{{{DispRecoil|}}}|*'''Turret Contribution'''|}}
 +{{#if:{{{DispTurret|}}}|*Rotation: {{#expr:{{{DispTurret|}}}round 2}}|}}
 +{{#if:{{{DispRecoil|}}}|*Shot Recoil: {{#expr:{{{DispRecoil|}}}round 2}}|}}
 +{{#if:{{{DispAccel|}}}{{{DispTurning|}}}|*'''Suspension Contribution'''|}}
 +{{#if:{{{DispAccel|}}}|*Acceleration: {{#expr:{{{DispAccel|}}}round 2}}|}}
 +{{#if:{{{DispTurning|}}}|*Turning: {{#expr:{{{DispTurning|}}}round 2}}|}}
 +<br />}}
 +{{#if:{{{SubArc_Count|}}}|<h4>Detailed Elevation/Depression</h4>
 +There are {{{SubArc_Count|}}} major gun arcs with unique values:
 +{{#ifeq:{{{SubArc_1|}}}|Yes|*From {{{SubArc_1_Start|}}} to {{{SubArc_1_End|}}} degrees, -{{{SubArc_1_Dep|}}}°/+{{{SubArc_1_Elv|}}}°}}
 +{{#ifeq:{{{SubArc_2|}}}|Yes|*From {{{SubArc_2_Start|}}} to {{{SubArc_2_End|}}} degrees, -{{{SubArc_2_Dep|}}}°/+{{{SubArc_2_Elv|}}}°}}
 +{{#ifeq:{{{SubArc_3|}}}|Yes|*From {{{SubArc_3_Start|}}} to {{{SubArc_3_End|}}} degrees, -{{{SubArc_3_Dep|}}}°/+{{{SubArc_3_Elv|}}}°}}
 +{{#ifeq:{{{SubArc_4|}}}|Yes|*From {{{SubArc_4_Start|}}} to {{{SubArc_4_End|}}} degrees, -{{{SubArc_4_Dep|}}}°/+{{{SubArc_4_Elv|}}}°}}
 +{{#ifeq:{{{SubArc_5|}}}|Yes|*From {{{SubArc_5_Start|}}} to {{{SubArc_5_End|}}} degrees, -{{{SubArc_5_Dep|}}}°/+{{{SubArc_5_Elv|}}}°}}
 +{{#ifeq:{{{SubArc_6|}}}|Yes|*From {{{SubArc_6_Start|}}} to {{{SubArc_6_End|}}} degrees, -{{{SubArc_6_Dep|}}}°/+{{{SubArc_6_Elv|}}}°}}
 +<br />}}
 +''With 100% Crew''
 +}}}}
 + 
 +</div>__NOTOC__{{#ifeq:{{#var:premium}}|Premium|[[Category:Premium tanks]]|}}</includeonly><noinclude>
 ==Notes== ==Notes==
 *Missing or incorrect input will be red *Missing or incorrect input will be red
Line 167:Line 185:
 **'''name''' = in-game tank name; acceptable - nothing or name of tank (ie. "Leichttraktor"), if nothing template will use page name  **'''name''' = in-game tank name; acceptable - nothing or name of tank (ie. "Leichttraktor"), if nothing template will use page name
 **'''shortname''' = WG's internal designation for the tank (used for image file name lookup) **'''shortname''' = WG's internal designation for the tank (used for image file name lookup)
?**'''nation''' = nation tree of tank; acceptable input = "germany", "ussr", "usa", "france", "uk", "china", "Germany", "USSR", "USA", "UK", etc. (ie. "germany")+**'''nation''' = nation tree of tank; acceptable input = "germany", "ussr", "usa", "france", "uk", "china", "czech", "sweden", "Germany", "USSR", "USA", "UK", etc. (ie. "germany")
 **'''class''' = tank class; acceptable input = "light", "medium", "heavy", "spg", "td", "ttd", "tspg", "Light", "Medium", "Heavy" etc. (ie. "light") **'''class''' = tank class; acceptable input = "light", "medium", "heavy", "spg", "td", "ttd", "tspg", "Light", "Medium", "Heavy" etc. (ie. "light")
 **'''tier''' = tank tier; acceptable input = "I"..."X", "i"..."x", "1"..."10" (ie. "1") **'''tier''' = tank tier; acceptable input = "I"..."X", "i"..."x", "1"..."10" (ie. "1")
Line 202:Line 220:
 ==Template== ==Template==
 <pre> <pre>
?{{Tank+{{Sidebar
 |name =  |name =
 |shortname =  |shortname =
Line 253:Line 271:
 }} }}
 </pre> </pre>
 +
 +==See also==
 +*[[Template:Tank]]
 +*[[Template:TankData]]
 +
 [[Category:C/P Templates]] [[Category:C/P Templates]]
 +[[Category:WoT templates]]
 </noinclude> </noinclude>

Latest revision as of 12:04, 6 August 2018

Notes

  • Missing or incorrect input will be red
  • Add only the numerical statistic, not the unit (ie. "32" not "32km/h")
  • All tank info and related module info should be for the stock model. If the top model differs, add that value to an additional variable with a Top at the end of the same name (e.g. healthTop instead of health) .
  • Leave empty if stat is currently unavailable
  • Inputs are limited by the format, example for Leichttraktor:
    • name = in-game tank name; acceptable - nothing or name of tank (ie. "Leichttraktor"), if nothing template will use page name
    • shortname = WG's internal designation for the tank (used for image file name lookup)
    • nation = nation tree of tank; acceptable input = "germany", "ussr", "usa", "france", "uk", "china", "czech", "sweden", "Germany", "USSR", "USA", "UK", etc. (ie. "germany")
    • class = tank class; acceptable input = "light", "medium", "heavy", "spg", "td", "ttd", "tspg", "Light", "Medium", "Heavy" etc. (ie. "light")
    • tier = tank tier; acceptable input = "I"..."X", "i"..."x", "1"..."10" (ie. "1")
    • cost = tank cost in store; (ie. "0")
    • premium = premium yes|no, can be skipped if no
    • notInShop = tank is not available for gold yes|no, can be skipped if no
    • unavailable = tank is not available to players on EU/NA/SEA servers at all yes|no, can be skipped if no
    • crew = crew members (seperated by <br />); (ie. "1. Commander (Radio, Gunner)<br /> 2. Driver<br /> 3. Loader")
    • health = tank health/hit points; (ie. "110")
    • weight = tank weight and load limit (weight/load limit); (ie. "7.5/9.2")
    • engine = engine horse power; (ie. "51")
    • speed = tank speed limit; (ie. "32")
    • traverse = tank traverse speed; (ie. "34")
    • powerWtratio = horsepower / weight (Done automatically as long as there is a weight specified. It's handled by the "hpt" variable.)
    • pivot = tank can pivot/turn around center
    • turretTraverse = turret traverse speed; (ie. "40") (not used for TDs or SPGs)
    • gunTraverse = gun traverse speed; (ie. "40") (used only for TDs or SPGs)
    • gunTraverseArc = gun traverse arc; (ie. "360")
    • gunVerticalLimits = gun vertical limits (gun depression/gun elevation, ie. "5/10") - for multiple areas use front area
    • armor = tank armor (front/side/rear); (ie."14/12/12")
    • turretArmor = turret armor (front/side/rear); (ie."14/12/12")
    • damage = standard shell damage (min-max); (ie."22-42")
    • penetration = standard shell penetration (min-max); (ie."24-44")
    • rof = rate of fire listed in Rounds per Minute; (ie. "30"). If patch notes give Seconds per Shot, convert using 60 / SecondsPerShot = RoF.
    • ammo = ammo count; (ie. "105")
    • view = view range; (ie. "270")
    • signal = radio signal range; (ie. "100")
    • accuracy = gun dispersion @ 100m; (ie. "0.4")
    • aim = aim focus time; (ie. "1.5")
    • fire = change of engine fire; (ie. "25")
    • parent = vehicles that lead to this one in research tree, use contour template (ie. {{contour|PzKpfw II}})
    • child = vehicles that this vehicle leads to in research tree, use contour template (ie. {{contour|PzKpfw II}})

Template

{{Sidebar
|name = 
|shortname = 
|nation = 
|class = 
|tier = 
|cost = 
|premium= 
|notInShop = 
|unavailable = 
|crew = 
|health = 
|healthTop = 
|weight = 
|weightTop = 
|engine = 
|engineTop = 
|speed = 
|traverse = 
|traverseTop = 
|pivot = 
|pivotTop = 
|turretTraverse = 
|turretTraverseTop = 
|gunTraverse = 
|gunTraverseTop = 
|armor = 
|turretArmor = 
|turretArmorTop = 
|damage = 
|damageTop = 
|penetration = 
|penetrationTop = 
|rof = 
|rofTop = 
|ammo = 
|ammoTop =
|view = 
|viewTop = 
|signal = 
|signalTop = 
|accuracy = 
|accuracyTop = 
|aim = 
|aimTop = 
|fire = 
|fireTop = 
|parent = 
|child = 
}}

See also