Willkommen bei der Wargaming.net-Wiki!
Varianten

Vorlage:TankData: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche
Version vom 26. März 2017, 13:16 UhrVersion vom 7. August 2018, 07:59 Uhr
Added Italy
26 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt
Zeile 11:Zeile 11:
 {{#vardefine:nationCode|{{#combatchars:{{#var:tank}}|nation}}}} {{#vardefine:nationCode|{{#combatchars:{{#var:tank}}|nation}}}}
 {{#vardefine:nation|{{#switch:{{#var:nationCode}} {{#vardefine:nation|{{#switch:{{#var:nationCode}}
? |ussr = UdSSR+ |ussr = USSR
? |germany = Deutschland+ |germany = Germany
  |usa = USA  |usa = USA
? |france = Frankreich+ |france = France
? |uk = Großbritannien+ |uk = UK
  |china = China  |china = China
  |japan = Japan  |japan = Japan
? |czech = Tschechoslowakei+ |czech = Czech
? |sweden = Schweden+ |sweden = Sweden
 + |poland = Poland
 + |italy = Italy
 }}}} }}}}
?{{#vardefine:nation2|{{#switch:{{#var:nationCode}}+{{#vardefine:nation2|{{#switch:{{#var:nation}}
? |ussr = sovietisch+ |USSR = sowjetischer
? |germany = deutsch+ |Germany = deutscher
? |usa = amerikanisch+ |USA = amerikanischer
? |france = französisch+ |France = französicher
? |uk = britisch+ |UK = britischer
? |china = chinesisch+ |China = chinesischer
? |japan = japanisch+ |Japan = japanischer
? |czech = tschechoslowakisch+ |Czech = tschechoslovakiischer
? |sweden = schwedisch+ |Sweden = schwedischer
 + |Poland = polnischer
 + |Italy = italienischer
 }}}} }}}}
 {{#vardefine:level|{{#combatchars:{{#var:tank}}|level}}}} {{#vardefine:level|{{#combatchars:{{#var:tank}}|level}}}}
Zeile 43:Zeile 47:
  |#default = no}}}}  |#default = no}}}}
 {{#vardefine:giftDesc|{{#switch:{{#combatchars:{{#var:tank}}|notInShop}} {{#vardefine:giftDesc|{{#switch:{{#combatchars:{{#var:tank}}|notInShop}}
? |true = Das Fahrzeug ist zur Zeit nicht ingame kaufbar.+ |true = It is currently not available from the in-game store.
  |#default =}}}}  |#default =}}}}
 {{#vardefine:turreted|{{#switch:{{#combatchars:{{#var:tank}}|isTurret}} {{#vardefine:turreted|{{#switch:{{#combatchars:{{#var:tank}}|isTurret}}
? |1 = mit Turm+ |1 = Turreted
  |0 =}}}}  |0 =}}}}
 {{#vardefine:classCode|{{#combatchars:{{#var:tank}}|class}}}} {{#vardefine:classCode|{{#combatchars:{{#var:tank}}|class}}}}
Zeile 64:Zeile 68:
 }}}} }}}}
 {{#vardefine:classFooter2|{{#switch:{{#var:classCode}} {{#vardefine:classFooter2|{{#switch:{{#var:classCode}}
? |lightTank = Leichter Panzer+ |lightTank = Leichte Panzer
? |mediumTank = Mittlerer Panzer+ |mediumTank = Mittlere Panzer
? |heavyTank = Schwerer Panzer+ |heavyTank = Schwere Panzer
  |AT-SPG = Jagdpanzer  |AT-SPG = Jagdpanzer
? |SPG = Artillerie+ |SPG = Selbstfahrlafetten
 }}}} }}}}
 {{#vardefine:classLink|{{#switch:{{#var:class}} {{#vardefine:classLink|{{#switch:{{#var:class}}
Zeile 74:Zeile 78:
  |Medium = [[Medium_Tanks|mittlerer Panzer]]  |Medium = [[Medium_Tanks|mittlerer Panzer]]
  |Heavy = [[Heavy_Tanks|schwerer Panzer]]  |Heavy = [[Heavy_Tanks|schwerer Panzer]]
? |TD = [[Tank_Destroyers|Panzerjäger]]+ |TD = [[Tank_Destroyers|Jagdpanzer]]
? |SPG = [[Self-Propelled_Guns|Artillerie]]+ |SPG = [[Self-Propelled_Guns|Selbstfahrlafette]]
? |TTD = [[Tank_Destroyers|Jagdpanzer]] mit Turm+ |TTD = betürmter [[Tank_Destroyers|Jagdpanzer]]
? |TSPG = [[Self-Propelled_Guns|Artillerie]] mit Turm+ |TSPG = betürmter [[Self-Propelled_Guns|Selbstfahrlafette]]
 }}}} }}}}
 {{#vardefine:classDesc|{{#switch:{{#var:classCode}} {{#vardefine:classDesc|{{#switch:{{#var:classCode}}
? |lightTank = leichter+ |lightTank = leichter Panzer
? |mediumTank = mittlerer+ |mediumTank = mittlerer Panzer
? |heavyTank = schwerer+ |heavyTank = schwerer Panzer
  |AT-SPG = Jagdpanzer  |AT-SPG = Jagdpanzer
? |SPG = Artillerie+ |SPG = Selbstfahrlafette
 }}}} }}}}
 {{#vardefine:children|{{#if:{{#combatchars:{{#var:tank}}|tanksAfter|}} {{#vardefine:children|{{#if:{{#combatchars:{{#var:tank}}|tanksAfter|}}
? |{{#var:name}} führt zu {{Children|{{#var:tank}}}}+ |Der {{#var:name}} führt zum {{Children|{{#var:tank}}}}
? |{{#var:name}} ist der letzte {{#var:classDesc}} seiner Linie von {{#var:nation1}}.+ |Der {{#var:name}} markiert das Ende seiner Linie {{#var:nation2}} {{#var:classDesc}}.
 }}}} }}}}
 {{#vardefine:GalleryContent| {{#vardefine:GalleryContent|
Zeile 111:Zeile 115:
 * History}} * History}}
 }}{{#if:{{{HistoricalGallery|}}}||[[Category:Append: Historical Gallery]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}} }}{{#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}}+* Historical Gallery}}}}{{#if:{{{Ref_references|}}}||{{#if:{{{Ref_sources|}}}||{{#if:{{{Ref_links|}}}||[[Category:Append: Sources and External Links]]}}}}
?* Sources and External Links}}}}}}+}}{{#ifeq:{{#var:append}}|1|{{Append|{{#var:appendContent}}}}}}
?}}{{#ifeq:{{#var:append}}|1|<div class="b-status b-status__info">{{Append|{{AppendContentNavbar|{{#var:appendContent}}}}}}</div>}}+
 {{Sidebar {{Sidebar
 |name={{#var:name}} |name={{#var:name}}
Zeile 213:Zeile 216:
 |SubArc_6_Elv={{{Sidebar_SubArc_6_Elv|}}} |SubArc_6_Elv={{{Sidebar_SubArc_6_Elv|}}}
 }} }}
?{{TankDescription|{{Flag|{{#var:nation}}|{{#var:tank}}}}<p>'''{{#var:name}}''' ist ein {{#var:classLink}} von [[{{#var:nation}}]] auf Tier {{#var:level}}{{#var:premiumLink}}.+{{TankDescription|{{Flag|{{#var:nation}}|{{#var:tank}}}}<p>Der '''{{#var:name}}''' ist ein {{#ifeq:{{#var:nation2}}|American|n|}} [[{{#var:nation}}|{{#var:nation2}}]] {{#var:premiumLink}} {{#var:classLink}} der Stufe {{#var:level}}. {{#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>}}}}
? +
?'''Offizieller Panzerkunde-Link: www.worldoftanks.eu/de/tankopedia/{{#var:PAGENAME}}'''+
? +
?{{#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"> <div class="b-wiki-panel">
 {{Popup {{Popup
?|header=<h3>Module, Ausrüstung und Verbrauchsmaterialien</h3>+|header=<h3>Module / Verfügbare Zubehörteile und Verbrauchsgegenstände</h3>
 |content= |content=
 {{ModulesNexus|{{#var:tank}}}} {{ModulesNexus|{{#var:tank}}}}
?<h3>Kompatible Ausrüstung</h3>+<h3>Verfügbare Zubehörteile</h3>
 {{Equipment|{{#var:tank}}}} {{Equipment|{{#var:tank}}}}
?<h3>Kompatible Verbrauchsmaterialien</h3>+<h3>Verfügbare Verbrauchsgegenstände</h3>
 {{Consumables|{{#var:tank}}}} {{Consumables|{{#var:tank}}}}
 }} }}
Zeile 241:Zeile 240:
 |}} |}}
 {{#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]] {{#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|}}}}+|{{Gallery|title=<h3>Galerie</h3>|style=collapsed|content={{#var:GalleryContent|}}}}
?|<p class="error">Gallerie für diesen Panzer nicht vorhanden</p>}}+|<p class="error">Gallery for this tank not found</p>}}
 {{#if:{{{History|}}} {{#if:{{{History|}}}
 |{{History|info={{{History|}}}}} |{{History|info={{{History|}}}}}
?|<p class="error">Historie für diesen Panzer nicht vorhanden</p>}}+|<p class="error">History for this tank not found</p>}}
 {{#if:{{{HistoricalGallery|}}} {{#if:{{{HistoricalGallery|}}}
?|{{Gallery|title=<h3>Historische Gallerie</h3>|style=collapsed|content={{{HistoricalGallery|}}}}}+|{{Gallery|title=<h3>Historische Galerie</h3>|style=collapsed|content={{{HistoricalGallery|}}}}}
 |}} |}}
 {{#if:{{{HistAcc|}}} {{#if:{{{HistAcc|}}}
Zeile 277:Zeile 276:
 Japan#{{#gw_vehicle_list:wot: nation = japan | class = {{#var:classCode}} | order = level | style = text | divider = • }}| Japan#{{#gw_vehicle_list:wot: nation = japan | class = {{#var:classCode}} | order = level | style = text | divider = • }}|
 Czechoslovakia#{{#gw_vehicle_list:wot: nation = czech | class = {{#var:classCode}} | order = level | style = text | divider = • }}| Czechoslovakia#{{#gw_vehicle_list:wot: nation = czech | class = {{#var:classCode}} | order = level | style = text | divider = • }}|
?Sweden#{{#gw_vehicle_list:wot: nation = sweden | class = {{#var:classCode}} | order = level | style = text | divider = • }}+Sweden#{{#gw_vehicle_list:wot: nation = sweden | class = {{#var:classCode}} | order = level | style = text | divider = • }}|
 +Poland#{{#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 {{#ifeq:{{#var:premium}}|Premium
 |{{#gw_nav_table: |{{#gw_nav_table:
?name = Premiumpanzer |+name = Premium tanks |
 USA#{{#gw_vehicle_list:wot: 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:wot: nation = uk | gold = 1 | order = level | style = text | divider = • }} | UK#{{#gw_vehicle_list:wot: nation = uk | gold = 1 | order = level | style = text | divider = • }} |
Zeile 290:Zeile 291:
 Japan#{{#gw_vehicle_list:wot: 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 = • }}| Czechoslovakia#{{#gw_vehicle_list:wot: nation = czech | gold = 1 | order = level | style = text | divider = • }}|
?Sweden#{{#gw_vehicle_list:wot: nation = sweden | gold = 1 | order = level | style = text | divider = • }}+Sweden#{{#gw_vehicle_list:wot: nation = sweden | gold = 1 | order = level | style = text | divider = • }}|
 +Poland#{{#gw_vehicle_list:wot: nation = poland | gold = 1 | order = level | style = text | divider = • }}|
 +Italy#{{#gw_vehicle_list:wot: nation = poland | gold = 1 | order = level | style = text | divider = • }}
 +}}
 }} }}
?|}}{{OtherLangs}}+{{OtherLangs}}
 </div> </div>
 </includeonly><noinclude> </includeonly><noinclude>
Zeile 386:Zeile 390:
 </pre> </pre>
 [[Category:C/P Templates]] [[Category:C/P Templates]]
?[[Kategorie:Übersetzung fehlt]] 
 </noinclude> </noinclude>

Version vom 7. August 2018, 07:59 Uhr

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=

}}
Kategorie: