Welcome to Wargaming.net Wiki!
Variants

Difference between revisions of "Template:ShipData"

Jump to: navigation, search
Revision as of 14:39, 26 June 2015Latest revision as of 00:57, 4 February 2016
Removed protection from "Template:ShipData"
 
16 intermediate revisions by the same user not shown
Line 24:Line 24:
 }}}} }}}}
 {{#vardefine:level|{{#shipchars:{{#var:ship}}|level}}}} {{#vardefine:level|{{#shipchars:{{#var:ship}}|level}}}}
?{{#vardefine:premium|{{#shipchars:{{#var:ship}}|gold}}}}+{{#vardefine:premium|{{#if:{{#if:{{#pos:{{#shipchars:{{#var:ship}}|tags}}|special}}|1}}{{#if:{{#pos:{{#shipchars:{{#var:ship}}|tags}}|premium}}|1}}|1}}}}
 </div> </div>
?{{SidebarShips+ 
?|+<div style="display:none">
?}}+</div>
 +<div class="b-performance">
 +<div class="b-performance_border" style="padding: 0px">
 +<h3 class="b-performance_title b-performance_title__header">
 +{{#shipstr:{{#shipchars:{{#var:ship}}|mark}}}}
 +</h3>
 +[[image:Ship_{{PAGENAME}}.png|232px|center]]
 +</div>
 +<div class="b-performance_title">Overview<br />
 +<div class="b-performance_text">
 +<table class="t-performance">
 +{{DataLine| Cost | {{#shipchars:{{#var:ship}}|price}} {{#ifeq:{{#var:premium}}|1|[[image:GoldIcon.png|12px]]|[[image:Credits.png|12px]]}}}}
 +{{DataLine| Hit Points | {{#shipchars:{{#var:ship}}|health}} }}
 +</table>
 +</div>
 +<div class="b-performance_title">Mobility</div>
 +<div class="b-performance_text">
 +<table class="t-performance">
 +{{DataLine| Max Speed | {{#shipchars:{{#var:ship}}|mobilityMaxspeed}} kt}}
 +{{DataLine| Rudder Shift Time | {{#shipchars:{{#var:ship}}|mobilityRuddertime}} s}}
 +{{DataLine| Turn Radius | {{#shipchars:{{#var:ship}}|mobilityTurningradius}} m}}
 +</table>
 +</div>
 +<div class="b-performance_title">Armor</div>
 +<div class="b-performance_text">
 +<table class="t-performance">
 +{{DataLine| Hull Armor | {{#shipchars:{{#var:ship}}|armourCasmin}} - {{#shipchars:{{#var:ship}}|armourCasmax}} mm}}
 +{{DataLine| Citadel Armor | {{#shipchars:{{#var:ship}}|armourCitmin}} - {{#shipchars:{{#var:ship}}|armourCitmax}} mm}}
 +{{DataLine| Deck Armor | {{#shipchars:{{#var:ship}}|armourDeckmin}} - {{#shipchars:{{#var:ship}}|armourDeckmax}} mm}}
 +{{DataLine| Extremities Armor | {{#shipchars:{{#var:ship}}|armourExtremitiesmin}} - {{#shipchars:{{#var:ship}}|armourExtremitiesmax}} mm}}
 +</table>
 +</div>
 +<div class="b-performance_title">Primary Armament</div>
 +<div class="b-performance_text">
 +<table class="t-performance">
 +{{DataLine| Guns | }}
 +</table>
 +</div>
 +<div class="b-performance_title">Secondary Armament</div>
 +<div class="b-performance_text">
 +<table class="t-performance">
 +{{DataLine| Guns | }}
 +</table>
 +</div>
 +<div class="b-performance_title">Torpedoes</div>
 +<div class="b-performance_text">
 +<table class="t-performance">
 +{{DataLine| Torpedoes | }}
 +</table>
 +</div>
 +<div class="b-performance_title">Aircrafts</div>
 +<div class="b-performance_text">
 +<table class="t-performance">
 +{{DataLine| Recon Squadrons | }}
 +</table>
 +</div>
 +<div class="b-performance_title">Visibility</div>
 +<div class="b-performance_text">
 +<table class="t-performance">
 +{{DataLine| Aerial Detection Range | {{#shipchars:{{#var:ship}}|visibilityDistbyplane}} km}}
 +{{DataLine| Surface Detection Range | {{#shipchars:{{#var:ship}}|visibilityDistbyship}} km}}
 +</table>
 +</div>
 + 
 +</div>
 +{{#gw_vehicle_relatives:wows:{{#var:ship}}}}
 + 
 +</div>
 + 
 <div class="b-description"> <div class="b-description">
 {{#gw_vehicle_annotation:wows:{{PAGENAME}}}}{{#shipstr:{{#shipchars:{{#var:ship}}|description}}}}<p>{{{1|}}}</p> {{#gw_vehicle_annotation:wows:{{PAGENAME}}}}{{#shipstr:{{#shipchars:{{#var:ship}}|description}}}}<p>{{{1|}}}</p>
Line 38:Line 106:
 }} }}
  
?<h2>Compatible Equipment</h2>+{{Popup
?{{#gw_vehicle_devices:wows:{{#var:ship}} }}+|header=<h2>Compatible Equipment</h2>
 +|content={{#gw_vehicle_devices:wows:{{#var:ship}}}}
 +}}
  
 <div class="b-wiki-panel"> <div class="b-wiki-panel">
Line 47:Line 117:
 |research={{{InTheGame_research|}}} |research={{{InTheGame_research|}}}
 }}|}} }}|}}
? +{{#if:{{{Gallery|}}}
 +|{{Gallery|title=<h3>Gallery</h3>|style=collapsed|content={{{Gallery|}}}}}
 +|}}
 {{#if:{{{History|}}} {{#if:{{{History|}}}
 |{{History|info={{{History|}}}}} |{{History|info={{{History|}}}}}
Line 65:Line 137:
 Destroyers#{{#gw_vehicle_list:wows: nation = {{#var:nationCode}} | class = destroyer | order = level | style = text | divider = • }} | Destroyers#{{#gw_vehicle_list:wows: nation = {{#var:nationCode}} | class = destroyer | order = level | style = text | divider = • }} |
 Cruisers#{{#gw_vehicle_list:wows: nation = {{#var:nationCode}} | class = cruiser | order = level | style = text | divider = • }} | Cruisers#{{#gw_vehicle_list:wows: nation = {{#var:nationCode}} | class = cruiser | order = level | style = text | divider = • }} |
?Battleship#{{#gw_vehicle_list:wows: nation = {{#var:nationCode}} | class = battleship | order = level | style = text | divider = • }}+Battleship#{{#gw_vehicle_list:wows: nation = {{#var:nationCode}} | class = battleship | order = level | style = text | divider = • }} |
 Aircraft Carriers#{{#gw_vehicle_list:wows: nation = {{#var:nationCode}} | class = aircarrier | order = level | style = text | divider = • }} Aircraft Carriers#{{#gw_vehicle_list:wows: nation = {{#var:nationCode}} | class = aircarrier | order = level | style = text | divider = • }}
 }} }}
Line 89:Line 161:
 <noinclude> <noinclude>
 ==Template== ==Template==
 +<big>'''WARNING: DO NOT ASSIGN VALUES TO SHIP= UNLESS YOU KNOW WHAT YOU ARE DOING AND WHAT WILL HAPPEN PERFECTLY. LEAVE IT BLANK.'''</big><hr>
 <pre> <pre>
 {{ShipData|Ship= {{ShipData|Ship=
Line 96:Line 169:
  
 |InTheGame_research=  |InTheGame_research=
 +
 +|Gallery=
  
 |History= |History=

Latest revision as of 00:57, 4 February 2016


Template

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

|InTheGame_performance= 

|InTheGame_research= 

|Gallery=

|History=

|HistoricalGallery=

|Ref_references=

|Ref_sources=

|Ref_links=

}}
Category: