Modèle:TankData : Différence entre versions
Version du 13 mai 2012 à 14:45 Template to display all the generated data on a tank page | Version actuelle en date du 7 août 2018 à 13:38 | |||
177 révisions intermédiaires par 10 utilisateurs non affichées | ||||
Ligne 1 : | Ligne 1 : | |||
? | <includeonly>{{# | + | <includeonly><div style="display:none"> | |
? | == | + | {{#vardefine:tank|{{#if:{{{TankTest|}}} | |
? | + | |{{{TankTest|}}} | ||
? | *<nowiki>{{ | + | |{{PAGENAME}} | |
? | *<nowiki>{{PAGENAME}}/ | + | }}}} | |
? | *<nowiki>{{ | + | {{#vardefine:tankdummy|{{#if:{{{Tank|}}} | |
? | *<nowiki>{{ | + | |{{{Tank|}}} | |
? | *<nowiki>{{ | + | |{{PAGENAME}} | |
? | + | }}}} | ||
+ | {{#vardefine:name|{{#wotstr:{{#combatchars:{{#var:tank}}|mark}}}}}} | |||
+ | {{#vardefine:nationCode|{{#combatchars:{{#var:tank}}|nation}}}} | |||
+ | {{#vardefine:nation|{{#switch:{{#var:nationCode}} | |||
+ | |ussr = USSR | |||
+ | |germany = Germany | |||
+ | |usa = USA | |||
+ | |france = France | |||
+ | |uk = UK | |||
+ | |china = China | |||
+ | |japan = Japan | |||
+ | |czech = Czech | |||
+ | |sweden = Sweden | |||
+ | |poland = Poland | |||
+ | |italy = Italy | |||
+ | }}}} | |||
+ | {{#vardefine:nation2|{{#switch:{{#var:nation}} | |||
+ | |USSR = Soviétique | |||
+ | |Germany = Allemand | |||
+ | |USA = Américain | |||
+ | |France = Français | |||
+ | |UK = Anglais | |||
+ | |China = Chinois | |||
+ | |Japan = Japonais | |||
+ | |Czech = Tchécoslovaque | |||
+ | |Sweden = Suédois | |||
+ | |Poland = Polonais | |||
+ | |Italy = Italien | |||
+ | }}}} | |||
+ | {{#vardefine:level|{{#combatchars:{{#var:tank}}|level}}}} | |||
+ | {{#vardefine:premium|{{#switch:{{#combatchars:{{#var:tank}}|gold}} | |||
+ | |1 = Premium | |||
+ | |0 =}}}} | |||
+ | {{#vardefine:premiumLink|{{#switch:{{#var:premium}} | |||
+ | |Premium = [[Premium_Tanks| premium]] | |||
+ | |#default =}}}} | |||
+ | {{#vardefine:gift|{{#switch:{{#combatchars:{{#var:tank}}|notInShop}} | |||
+ | |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:classUncaps|{{#switch:{{#combatchars:{{#var:tank}}|class}} | |||
+ | |lightTank = lighttank | |||
+ | |mediumTank = mediumtank | |||
+ | |heavyTank = heavytank | |||
+ | |AT-SPG = at-spg | |||
+ | |SPG = spg | |||
+ | }}}} | |||
+ | {{#vardefine:classFooter|{{#switch:{{#combatchars:{{#var:tank}}|class}} | |||
+ | |lightTank = léger | |||
+ | |mediumTank = moyen | |||
+ | |heavyTank = lourd | |||
+ | |AT-SPG = chasseur de char | |||
+ | |SPG = canon AM | |||
+ | }}}} | |||
+ | {{#vardefine:class|{{#switch:{{#combatchars:{{#var:tank}}|class}} | |||
+ | |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 = Chars Légers | |||
+ | |mediumTank = Chars Moyens | |||
+ | |heavyTank = Chars Lourds | |||
+ | |AT-SPG = Chasseurs de Chars | |||
+ | |SPG = Canons AM | |||
+ | }}}} | |||
+ | {{#vardefine:classLink|{{#switch:{{#var:class}} | |||
+ | |Light = [[Light_Tanks|char léger]] | |||
+ | |Medium = [[Medium_Tanks|char moyen]] | |||
+ | |Heavy = [[Heavy_Tanks|char lourd]] | |||
+ | |TD = [[Tank_Destroyers|chasseur de chars]] | |||
+ | |SPG = [[Self-Propelled_Guns|canon AM]] | |||
+ | |TTD = turreted [[Tank_Destroyers|chasseur de chars]] | |||
+ | |TSPG = turreted [[Self-Propelled_Guns|canon AM]] | |||
+ | }}}} | |||
+ | {{#vardefine:classDesc|{{#switch:{{#var:classCode}} | |||
+ | |lightTank = légers | |||
+ | |mediumTank = moyens | |||
+ | |heavyTank = lourds | |||
+ | |AT-SPG = chasseur de chars | |||
+ | |SPG = canons AM | |||
+ | }}}} | |||
+ | {{#vardefine:children|{{#if:{{#combatchars:{{#var:tank}}|tanksAfter|}} | |||
+ | |Le {{#var:name}} mène au{{Children|{{#var:tank}}}} | |||
+ | |Le {{#var:name}} marque la fin de la branche des {{#var:classDesc}} {{#var:nation2}}. | |||
+ | }}}} | |||
+ | {{#vardefine:GalleryContent| | |||
+ | {{#ifexist:Image:{{#var:name}}_front_left.jpg|image:{{#var:name}}_front_left.jpg{{!}}{{#var:name}} vue avant gauche}} | |||
+ | {{#ifexist:Image:{{#var:name}}_front_right.jpg|image:{{#var:name}}_front_right.jpg{{!}}{{#var:name}} vue avant droite}} | |||
+ | {{#ifexist:Image:{{#var:name}}_rear_left.jpg|image:{{#var:name}}_rear_left.jpg{{!}}{{#var:name}} vue arrière gauche}} | |||
+ | {{#ifexist:Image:{{#var:name}}_rear_right.jpg|image:{{#var:name}}_rear_right.jpg{{!}}{{#var:name}} vue arrière droite}} | |||
+ | {{{Gallery|}}} | |||
+ | }}</div> | |||
+ | {{DISPLAYTITLE:{{#var:name}}}} | |||
+ | {{#vardefine:appendContent|}}{{#if:{{#var:GalleryContent|}}||[[Category:Append: Gallery]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}} | |||
+ | * Galerie}} | |||
+ | }}{{#if:{{{InTheGame_pros|}}}||[[Category:Append: Player Opinion: Pros]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}} | |||
+ | * Avis des joueurs : avantages}} | |||
+ | }}{{#if:{{{InTheGame_cons|}}}||[[Category:Append: Player Opinion: Cons]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}} | |||
+ | * Avis des joueurs : inconvénients}} | |||
+ | }}{{#if:{{{InTheGame_performance|}}}||[[Category:Append: Player Opinion: Performance]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}} | |||
+ | * Avis des joueurs : Performance}} | |||
+ | }}{{#if:{{{InTheGame_equipment|}}}||[[Category:Append: Player Opinion: Equipment]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}} | |||
+ | * Avis des joueurs : Équipement}} | |||
+ | }}{{#if:{{{History|}}}||[[Category:Append: History]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}} | |||
+ | * Historique}} | |||
+ | }}{{#if:{{{HistoricalGallery|}}}||[[Category:Append: Historical Gallery]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}} | |||
+ | * Galerie historique}}}}{{#if:{{{Ref_references|}}}||{{#if:{{{Ref_sources|}}}||{{#if:{{{Ref_links|}}}||[[Category:Append: Sources and External Links]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}} | |||
+ | * Sources et Liens Externes}}}}}} | |||
+ | }}{{#ifeq:{{#var:append}}|1|{{Append|{{AppendContentNavbar|{{#var:appendContent}}}}}}}} | |||
+ | {{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={{#iferror: {{#expr:{{#combatchars:{{#var:tank}}|traverseLeft}}+{{#combatchars:{{#var:tank}}|traverseRight}}}} | | {{#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>Le '''{{#var:name}}''' est un {{#var:classLink}} {{#var:premiumLink}} {{#ifeq:{{#var:nation2}}|American|n|}} [[Tank_nations_{{#var:nationCode}}|{{#var:nation2}}]] de rang {{#var:level}}. {{#ifeq:{{#var:gift}}|yes|{{#var:giftDesc}}}}</p><p>{{#wotstr:{{#combatchars:{{#var:tank}}|description}}}}</p>{{#ifeq:{{#var:premium}}|Premium||<p>{{#var:children}}</p>}}<p>{{{1|}}}</p>}} | |||
+ | <div class="b-wiki-panel"> | |||
+ | {{Popup | |||
+ | |header=<h3>Modules / Équipements et Consommables disponibles</h3> | |||
+ | |content= | |||
+ | {{ModulesNexus|{{#var:tank}}}} | |||
+ | <h3>Équipements Compatibles</h3> | |||
+ | {{Equipment|{{#var:tank}}}} | |||
+ | <h3>Consommables Compatibles</h3> | |||
+ | {{Consumables|{{#var:tank}}}} | |||
+ | }} | |||
+ | {{#if:{{{InTheGame_pros|}}}{{{InTheGame_cons|}}}{{{InTheGame_performance|}}}{{{InTheGame_research|}}}{{{InTheGame_equipment|}}}| | |||
+ | {{InTheGame|pros={{{InTheGame_pros|}}} | |||
+ | |cons={{{InTheGame_cons|}}} | |||
+ | |performance={{{InTheGame_performance|}}} | |||
+ | |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>Galerie</h3>|style=collapsed|content={{#var:GalleryContent|}}}} | |||
+ | |<p class="error">La galerie pour ce char n'a pas été trouvée</p>}} | |||
+ | {{#if:{{{History|}}} | |||
+ | |{{History|info={{{History|}}}}} | |||
+ | |<p class="error">L'histoirique de ce char n'a pas été trouvée</p>}} | |||
+ | {{#if:{{{HistoricalGallery|}}} | |||
+ | |{{Gallery|title=<h3>Galerie Historique</h3>|style=collapsed|content={{{HistoricalGallery|}}}}} | |||
+ | |}} | |||
+ | {{#if:{{{HistAcc|}}} | |||
+ | |{{HistoryAcc|info={{{HistAcc|}}} | |||
+ | }} | |||
+ | |}} | |||
+ | {{#if:{{{Ref_references|}}}{{{Ref_sources|}}}{{{Ref_links|}}}| | |||
+ | {{References|references={{{Ref_references|}}} | |||
+ | |sources={{{Ref_sources|}}} | |||
+ | |links={{{Ref_links|}}} | |||
+ | }}|}} | |||
+ | <div class="b-tech-nav"> | |||
+ | {{#gw_nav_table: | |||
+ | name = <span class="b-tech-nav_icon b-tech-nav_icon__{{#var:nationCode}}"></span> {{#var:nation}} | | |||
+ | Chars Légers#{{#gw_vehicle_list:wot: nation = {{#var:nationCode}} | class = lightTank | order = level | style = text | divider = • }} | | |||
+ | Chars Moyens#{{#gw_vehicle_list:wot: nation = {{#var:nationCode}} | class = mediumTank | order = level | style = text | divider = • }} | | |||
+ | Chars Lourds#{{#gw_vehicle_list:wot: nation = {{#var:nationCode}} | class = heavyTank | order = level | style = text | divider = • }} | | |||
+ | Chasseurs de chars#{{#gw_vehicle_list:wot: nation = {{#var:nationCode}} | class = AT-SPG | order = level | style = text | divider = • }} | | |||
+ | Canons AM#{{#gw_vehicle_list:wot: nation = {{#var:nationCode}} | class = SPG | order = level | style = text | divider = • }} | |||
+ | }} | |||
+ | {{#gw_nav_table: | |||
+ | name = <span class="b-tech-nav_icon b-tech-nav_icon__{{#var:classUncaps}}"></span> {{#var:classFooter2}} | | |||
+ | États-Unis#{{#gw_vehicle_list:wot: nation = usa | class = {{#var:classCode}} | order = level | style = text | divider = • }} | | |||
+ | Royaume-Uni#{{#gw_vehicle_list:wot: nation = uk | class = {{#var:classCode}} | order = level | style = text | divider = • }} | | |||
+ | Allemagne#{{#gw_vehicle_list:wot: nation = germany | class = {{#var:classCode}} | order = level | style = text | divider = • }} | | |||
+ | France#{{#gw_vehicle_list:wot: nation = france | class = {{#var:classCode}} | order = level | style = text | divider = • }} | | |||
+ | URSS#{{#gw_vehicle_list:wot: nation = ussr | class = {{#var:classCode}} | order = level | style = text | divider = • }} | | |||
+ | Chine#{{#gw_vehicle_list:wot: nation = china | class = {{#var:classCode}} | order = level | style = text | divider = • }} | | |||
+ | Japon#{{#gw_vehicle_list:wot: nation = japan | class = {{#var:classCode}} | order = level | style = text | divider = • }}| | |||
+ | Tchécoslovaquie#{{#gw_vehicle_list:wot: nation = czech | class = {{#var:classCode}} | order = level | style = text | divider = • }}| | |||
+ | Suède#{{#gw_vehicle_list:wot: nation = sweden | class = {{#var:classCode}} | order = level | style = text | divider = • }}| | |||
+ | Pologne#{{#gw_vehicle_list:wot: nation = poland | class = {{#var:classCode}} | order = level | style = text | divider = • }}| | |||
+ | Italy#{{#gw_vehicle_list:wot: nation = italy | class = {{#var:classCode}} | order = level | style = text | divider = • }} | |||
+ | }} | |||
+ | {{#ifeq:{{#var:premium}}|Premium | |||
+ | |{{#gw_nav_table: | |||
+ | name = {{Gold}} <span style="margin-left:3px;">Chars Premiums</span> | | |||
+ | États-Unis#{{#gw_vehicle_list:wot: nation = usa | gold = 1 | order = level | style = text | divider = • }} | | |||
+ | Royaume-Uni#{{#gw_vehicle_list:wot: nation = uk | gold = 1 | order = level | style = text | divider = • }} | | |||
+ | Allemagne#{{#gw_vehicle_list:wot: nation = germany | gold = 1 | order = level | style = text | divider = • }} | | |||
+ | France#{{#gw_vehicle_list:wot: nation = france | gold = 1 | order = level | style = text | divider = • }} | | |||
+ | URSS#{{#gw_vehicle_list:wot: nation = ussr | gold = 1 | order = level | style = text | divider = • }} | | |||
+ | Chine#{{#gw_vehicle_list:wot: nation = china | gold = 1 | order = level | style = text | divider = • }} | | |||
+ | Japon#{{#gw_vehicle_list:wot: nation = japan | gold = 1 | order = level | style = text | divider = • }}| | |||
+ | Tchécoslovaquie#{{#gw_vehicle_list:wot: nation = czech | gold = 1 | order = level | style = text | divider = • }}| | |||
+ | Suède#{{#gw_vehicle_list:wot: nation = sweden | gold = 1 | order = level | style = text | divider = • }}| | |||
+ | Pologne#{{#gw_vehicle_list:wot: nation = poland | gold = 1 | order = level | style = text | divider = • }}| | |||
+ | Italy#{{#gw_vehicle_list:wot: nation = italy | gold = 1 | order = level | style = text | divider = • }} | |||
+ | }} | |||
+ | |}} | |||
+ | </div> | |||
+ | {{OtherLangs}} | |||
+ | </includeonly><noinclude> | |||
+ | ==Usage== | |||
+ | *<nowiki>{{TankData</nowiki> ''This places the core panels supported by the auto gen data.'' | |||
+ | *<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_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_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>|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>|Ref_references=</nowiki> see below | |||
+ | *<nowiki>|Ref_sources=</nowiki> see below | |||
+ | *<nowiki>|Ref_links=</nowiki> see below | |||
+ | ::''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> | |||
+ | 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== | |||
<pre> | <pre> | |||
? | {{TankData| | + | {{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= | |||
+ | ||||
+ | }} | |||
</pre> | </pre> | |||
+ | <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> |
Version actuelle en date du 7 août 2018 à 13:38
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= }}
Catégorie :