Willkommen bei der Wargaming.net-Wiki!
Varianten

Vorlage:BattleTier: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche
Version vom 30. Oktober 2014, 14:25 Uhr
1 Version
Aktuelle Version vom 19. Dezember 2018, 14:11 Uhr 
2 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt
Zeile 3:Zeile 3:
 {{#vardefine:tankcode|{{PAGENAME}}}} {{#vardefine:tankcode|{{PAGENAME}}}}
  
?{{#ifeq:{{#var:level}}|1|{{#vardefine:level1|{{#var:level}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}}|}}+{{#ifeq:{{#var:level}}|1|{{#vardefine:BTOut|1}}|}}
  
?{{#ifeq:{{#var:level}}|2|{{#vardefine:level1|{{#var:level}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}}|}}+{{#ifeq:{{#var:level}}|2|{{#vardefine:BTOut|2/3}}|}}
  
?{{#ifeq:{{#var:level}}|3|{{#vardefine:level1|{{#var:level}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}|}}+{{#ifeq:{{#var:level}}|3|{{#vardefine:BTOut|3/4}}|}}
  
?{{#ifeq:{{#var:level}}|4|{{#ifeq:{{#var:classCode}}|lightTank|{{#vardefine:level1|{{#expr:{{#var:level}}}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}},{{#vardefine:level4|{{#expr:{{#var:level3}}+1}}}}|{{#vardefine:level1|{{#var:level}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}}}+{{#ifeq:{{#var:level}}|4|{{#vardefine:BTOut|4/5/6}}|}}
 + 
 +{{#ifeq:{{#var:level}}|4|{{#ifeq:{{#var:classCode}}|heavyTank|{{#vardefine:BTOut|4/5}}
 +|}}
 |}} |}}
  
?{{#ifeq:{{#var:level}}|5|{{#ifeq:{{#var:classCode}}|lightTank|{{#vardefine:level1|{{#expr:{{#var:level}}+1}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}|{{#vardefine:level1|{{#var:level}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}+{{#ifeq:{{#var:level}}|5|{{#vardefine:BTOut|5/6/7}}|}}
?}}+
?}}+
? +
? +
?{{#ifeq:{{#var:level}}|6|{{#ifeq:{{#var:classCode}}|lightTank|{{#vardefine:level1|{{#expr:{{#var:level}}+1}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}|{{#vardefine:level1|{{#var:level}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}+
?}}+
?}}+
? +
? +
?{{#ifeq:{{#var:level}}|7|{{#ifeq:{{#var:classCode}}|lightTank|{{#vardefine:level1|{{#expr:{{#var:level}}+1}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}|{{#vardefine:level1|{{#var:level}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}+
?}}+
?}}+
? +
? +
?{{#ifeq:{{#var:level}}|8|{{#ifeq:{{#var:classCode}}|lightTank|{{#vardefine:level1|{{#expr:{{#var:level}}+1}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}|{{#vardefine:level1|{{#var:level}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}+
?}}+
?}}+
? +
?{{#ifeq:{{#var:level}}|9|{{#vardefine:level1|{{#var:level}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}|}}+
  
?{{#ifeq:{{#var:level}}|10|{{#vardefine:level1|{{#var:level}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}}|}}+{{#ifeq:{{#var:level}}|6|{{#vardefine:BTOut|6/7/8}}|}}
  
?{{#if:{{#var:level2}}|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+{{#ifeq:{{#var:level}}|7|{{#vardefine:BTOut|7/8/9}}|}}
?{{#if:{{#var:level3}}|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}/{{#var:level3}}}}|}}+
?{{#if:{{#var:level4}}|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}/{{#var:level3}}/{{#var:level4}}}}|}}+
  
 +{{#ifeq:{{#var:level}}|8|{{#vardefine:BTOut|8/9/10}}|}}
  
?{{#ifeq:{{#var:level}}|4|{{#ifeq:{{#var:classCode}}|heavyTank|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}|}}+{{#ifeq:{{#var:level}}|9|{{#vardefine:BTOut|9/10/11}}|}}
  
?{{#ifeq:{{#var:tankcode}}|Object252|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+{{#ifeq:{{#var:level}}|10|{{#vardefine:BTOut|10/11}}|}}
  
?{{#ifeq:{{#var:tankcode}}|T2_lt|{{#vardefine:level1|{{#var:level}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}}{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}/{{#var:level3}}/{{#var:level4}}/{{#var:level5}}}}|}} 
  
?{{#ifeq:{{#var:tankcode}}|T7_Combat_Car|{{#vardefine:BTOut|{{#var:level1}}}}|}} 
  
?{{#ifeq:{{#var:tankcode}}|GB76_Mk_VIC|{{#vardefine:BTOut|{{#var:level1}}}}|}}+<!--VEHICLES WITH EXCEPTIONAL MM-->
  
?{{#ifeq:{{#var:tankcode}}|PzI|{{#vardefine:BTOut|{{#var:level1}}}}|}}+<!--112-->
 +{{#ifeq:{{#var:tankcode}}|Ch23_112|{{#vardefine:BTOut|8/9}}|}}
  
?{{#ifeq:{{#var:tankcode}}|LTP|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--8,8 cm Pak 43 Jagdtiger-->
 +{{#ifeq:{{#var:tankcode}}|G65_JagdTiger_SdKfz_185|{{#vardefine:BTOut|8/9}}|}}
  
?{{#ifeq:{{#var:tankcode}}|BT-SV|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--A-32-->
 +{{#ifeq:{{#var:tankcode}}|R68_A-32|{{#vardefine:BTOut|4/5}}|}}
  
?{{#ifeq:{{#var:tankcode}}|PzII_J|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--AT 15A-->
 +{{#ifeq:{{#var:tankcode}}|GB71_AT_15A|{{#vardefine:BTOut|7/8}}|}}
  
?{{#ifeq:{{#var:tankcode}}|T-127|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--Churchill III-->
 +{{#ifeq:{{#var:tankcode}}|R33_Churchill_LL|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|PzII_J|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--E 25-->
 +{{#ifeq:{{#var:tankcode}}|G48_E-25|{{#vardefine:BTOut|7/8}}|}}
  
?{{#ifeq:{{#var:tankcode}}|M24_Chaffee|{{#vardefine:level1|{{#expr:{{#var:level}}+2}}}},{{#vardefine:level2|{{#expr:{{#var:level1}}+1}}}},{{#vardefine:level3|{{#expr:{{#var:level2}}+1}}}},{{#vardefine:level4|{{#expr:{{#var:level3}}+1}}}},{{#vardefine:level5|{{#expr:{{#var:level4}}+1}}}}{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}/{{#var:level3}}/{{#var:level4}}/{{#var:level5}}}}|+<!--Excelsior-->
?}}+{{#ifeq:{{#var:tankcode}}|GB51_Excelsior|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|Valentine_LL|{{#vardefine:BTOut|4|}}}}+<!--FCM 50 t-->
 +{{#ifeq:{{#var:tankcode}}|F65_FCM_50t|{{#vardefine:BTOut|8/9}}|}}
  
?{{#ifeq:{{#var:tankcode}}|B-1bis_captured|{{#vardefine:BTOut|{{#var:level1}}}}|}}+<!--IS-6-->
 +{{#ifeq:{{#var:tankcode}}|R61_Object252|{{#vardefine:BTOut|8/9}}|}}
  
?{{#ifeq:{{#var:tankcode}}|A-32|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--KV-220-2-->
 +{{#ifeq:{{#var:tankcode}}|R38_KV-220|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|AMX40|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}/{{#var:level3}}}}|}}+<!--KV-220-2 Beta Test-->
 +{{#ifeq:{{#var:tankcode}}|R38_KV-220_beta|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|GB04_Valentine|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}/{{#var:level3}}}}|}}+<!--KV-5-->
 +{{#ifeq:{{#var:tankcode}}|R54_KV-5|{{#vardefine:BTOut|8/9}}|}}
  
?{{#ifeq:{{#var:tankcode}}|GB60_Covenanter|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}/{{#var:level3}}}}|}}+<!--Light Mk. VIC-->
 +{{#ifeq:{{#var:tankcode}}|GB76_Mk_VIC|{{#vardefine:BTOut|2}}|}}
  
?{{#ifeq:{{#var:tankcode}}|A-20|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}/{{#var:level3}}}}|}}+<!--M4A2E4 Sherman-->
 +{{#ifeq:{{#var:tankcode}}|A44_M4A2E4|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|T80|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}/{{#var:level3}}}}|}}+<!--M6A2E1-->
 +{{#ifeq:{{#var:tankcode}}|A45_M6A2E1|{{#vardefine:BTOut|8/9}}|}}
  
?{{#ifeq:{{#var:tankcode}}|Ke_Ho|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}/{{#var:level3}}}}|}}+<!--Matilda Black Prince-->
 +{{#ifeq:{{#var:tankcode}}|GB68_Matilda_Black_Prince|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|Churchill_LL|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--Matilda IV-->
 +{{#ifeq:{{#var:tankcode}}|R32_Matilda_II_LL|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|Matilda_II_LL|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--Panther/M10-->
 +{{#ifeq:{{#var:tankcode}}|G78_Panther_M10|{{#vardefine:BTOut|7/8}}|}}
  
?{{#ifeq:{{#var:tankcode}}|T14|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--Pz.Kpfw. B2 740 (f)-->
 +{{#ifeq:{{#var:tankcode}}|G35_B-1bis_captured|{{#vardefine:BTOut|4}}|}}
  
?{{#ifeq:{{#var:tankcode}}|KV-220_action|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--Pz.Kpfw. I-->
 +{{#ifeq:{{#var:tankcode}}|G53_PzI|{{#vardefine:BTOut|2}}|}}
  
?{{#ifeq:{{#var:tankcode}}|M4A2E4|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--Pz.Kpfw. IV hydrostat.-->
 +{{#ifeq:{{#var:tankcode}}|G70_PzIV_Hydro|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|GB51_Excelsior|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--Pz.Kpfw. V/IV-->
 +{{#ifeq:{{#var:tankcode}}|G32_PzV_PzIV|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|GB68_Matilda_Black_Prince|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--Pz.Kpfw. V/IV Alpha-->
 +{{#ifeq:{{#var:tankcode}}|G32_PzV_PzIV_ausf_Alfa|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|GB20_Crusader|{{#vardefine:BTOut|{{#var:level}} {{#var:level1}}/{{#var:level2}}}}|}}+<!--StuG IV-->
 +{{#ifeq:{{#var:tankcode}}|G104_Stug_IV|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|PzV_PzIV|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--SU-85i-->
 +{{#ifeq:{{#var:tankcode}}|R78_SU_85I|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|PzV_PzIV_ausf_Alfa|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--T7 Combat Car-->
 +{{#ifeq:{{#var:tankcode}}|A93_T7_Combat_Car|{{#vardefine:BTOut|2}}|}}
  
?{{#ifeq:{{#var:tankcode}}|GB63_TOG_II|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--T14-->
 +{{#ifeq:{{#var:tankcode}}|A21_T14|{{#vardefine:BTOut|5/6}}|}}
  
?{{#ifeq:{{#var:tankcode}}|Panther_M10|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--T23E3-->
 +{{#ifeq:{{#var:tankcode}}|A86_T23E3|{{#vardefine:BTOut|7/8}}|}}
  
?{{#ifeq:{{#var:tankcode}}|T23E3|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--T26E4 SuperPershing-->
 +{{#ifeq:{{#var:tankcode}}|A80_T26_E4_SuperPershing|{{#vardefine:BTOut|8/9}}|}}
  
?{{#ifeq:{{#var:tankcode}}|E-25|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--T-34-3-->
 +{{#ifeq:{{#var:tankcode}}|Ch14_T34_3|{{#vardefine:BTOut|8/9}}|}}
  
?{{#ifeq:{{#var:tankcode}}|KV-5|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--T-44-85-->
 +{{#ifeq:{{#var:tankcode}}|T44_85|{{#vardefine:BTOut|7/8}}|}}
  
?{{#ifeq:{{#var:tankcode}}|FCM_50t|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--T-44-122-->
 +{{#ifeq:{{#var:tankcode}}|T44_122|{{#vardefine:BTOut|7/8}}|}}
  
?{{#ifeq:{{#var:tankcode}}|T26_E4_SuperPershing|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--TOG II*-->
 +{{#ifeq:{{#var:tankcode}}|GB63_TOG_II|{{#vardefine:BTOut|6/7}}|}}
  
?{{#ifeq:{{#var:tankcode}}|T23E3|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--Type 59-->
 +{{#ifeq:{{#var:tankcode}}|Ch01_Type59|{{#vardefine:BTOut|8/9}}|}}
  
?{{#ifeq:{{#var:tankcode}}|Ch23_112|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--Valentine II-->
 +{{#ifeq:{{#var:tankcode}}|R31_Valentine_LL|{{#vardefine:BTOut|4}}|}}
  
?{{#ifeq:{{#var:tankcode}}|Ch14_T34_3|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--WZ-111-->
 +{{#ifeq:{{#var:tankcode}}|Ch03_WZ-111|{{#vardefine:BTOut|8/9}}|}}
  
?{{#ifeq:{{#var:tankcode}}|Ch01_Type59|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}}+<!--WZ-111 Alpine Tiger-->
 +{{#ifeq:{{#var:tankcode}}|Ch03_WZ_111_A|{{#vardefine:BTOut|8/9}}|}}
  
?{{#ifeq:{{#var:tankcode}}|JagdTiger_SdKfz_185|{{#vardefine:BTOut|{{#var:level1}}/{{#var:level2}}}}|}} 
  
 <noinclude> <noinclude>

Aktuelle Version vom 19. Dezember 2018, 14:11 Uhr





















































Notes

Subtemplate for battle tiers output in Sidebar template, containing all the logic script to determine the correct scenario. Long and generally boring.

Template

For specific tanks aka tanks with a specific listing on the MM chart, add a line at the bottom of the list using the following format: {{#ifeq:{{#var:tankcode}}|{{PAGENAME}}|{{#vardefine:BTOut|X X X X X}}|}}

Where BattleTier is the specific name of the tank (copy everything after 'Tank:' in the URL exactly as it says), and X is each of the battle tier numbers in numerals.

Kategorie: