Welcome to Wargaming.net Wiki!
Variants

Difference between revisions of "Template:ShipData"

Jump to: navigation, search
Revision as of 12:48, 26 June 2015Revision as of 13:39, 26 June 2015
Line 1:Line 1:
 <includeonly> <includeonly>
 __NOTOC__ __NOTOC__
?{{DISPLAYTITLE:{{PAGENAME}}}}+<div style="display:none">
 +{{#vardefine:ship|{{#replace:{{lc:{{#if:{{{Ship|}}}
 + |{{{Ship|}}}
 + |{{PAGENAME}}
 +}}}}||_}}}}
 +{{#vardefine:class|{{lc:{{#shipchars:{{#var:ship}}|class}}}}}}
 +{{#vardefine:classFooter|{{#switch:{{#var:class}}
 + |destroyer = Destroyers
 + |cruiser = Cruisers
 + |battleship = Battleships
 + |aircarrier = Aircraft Carriers
 +}}}}
 +{{#vardefine:nationCode|{{#shipchars:{{#var:ship}}|nation}}}}
 +{{#vardefine:nation|{{#switch:{{#shipchars:{{#var:ship}}|nation}}
 + |ussr = USSR
 + |germany = Germany
 + |usa = USA
 + |france = France
 + |uk = UK
 + |china = China
 + |japan = Japan
 +}}}}
 +{{#vardefine:level|{{#shipchars:{{#var:ship}}|level}}}}
 +{{#vardefine:premium|{{#shipchars:{{#var:ship}}|gold}}}}
 +</div>
 {{SidebarShips {{SidebarShips
 | |
 }} }}
 <div class="b-description"> <div class="b-description">
?{{#gw_vehicle_annotation:wows: {{PAGENAME}} }}<p>{{{1|}}}</p>+{{#gw_vehicle_annotation:wows:{{PAGENAME}}}}{{#shipstr:{{#shipchars:{{#var:ship}}|description}}}}<p>{{{1|}}}</p>
 </div> </div>
 +
 +{{Popup
 +|header=<h3>Modules</h3>
 +|content={{#gw_vehicle_modules:wows:{{#var:ship}}}}
 +}}
 +
 +<h2>Compatible Equipment</h2>
 +{{#gw_vehicle_devices:wows:{{#var:ship}} }}
 +
 <div class="b-wiki-panel"> <div class="b-wiki-panel">
 {{#if:{{{InTheGame_performance|}}}{{{InTheGame_research|}}}| {{#if:{{{InTheGame_performance|}}}{{{InTheGame_research|}}}|
Line 27:Line 60:
 }}|}} }}|}}
 </div> </div>
 +
 +
 </includeonly> </includeonly>
 <noinclude> <noinclude>

Revision as of 13:39, 26 June 2015


Template

{{ShipData|Ship=
|

|InTheGame_performance= 

|InTheGame_research= 

|History=

|HistoricalGallery=

|Ref_references=

|Ref_sources=

|Ref_links=

}}
Category: