¡Bienvenido a la Wiki de Wargaming.net!
Variantes

Diferencia entre revisiones de «Plantilla:BlitzTankData»

Saltar a: navegación, buscar
Revisión de 15:44 30 oct 2014
1 revisión
Revisión de 19:26 16 oct 2016
fixed doc
Línea 6:Línea 6:
  |{{PAGENAME}}  |{{PAGENAME}}
 }}}}}} }}}}}}
?{{#vardefine:class|{{lc:{{#gw_vehicle_plain_attr:wotb:{{#var:tank}}|attr=vehicle_type}}}}}}+{{#vardefine:class|{{lc:{{#blitzchars:{{#var:tank}}|class}}}}}}
?{{#vardefine:classFooter|{{#switch:{{#var:class}}+{{#vardefine:classFooter|{{#switch:{{#blitzchars:{{#var:tank}}|class}}
? |lightTank = light+ |lightTank = Light Tanks
? |mediumTank = medium+ |mediumTank = Medium Tanks
? |heavyTank = heavy+ |heavyTank = Heavy Tanks
? |AT-SPG = td+ |AT-SPG = Tank Destroyers
? |SPG = spg+ |SPG = Self-Propelled Guns
 }}}} }}}}
?{{#vardefine:nationCode|{{#gw_vehicle_plain_attr:wotb:{{#var:tank}}|attr=nation}}}}+{{#vardefine:nationCode|{{#blitzchars:{{#var:tank}}|nation}}}}
 {{#vardefine:nation|{{#switch:{{#var:nationCode}} {{#vardefine:nation|{{#switch:{{#var:nationCode}}
  |ussr = USSR  |ussr = USSR
Línea 23:Línea 23:
  |china = China  |china = China
  |japan = Japan  |japan = Japan
 + |czech = Czechoslovakia
 + |sweden = Sweden
 }}}} }}}}
