Template:Infobox ship/subbox

{{#switch:{{{section}}}

| career =

{{Infobox

| decat = yes

| child = yes

| bodystyle = border-collapse: collapse

| autoheaders = y

| subheaderstyle = font-size:125%; line-height:1.6em; font-weight:bold; background-color:#c3d6ef;

| subheader = {{#if:{{{ship_name|}}}{{{ship_flag|}}}{{{ship_country|}}}{{{ship_namesake|}}}{{{ship_owner|}}}{{{ship_operator|}}}{{{ship_registry|}}}{{{ship_route|}}}{{{ship_ordered|}}}{{{ship_awarded|}}}{{{ship_builder|}}}{{{ship_original_cost|}}}{{{ship_yard_number|}}}{{{ship_way_number|}}}{{{ship_laid_down|}}}{{{ship_launched|}}}{{{ship_sponsor|}}}{{{ship_christened|}}}{{{ship_completed|}}}{{{ship_acquired|}}}{{{ship_commissioned|}}}{{{ship_recommissioned|}}}{{{ship_decommissioned|}}}{{{ship_recommissioned_second|}}}{{{ship_decommissioned_second|}}}{{{ship_recommissioned_third|}}}{{{ship_decommissioned_third|}}}{{{ship_recommissioned_fourth|}}}{{{ship_decommissioned_fourth|}}}{{{ship_maiden_voyage|}}}{{{ship_in_service|}}}{{{ship_out_of_service|}}}{{{ship_renamed|}}}{{{ship_reclassified|}}}{{{ship_refit|}}}{{{ship_struck|}}}{{{ship_reinstated|}}}{{{ship_homeport|}}}{{{ship_identification|}}}{{{ship_motto|}}}{{{ship_nickname|}}}{{{ship_honors|}}}{{{ship_honours|}}}{{{ship_captured|}}}{{{ship_fate|}}}{{{ship_status|}}}{{{ship_notes|}}}{{{ship_badge|}}}|{{#ifeq:{{{hide_header|}}}|yes||History}}}}

| rowstyle1 = font-size:125%; line-height:2.2em; font-weight:bold; background-color:#b0c4de;

| data1 = {{#if:{{{ship_flag|}}}|

{{{ship_flag|}}}    {{{ship_country|}}}
}}

| label3 = Name

| data3 = {{{ship_name|}}}

| label4 = Namesake

| data4 = {{{ship_namesake|}}}

| label5 = Owner

| data5 = {{{ship_owner|}}}

| label6 = Operator

| data6 = {{{ship_operator|}}}

| label7 = Registry

| data7 = {{{ship_registry|}}}

| label8 = Route

| data8 = {{{ship_route|}}}

| label9 = Ordered

| data9 = {{{ship_ordered|}}}

| label10 = Awarded

| data10 = {{{ship_awarded|}}}

| label11 = Builder

| data11 = {{{ship_builder|}}}

| label12 = Original cost

| data12 = {{{ship_original_cost|}}}

| label13 = Yard number

| data13 = {{{ship_yard_number|}}}

| label14 = Way number

| data14 = {{{ship_way_number|}}}

| label15 = Laid down

| data15 = {{{ship_laid_down|}}}

| label16 = Launched

| data16 = {{{ship_launched|}}}

| label17 = Sponsor

| data17 = {{{ship_sponsor|}}}

| label18 = Christened

| data18 = {{{ship_christened|}}}

| label19 = Completed

| data19 = {{{ship_completed|}}}

| label20 = Acquired

| data20 = {{{ship_acquired|}}}

| label21 = Commissioned

| data21 = {{{ship_commissioned|}}}

| label22 = Recommissioned

| data22 = {{{ship_recommissioned|}}}

| label23 = Decommissioned

| data23 = {{{ship_decommissioned|}}}

| label24 = Recommissioned

| data24 = {{{ship_recommissioned_second|}}}

| label25 = Decommissioned

| data25 = {{{ship_decommissioned_second|}}}

| label26 = Recommissioned

| data26 = {{{ship_recommissioned_third|}}}

| label27 = Decommissioned

| data27 = {{{ship_decommissioned_third|}}}

| label28 = Recommissioned

| data28 = {{{ship_recommissioned_fourth|}}}

| label29 = Decommissioned

| data29 = {{{ship_decommissioned_fourth|}}}

| label30 = Maiden voyage

| data30 = {{{ship_maiden_voyage|}}}

| label31 = In service

| data31 = {{{ship_in_service|}}}

| label32 = Out of service

| data32 = {{{ship_out_of_service|}}}

| label33 = Renamed

| data33 = {{{ship_renamed|}}}

| label34 = Reclassified

| data34 = {{{ship_reclassified|}}}

| label35 = Refit

| data35 = {{{ship_refit|}}}

| label36 = Struck

| data36 = {{{ship_struck|}}}

| label37 = Reinstated

| data37 = {{{ship_reinstated|}}}

| label38 = Homeport

| data38 = {{{ship_homeport|}}}

| label39 = Identification

| data39 = {{{ship_identification|}}}

| label40 = Motto

| data40 = {{{ship_motto|}}}

| label41 = Nickname

| data41 = {{{ship_nickname|}}}

| label42 = {{#if:{{{ship_honors|}}}|Honors|{{#if:{{{ship_honours|}}}|Honours}}}}

| data42 = {{{ship_honors|{{{ship_honours|}}}}}}

| label43 = Captured

| data43 = {{{ship_captured|}}}

| label44 = Fate

| data44 = {{{ship_fate|}}}

| label45 = Status

| data45 = {{{ship_status|}}}

| label46 = Notes

| data46 = {{{ship_notes|}}}

| label47 = Badge

| data47 = {{{ship_badge|}}}

}}

| class =

{{Infobox

| decat = yes

| child = yes

| bodystyle = border-collapse: collapse

| subheaderstyle = font-size:125%; line-height:1.6em; font-weight:bold; background-color:#c3d6ef;

| subheader1 = {{#if:{{{name|}}}{{{builders|}}}{{{operators|}}}{{{class_before|}}}{{{class_after|}}}{{{subclasses|}}}{{{cost|}}}{{{built_range|}}}{{{in_service_range|}}}{{{in_commission_range|}}}{{{total_ships_planned|}}}{{{total_ships_on_order|}}}{{{total_ships_building|}}}{{{total_ships_completed|}}}{{{total_ships_cancelled|}}}{{{total_ships_active|}}}{{{total_ships_laidup|}}}{{{total_ships_lost|}}}{{{total_ships_retired|}}}{{{total_ships_scrapped|}}}{{{total_ships_preserved|}}}|{{#ifeq:{{{hide_header|}}}|yes||Class overview}}}}

| label1 = Name

| data1 = {{{name|}}}

| label2 = Builders

| data2 = {{{builders|}}}

| label3 = Operators

| data3 = {{{operators|}}}

| label4 = Preceded by

| data4 = {{{class_before|}}}

| label5 = Succeeded by

| data5 = {{{class_after|}}}

| label6 = Subclasses

| data6 = {{{subclasses|}}}

| label7 = Cost

| data7 = {{{cost|}}}

| label8 = Built

| data8 = {{{built_range|}}}

| label9 = In service

| data9 = {{{in_service_range|}}}

| label10 = In commission

| data10 = {{{in_commission_range|}}}

| label11 = Planned

| data11 = {{{total_ships_planned|}}}

| label12 = On order

| data12 = {{{total_ships_on_order|}}}

| label13 = Building

| data13 = {{{total_ships_building|}}}

| label14 = Completed

| data14 = {{{total_ships_completed|}}}

| label15 = Cancelled

| data15 = {{{total_ships_cancelled|}}}

| label16 = Active

| data16 = {{{total_ships_active|}}}

| label17 = Laid up

| data17 = {{{total_ships_laidup|}}}

| label18 = Lost

| data18 = {{{total_ships_lost|}}}

| label19 = Retired

| data19 = {{{total_ships_retired|}}}

| label20 = Scrapped

| data20 = {{{total_ships_scrapped|}}}

| label21 = Preserved

| data21 = {{{total_ships_preserved|}}}

}}

| characteristics =

{{Infobox

| decat = yes

| child = yes

| bodystyle = border-collapse: collapse

| subheaderstyle = font-size:125%; line-height:1.6em; font-weight:bold; background-color:#c3d6ef;

| subheader = {{#if:{{{ship_class|}}}{{{ship_type|}}}{{{ship_tonnage|}}}{{{ship_displacement|}}}{{{ship_tons_burthen|}}}{{{ship_length|}}}{{{ship_beam|}}}{{{ship_height|}}}{{{ship_draught|}}}{{{ship_draft|}}}{{{ship_depth|}}}{{{ship_hold_depth|}}}{{{ship_decks|}}}{{{ship_deck_clearance|}}}{{{ship_ramps|}}}{{{ship_ice_class|}}}{{{ship_power|}}}{{{ship_propulsion|}}}{{{ship_sail_plan|}}}{{{ship_speed|}}}{{{ship_range|}}}{{{ship_endurance|}}}{{{ship_test_depth|}}}{{{ship_boats|}}}{{{ship_capacity|}}}{{{ship_troops|}}}{{{ship_complement|}}}{{{ship_crew|}}}{{{ship_time_to_activate|}}}{{{ship_sensors|}}}{{{ship_EW|}}}{{{ship_armament|}}}{{{ship_armour|}}}{{{ship_armor|}}}{{{ship_aircraft|}}}{{{ship_aircraft_facilities|}}}{{{ship_motto|}}}{{{ship_nickname|}}}{{{ship_honours|}}}{{{ship_honors|}}}{{{ship_notes|}}}{{{ship_badge|}}}|{{#ifeq:{{{hide_header|}}}|yes||General characteristics}}{{#if:{{{header_caption|}}}|{{{header_caption}}}}}}}

| label1 = Class and type

| data1 = {{{ship_class|{{{ship_type|}}}}}}

| label2 = Tonnage

| data2 = {{{ship_tonnage|}}}

| label3 = Displacement

| data3 = {{{ship_displacement|}}}

| label4 = Tons burthen

| data4 = {{{ship_tons_burthen|}}}

| label5 = Length

| data5 = {{{ship_length|}}}

| label6 = Beam

| data6 = {{{ship_beam|}}}

| label7 = Height

| data7 = {{{ship_height|}}}

| label8 = {{#if:{{{ship_draught|}}}|Draught|{{#if:{{{ship_draft|}}}|Draft}}}}

| data8 = {{{ship_draught|{{{ship_draft|}}}}}}

| label9 = Depth

| data9 = {{{ship_depth|}}}

| label10 = Depth of hold

| data10 = {{{ship_hold_depth|}}}

| label11 = Decks

| data11 = {{{ship_decks|}}}

| label12 = Deck clearance

| data12 = {{{ship_deck_clearance|}}}

| label13 = Ship ramps

| data13 = {{{ship_ramps|}}}

| label14 = Ice class

| data14 = {{{ship_ice_class|}}}

| label15 = Installed power

| data15 = {{{ship_power|}}}

| label16 = Propulsion

| data16 = {{{ship_propulsion|}}}

| label17 = Sail plan

| data17 = {{{ship_sail_plan|}}}

| label18 = Speed

| data18 = {{{ship_speed|}}}

| label19 = Range

| data19 = {{{ship_range|}}}

| label20 = Endurance

| data20 = {{{ship_endurance|}}}

| label21 = Test depth

| data21 = {{{ship_test_depth|}}}

| label22 = Boats & landing craft carried

| data22 = {{{ship_boats|}}}

| label23 = Capacity

| data23 = {{{ship_capacity|}}}

| label24 = Troops

| data24 = {{{ship_troops|}}}

| label25 = Complement

| data25 = {{{ship_complement|}}}

| label26 = Crew

| data26 = {{{ship_crew|}}}

| label27 = Time to activate

| data27 = {{{ship_time_to_activate|}}}

| label28 = Sensors and processing systems

| data28 = {{{ship_sensors|}}}

| label29 = Electronic warfare & decoys

| data29 = {{{ship_EW|}}}

| label30 = Armament

| data30 = {{{ship_armament|}}}

| label31 = {{#if:{{{ship_armour|}}}|Armour|{{#if:{{{ship_armor|}}}|Armor}}}}

| data31 = {{{ship_armour|{{{ship_armor|}}}}}}

| label32 = Aircraft carried

| data32 = {{{ship_aircraft|}}}

| label33 = Aircraft facilities

| data33 = {{{ship_aircraft_facilities|}}}

| label34 = Motto

| data34 = {{{ship_motto|}}}

| label35 = Ship nickname

| data35 = {{{ship_nickname|}}}

| label36 = {{#if:{{{ship_honours|}}}|Honours|{{#if:{{{ship_honors|}}}|Honors}}}}

| data36 = {{{ship_honours|{{{ship_honors|}}}}}}

| label37 = Ship notes

| data37 = {{{ship_notes|}}}

| label38 = Ship badge

| data38 = {{{ship_badge|}}}

}}

| serice record =

{{Infobox

| decat = yes

| child = yes

| bodystyle = border-collapse: collapse

| subheaderstyle = font-size:125%; line-height:1.6em; font-weight:bold; background-color:#c3d6ef;

| subheader = {{{label|Service record}}}

| label1 = Part of

| data1 = {{{partof|}}}

| label2 = Identification codes

| data2 = {{{codes|}}}

| label3 = Commanders

| data3 = {{{commanders|}}}

| label4 = Operations

| data4 = {{{operations|}}}

| label5 = Victories

| data5 = {{{victories|}}}

| label6 = Awards

| data6 = {{{awards|}}}

}}

}}{{Documentation}}