Difference between revisions of "Template:Sidebar"
Revision as of 13:31, 11 August 2014 Addition of Shell Type to Sidebar | Revision as of 23:15, 26 August 2014 Addition of ForceSidebar revisions for Sidebar revisions project. | |||
Line 60: | Line 60: | |||
<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> | |||
? | --><div class="b-performance_title">Totals</div> | + | --><div class="b-battles-levels">[[Battle Tier|class=b-performance_title b-performance_title__link|]] | |
+ | {{#gw_levels_bar:total=11|from={{#var:BTLow}}|to={{#var:BTHigh}}}}</div> | |||
+ | <div class="b-performance_title">Totals</div> | |||
<div class="b-performance_text"> | <div class="b-performance_text"> | |||
<table class="t-performance"> | <table class="t-performance"> | |||
{{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}}} [[image:GoldIcon.png|12px|link=|Gold]]|{{{cost}}} [[image:Credits.png|12px|link=|Credits]]}}{{#ifeq:{{lc:{{{notInShop}}}}}|yes|)}}|<span class="error">cost</span>}}}} }} | {{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}}} [[image:GoldIcon.png|12px|link=|Gold]]|{{{cost}}} [[image:Credits.png|12px|link=|Credits]]}}{{#ifeq:{{lc:{{{notInShop}}}}}|yes|)}}|<span class="error">cost</span>}}}} }} | |||
? | ||||
{{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>}} }} | {{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>}} }} | |||
{{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>}} }} | {{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>}} }} | |||
Line 97: | Line 98: | |||
{{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>}} }} | {{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>}} }} | |||
{{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| 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}}}}} | + | {{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| Accuracy |{{#if:{{{accuracy|}}}|<span class="stock">{{{accuracy}}}</span><span class="top">{{#if:{{{accuracyTop|}}}|{{{accuracyTop}}}|{{{accuracy}}}}} | + | {{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:{{{aimingTimeTop|}}}|{{{aimingTimeTop}}}|{{{aim}}}}} | + | {{DataLine| Aim time |{{#if:{{{aim|}}}|<span class="stock">{{{aim}}}</span><span class="top">{{#if:{{{aimingTimeTop|}}}|{{{aimingTimeTop}}}|{{{aim}}}}}</span>|<span class="error">aim</span>}} }} | |
{{DataLine| {{#switch:{{lc:{{{class}}}}} | {{DataLine| {{#switch:{{lc:{{{class}}}}} | |||
|td=Gun Traverse Speed | |td=Gun Traverse Speed | |||
Line 117: | Line 118: | |||
<table class="t-performance"> | <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| 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}}}}} | + | {{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}}}}} | + | {{DataLine| Signal Range | {{#if:{{{signal|}}}|<span class="stock">{{{signal}}}</span><span class="top">{{#if:{{{signalTop|}}}|{{{signalTop}}}|{{{signal}}}}}</span>|<span class="error">signal</span>}} }} | |
? | + | |||
? | + | |||
</table> | </table> | |||
</div> | </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 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> | |||
? | </ | + | {{#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> | |||
+ | |hidden={{#switch:{{{style}}}|collapsed=1|expanded=|#default=1}} | |||
+ | |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__</includeonly><noinclude> | </div>__NOTOC__</includeonly><noinclude> | |||
==Notes== | ==Notes== |
Revision as of 23:15, 26 August 2014
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", "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
{{Tank |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 = }}
Category: