Template:Infobox ship/sandbox

{{main other|{{#switch:{{{display_title|{{{display title|}}}}}}

| none =

| ital = {{italic title}}

| #default = {{DISPLAYTITLE:{{{display_title|{{{display title|}}}}}}}} }}}}{{Infobox

| child = {{{child|}}}

| above = {{#switch:{{{infobox_caption|{{{infobox caption|}}}}}}

| yes = {{PAGENAME}}

| nodab = {{PAGENAMEBASE}}

| #default = {{{infobox_caption|{{{infobox caption|}}}}}} }}

| bodystyle = width: 23em;

| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{ship_image|{{{Ship image|}}}}}}}}}|size={{{ship_image_size|{{{image size|{{{Ship image size|}}}}}}}}}|sizedefault=300px|upright=1|alt={{{image alt|{{{image alt|}}}}}}}}

| caption = {{if empty|{{{ship_caption|}}}|{{{caption|}}}|{{{Ship caption|}}}}}

| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image_size2|}}}|sizedefault=300px|upright=1|alt={{{image_alt2|}}}}}

| caption2 = {{{caption2|}}}

| image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image3|}}}|size={{{image_size3|}}}|sizedefault=300px|upright=1|alt={{{image_alt3|}}}}}

| caption3 = {{{caption3|}}}

| headerstyle = font-size:110%; line-height:1.5em; font-weight:bold; background-color:#c3d6ef;

| autoheaders = y

| header1 = {{#ifeq:{{{hide_header|{{{Hide header|}}}}}}|yes||Class overview}}

| label4 = Name

| data4 = {{if empty|{{{name|}}}|{{{Name|}}}}}

| label5 = Builders

| data5 = {{if empty|{{{builders|}}}|{{{Builders|}}}}}

| label6 = Operators

| data6 = {{if empty|{{{operators|}}}|{{{Operators|}}}}}

| label7 = Preceded by

| data7 = {{if empty|{{{class_before|}}}|{{{Class before|}}}}}

| label8 = Succeeded by

| data8 = {{if empty|{{{class_after|}}}|{{{Class after|}}}}}

| label9 = Subclasses

| data9 = {{if empty|{{{subclasses|}}}|{{{Subclasses|}}}}}

| label10 = Cost

| data10 = {{if empty|{{{cost|}}}|{{{Cost|}}}}}

| label11 = Built

| data11 = {{if empty|{{{built_range|}}}|{{{Built range|}}}}}

| label12 = In service

| data12 = {{if empty|{{{in_service_range|}}}|{{{In service range|}}}}}

| label13 = In commission

| data13 = {{if empty|{{{in_commission_range|}}}|{{{In commission range|}}}}}

| label14 = Planned

| data14 = {{if empty|{{{total_ships_planned|}}}|{{{Total ships planned|}}}}}

| label15 = On order

| data15 = {{if empty|{{{total_ships_on_order|}}}|{{{Total ships on order|}}}}}

| label16 = Building

| data16 = {{if empty|{{{total_ships_building|}}}|{{{Total ships building|}}}}}

| label17 = Completed

| data17 = {{if empty|{{{total_ships_completed|}}}|{{{Total ships completed|}}}}}

| label18 = Cancelled

| data18 = {{if empty|{{{total_ships_cancelled|}}}|{{{Total ships cancelled|}}}}}

| label19 = Active

| data19 = {{if empty|{{{total_ships_active|}}}|{{{Total ships active|}}}}}

| label20 = Laid up

| data20 = {{if empty|{{{total_ships_laidup|}}}|{{{Total ships laid up|}}}}}

| label21 = Lost

| data21 = {{if empty|{{{total_ships_lost|}}}|{{{Total ships lost|}}}}}

| label22 = Retired

| data22 = {{if empty|{{{total_ships_retired|}}}|{{{Total ships retired|}}}}}

| label23 = Scrapped

| data23 = {{if empty|{{{total_ships_scrapped|}}}|{{{Total ships scrapped|}}}}}

| label24 = Preserved

| data24 = {{if empty|{{{total_ships_preserved|}}}|{{{Total ships preserved|}}}}}

| data25 = {{{embedded1|}}}

| header28 = {{#ifeq:{{{hide_header|{{{Hide header|}}}}}}|yes||History}}

| rowstyle29 = font-size:110%; line-height:1.5em; font-weight:bold; background-color:#b0c4de;

| data29 = {{#if:{{{ship_flag|{{{Ship flag|}}}}}}|

{{#invoke:WPSHIPS_utilities|infobox_ship_flag|{{{ship_flag|{{{Ship flag|}}}}}}}}{{#if:{{{ship_country|{{{Ship country|}}}}}}|{{{ship_country|{{{Ship country|}}}}}}
}}}}

| label30 = Name

| data30 = {{if empty|{{{ship_name|}}}|{{{Ship name|}}}}}

| label31 = Namesake

| data31 = {{if empty|{{{ship_namesake|}}}|{{{Ship namesake|}}}}}

| label32 = Owner

| data32 = {{if empty|{{{ship_owner|}}}|{{{Ship owner|}}}}}

| label33 = Operator

| data33 = {{if empty|{{{ship_operator|}}}|{{{Ship operator|}}}}}

| label34 = Registry

| data34 = {{if empty|{{{ship_registry|}}}|{{{Ship registry|}}}}}

| label35 = Route

| data35 = {{if empty|{{{ship_route|}}}|{{{Ship route|}}}}}

| label36 = Ordered

| data36 = {{if empty|{{{ship_ordered|}}}|{{{Ship ordered|}}}}}

| label37 = Awarded

| data37 = {{if empty|{{{ship_awarded|}}}|{{{Ship awarded|}}}}}

| label38 = Builder

| data38 = {{if empty|{{{ship_builder|}}}|{{{Ship builder|}}}}}

| label39 = Original cost

| data39 = {{if empty|{{{ship_original_cost|}}}|{{{Ship original cost|}}}}}

| label40 = Yard number

| data40 = {{if empty|{{{ship_yard_number|}}}|{{{Ship yard number|}}}}}

| label41 = Way number

| data41 = {{if empty|{{{ship_way_number|}}}|{{{Ship way number|}}}}}

| label42 = Laid down

| data42 = {{if empty|{{{ship_laid_down|}}}|{{{Ship laid down|}}}}}

| label43 = Launched

| data43 = {{if empty|{{{ship_launched|}}}|{{{Ship launched|}}}}}

| label44 = Sponsor

| data44 = {{if empty|{{{ship_sponsor|}}}|{{{Ship sponsor|}}}}}

| label45 = Christened

| data45 = {{if empty|{{{ship_christened|}}}|{{{Ship christened|}}}}}

| label46 = Completed

| data46 = {{if empty|{{{ship_completed|}}}|{{{Ship completed|}}}}}

| label47 = Acquired

| data47 = {{if empty|{{{ship_acquired|}}}|{{{Ship acquired|}}}}}

| label48 = Commissioned

| data48 = {{if empty|{{{ship_commissioned|}}}|{{{Ship commissioned|}}}}}

| label49 = Recommissioned

| data49 = {{if empty|{{{ship_recommissioned|}}}|{{{Ship recommissioned|}}}}}

| label50 = Decommissioned

| data50 = {{if empty|{{{ship_decommissioned|}}}|{{{Ship decommissioned|}}}}}

| label51 = Recommissioned

| data51 = {{{ship_recommissioned_second|}}}

| label52 = Decommissioned

| data52 = {{{ship_decommissioned_second|}}}

| label53 = Recommissioned

| data53 = {{{ship_recommissioned_third|}}}

| label54 = Decommissioned

| data54 = {{{ship_decommissioned_third|}}}

| label55 = Recommissioned

| data55 = {{{ship_recommissioned_fourth|}}}

| label56 = Decommissioned

| data56 = {{{ship_decommissioned_fourth|}}}

| label57 = Maiden voyage

| data57 = {{if empty|{{{ship_maiden_voyage|}}}|{{{Ship maiden voyage|}}}}}

| label58 = In service

| data58 = {{if empty|{{{ship_in_service|}}}|{{{Ship in service|}}}}}

| label59 = Out of service

| data59 = {{if empty|{{{ship_out_of_service|}}}|{{{Ship out of service|}}}}}

| label60 = Renamed

| data60 = {{if empty|{{{ship_renamed|}}}|{{{Ship renamed|}}}}}

| label61 = Reclassified

| data61 = {{if empty|{{{ship_reclassified|}}}|{{{Ship reclassified|}}}}}

| label62 = Refit

| data62 = {{if empty|{{{ship_refit|}}}|{{{Ship refit|}}}}}

| label63 = Struck

| data63 = {{if empty|{{{ship_struck|}}}|{{{Ship stricken|}}}|{{{Ship struck|}}}}}

| label64 = Reinstated

| data64 = {{if empty|{{{ship_reinstated|}}}|{{{Ship reinstated|}}}}}

| label65 = Homeport

| data65 = {{if empty|{{{ship_homeport|}}}|{{{Ship homeport|}}}}}

| label66 = Identification

| data66 = {{if empty|{{{ship_identification|}}}|{{{Ship identification|}}}}}

| label67 = Motto

| data67 = {{if empty|{{{ship_motto|}}}|{{{Ship motto|}}}}}

| label68 = Nickname

| data68 = {{if empty|{{{ship_nickname|}}}|{{{Ship nickname|}}}}}

| label69 = {{#if:{{{ship_honors|{{{Ship honors|}}}}}}|Honors|{{#if:{{{ship_honours{{{Ship honours|}}}|}}}|Honours}}}}

| data69 = {{if empty|{{{ship_honors|{{{ship_honours|}}}}}}|{{{Ship honours|}}}|{{{Ship honors|}}}}}

| label70 = Captured

| data70 = {{if empty|{{{ship_captured|}}}|{{{Ship captured|}}}}}

| label71 = Fate

| data71 = {{if empty|{{{ship_fate|}}}|{{{Ship fate|}}}}}

| label72 = Status

| data72 = {{if empty|{{{ship_status|}}}|{{{Ship status|}}}}}

| label73 = Notes

| data73 = {{if empty|{{{ship_notes|}}}|{{{Ship notes|}}}}}

| label74 = Badge

| data74 = {{if empty|{{{ship_badge|}}}|{{{Ship badge|}}}}}

| data75 = {{{embedded2|}}}

| header79 = {{#ifeq:{{{hide_header|{{{Hide header|}}}}}}|yes||General characteristics}} {{{header_caption|{{{Header caption|}}}}}}

| label80 = Class and type

| data80 = {{if empty|{{{ship_class|}}}|{{{ship_type|}}}|{{{Ship class|}}}|{{{Ship type|}}}}}

| label81 = Tonnage

| data81 = {{if empty|{{{ship_tonnage|}}}|{{{Ship tonnage|}}}}}

| label82 = Displacement

| data82 = {{if empty|{{{ship_displacement|}}}|{{{Ship displacement|}}}}}

| label83 = Tons burthen

| data83 = {{if empty|{{{ship_tons_burthen|}}}|{{{Ship tons burthen|}}}}}

| label84 = Length

| data84 = {{if empty|{{{ship_length|}}}|{{{Ship length|}}}}}

| label85 = Beam

| data85 = {{if empty|{{{ship_beam|}}}|{{{Ship beam|}}}}}

| label86 = Height

| data86 = {{if empty|{{{ship_height|}}}|{{{Ship height|}}}}}

| label87 = {{#if:{{{ship_draught|{{{Ship draught|}}}}}}|Draught|{{#if:{{{ship_draft|{{{Ship draft|}}}}}}|Draft}}}}

| data87 = {{if empty|{{{ship_draught|}}}|{{{ship_draft|}}}|{{{Ship draught|}}}|{{{Ship draft|}}}}}

| label88 = Depth

| data88 = {{if empty|{{{ship_depth|}}}|{{{Ship depth|}}}}}

| label89 = Depth of hold

| data89 = {{if empty|{{{ship_hold_depth|}}}|{{{Ship hold depth|}}}}}

| label90 = Decks

| data90 = {{if empty|{{{ship_decks|}}}|{{{Ship decks|}}}}}

| label91 = Deck clearance

| data91 = {{if empty|{{{ship_deck_clearance|}}}|{{{Ship deck clearance|}}}}}

| label92 = Ship ramps

| data92 = {{if empty|{{{ship_ramps|}}}|{{{Ship ramps|}}}}}

| label93 = Ice class

| data93 = {{if empty|{{{ship_ice_class|}}}|{{{Ship ice class|}}}}}

| label94 = Installed power

| data94 = {{if empty|{{{ship_power|}}}|{{{Ship power|}}}}}

| label95 = Propulsion

| data95 = {{if empty|{{{ship_propulsion|}}}|{{{Ship propulsion|}}}}}

| label96 = Sail plan

| data96 = {{if empty|{{{ship_sail_plan|}}}|{{{Ship sail plan|}}}}}

| label97 = Speed

| data97 = {{if empty|{{{ship_speed|}}}|{{{Ship speed|}}}}}

| label98 = Range

| data98 = {{if empty|{{{ship_range|}}}|{{{Ship range|}}}}}

| label99 = Endurance

| data99 = {{if empty|{{{ship_endurance|}}}|{{{Ship endurance|}}}}}

| label100 = Test depth

| data100 = {{if empty|{{{ship_test_depth|}}}|{{{Ship test depth|}}}}}

| label101 = Boats & landing craft carried

| data101 = {{if empty|{{{ship_boats|}}}|{{{Ship boats|}}}}}

| label102 = Capacity

| data102 = {{if empty|{{{ship_capacity|}}}|{{{Ship capacity|}}}}}

| label103 = Troops

| data103 = {{if empty|{{{ship_troops|}}}|{{{Ship troops|}}}}}

| label104 = Complement

| data104 = {{if empty|{{{ship_complement|}}}|{{{Ship complement|}}}}}

| label105 = Crew

| data105 = {{if empty|{{{ship_crew|}}}|{{{Ship crew|}}}}}

| label106 = Time to activate

| data106 = {{if empty|{{{ship_time_to_activate|}}}|{{{Ship time to activate|}}}}}

| label107 = Sensors and processing systems

| data107 = {{if empty|{{{ship_sensors|}}}|{{{Ship sensors|}}}}}

| label108 = Electronic warfare & decoys

| data108 = {{if empty|{{{ship_EW|}}}|{{{Ship EW|}}}}}

| label109 = Armament

| data109 = {{if empty|{{{ship_armament|}}}|{{{Ship armament|}}}}}

| label110 = {{#if:{{{ship_armour|{{{Ship armour|}}}}}}|Armour|{{#if:{{{ship_armor|{{{Ship armor|}}}}}}|Armor}}}}

| data110 = {{if empty|{{{ship_armour|}}}|{{{ship_armor|}}}|{{{Ship armour|}}}|{{{Ship armor|}}}}}

| label111 = Aircraft carried

| data111 = {{if empty|{{{ship_aircraft|}}}|{{{Ship aircraft|}}}}}

| label112 = Aircraft facilities

| data112 = {{if empty|{{{ship_aircraft_facilities|}}}|{{{Ship aircraft facilities|}}}}}

| data113 = {{{embedded3|}}}

| header124 = {{#ifeq:{{{hide_header|{{{Hide header|}}}}}}|yes||{{{label|Service record}}}}}

| label125 = Part of

| data125 = {{{partof|}}}

| label126 = Identification codes

| data126 = {{{codes|}}}

| label127 = Commanders

| data127 = {{{commanders|}}}

| label128 = Operations

| data128 = {{{operations|}}}

| label129 = Victories

| data129 = {{{victories|}}}

| label130 = Awards

| data130 = {{{awards|}}}

| data131 = {{{embedded4|}}}

}}

{{Documentation}}