Welcome to Wargaming.net Wiki!
Variants

Difference between revisions of "Template:XboxTankData"

Jump to: navigation, search
Revision as of 13:37, 7 September 2015Revision as of 09:24, 2 December 2015
Line 1:Line 1:
?<includeonly>+<includeonly><div style="display:none">
?__NOTOC__+{{#vardefine:tank|{{#if:{{{TankTest|}}}
?<div style="display:none">+ |{{{TankTest|}}}
?{{#vardefine:tank|{{lc:{{#if:{{{Tank|}}}+ |{{PAGENAME}}
 +}}}}
 +{{#vardefine:tankdummy|{{#if:{{{Tank|}}}
  |{{{Tank|}}}  |{{{Tank|}}}
  |{{PAGENAME}}  |{{PAGENAME}}
?}}}}}} 
?{{#vardefine:class|{{lc:{{#xboxchars:{{#var:tank}}|class}}}}}} 
?{{#vardefine:classFooter|{{#switch:{{#xboxchars:{{#var:tank}}|class}} 
? |lightTank = Light Tanks 
? |mediumTank = Medium Tanks 
? |heavyTank = Heavy Tanks 
? |AT-SPG = Tank Destroyers 
? |SPG = Self-Propelled Guns 
 }}}} }}}}
?{{#vardefine:nationCode|{{#xboxchars:{{#var:tank}}|nation}}}}+{{#vardefine:name|{{#wotstr:{{#combatchars:{{#var:tank}}|mark}}}}}}
 +{{#vardefine:nationCode|{{#combatchars:{{#var:tank}}|nation}}}}
 {{#vardefine:nation|{{#switch:{{#var:nationCode}} {{#vardefine:nation|{{#switch:{{#var:nationCode}}
  |ussr = USSR  |ussr = USSR
Line 23:Line 18:
  |china = China  |china = China
  |japan = Japan  |japan = Japan
 + |czech = Czech
 }}}} }}}}
