Welcome to Wargaming.net Wiki!
Variants

Difference between revisions of "Template:PlaneData"

Jump to: navigation, search
Revision as of 18:43, 22 February 2015
Small format attempt - likely to end in flaming failure.
Revision as of 11:51, 8 October 2016
autocat
3 intermediate revisions by 3 users not shown
Line 38:Line 38:
 {{#gw_vehicle_annotation:wowp:{{#var:plane}} }}{{#gw_vehicle_plain_attr:wowp:{{#var:plane}}|attr=description_i18n}}<p>{{{1|}}}</p> {{#gw_vehicle_annotation:wowp:{{#var:plane}} }}{{#gw_vehicle_plain_attr:wowp:{{#var:plane}}|attr=description_i18n}}<p>{{{1|}}}</p>
 </div> </div>
 +
 {{Popup {{Popup
?|header=<h3>Tech Tree/h3>+|header=<h3>Tech Tree</h3>
 |content={{#gw_vehicle_modules_tree:wowp:{{#var:plane}}}} |content={{#gw_vehicle_modules_tree:wowp:{{#var:plane}}}}
 }} }}
 +
 {{Popup {{Popup
 |header=<h3>Modules</h3> |header=<h3>Modules</h3>
Line 97:Line 99:
 Japan#{{#gw_vehicle_list:wowp: nation = japan | gold = 1 | order = level | style = text | divider = • }} Japan#{{#gw_vehicle_list:wowp: nation = japan | gold = 1 | order = level | style = text | divider = • }}
 }} }}
?|}}+|}}{{OtherLangs}}
?</div>+</div>{{#switch:{{lc:{{#var:nation}}}}
 +|germany=[[Category:Planes of Germany]]
 +|ussr=[[Category:Planes of USSR]]
 +|usa=[[Category:Planes of USA]]
 +|france=[[Category:Planes of France]]
 +|gb|uk=[[Category:Planes of UK]]
 +|china=[[Category:Planes of China]]
 +|japan=[[Category:Planes of Japan]]
 +}}{{#switch:{{lc:{{#var:class}}}}
 + |fighter = [[Category:Fighters]]
 + |fighterheavy = [[Category:Heavy Fighters]]
 + |assault = [[Category:Attack Aircraft]]
 +}}
 </includeonly> </includeonly>
 <noinclude> <noinclude>
Line 116:Line 130:
 *<nowiki>}}</nowiki> *<nowiki>}}</nowiki>
 ==Template== ==Template==
 +<big>'''WARNING: DO NOT ASSIGN VALUES TO PLANE= UNLESS YOU KNOW WHAT YOU ARE DOING AND WHAT WILL HAPPEN PERFECTLY. LEAVE IT BLANK.'''</big><hr>
 <pre> <pre>
 {{PlaneData|Plane= {{PlaneData|Plane=

Revision as of 11:51, 8 October 2016


Usage

  • {{PlaneData This places the core panels supported by the auto gen data.
  • |Plane= Specify the plane 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 PLANE= UNLESS YOU KNOW WHAT YOU ARE DOING AND WHAT WILL HAPPEN PERFECTLY. LEAVE IT BLANK.
{{PlaneData|Plane=
|

|Gallery=

|InTheGame_pros=

|InTheGame_cons=

|InTheGame_performance=

|InTheGame_research=

|InTheGame_equipment=

|History=

|HistoricalGallery=

|Ref_references=

|Ref_sources=

|Ref_links=

}}