Template:Infobox Ship/doc

Usage
This template is designed to contain information on all types of ships. It is a centralised version of the table that has been used for ships on Wikipedia for a long time now. It contains a number of rows that will appear regardless of whether anything is filled in for those rows and a number of rows that only appear if they actually contain something. The empty version of the table looks like this:

Using this version of the table will result in the following default being created on the page where the template is used:

The rows that will always appear in the template are:


 * Ship image
 * Ship flag
 * Ship laid down
 * Ship launched
 * Ship fate
 * Ship displacement
 * Ship length
 * Ship beam
 * Ship draught</tt>
 * Ship propulsion</tt>
 * Ship speed</tt>
 * Ship complement</tt>

They are included as all ships, by definition, have those qualities. If they are empty the text rows default to "Unknown" and the image rows (Ship image</tt> and Ship flag</tt>) default to displaying Image:IIH.png as a placeholder.

The remaining rows in the table are optional and they only appear if they actually have something in them since not all ships possess these attributes. They are:


 * Ship caption</tt>
 * Ship country</tt>
 * Ship namesake</tt>
 * Ship ordered</tt>
 * Ship builder</tt>
 * Ship christened</tt>
 * Ship purchased</tt>
 * Ship commissioned</tt>
 * Ship decommissioned</tt>
 * Ship in service</tt>
 * <tt>Ship out of service</tt>
 * <tt>Ship renamed</tt>
 * <tt>Ship reclassified</tt>
 * <tt>Ship captured</tt>
 * <tt>Ship struck</tt>
 * <tt>Ship reinstated</tt>
 * <tt>Ship homeport</tt>
 * <tt>Ship range</tt>
 * <tt>Ship endurance</tt>
 * <tt>Ship test depth</tt>
 * <tt>Ship boats</tt>
 * <tt>Ship capacity</tt>
 * <tt>Ship time to activate</tt>
 * <tt>Ship sensors</tt>
 * <tt>Ship EW</tt>
 * <tt>Ship armament</tt>
 * <tt>Ship armour</tt>
 * <tt>Ship aircraft</tt>
 * <tt>Ship motto</tt>
 * <tt>Ship nickname</tt>
 * <tt>Ship honours</tt>
 * <tt>Ship notes</tt>
 * <tt>Ship badge</tt>

US and UK alternative spellings are available for the variables <tt>Ship draught</tt>, <tt>Ship armour</tt> and <tt>Ship honours</tt>. Simply alter the spelling of the variables to <tt>Ship draft</tt>, <tt>Ship armor</tt> and <tt>Ship honors</tt> respectively and the US spellings will come up rather than the UK spellings. Since <tt>Ship draught</tt> is a row that always appears in the table if neither variable contains any information the row will default to "Unknown" and the US spelling will be used.

A main configuration parameter is <tt>NavyColor</tt> which controls the color of the career and general characteristics title bars. The default color is "navy".

The usage of each row is as follows:


 * <tt>Ship image</tt> — a photo or any other image of the ship in question using standard MediaWiki image markup, which should not be wider than 300 pixels (include an alternate text for those who can't see the image—the name of the ship at least)
 * <tt>Ship caption</tt> — a caption to the image of the ship in question (if appropriate—e.g. if there's more than one ship in the picture, or if the occasion or activity is noteworthy)
 * <tt>Ship namesake</tt> — What or who the ship was named after.
 * <tt>Ship country</tt> — the country that the ship served, usually presented in brackets
 * <tt>Ship flag</tt> — the flag/ensign/jack the ship flew, again inserted using standard MediaWiki image markup
 * <tt>Ship ordered</tt> — the date the ship was first ordered
 * <tt>Ship builder</tt> - the organisation that built the ship
 * <tt>Ship laid down</tt> — the date the ship was laid down
 * <tt>Ship launched</tt> — the date the ship was launched
 * <tt>Ship christened</tt> — the date the ship was christened
 * <tt>Ship purchased</tt> — the date the ship changed hands either by purchase or some other means like requisitioning, except for capture by enemy forces which is covered by another variable
 * <tt>Ship commissioned</tt> — the date the ship was commissioned into a navy or other military service
 * <tt>Ship decommissioned</tt> — the date the ship was decommissioned from a navy or other military service
 * <tt>Ship in service</tt> — the date the ship came into service where it was not commissioned (for example ships of the Military Sealift Command of the United States Navy
 * <tt>Ship out of service</tt> — the date the ship came out of service
 * <tt>Ship renamed</tt> — the date the ship was renamed and what names it went under before and after the renaming
 * <tt>Ship reclassified</tt> — the date the ship was reclassified, for example from a gun cruiser to a guided missile cruiser, and what classifications it went under before and after the reclassification
 * <tt>Ship captured</tt> — the date the ship was captured due to enemy action in wartime or by pirates
 * <tt>Ship struck</tt> — the date the ship was removed from any register of naval vessels it was on
 * <tt>Ship reinstated</tt> — the date the was reinstated to any register of naval vessels it was on
 * <tt>Ship fate</tt> — the current status of the ship if still extant or its final fate otherwise
 * <tt>Ship homeport</tt> — the home port of the ship
 * <tt>Ship displacement</tt> — the displacement of the ship, preferably at least full load displacement for warships and deadweight tonnage for merchant vessels
 * <tt>Ship length</tt> — the length of the ship
 * <tt>Ship beam</tt> — the beam of the ship
 * <tt>Ship draught</tt> — the amount of water the ship draws
 * <tt>Ship propulsion</tt> — the propulsion method used for the ship including details, if appropriate and available, of engine-type, number of shafts and shaft horsepower
 * <tt>Ship speed</tt> — the speed the ship was capable of
 * <tt>Ship range</tt> — the range of the ship at a particular speed
 * <tt>Ship endurance</tt> — how long the ship can stay at sea, and if a diesel submarine its underwater endurance
 * <tt>Ship test depth</tt> — if the ship is a submarine, the depth to which it was tested during trials
 * <tt>Ship boats</tt> — details of the smaller craft such as admiral's barges and landing craft that the ship carries
 * <tt>Ship capacity</tt> — the amount and type of cargo that the ship can carry and the amount of stores that a warship carries
 * <tt>Ship complement</tt> — the number of officers and enlisted men serving on board the ship including a split into different organisations if appropriate and known, e.g. a carrier's crew and air group
 * <tt>Ship time to activate</tt> — if the ship is not in active service the time it takes to get the ship in active service from the moment the order to do so is given
 * <tt>Ship sensors</tt> — the sensors that the ship possess including radar and sonar
 * <tt>Ship EW</tt> — the electronic warfare and decoy equipment carried by a warship
 * <tt>Ship armament</tt> — the armament that a ship possess including guns, rockets, missiles and torpedoes and the launching systems for those weapons if appropriate
 * <tt>Ship armour</tt> — the amount of armour that the ship possess and where it is in the ship
 * <tt>Ship aircraft</tt> — the aircraft that the ship can support and the aviation facilities that is uses to support those aircraft
 * <tt>Ship motto</tt> — any motto known for the ship (include English translation if necessary)
 * <tt>Ship nickname</tt> — any nicknames known for the ship
 * <tt>Ship honours</tt> — any honours and awards bestowed on the ship, such as campaign awards, unit commendations and prizes (like the Blue Ribband for liners)
 * <tt>Ship notes</tt> - Anything about the ship that is particularly notable and not covered elsewhere in the table
 * <tt>Ship badge</tt> - any badge that was commonly associated with the ship

To input information into the table simply insert it after the equals sign on each row as appropriate. If the ship is part of a large class of vessels and each of those vessels share common characteristics such as propulsion equipment then MediaWiki templates can be used to insert that information for each member of the class. Any unique features of a particular ship in the class can then be inserted after the template as appropriate.

For a table of the ensigns and jacks that can be used in the table see WikiProject Ships/Ensigns.

Example of Usage
The markup below produces the table seen on the right of the page:

<br style="clear: right">