?{{#vardefine:level|{{#xboxchars:{{#var:tank}}|level}}}}+{{#vardefine:nation2|{{#switch:{{#var:nation}}
?{{#vardefine:premium|{{#xboxchars:{{#var:tank}}|gold}}}}+ |USSR = Soviet
?</div>+ |Germany = German
?<div class="b-performance">+ |USA = American
?<div class="b-performance_border">+ |France = French
?<h3 class="b-performance_title b-performance_title__header">{{PAGENAME}} (Stock)</h3>+ |UK = British
?[[image:Anno{{PAGENAME}}.png|232px|center]]+ |China = Chinese
?{{#gw_vehicle_params:wotx:{{#var:tank}}|data=price,health,weight|title=Totals}}+ |Japan = Japanese
?{{#gw_vehicle_params:wotx:{{#var:tank}}|data=crew|title=Crew}}+ |Czechoslovakia = Czechoslovakian
?{{#gw_vehicle_params:wotx:{{#var:tank}}|data=armorHull,armorTurret|title=Armor}}+}}}}
?{{#gw_vehicle_params:wotx:{{#var:tank}}|data=power,speedForward,traverseSpeed|title=Maneuver}}+{{#vardefine:level|{{#combatchars:{{#var:tank}}|level}}}}
?{{#gw_vehicle_params:wotx:{{#var:tank}}|data=damage,penetration,reloadTime,turretTraverse|title=Firepower}}+{{#vardefine:premium|{{#switch:{{#combatchars:{{#var:tank}}|gold}}
?{{#gw_vehicle_params:wotx:{{#var:tank}}|data=viewRange,signalRange|title=Communication}}+ |1 = Premium
?</div>+ |0 =}}}}
?{{#gw_vehicle_relatives:wotx:{{#var:tank}}}}+{{#vardefine:premiumLink|{{#switch:{{#var:premium}}
?</div>+ |Premium = [[Premium_Tanks| premium]]
?<div class="b-description">+ |#default =}}}}
?{{#gw_vehicle_annotation:wotx:{{#var:tank}} }}{{#xboxstr:{{#xboxchars:{{#var:tank}}|description}}}}<p>{{{1|}}}</p>+{{#vardefine:gift|{{#switch:{{#combatchars:{{#var:tank}}|notInShop}}
?</div>+ |true = yes
 + |#default = no}}}}
 +{{#vardefine:giftDesc|{{#switch:{{#combatchars:{{#var:tank}}|notInShop}}
 + |true = It is currently not available from the in-game store.
 + |#default =}}}}
 +{{#vardefine:turreted|{{#switch:{{#combatchars:{{#var:tank}}|isTurret}}
 + |1 = Turreted
 + |0 =}}}}
 +{{#vardefine:classCode|{{#combatchars:{{#var:tank}}|class}}}}
 +{{#vardefine:classFooter|{{#switch:{{#var:classCode}}
 + |lightTank = light
 + |mediumTank = medium
 + |heavyTank = heavy
 + |AT-SPG = td
 + |SPG = spg
 +}}}}
 +{{#vardefine:class|{{#switch:{{#var:classCode}}
 + |lightTank = Light
 + |mediumTank = Medium
 + |heavyTank = Heavy
 + |AT-SPG = {{#if:{{#var:turreted}}|TTD|TD}}
 + |SPG = {{#if:{{#var:turreted}}|TSPG|SPG}}
 +}}}}
 +{{#vardefine:classFooter2|{{#switch:{{#var:classCode}}
 + |lightTank = Light Tanks
 + |mediumTank = Medium Tanks
 + |heavyTank = Heavy Tanks
 + |AT-SPG = Tank Destroyers
 + |SPG = Self-Propelled Guns
 +}}}}
 +{{#vardefine:classLink|{{#switch:{{#var:class}}
 + |Light = [[Light_Tanks|light tank]]
 + |Medium = [[Medium_Tanks|medium tank]]
 + |Heavy = [[Heavy_Tanks|heavy tank]]
 + |TD = [[Tank_Destroyers|tank destroyer]]
 + |SPG = [[Self-Propelled_Guns|self-propelled gun]]
 + |TTD = turreted [[Tank_Destroyers|tank destroyer]]
 + |TSPG = turreted [[Self-Propelled_Guns|self-propelled gun]]
 +}}}}
 +{{#vardefine:classDesc|{{#switch:{{#var:classCode}}
 + |lightTank = light
 + |mediumTank = medium
 + |heavyTank = heavy
 + |AT-SPG = tank destroyer
 + |SPG = self-propelled gun
 +}}}}
 +{{#vardefine:children|{{#if:{{#combatchars:{{#var:tank}}|tanksAfter|}}
 + |The {{#var:name}} leads to{{Children|{{#var:tank}}}}
 + |The {{#var:name}} marks the end of its {{#var:nation2}} {{#var:classDesc}} line.
 +}}}}
 +{{#vardefine:GalleryContent|
 +{{#ifexist:Image:{{#var:name}}_front_left.jpg|image:{{#var:name}}_front_left.jpg{{!}}{{#var:name}} front left view}}
 +{{#ifexist:Image:{{#var:name}}_front_right.jpg|image:{{#var:name}}_front_right.jpg{{!}}{{#var:name}} front right view}}
 +{{#ifexist:Image:{{#var:name}}_rear_left.jpg|image:{{#var:name}}_rear_left.jpg{{!}}{{#var:name}} rear left view}}
 +{{#ifexist:Image:{{#var:name}}_rear_right.jpg|image:{{#var:name}}_rear_right.jpg{{!}}{{#var:name}} rear right view}}
 +{{{Gallery|}}}
 +}}</div>
 +{{DISPLAYTITLE:{{#var:name}}}}
 +{{#vardefine:appendContent|}}{{#if:{{#var:GalleryContent|}}||[[Category:Append: Gallery]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}}
 +* Gallery}}
 +}}{{#if:{{{InTheGame_pros|}}}||[[Category:Append: Player Opinion: Pros]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}}
 +* Player Opinion: Pros}}
 +}}{{#if:{{{InTheGame_cons|}}}||[[Category:Append: Player Opinion: Cons]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}}
 +* Player Opinion: Cons}}
 +}}{{#if:{{{InTheGame_performance|}}}||[[Category:Append: Player Opinion: Performance]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}}
 +* Player Opinion: Performance}}
 +}}{{#if:{{{InTheGame_equipment|}}}||[[Category:Append: Player Opinion: Equipment]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}}
 +* Player Opinion: Equipment}}
 +}}{{#if:{{{History|}}}||[[Category:Append: History]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}}
 +* History}}
 +}}{{#if:{{{HistoricalGallery|}}}||[[Category:Append: Historical Gallery]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}}
 +* Historical Gallery}}}}{{#if:{{{Ref_references|}}}||{{#if:{{{Ref_sources|}}}||{{#if:{{{Ref_links|}}}||[[Category:Append: Sources and External Links]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}}
 +* Sources and External Links}}}}}}
 +}}{{#ifeq:{{#var:append}}|1|<div class="b-status b-status__info">{{Append|{{AppendContentNavbar|{{#var:appendContent}}}}}}</div>}}
 +{{Sidebar
 +|name={{#var:name}}
 +|shortname={{#var:tank}}
 +|nation={{#var:nation}}
 +|premium={{#ifeq:{{#var:premium}}|Premium|yes|no}}
 +|notInShop={{#var:gift}}
 +|class={{#var:class}}
 +|tier={{#var:level}}
 +|cost={{formatnum:{{#combatchars:{{#var:tank}}|price}}}}
 +|crew={{#combatchars:{{#var:tank}}|crew}}
 +|health={{#combatchars:{{#var:tank}}|health}}
 +|healthTop={{#expr:{{#combatchars:{{#var:tank}}|hullHealth}}+{{#combatchars:turret:{{#var:tank}}::top|health|0}} round 0}}
 +|weight={{#expr:{{#combatchars:{{#var:tank}}|weight}}/1000 round 2}}/{{#expr:{{#combatchars:{{#var:tank}}|loadLimit}}/1000 round 2}}
 +|weightTop={{#expr:{{TopWeight|{{#var:tank}}}}/1000 round 2}}/{{#expr:{{#combatchars:chassis:{{#var:tank}}::top|loadLimit}}/1000 round 2}}
 +|engine={{#combatchars:{{#var:tank}}|power}}
 +|engineTop={{#combatchars:engine:{{#var:tank}}::top|power}}
 +|speed={{#combatchars:{{#var:tank}}|speedForward}}/{{#combatchars:{{#var:tank}}|speedBack}}
 +|traverse={{#combatchars:{{#var:tank}}|traverseSpeed}}
 +|traverseTop={{#combatchars:chassis:{{#var:tank}}::top|traverseSpeed}}
 +|pivot={{#ifeq:{{#combatchars:chassis:{{#var:tank}}::stock|turningRadius}}|0|Yes|No}}
 +|gunTraverse={{#if:{{#var:turreted}}||{{#combatchars:{{#var:tank}}|turretTraverse}}}}
 +|gunTraverseTop={{#if:{{#var:turreted}}||{{#combatchars:turret:{{#var:tank}}::top|turretTraverse}}}}
 +|turretTraverse={{#combatchars:turret:{{#var:tank}}::stock|turretTraverse}}
 +|turretTraverseTop={{#combatchars:turret:{{#var:tank}}::top|turretTraverse}}
 +|gunTraverseArc={{#expr:{{#combatchars:{{#var:tank}}|traverseLeft}}+{{#combatchars:{{#var:tank}}|traverseRight}}}}
 +|gunVerticalLimits={{#combatchars:{{#var:tank}}|depression}}/{{#combatchars:{{#var:tank}}|elevation}}
 +|gunVerticalLimitsTop={{#combatchars:gun:{{#var:tank}}::top|depression}}/{{#combatchars:gun:{{#var:tank}}::top|elevation}}
 +|armor={{#combatchars:{{#var:tank}}|armorHullFront}}/{{#combatchars:{{#var:tank}}|armorHullSide}}/{{#combatchars:{{#var:tank}}|armorHullBack}}
 +|turretArmor={{#combatchars:{{#var:tank}}|armorTurretFront}}/{{#combatchars:{{#var:tank}}|armorTurretSide}}/{{#combatchars:{{#var:tank}}|armorTurretBack}}
 +|turretArmorTop={{#combatchars:turret:{{#var:tank}}::top|armorTurretFront}}/{{#combatchars:turret:{{#var:tank}}::top|armorTurretSide}}/{{#combatchars:turret:{{#var:tank}}::top|armorTurretBack}}
 +|shellsstock={{ShellsTypeBreakdown|{{#var:tank}}|stock}}
 +|shellstop={{ShellsTypeBreakdown|{{#var:tank}}|top}}
 +|shellcoststock={{ShellsCostCalc|{{#var:tank}}|stock|stock|{{#var:nation}}}}
 +|shellcosttop={{ShellsCostCalc|{{#var:tank}}|top|top|{{#var:nation}}}}
 +|damage={{#combatchars:{{#var:tank}}|damage1}}/{{#combatchars:{{#var:tank}}|damage2}}/{{#combatchars:{{#var:tank}}|damage3}}
 +|damageTop={{#combatchars:gun:{{#var:tank}}::top|damage1}}/{{#combatchars:gun:{{#var:tank}}::top|damage2}}/{{#combatchars:gun:{{#var:tank}}::top|damage3}}
 +|penetration={{#combatchars:{{#var:tank}}|penetration1}}/{{#combatchars:{{#var:tank}}|penetration2}}/{{#combatchars:{{#var:tank}}|penetration3}}
 +|penetrationTop={{#combatchars:gun:{{#var:tank}}::top|penetration1}}/{{#combatchars:gun:{{#var:tank}}::top|penetration2}}/{{#combatchars:gun:{{#var:tank}}::top|penetration3}}
 +|rof={{#if:{{#combatchars:gun:{{#var:tank}}::stock|clipCount}}|{{AutoRoF|{{#var:tank}}|stock|yes}}|{{AutoRoF|{{#var:tank}}|stock|no}}}}
 +|rofTop={{#if:{{#combatchars:gun:{{#var:tank}}::top|clipCount}}|{{AutoRoF|{{#var:tank}}|top|yes}}|{{AutoRoF|{{#var:tank}}|top|no}}}}
 +|DPM={{#if:{{#combatchars:gun:{{#var:tank}}::stock|clipCount}}|{{SidebarDPM|{{#var:tank}}|stock|yes}}|{{SidebarDPM|{{#var:tank}}|stock|no}}}}
 +|DPMTop={{#if:{{#combatchars:gun:{{#var:tank}}::top|clipCount}}|{{SidebarDPM|{{#var:tank}}|top|yes}}|{{SidebarDPM|{{#var:tank}}|top|no}}}}
 +|ammo={{#combatchars:gun:{{#var:tank}}::stock|maxAmmo}}
 +|ammoTop={{#combatchars:gun:{{#var:tank}}::top|maxAmmo}}
 +|view={{ViewRange|{{#var:tank}}|stock}}
 +|viewTop={{ViewRange|{{#var:tank}}|top}}
 +|signal={{SignalRange|{{#var:tank}}|stock}}
 +|signalTop={{SignalRange|{{#var:tank}}|top}}
 +|accuracy={{Accuracy|{{#var:tank}}|stock}}
 +|accuracyTop={{Accuracy|{{#var:tank}}|top}}
 +|aim={{AimTime|{{#var:tank}}|stock}}
 +|aimTop={{AimTime|{{#var:tank}}|top}}
 +|fire={{#expr:{{#combatchars:engine:{{#var:tank}}::stock|fireStartingChance}}*100}}
 +|fireTop={{#expr:{{#combatchars:engine:{{#var:tank}}::top|fireStartingChance}}*100}}
 +|parent={{#if:{{#combatchars:{{#var:tank}}|tanksBefore|}}|{{CCContour|{{#var:tank}}|before}}|none}}
 +|child={{#if:{{#combatchars:{{#var:tank}}|tanksAfter|}}|{{CCContour|{{#var:tank}}|after}}|none}}
 +|GunAlt={{{Sidebar_GunAlt|}}}
 +|Camostop={{{Sidebar_Camostop|}}}
 +|Camomove={{{Sidebar_Camomove|}}}
 +|Camofire={{{Sidebar_Camofire|}}}
 +|Passhard={{{Sidebar_Passhard|}}}
 +|Passmed={{{Sidebar_Passmed|}}}
 +|Passsoft={{{Sidebar_Passsoft|}}}
 +|DispTurret={{{Sidebar_DispTurret|}}}
 +|DispRecoil={{{Sidebar_DispRecoil|}}}
 +|DispAccel={{{Sidebar_DispAccel|}}}
 +|DispTurning={{{Sidebar_DispTurning|}}}
 +|SubArc_Count={{{Sidebar_SubArc_Count|}}}
 +|SubArc_1={{{Sidebar_SubArc_1|}}}
 +|SubArc_1_Start={{{Sidebar_SubArc_1_Start|}}}
 +|SubArc_1_End={{{Sidebar_SubArc_1_End|}}}
 +|SubArc_1_Dep={{{Sidebar_SubArc_1_Dep|}}}
 +|SubArc_1_Elv={{{Sidebar_SubArc_1_Elv|}}}
 +|SubArc_2={{{Sidebar_SubArc_2|}}}
 +|SubArc_2_Start={{{Sidebar_SubArc_2_Start|}}}
 +|SubArc_2_End={{{Sidebar_SubArc_2_End|}}}
 +|SubArc_2_Dep={{{Sidebar_SubArc_2_Dep|}}}
 +|SubArc_2_Elv={{{Sidebar_SubArc_2_Elv|}}}
 +|SubArc_3={{{Sidebar_SubArc_3|}}}
 +|SubArc_3_Start={{{Sidebar_SubArc_3_Start|}}}
 +|SubArc_3_End={{{Sidebar_SubArc_3_End|}}}
 +|SubArc_3_Dep={{{Sidebar_SubArc_3_Dep|}}}
 +|SubArc_3_Elv={{{Sidebar_SubArc_3_Elv|}}}
 +|SubArc_4={{{Sidebar_SubArc_4|}}}
 +|SubArc_4_Start={{{Sidebar_SubArc_4_Start|}}}
 +|SubArc_4_End={{{Sidebar_SubArc_4_End|}}}
 +|SubArc_4_Dep={{{Sidebar_SubArc_4_Dep|}}}
 +|SubArc_4_Elv={{{Sidebar_SubArc_4_Elv|}}}
 +|SubArc_5={{{Sidebar_SubArc_5|}}}
 +|SubArc_5_Start={{{Sidebar_SubArc_5_Start|}}}
 +|SubArc_5_End={{{Sidebar_SubArc_5_End|}}}
 +|SubArc_5_Dep={{{Sidebar_SubArc_5_Dep|}}}
 +|SubArc_5_Elv={{{Sidebar_SubArc_5_Elv|}}}
 +|SubArc_6={{{Sidebar_SubArc_6|}}}
 +|SubArc_6_Start={{{Sidebar_SubArc_6_Start|}}}
 +|SubArc_6_End={{{Sidebar_SubArc_6_End|}}}
 +|SubArc_6_Dep={{{Sidebar_SubArc_6_Dep|}}}
 +|SubArc_6_Elv={{{Sidebar_SubArc_6_Elv|}}}
 +}}
 +{{TankDescription|{{Flag|{{#var:nation}}|{{#var:tank}}}}<p>The '''{{#var:name}}''' is a{{#ifeq:{{#var:nation2}}|American|n|}} [[{{#var:nation}}|{{#var:nation2}}]] tier {{#var:level}}{{#var:premiumLink}} {{#var:classLink}}. {{#ifeq:{{#var:gift}}|yes|{{#var:giftDesc}}}}</p><p>{{#wotstr:{{#combatchars:{{#var:tank}}|description}}}}</p><p>{{{1|}}}</p>{{#ifeq:{{#var:premium}}|Premium||<p>{{#var:children}}</p>}}}}
 +<div class="b-wiki-panel">
  
?{{#gw_vehicle_modules:wotx:{{#var:tank}}}}+{{Popup
? +|header=<h3>Modules / Available Equipment and Consumables</h3>
?<h2>Compatible Equipment</h2>+|content=
?{{#gw_vehicle_devices:wotx:{{#var:tank}} }}+{{ModulesNexus|{{#var:tank}}}}
? +<h3>Compatible Equipment</h3>
?<h2>Compatible Consumables</h2>+{{Equipment|{{#var:tank}}}}
?{{#gw_vehicle_equipments:wotx:{{#var:tank}} }}+<h3>Compatible Consumables</h3>
 +{{Consumables|{{#var:tank}}}}
 +}}
  
?{{#if:{{{InTheGame_pros|}}}{{{InTheGame_cons|}}}{{{InTheGame_performance|}}}{{{InTheGame_research|}}}|+{{#if:{{{InTheGame_pros|}}}{{{InTheGame_cons|}}}{{{InTheGame_performance|}}}{{{InTheGame_research|}}}{{{InTheGame_equipment|}}}|
 {{InTheGame|pros={{{InTheGame_pros|}}} {{InTheGame|pros={{{InTheGame_pros|}}}
 |cons={{{InTheGame_cons|}}} |cons={{{InTheGame_cons|}}}
 |performance={{{InTheGame_performance|}}} |performance={{{InTheGame_performance|}}}
 |research={{{InTheGame_research|}}} |research={{{InTheGame_research|}}}
 +|equipment={{{InTheGame_equipment|}}}
 +|Equipment_Builds={{{InTheGame_Equipment_Builds|}}}
 +|builds={{{InTheGame_builds|}}}
 }}|}} }}|}}
? +{{#if:{{{External_Reviews|}}}|
 +{{External_Reviews|External_Reviews={{{External_Reviews|}}}}}
 +|}}
 +{{#if:{{{Gallery|}}}[[File:{{#var:name}}_front_left.jpg]][[File:{{#var:name}}_front_right.jpg]][[File:{{#var:name}}_rear_left.jpg]][[File:{{#var:name}}_rear_right.jpg]]
 +|{{Gallery|title=<h3>Gallery</h3>|style=collapsed|content={{#var:GalleryContent|}}}}
 +|<p class="error">Gallery for this tank not found</p>}}
 {{#if:{{{History|}}} {{#if:{{{History|}}}
 |{{History|info={{{History|}}}}} |{{History|info={{{History|}}}}}
Line 64:Line 244:
 {{#if:{{{HistoricalGallery|}}} {{#if:{{{HistoricalGallery|}}}
 |{{Gallery|title=<h3>Historical Gallery</h3>|style=collapsed|content={{{HistoricalGallery|}}}}} |{{Gallery|title=<h3>Historical Gallery</h3>|style=collapsed|content={{{HistoricalGallery|}}}}}
 +|}}
 +{{#if:{{{HistAcc|}}}
 +|{{HistoryAcc|info={{{HistAcc|}}}
 +}}
 |}} |}}
 {{#if:{{{Ref_references|}}}{{{Ref_sources|}}}{{{Ref_links|}}}| {{#if:{{{Ref_references|}}}{{{Ref_sources|}}}{{{Ref_links|}}}|
Line 70:Line 254:
 |links={{{Ref_links|}}} |links={{{Ref_links|}}}
 }}|}} }}|}}
? 
?<div class="b-tech-nav"> 
 {{#gw_nav_table: {{#gw_nav_table:
 name = {{#var:nation}} | name = {{#var:nation}} |
?Light Tanks#{{#gw_vehicle_list:wotx: nation = {{#var:nationCode}} | class = lightTank | order = level | style = text | divider = • }} |+Light Tanks#{{#gw_vehicle_list:wot: nation = {{#var:nationCode}} | class = lightTank | order = level | style = text | divider = • }} |
?Medium Tanks#{{#gw_vehicle_list:wotx: nation = {{#var:nationCode}} | class = mediumTank | order = level | style = text | divider = • }} |+Medium Tanks#{{#gw_vehicle_list:wot: nation = {{#var:nationCode}} | class = mediumTank | order = level | style = text | divider = • }} |
?Heavy Tanks#{{#gw_vehicle_list:wotx: nation = {{#var:nationCode}} | class = heavyTank | order = level | style = text | divider = • }} |+Heavy Tanks#{{#gw_vehicle_list:wot: nation = {{#var:nationCode}} | class = heavyTank | order = level | style = text | divider = • }} |
?Tank Destroyers#{{#gw_vehicle_list:wotx: nation = {{#var:nationCode}} | class = AT-SPG | order = level | style = text | divider = • }} |+Tank Destroyers#{{#gw_vehicle_list:wot: nation = {{#var:nationCode}} | class = AT-SPG | order = level | style = text | divider = • }} |
?Self-Propelled Artillery#{{#gw_vehicle_list:wotx: nation = {{#var:nationCode}} | class = SPG | order = level | style = text | divider = • }}+Self-Propelled Artillery#{{#gw_vehicle_list:wot: nation = {{#var:nationCode}} | class = SPG | order = level | style = text | divider = • }}
 }} }}
 {{#gw_nav_table: {{#gw_nav_table:
 name = {{#var:classFooter}} | name = {{#var:classFooter}} |
?USA#{{#gw_vehicle_list:wotx: nation = usa | class = {{#var:class}} | order = level | style = text | divider = • }} |+USA#{{#gw_vehicle_list:wot: nation = usa | class = {{#var:class}} | order = level | style = text | divider = • }} |
?UK#{{#gw_vehicle_list:wotx: nation = uk | class = {{#var:class}} | order = level | style = text | divider = • }} |+UK#{{#gw_vehicle_list:wot: nation = uk | class = {{#var:class}} | order = level | style = text | divider = • }} |
?Germany#{{#gw_vehicle_list:wotx: nation = germany | class = {{#var:class}} | order = level | style = text | divider = • }} |+Germany#{{#gw_vehicle_list:wot: nation = germany | class = {{#var:class}} | order = level | style = text | divider = • }} |
?France#{{#gw_vehicle_list:wotx: nation = france | class = {{#var:class}} | order = level | style = text | divider = • }} |+France#{{#gw_vehicle_list:wot: nation = france | class = {{#var:class}} | order = level | style = text | divider = • }} |
?USSR#{{#gw_vehicle_list:wotx: nation = ussr | class = {{#var:class}} | order = level | style = text | divider = • }} |+USSR#{{#gw_vehicle_list:wot: nation = ussr | class = {{#var:class}} | order = level | style = text | divider = • }} |
?China#{{#gw_vehicle_list:wotx: nation = china | class = {{#var:class}} | order = level | style = text | divider = • }} |+China#{{#gw_vehicle_list:wot: nation = china | class = {{#var:class}} | order = level | style = text | divider = • }} |
?Japan#{{#gw_vehicle_list:wotx: nation = japan | class = {{#var:class}} | order = level | style = text | divider = • }}+Japan#{{#gw_vehicle_list:wot: nation = japan | class = {{#var:class}} | order = level | style = text | divider = • }}
 +Czechoslovakia#{{#gw_vehicle_list:wot: nation = czech | class = {{#var:class}} | order = level | style = text | divider = • }}
 }} }}
 {{#ifeq:{{#var:premium}}|1 {{#ifeq:{{#var:premium}}|1
 |{{#gw_nav_table: |{{#gw_nav_table:
 name = Premium tanks | name = Premium tanks |
?USA#{{#gw_vehicle_list:wotx: nation = usa | gold = 1 | order = level | style = text | divider = • }} |+USA#{{#gw_vehicle_list:wot: nation = usa | gold = 1 | order = level | style = text | divider = • }} |
?UK#{{#gw_vehicle_list:wotx: nation = uk | gold = 1 | order = level | style = text | divider = • }} |+UK#{{#gw_vehicle_list:wot: nation = uk | gold = 1 | order = level | style = text | divider = • }} |
?Germany#{{#gw_vehicle_list:wotx: nation = germany | gold = 1 | order = level | style = text | divider = • }} |+Germany#{{#gw_vehicle_list:wot: nation = germany | gold = 1 | order = level | style = text | divider = • }} |
?France#{{#gw_vehicle_list:wotx: nation = france | gold = 1 | order = level | style = text | divider = • }} |+France#{{#gw_vehicle_list:wot: nation = france | gold = 1 | order = level | style = text | divider = • }} |
?USSR#{{#gw_vehicle_list:wotx: nation = ussr | gold = 1 | order = level | style = text | divider = • }} |+USSR#{{#gw_vehicle_list:wot: nation = ussr | gold = 1 | order = level | style = text | divider = • }} |
?China#{{#gw_vehicle_list:wotx: nation = china | gold = 1 | order = level | style = text | divider = • }} |+China#{{#gw_vehicle_list:wot: nation = china | gold = 1 | order = level | style = text | divider = • }} |
?Japan#{{#gw_vehicle_list:wotx: nation = japan | gold = 1 | order = level | style = text | divider = • }}+Japan#{{#gw_vehicle_list:wot: nation = japan | gold = 1 | order = level | style = text | divider = • }}
 +Czechoslovakia#{{#gw_vehicle_list:wot: nation = czech | gold = 1 | order = level | style = text | divider = • }}
 }} }}
 |}}{{OtherLangs}} |}}{{OtherLangs}}
?</div>+</includeonly><noinclude>
?</includeonly>+==Notes==
?<noinclude>+*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).
 ==Usage== ==Usage==
?*<nowiki>{{tankData</nowiki> ''This places the core panels supported by the auto gen data.''+*<nowiki>{{TankData</nowiki> ''This places the core panels supported by the auto gen data.''
?*<nowiki>|tank=</nowiki> ''Specify the tank code. Required for widget automation. '''If not specified, it will default to the page's name.'''''+*<nowiki>|Tank=</nowiki> ''Specify the tank code. See Notes above. Required for CombatChars automation. '''If not specified, it will default to the page's name.'''''
 +*<nowiki>|</nowiki> ''This leaves a field to place optional custom text that is included in the description. Will '''not''' place <nowiki>{{append}}</nowiki> if left blank.''
 *<nowiki>|InTheGame_pros=</nowiki> ''Pros for the Player Opinion panel. Please use * and a new line for each "pro". Usage of "above average" will be removed. Will place <nowiki>{{append}}</nowiki> if left blank.'' *<nowiki>|InTheGame_pros=</nowiki> ''Pros for the Player Opinion panel. Please use * and a new line for each "pro". Usage of "above average" will be removed. Will place <nowiki>{{append}}</nowiki> if left blank.''
 *<nowiki>|InTheGame_cons=</nowiki> ''Cons for the Player Opinion panel. Please use * and a new line for each "con". Usage of "below average" will be removed. Will place <nowiki>{{append}}</nowiki> if left blank.'' *<nowiki>|InTheGame_cons=</nowiki> ''Cons for the Player Opinion panel. Please use * and a new line for each "con". Usage of "below average" will be removed. Will place <nowiki>{{append}}</nowiki> if left blank.''
 *<nowiki>|InTheGame_performance=</nowiki> ''General area for in game tank performance info for the Player Opinion panel. Please use regular paragraph structure for this area. You can use images and tables as needed. Will place <nowiki>{{append}}</nowiki> if left blank.'' *<nowiki>|InTheGame_performance=</nowiki> ''General area for in game tank performance info for the Player Opinion panel. Please use regular paragraph structure for this area. You can use images and tables as needed. Will place <nowiki>{{append}}</nowiki> if left blank.''
 *<nowiki>|InTheGame_research=</nowiki> ''Optional general area for early research info for the Player Opinion panel. For those tanks where it is not obvious, use this area to detail a suggested research path. A good use for this area is to mention if you need to research tracks before a gun upgrade, etc. Will '''not''' place <nowiki>{{append}}</nowiki> if left blank.'' *<nowiki>|InTheGame_research=</nowiki> ''Optional general area for early research info for the Player Opinion panel. For those tanks where it is not obvious, use this area to detail a suggested research path. A good use for this area is to mention if you need to research tracks before a gun upgrade, etc. Will '''not''' place <nowiki>{{append}}</nowiki> if left blank.''
 +*<nowiki>|InTheGame_equipment=</nowiki> ''Suggested equipment list for the Player Opinion panel using the [[Template:EquipmentPanel]]. Please use the format found there. Will place <nowiki>{{append}}</nowiki> if left blank.''
 +*<nowiki>|Gallery=</nowiki> ''Additional image content for the gallery panel. The four screenshots (<nowiki>{{PAGENAME}}_front_left.jpg</nowiki> etc.) are added automatically. Place each image on a new line. Will place <nowiki>{{append}}</nowiki> if left blank and none of the four screenshots if found.''
 *<nowiki>|History=</nowiki> ''General area for tank history info. Please use regular paragraph structure for this area. You can use images and tables as needed. Will place <nowiki>{{append}}</nowiki> if left blank.'' *<nowiki>|History=</nowiki> ''General area for tank history info. Please use regular paragraph structure for this area. You can use images and tables as needed. Will place <nowiki>{{append}}</nowiki> if left blank.''
 *<nowiki>|HistoricalGallery=</nowiki> ''Image content for the historical gallery panel. Place each image on a new line. Will place <nowiki>{{append}}</nowiki> if left blank.'' *<nowiki>|HistoricalGallery=</nowiki> ''Image content for the historical gallery panel. Place each image on a new line. Will place <nowiki>{{append}}</nowiki> if left blank.''
Line 119:Line 306:
 ::''Panels for references, sources and external links. We don't have a reference list template ( <nowiki>{{reflist}}</nowiki> ) so place any references manually with [number] in the text. Then in the '''References''' section please use # (the actual # symbol, not a number) and a new line for each reference cited. If not referenced in the text with a [number] leave '''References''' blank and use ''' Sources ''' and/or ''' External Links ''' to cite where you found the info used in the article. Place a book's or other offline resource's bibliography info in '''Sources'''. For online resources use '''External Links'''. Please use * and a new line for each entry. If left blank after the = will place <nowiki>{{append}}</nowiki>'' ::''Panels for references, sources and external links. We don't have a reference list template ( <nowiki>{{reflist}}</nowiki> ) so place any references manually with [number] in the text. Then in the '''References''' section please use # (the actual # symbol, not a number) and a new line for each reference cited. If not referenced in the text with a [number] leave '''References''' blank and use ''' Sources ''' and/or ''' External Links ''' to cite where you found the info used in the article. Place a book's or other offline resource's bibliography info in '''Sources'''. For online resources use '''External Links'''. Please use * and a new line for each entry. If left blank after the = will place <nowiki>{{append}}</nowiki>''
 *<nowiki>}}</nowiki> *<nowiki>}}</nowiki>
 +For ease of reading while in the edit panel please place anything you add to the sections on the line below the = (except for the first | and the sources).
 ==Template== ==Template==
?<big>'''WARNING: DO NOT ASSIGN VALUES TO TANK= UNLESS YOU KNOW WHAT YOU ARE DOING AND WHAT WILL HAPPEN PERFECTLY. LEAVE IT BLANK.'''</big><hr>+ 
 + 
  
 <pre> <pre>
?{{XboxTankData|Tank=+{{TankData|Tank= ''Please leave space after ''='' blank except in specific circumstances''
?|+| ''Free text - intro section''
  
?|Gallery=+|Gallery= ''Gallery of (ingame) tank images''
  
?|InTheGame_pros=+|InTheGame_pros= ''Short highlights of most useful attributes of tank''
  
?|InTheGame_cons=+|InTheGame_cons= ''Short highlights of most challenging attributes of tank''
  
?|InTheGame_performance=+|InTheGame_performance= ''Free space for description of how a tank plays '''in its elite configuration'''''
  
?|InTheGame_research=+|InTheGame_research= ''Space to overview research progression and any major aspects of the experience while advancing the vehicle''
  
 |InTheGame_equipment= |InTheGame_equipment=
  
?|History=+|InTheGame_Equipment_Builds=
 +|InTheGame_builds=
 +(both will activate the same section)
  
?|HistoricalGallery=+|External_Reviews= ''For external review links (Youtube, etc)''
 + 
 +|History= ''History of the tank''
 + 
 +|HistoricalGallery= ''Historical images of the tank''
  
 |Ref_references= |Ref_references=
Line 150:Line 345:
 }} }}
 </pre> </pre>
?[[Category:Haswell's_Storage_of_Spare_Time]]+<hr>
 +''Cut dried version for reasons of laziness''
 +<pre>
 +{{TankData|Tank=
 +|
 + 
 +|Gallery=
 + 
 +|InTheGame_pros=
 + 
 +|InTheGame_cons=
 + 
 +|InTheGame_performance=
 + 
 +|InTheGame_research=
 + 
 +|InTheGame_equipment=
 + 
 +|InTheGame_Equipment_Builds=
 + 
 +|External_Reviews=
 + 
 +|History=
 + 
 +|HistoricalGallery=
 + 
 +|Ref_references=
 + 
 +|Ref_sources=
 + 
 +|Ref_links=
 + 
 +}}
 + 
 +</pre>
 + 
 [[Category:C/P Templates]] [[Category:C/P Templates]]
 </noinclude> </noinclude>

Revision as of 09:24, 2 December 2015

Notes

Usage

  • {{TankData This places the core panels supported by the auto gen data.
  • |Tank= Specify the tank code. See Notes above. Required for CombatChars automation. If not specified, it will default to the page's name.
  • | This leaves a field to place optional custom text that is included in the description. Will not place {{append}} if left blank.
  • |InTheGame_pros= Pros for the Player Opinion panel. Please use * and a new line for each "pro". Usage of "above average" will be removed. Will place {{append}} if left blank.
  • |InTheGame_cons= Cons for the Player Opinion panel. Please use * and a new line for each "con". Usage of "below average" will be removed. Will place {{append}} if left blank.
  • |InTheGame_performance= General area for in game tank performance info for the Player Opinion panel. Please use regular paragraph structure for this area. You can use images and tables as needed. Will place {{append}} if left blank.
  • |InTheGame_research= Optional general area for early research info for the Player Opinion panel. For those tanks where it is not obvious, use this area to detail a suggested research path. A good use for this area is to mention if you need to research tracks before a gun upgrade, etc. Will not place {{append}} if left blank.
  • |InTheGame_equipment= Suggested equipment list for the Player Opinion panel using the Template:EquipmentPanel. Please use the format found there. Will place {{append}} if left blank.
  • |Gallery= Additional image content for the gallery panel. The four screenshots ({{PAGENAME}}_front_left.jpg etc.) are added automatically. Place each image on a new line. Will place {{append}} if left blank and none of the four screenshots if found.
  • |History= General area for tank history info. Please use regular paragraph structure for this area. You can use images and tables as needed. Will place {{append}} if left blank.
  • |HistoricalGallery= Image content for the historical gallery panel. Place each image on a new line. Will place {{append}} if left blank.
  • |Ref_references= see below
  • |Ref_sources= see below
  • |Ref_links= see below
Panels for references, sources and external links. We don't have a reference list template ( {{reflist}} ) so place any references manually with [number] in the text. Then in the References section please use # (the actual # symbol, not a number) and a new line for each reference cited. If not referenced in the text with a [number] leave References blank and use Sources and/or External Links to cite where you found the info used in the article. Place a book's or other offline resource's bibliography info in Sources. For online resources use External Links. Please use * and a new line for each entry. If left blank after the = will place {{append}}
  • }}

For ease of reading while in the edit panel please place anything you add to the sections on the line below the = (except for the first | and the sources).

Template

{{TankData|Tank= ''Please leave space after ''='' blank except in specific circumstances''
| ''Free text - intro section''

|Gallery= ''Gallery of (ingame) tank images''

|InTheGame_pros= ''Short highlights of most useful attributes of tank''

|InTheGame_cons= ''Short highlights of most challenging attributes of tank''

|InTheGame_performance= ''Free space for description of how a tank plays '''in its elite configuration'''''

|InTheGame_research= ''Space to overview research progression and any major aspects of the experience while advancing the vehicle''

|InTheGame_equipment=

|InTheGame_Equipment_Builds=
|InTheGame_builds=
(both will activate the same section)

|External_Reviews= ''For external review links (Youtube, etc)''

|History= ''History of the tank''

|HistoricalGallery= ''Historical images of the tank''

|Ref_references=

|Ref_sources=

|Ref_links=

}}

Cut dried version for reasons of laziness

{{TankData|Tank= 
| 

|Gallery= 

|InTheGame_pros= 

|InTheGame_cons= 

|InTheGame_performance= 

|InTheGame_research= 

|InTheGame_equipment=

|InTheGame_Equipment_Builds=

|External_Reviews= 

|History= 

|HistoricalGallery= 

|Ref_references=

|Ref_sources=

|Ref_links=

}}

Category: