User:TomTheHand/test

From Wikipedia, the free encyclopedia

Below is the code that would be pasted into an article. A few special notes:

  1. Each section can be repeated if needed, so a single infobox can have two images with captions, or two characteristics sections, or seventeen career sections, or whatever you need.
  2. The headers of the Career and General Characteristics sections can be hidden by setting Hide header=yes. This is useful if you want to repeat a portion of a section, like having an additional set of recommission/decommission dates, and you don't want the header bar to be repeated.
  3. The Header caption field of the Characteristics box can be used to add some text to the General Characteristics header bar. For example, a year, or (pre-refit), or similar text could be added. This is most useful when multiple characteristics boxes are going to be used, to label and distinguish between them.

Following the code are several examples. I stripped out unneeded rows in the examples to make their code easier to look at, but ordinarily most unused rows would be left in so a later editor could fill them in.

Contents

[edit] Code

{|{{User:TomTheHand/Infobox Ship Begin}}
{{User:TomTheHand/Infobox Ship Image
|Ship image=
|Ship caption=
}}
{{User:TomTheHand/Infobox Ship Career
|Hide header=
|Ship country=
|Ship flag=
|Ship class=
|Ship name=
|Ship ordered=
|Ship awarded=
|Ship builder=
|Ship laid down=
|Ship launched=
|Ship christened=
|Ship acquired=
|Ship commissioned=
|Ship recommissioned=
|Ship decommissioned=
|Ship in service=
|Ship out of service=
|Ship renamed=
|Ship reclassified=
|Ship refit=
|Ship captured=
|Ship struck=
|Ship reinstated=
|Ship fate=
|Ship homeport=
}}
{{User:TomTheHand/Infobox Ship Characteristics
|Hide header=
|Header caption=
|Ship displacement=
|Ship length=
|Ship beam=
|Ship draught=
|Ship draft=
|Ship propulsion=
|Ship speed=
|Ship range=
|Ship endurance=
|Ship test depth=
|Ship boats=
|Ship capacity=
|Ship complement=
|Ship time to activate=
|Ship sensors=
|Ship EW=
|Ship armament=
|Ship armour=
|Ship armor=
|Ship aircraft=
|Ship motto=
|Ship nickname=
|Ship honours=
|Ship notes=
}}
|}


[edit] USS Kephart

Career (US) United States Navy Jack
Class and type: Buckley-class destroyer escort
Name: USS Kephart (DE-207)
Launched: September 6, 1943
Commissioned: 7 January 1944
Decommissioned: 21 June 1946
Struck: 1 May 1967
Fate: transferred to South Korea,
16 May 1967
Career (ROK) Naval Jack of South Korea
Name: Kyong Puk (PF-82)
Commissioned: 1967
Struck: 30 April 1985
General Characteristics
Displacement: 1,400 tons
Length: 306 ft
Beam: 36 ft 10 in
Draft: 9 ft 5 in
Propulsion: little engines
Speed: 24 knots
Complement: 186 officers and enlisted
Armament: small guns

First, here is an example of a ship that served in two navies.

[edit] USS Wisconsin

USS Wisconsin (BB-64)
USS Wisconsin at sea, circa 1990
Career (US) United States Navy Jack
Laid down: 25 January 1941
Launched: 7 December 1943
Commissioned: 16 April 1944
Decommissioned: July 1, 1948
Recommissioned: March 3, 1951
Decommissioned: March 8, 1958
Recommissioned: August 1, 1986
Decommissioned: 30 September 1991
Struck: 17 March 2006
Fate: Museum ship
General Characteristics (1943)
Displacement: 45,000 tons
Length: 887.2 ft (270 m)
Beam: 108.2 ft (33 m)
Draft: 28.9 ft (8.8 m)
Speed: 33 knots (61 km/h)
Complement: 1,921 officers and men
Armament: big guns

Next is an example of a ship that was decommissioned, recommissioned, and then decommissioned again; this uses two career boxes, with the second one's header hidden. In addition, the Header caption field is demonstrated: note General Characteristics (1943).

[edit] USS Enterprise

All-nuclear formation: Enterprise, Long Beach (CGN-9), and Bainbridge (CGN-25).
USS Enterprise, USS Long Beach and USS Bainbridge in formation in the Mediterranean, 18 June 1964. Enterprise crewmembers are spelling out Einstein’s equation on the flight deck. This was the first all-nuclear battle formation.
Career USN Jack
Laid down: 4 February 1958
Launched: 24 September 1960
Commissioned: 25 November 1961
Decommissioned: 2014-2015 (planned)
Fate: Active in service as of 2007.
General Characteristics
Displacement: approx. 93,500 tons full load
Length: 1,123 ft (342.3 m)
Beam: 132.8 ft (40.5 m)
Draft: 39 ft (11.9 m)
Propulsion: 8 x A2W reactor, 4 x steam turbine, 4 shafts, 280,000 shp (210 MW)
Speed: 30+ knots (56+ km/h)(43.21 knots calculated speed based on waterline length and beam)[citation needed]
Complement: Ship's company: 3,000 (2,700 Sailors, 150 Chiefs, 150 Officers) Air wing: 1,800 (250 Pilots, and 1,550 Support personnel)
Armament: 2 Sea Sparrow launchers,
2 × 20 mm Phalanx CIWS mounts,
2 RAM launchers
Armour: 8 inch (20 cm) aluminum belt (equivalent to 4 inch rolled homogenous steel armour)
Aircraft carried: approx. 66:
Forty three F/A-18 Hornets;
Four EA-6B Prowlers;
Four E-2C Hawkeyes;
Six S-3 Vikings;
Five SH-60 Seahawks)
Motto: Ready on Arrival;
The First, the Finest;
Eight Reactors, None Faster
Nickname: Big E / Mobile Chernobyl / Three-Quarter Mile Island / The Enterprison / The Pig / The Starship
Notes: 915 engineers designed the ship. They made 16,100 drawings and 2,400 blueprints. The ship has about 625 miles of electrical cables and 37 miles of ventilation ducts. The ship has 4 steam powered catapults

Last is the infobox for USS Enterprise, redone using the separate templates to demonstrate that this new set of templates can do the same thing as the old one.