Welcome to Wargaming.net Wiki!
Variants

Difference between revisions of "Template:ShipData"

Jump to: navigation, search
Revision as of 04:24, 27 June 2015Latest revision as of 00:57, 4 February 2016
Removed protection from "Template:ShipData"
 
8 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">
?|armourCas={{#shipchars:hull:{{#var:ship}}:{{#shipchars:hull:{{#var:ship}}::stock|name}} |armourRangeMin}} - {{#shipchars:hull:{{#var:ship}}:{{#shipchars:hull:{{#var:ship}}::stock|name}} |armourRangeMax}}+</div>
?|armourCasTop={{#shipchars:hull:{{#var:ship}}:{{#shipchars:hull:{{#var:ship}}::top|name}} |armourRangeMin}} - {{#shipchars:hull:{{#var:ship}}:{{#shipchars:hull:{{#var:ship}}::top|name}} |armourRangeMax}}+<div class="b-performance">
?|armourCit={{#shipchars:{{#var:ship}}|armourCitmin}} - {{#shipchars:{{#var:ship}}|armourCitmax}}+<div class="b-performance_border" style="padding: 0px">
?|armourDeck={{#shipchars:{{#var:ship}}|armourDeckmin}} - {{#shipchars:{{#var:ship}}|armourDeckmax}}+<h3 class="b-performance_title b-performance_title__header">
?|armourExtremities={{#shipchars:{{#var:ship}}|armourExtremitiesmin}} - {{#shipchars:{{#var:ship}}|armourExtremitiesmax}}+{{#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 54: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 96: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 103: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: