From Wikipedia, the free encyclopedia
This template is part of the new WikiProject Ships ship infobox. It adds a picture and caption to the infobox. Each section, except Infobox Ship Begin, can be repeated as necessary to support multiple careers, multiple sets of characteristics, etc. If you have any questions or comments, please ask User:TomTheHand.
This ship infobox supports a very large number of fields, including some specialty fields that will rarely be used. Some fields simply don't make sense in some cases. Some different sets of code have been prepared using only the most common fields. Select the most appropriate set below and copy and paste the entire code to the top of a ship article, then fill in as many fields as possible. Empty fields should generally be kept so that a future editor can fill them in unless they make no sense for the ship in question.
The "Full" code contains every field the template supports. If you want, you can copy one of the the simplified sets of code and add a few fields from the "Full" code.
If you have ideas for improvements or would like to add brand new fields to these templates, please post on Template talk:Infobox ship begin/doc to discuss the changes and how they should be implemented.
For infoboxes of individual ships, please copy the appropriate example for the kind of ship:
{|{{Infobox ship begin}} {{Infobox ship image | Ship image = | Ship caption = }} {{Infobox ship career | Hide header = | Ship country = | Ship flag = | Ship name = | Ship owner = | Ship namesake = | Ship ordered = | Ship builder = | Ship laid down = | Ship launched = | Ship acquired = | Ship commissioned = | Ship decommissioned = | Ship in service = | Ship out of service = | Ship struck = | Ship reinstated = | Ship honours = | Ship fate = | Ship status = | Ship notes = }} {{Infobox ship characteristics | Hide header = | Header caption = | Ship class = | Ship displacement = | Ship length = | Ship beam = | Ship draught = | Ship draft = | Ship propulsion = | Ship speed = | Ship range = | Ship complement = | Ship sensors = | Ship EW = | Ship armament = | Ship armour = | Ship armor = | Ship aircraft = | Ship aircraft facilities = | Ship notes = }} |}
{|{{Infobox ship begin}} {{Infobox ship image | Ship image = | Ship caption = }} {{Infobox ship career | Hide header = | Ship country = | Ship flag = | Ship name = | Ship owner = | Ship namesake = | Ship ordered = | Ship builder = | Ship yard number = | Ship laid down = | Ship launched = | Ship acquired = | Ship commissioned = | Ship decommissioned = | Ship in service = | Ship out of service = | Ship struck = | Ship reinstated = | Ship fate = | Ship status = }} {{Infobox ship characteristics | Hide header = | Header caption = | Ship class = | Ship displacement = | Ship length = | Ship beam = | Ship draught = | Ship draft = | Ship propulsion = | Ship speed = | Ship range = | Ship endurance = | Ship test depth = | Ship complement = | Ship sensors = | Ship EW = | Ship armament = | Ship notes = }} |}
{|{{Infobox ship begin}} {{Infobox ship image | Ship image = | Ship caption = }} {{Infobox ship career | Hide header = | Ship country = | Ship flag = | Ship name = | Ship owner = | Ship ordered = | Ship builder = | Ship original cost = | Ship laid down = | Ship launched = | Ship acquired = | Ship commissioned = | Ship decommissioned = | Ship in service = | Ship out of service = | Ship renamed = | Ship struck = | Ship reinstated = | Ship honours = | Ship captured = | Ship fate = | Ship status = | Ship notes = }} {{Infobox ship characteristics | Hide header = | Header caption = | Ship class = | Ship tons burthen = | Ship length = | Ship beam = | Ship draught = | Ship draft = | Ship hold depth = | Ship propulsion = | Ship sail plan = | Ship complement = | Ship armament = | Ship notes = }} |}
{|{{Infobox ship begin}} {{Infobox ship image | Ship image = | Ship caption = }} {{Infobox ship career | Hide header = | Ship name = | Ship owner = | Ship operator = | Ship registry = | Ship route = | Ship ordered = | Ship builder = | Ship original cost = | Ship yard number = | Ship way number = | Ship laid down = | Ship launched = | Ship completed = | Ship christened = | Ship acquired = | Ship maiden voyage = | Ship in service = | Ship out of service = | Ship identification = | Ship fate = | Ship status = | Ship notes = }} {{Infobox ship characteristics | Hide header = | Header caption = | Ship class = | Ship tonnage = | Ship displacement = | Ship length = | Ship beam = | Ship height = | Ship draught = | Ship draft = | Ship depth = | Ship decks = | Ship deck clearance = | Ship ramps = | Ship ice class = | Ship sail plan = | Ship power = | Ship propulsion = | Ship speed = | Ship capacity = | Ship crew = | Ship notes = }} |}
If none of the above fit, you may use this full setup:
{|{{Infobox ship begin}} {{Infobox ship image | Ship image = | Ship caption = }} {{Infobox ship career | Hide header = | Ship country = | Ship flag = | Ship name = | 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 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 honours = | Ship honors = | Ship captured = | Ship fate = | Ship status = | Ship notes = | Ship badge = }} {{Infobox ship characteristics | Hide header = | Header caption = | 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 notes = }} |}
Some fields provide alternate spellings and should never both be filled in:
It's generally a good idea not to remove fields, because another editor might be able to provide the information later. However, in the case of mutually exclusive fields, like "Ship armor" and "Ship armour", the unused field can be removed if desired. Also, if a section is repeated (to show multiple periods in commission, for example), fields that are inappropriate to duplicate can be removed if desired.
This infobox allows you to repeat sections. To repeat, just make a copy of the section to be repeated. You can repeat the Image, Career, or Characteristics sections. Here is an example, with extra fields removed for clarity:
{|{{Infobox ship begin}} {{Infobox ship image | Ship image = [[Image:Uss bang.jpg|center|300px|USS Bang]] | Ship caption = }} {{Infobox ship career | Ship country = US | Ship flag = {{USN flag|1972}} | Ship name = USS ''Bang'' (SS-385) | Ship laid down = 30 April 1943 | Ship launched = 30 August 1943 | Ship commissioned = 4 December 1943 | Ship decommissioned = 1 October 1972 | Ship struck = 18 November 1974 | Ship fate = Transferred to Spain, 1 October 1972 }} {{Infobox ship career | Ship country = Spain | Ship flag = {{shipboxflag|Spain}} | Ship name = SPS ''Cosme Garcia'' (S34) | Ship acquired = 1 October 1972 | Ship fate = scrapped 1983 }} {{Infobox ship characteristics | Header caption = | Ship displacement = 1,526 tons surfaced<br>2,391 tons | Ship length = 311 ft 8 in (95 m) | Ship beam = 27 ft 3 in (8.3 m) | Ship complement = 66 }} |}
It is possible to add custom fields to the infobox using standard Wiki table syntax. This is not encouraged, because infoboxes are intended to standardize the appearance of ship articles, but it can be done if needed. See the below example, where "Sunk:" and "Raised:" fields are added to the ship's career:
{|{{Infobox ship begin}} {{Infobox ship image | Ship image = | Ship caption = USS West Virginia (BB-48) in San Francisco Bay, circa 1934. }} {{Infobox ship career | Hide header = | Ship caption = US | Ship flag = {{USN flag|1947}} | Ship ordered = 5 December 1916 | Ship laid down = 12 April 1920 | Ship launched = 17 November 1921 | Ship commissioned = 1 December 1923 }} |- | Sunk: |7 December 1941 |- |Raised: |17 May 1942 {{Infobox ship career | Hide header = yes | Ship decommissioned = 9 January 1947 | Ship fate = sold for scrap | Ship struck = 1 March 1959 | Ship nickname = "Wee Vee" }} {{Infobox ship characteristics | Hide header = | Ship displacement = 33,590 tons | Ship length = 624 ft (190 m) | Ship beam = 97.3 ft (29.6 m) | Ship draft = 30.5 ft (9.3 m) | Ship speed = 21.0 knots (39 km/h) | Ship complement = 1,407 officers and men | Ship armament = big guns }} |}
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.