?{{#vardefine:level|{{#gw_vehicle_plain_attr:wotb:{{#var:tank}}|attr=level}}}}+{{#vardefine:level|{{#blitzchars:{{#var:tank}}|level}}}}
?{{#vardefine:premium|{{#gw_vehicle_plain_attr:wotb:{{#var:tank}}|attr=is_premium}}}}+{{#vardefine:premium|{{#blitzchars:{{#var:tank}}|gold}}}}
 </div> </div>
 <div class="b-performance"> <div class="b-performance">
 <div class="b-performance_border"> <div class="b-performance_border">
 <h3 class="b-performance_title b-performance_title__header">{{PAGENAME}} (Stock)</h3> <h3 class="b-performance_title b-performance_title__header">{{PAGENAME}} (Stock)</h3>
?[[image:{{#ifexist:Image:Anno{{PAGENAME}}.png|Anno{{PAGENAME}}.png{{!}}Icon|NoRender3000.png|Missing Image}}|center]]+[[image:Anno{{PAGENAME}}.png|232px|center]]
 {{#gw_vehicle_params:wotb:{{#var:tank}}|data=price,health,weight|title=Totals}} {{#gw_vehicle_params:wotb:{{#var:tank}}|data=price,health,weight|title=Totals}}
 {{#gw_vehicle_params:wotb:{{#var:tank}}|data=crew|title=Crew}} {{#gw_vehicle_params:wotb:{{#var:tank}}|data=crew|title=Crew}}
Línea 41:Línea 43:
 </div> </div>
 <div class="b-description"> <div class="b-description">
?{{#gw_vehicle_annotation:wotb:{{#var:tank}} }}{{#gw_vehicle_plain_attr:wotb:{{#var:tank}}|attr=description_i18n}}<p>{{{1|}}}</p>+{{#gw_vehicle_annotation:wotb:{{#var:tank}} }}{{#blitzstr:{{#blitzchars:{{#var:tank}}|description}}}}<p>{{{1|}}}</p>
 </div> </div>
  
Línea 77:Línea 79:
 Medium Tanks#{{#gw_vehicle_list:wotb: nation = {{#var:nationCode}} | class = mediumTank | order = level | style = text | divider = • }} | Medium Tanks#{{#gw_vehicle_list:wotb: nation = {{#var:nationCode}} | class = mediumTank | order = level | style = text | divider = • }} |
 Heavy Tanks#{{#gw_vehicle_list:wotb: nation = {{#var:nationCode}} | class = heavyTank | order = level | style = text | divider = • }} | Heavy Tanks#{{#gw_vehicle_list:wotb: nation = {{#var:nationCode}} | class = heavyTank | order = level | style = text | divider = • }} |
?Tank Destroyers#{{#gw_vehicle_list:wotb: nation = {{#var:nationCode}} | class = AT-SPG | order = level | style = text | divider = • }} |+Tank Destroyers#{{#gw_vehicle_list:wotb: nation = {{#var:nationCode}} | class = AT-SPG | order = level | style = text | divider = • }}
?Self-Propelled Artillery#{{#gw_vehicle_list:wotb: nation = {{#var:nationCode}} | class = SPG | order = level | style = text | divider = • }}+
 }} }}
 {{#gw_nav_table: {{#gw_nav_table:
Línea 86:Línea 87:
 Germany#{{#gw_vehicle_list:wotb: nation = germany | class = {{#var:class}} | order = level | style = text | divider = • }} | Germany#{{#gw_vehicle_list:wotb: nation = germany | class = {{#var:class}} | order = level | style = text | divider = • }} |
 USSR#{{#gw_vehicle_list:wotb: nation = ussr | class = {{#var:class}} | order = level | style = text | divider = • }} | USSR#{{#gw_vehicle_list:wotb: nation = ussr | class = {{#var:class}} | order = level | style = text | divider = • }} |
 +France#{{#gw_vehicle_list:wotb: nation = france | class = {{#var:class}} | order = level | style = text | divider = • }} |
 China#{{#gw_vehicle_list:wotb: nation = china | class = {{#var:class}} | order = level | style = text | divider = • }} | China#{{#gw_vehicle_list:wotb: nation = china | class = {{#var:class}} | order = level | style = text | divider = • }} |
?Japan#{{#gw_vehicle_list:wotb: nation = japan | class = {{#var:class}} | order = level | style = text | divider = • }}+Japan#{{#gw_vehicle_list:wotb: nation = japan | class = {{#var:class}} | order = level | style = text | divider = • }}|
 +Czechoslovakia#{{#gw_vehicle_list:wotb: nation = czech | class = {{#var:class}} | order = level | style = text | divider = • }}|
 +Sweden#{{#gw_vehicle_list:wotb: nation = sweden | class = {{#var:class}} | order = level | style = text | divider = • }}
 }} }}
 {{#ifeq:{{#var:premium}}|1 {{#ifeq:{{#var:premium}}|1
Línea 96:Línea 100:
 Germany#{{#gw_vehicle_list:wotb: nation = germany | gold = 1 | order = level | style = text | divider = • }} | Germany#{{#gw_vehicle_list:wotb: nation = germany | gold = 1 | order = level | style = text | divider = • }} |
 USSR#{{#gw_vehicle_list:wotb: nation = ussr | gold = 1 | order = level | style = text | divider = • }} | USSR#{{#gw_vehicle_list:wotb: nation = ussr | gold = 1 | order = level | style = text | divider = • }} |
 +France#{{#gw_vehicle_list:wotb: nation = france | gold = 1 | order = level | style = text | divider = • }} |
 China#{{#gw_vehicle_list:wotb: nation = china | gold = 1 | order = level | style = text | divider = • }} | China#{{#gw_vehicle_list:wotb: nation = china | gold = 1 | order = level | style = text | divider = • }} |
?Japan#{{#gw_vehicle_list:wotb: nation = japan | gold = 1 | order = level | style = text | divider = • }}+Japan#{{#gw_vehicle_list:wotb: nation = japan | gold = 1 | order = level | style = text | divider = • }}|
 +Czechoslovakia#{{#gw_vehicle_list:wotb: nation = czech | gold = 1 | order = level | style = text | divider = • }}|
 +Sweden#{{#gw_vehicle_list:wotb: nation = sweden | gold = 1 | order = level | style = text | divider = • }}
 }} }}
 |}} |}}
?</div>+</div>{{#switch:{{lc:{{#var:nation}}}}
?</includeonly>+|germany=[[Category:Blitz:German Tanks]]
 +|ussr=[[Category:Blitz:USSR Tanks]]
 +|usa=[[Category:Blitz:USA Tanks]]
 +|france=[[Category:Blitz:French Tanks]]
 +|uk=[[Category:Blitz:British Tanks]]
 +|china=[[Category:Blitz:Chinese Tanks]]
 +|japan=[[Category:Blitz:Japanese Tanks]]
 +|czech=[[Category:Blitz:Czech Tanks]]
 +|sweden=[[Category:Blitz:Swedish Tanks]]
 +}}{{#switch:{{lc:{{#var:class}}}}
 +|light=[[Category:Blitz:Light Tanks]]
 +|lighttank=[[Category:Blitz:Light Tanks]]
 +|medium=[[Category:Blitz:Medium Tanks]]
 +|mediumtank=[[Category:Blitz:Medium Tanks]]
 +|heavy=[[Category:Blitz:Heavy Tanks]]
 +|heavytank=[[Category:Blitz:Heavy Tanks]]
 +|spg=[[Category:Blitz:Self-Propelled Guns]]
 +|tspg=[[Category:Blitz:Self-Propelled Guns]]
 +|td=[[Category:Blitz:Tank Destroyers]]
 +|ttd=[[Category:Blitz:Tank Destroyers]]
 +|at-spg=[[Category:Blitz:Tank Destroyers]]
 +}}{{#switch:{{lc:{{#var:level}}}}
 +|i|1=[[Category:Blitz:Tier I Tanks]]
 +|ii|2=[[Category:Blitz:Tier II Tanks]]
 +|iii|3=[[Category:Blitz:Tier III Tanks]]
 +|iv|4=[[Category:Blitz:Tier IV Tanks]]
 +|v|5=[[Category:Blitz:Tier V Tanks]]
 +|vi|6=[[Category:Blitz:Tier VI Tanks]]
 +|vii|7=[[Category:Blitz:Tier VII Tanks]]
 +|viii|8=[[Category:Blitz:Tier VIII Tanks]]
 +|ix|9=[[Category:Blitz:Tier IX Tanks]]
 +|x|10=[[Category:Blitz:Tier X Tanks]]
 +}}
 +{{OtherLangs}}</includeonly>
 <noinclude> <noinclude>
 ==Usage== ==Usage==
?*<nowiki>{{tankData</nowiki> ''This places the core panels supported by the auto gen data.''+*<nowiki>{{BlitzTankData</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. Required for widget automation. '''If not specified, it will default to the page's name.'''''
 *<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.''
Línea 118:Línea 158:
 *<nowiki>}}</nowiki> *<nowiki>}}</nowiki>
 ==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>
 {{BlitzTankData|Tank= {{BlitzTankData|Tank=

Revisión de 19:26 16 oct 2016


Usage

  • {{BlitzTankData This places the core panels supported by the auto gen data.
  • |tank= Specify the tank code. Required for widget automation. If not specified, it will default to the page's name.
  • |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.
  • |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}}
  • }}

Template

WARNING: DO NOT ASSIGN VALUES TO TANK= UNLESS YOU KNOW WHAT YOU ARE DOING AND WHAT WILL HAPPEN PERFECTLY. LEAVE IT BLANK.
{{BlitzTankData|Tank=
|

|Gallery=

|InTheGame_pros=

|InTheGame_cons=

|InTheGame_performance=

|InTheGame_research=

|InTheGame_equipment=

|History=

|HistoricalGallery=

|Ref_references=

|Ref_sources=

|Ref_links=

}}
Categoría: