Difference between revisions of "Template:ShipData"
Revision as of 15:18, 23 July 2015 | Revision as of 15:29, 23 July 2015 | |||
Line 26: | Line 26: | |||
{{#vardefine:premium|{{#if:{{#if:{{#pos:{{#shipchars:{{#var:ship}}|tags}}|special}}|1}}{{#if:{{#pos:{{#shipchars:{{#var:ship}}|tags}}|premium}}|1}}|1}}}} | {{#vardefine:premium|{{#if:{{#if:{{#pos:{{#shipchars:{{#var:ship}}|tags}}|special}}|1}}{{#if:{{#pos:{{#shipchars:{{#var:ship}}|tags}}|premium}}|1}}|1}}}} | |||
</div> | </div> | |||
? | {{ | + | ||
? | | | + | <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> |
Revision as of 15:29, 23 July 2015
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= |History= |HistoricalGallery= |Ref_references= |Ref_sources= |Ref_links= }}
Category: