Bước tới nội dung

Bản mẫu:Infobox ship career/doc

Bách khoa toàn thư mở Wikipedia

This template is part of the WikiProject Ships ship infobox. It adds a Career box to the infobox. Each section, except Infobox Ship Begin, can be repeated as necessary to support multiple careers, multiple sets of characteristics, etc. The header of the Career box can be hidden by setting its "Hide header=yes". This allows you to repeat certain fields by adding a second Career box with a hidden header.


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 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 to discuss the changes and how they should be implemented.

Cách sử dụng

[sửa mã nguồn]

Mã cho các tàu cá nhân

[sửa mã nguồn]

Đối với các hộp thông tin của tàu cá nhân, xin vui lòng sao chép ví dụ thích hợp cho các loại tàu:

Tàu chiến (trừ tàu ngầm). Chọn hiển thị để mở rộng.

{|{{Infobox ship begin <!-- warships except submarines -->
|infobox caption= <!-- keywords: yes, nodab; or caption text -->
|display title= <!-- keywords: none, ital; or article title with markup -->
}}
{{Infobox ship image
|Ship image=
|Ship image size=
|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 honors=
|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=
}}
|}

Tàu ngầm. Chọn hiển thị để mở rộng.

{|{{Infobox ship begin <!-- submarines -->
|infobox caption= <!-- keywords: yes, nodab; or caption text -->
|display title= <!-- keywords: none, ital; or article title with markup -->
}}
{{Infobox ship image
|Ship image=
|Ship image size=
|Ship caption=
}}
{{Infobox ship career
|Hide header=
|Ship country=
|Ship flag=
|Ship name=
|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 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=
}}
|}

Tuổi của buồm. Chọn hiển thị để mở rộng.

{|{{Infobox ship begin <!-- age of sail -->
|infobox caption= <!-- keywords: yes, nodab; or caption text -->
|display title= <!-- keywords: none, ital; or article title with markup -->
}}
{{Infobox ship image
|Ship image=
|Ship image size=
|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 honors=
|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=
}}
|}

Tàu thương mại. Chọn hiển thị để mở rộng.

{|{{Infobox ship begin <!-- commercial vessels -->
|infobox caption= <!-- keywords: yes, nodab; or caption text -->
|display title= <!-- keywords: none, ital; or article title with markup -->
}}
{{Infobox ship image
|Ship image=
|Ship image size=
|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 type=
|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=
}}
|}


Nếu không có thích hợp ở trên, bạn có thể sử dụng thiết lập đầy đủ này:

Mã đầy đủ cho các tàu cá nhân. Chọn hiển thị để mở rộng.

{|{{Infobox ship begin <!-- full code -->
|infobox caption= <!-- keywords: yes, nodab; or caption text -->
|display title= <!-- keywords: none, ital; or article title with markup -->
}}
{{Infobox ship image
|Ship image=
|Ship image size=
|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=
}}
|}

Mã cho các lớp tàu

[sửa mã nguồn]

Đối với các hộp thông tin của lớp tàu, xin vui lòng sao chép ví dụ thích hợp cho các loại lớp tàu:

Lớp tàu chiến (trừ tàu ngầm). Chọn hiển thị để mở rộng.

{|{{Infobox ship begin <!-- warship classes -->
|infobox caption= <!-- keywords: yes, nodab; or caption text -->
|display title= <!-- keywords: none, ital; or article title with markup -->
|sclass= <!-- keyword: 2 -->
}}
{{Infobox ship image
|Ship image=
|Ship image size=
|Ship caption=
}}
{{Infobox ship class overview
|Builders=
|Operators=
|Class before=
|Class after=
|Subclasses=
|Built range=
|In commission range=
|Total ships building=
|Total ships planned=
|Total ships completed=
|Total ships cancelled=
|Total ships active=
|Total ships laid up=
|Total ships lost=
|Total ships retired=
|Total ships scrapped=
|Total ships preserved=
}}
{{Infobox ship characteristics
|Hide header=
|Header caption=
|Ship type=
|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=
}}
|}

Lớp tàu ngầm. Chọn hiển thị để mở rộng.

{|{{Infobox ship begin <!-- submarine classes -->
|infobox caption= <!-- keywords: yes, nodab; or caption text -->
|display title= <!-- keywords: none, ital; or article title with markup -->
|sclass= <!-- keyword: 2 -->
}}
{{Infobox ship image
|Ship image=
|Ship image size=
|Ship caption=
}}
{{Infobox ship class overview
|Builders=
|Operators=
|Class before=
|Class after=
|Subclasses=
|Built range=
|In commission range=
|Total ships building=
|Total ships planned=
|Total ships completed=
|Total ships cancelled=
|Total ships active=
|Total ships laid up=
|Total ships lost=
|Total ships retired=
|Total ships scrapped=
|Total ships preserved=
}}
{{Infobox ship characteristics
|Hide header=
|Header caption=
|Ship type=
|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=
}}
|}

Tuổi của lớp buồm. Chọn hiển thị để mở rộng.

{|{{Infobox ship begin <!-- age of sail classes -->
|infobox caption= <!-- keywords: yes, nodab; or caption text -->
|display title= <!-- keywords: none, ital; or article title with markup -->
|sclass= <!-- keyword: 2 -->
}}
{{Infobox ship image
|Ship image=
|Ship image size=
|Ship caption=
}}
{{Infobox ship class overview
|Builders=
|Operators=
|Class before=
|Class after=
|Subclasses=
|Built range=
|In commission range=
|Total ships building=
|Total ships planned=
|Total ships completed=
|Total ships cancelled=
|Total ships active=
|Total ships laid up=
|Total ships lost=
|Total ships retired=
|Total ships scrapped=
|Total ships preserved=
}}
{{Infobox ship characteristics
|Hide header=
|Header caption=
|Ship type=
|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=
}}
|}

Lớp tàu thương mại. Chọn hiển thị để mở rộng.

{|{{Infobox ship begin <!-- commercial vessel classes -->
|infobox caption= <!-- keywords: yes, nodab; or caption text -->
|display title= <!-- keywords: none, ital; or article title with markup -->
|sclass= <!-- keyword: 2 -->
}}
{{Infobox ship image
|Ship image=
|Ship image size=
|Ship caption=
}}
{{Infobox ship class overview
|Builders=
|Operators=
|Class before=
|Class after=
|Subclasses=
|Built range=
|In service range=
|Total ships building=
|Total ships planned=
|Total ships completed=
|Total ships cancelled=
|Total ships active=
|Total ships laid up=
|Total ships lost=
|Total ships retired=
|Total ships scrapped=
|Total ships preserved=
}}
{{Infobox ship characteristics
|Hide header=
|Header caption=
|Ship type=
|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=
}}
|}


Nếu không có thích hợp ở trên, bạn có thể sử dụng thiết lập đầy đủ này:

Mã đầy đủ cho các lớp tàu. Chọn hiển thị để mở rộng.

{|{{Infobox ship begin <!-- full code -->
|infobox caption= <!-- keywords: yes, nodab; or caption text -->
|display title= <!-- keywords: none, ital; or article title with markup -->
|sclass= <!-- keyword: 2 -->
}}
{{Infobox ship image
|Ship image=
|Ship image size=
|Ship caption=
}}
{{Infobox ship class overview
|Name=
|Builders=
|Operators=
|Class before=
|Class after=
|Subclasses=
|Cost=
|Built range=
|In service range=
|In commission range=
|Total ships building=
|Total ships planned=
|Total ships completed=
|Total ships cancelled=
|Total ships active=
|Total ships laid up=
|Total ships lost=
|Total ships retired=
|Total ships scrapped=
|Total ships preserved=
}}
{{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=
}}
|}

Các thông số

[sửa mã nguồn]

Most fields are self-explanatory, but here are some tips (see the usage guide for a complete explanation of all parameter fields):

  1. Ship image If your article does not have an image in this field, the ship will automatically be listed at the hidden category Category:Ship infoboxes without an image. Editors can use the category to easily see a list of infoboxes where no image is attached and work to find pictures.
  2. Ship caption, the caption for the ship's picture, should be left blank if no extra information about the picture is available; don't just fill in the ship's name.
  3. Ship country is necessary when a ship served under multiple countries, but not really necessary otherwise.
  4. Ship class should include both the class and the type of ship. For example, Balao-class diesel-electric submarine provides complete information. It can be replaced with Ship type, which displays as "Type:", for ships that aren't members of a class.
  5. Ship name is necessary when a ship served under multiple names, but not really necessary otherwise.
  6. Ship fate and Ship status generally shouldn't both be filled in. Whichever one sounds most appropriate for the situation should be filled in. Use Ship fate when the ship sank or was scrapped, and use Ship status when the ship is active, kept in reserve, or currently a museum.
  7. Ship displacement and Ship tonnage are not the same thing. Displacement is the mass of a ship in a particular condition, like when it's fully loaded for battle. It is generally used for military vessels. Tonnage is a measurement of the cargo capacity of a vessel and isn't exactly correlated with weight: a ship of a particular tonnage will have a different mass depending on whether it's full of grain or iron. Entries in either parameter need to specifically identify the units in which they are being measured, such as long tons, metric tons or tonnes (unacceptable in articles using American English, use metric tons) or gross register tons or whatever. If possible, use templates such as {{GT}}, {{NetT}} and {{DWT}}.

Alternate spellings

[sửa mã nguồn]

Some fields provide alternate spellings and should never both be filled in:

  1. "Ship honors" and "Ship honours"
  2. "Ship draft" and "Ship draught"
  3. "Ship armor" and "Ship armour"

Parameter value import from Wikidata

[sửa mã nguồn]

Infobox ship can import parameter values from Wikidata (WD). A Wikidata property is roughly equivalent to an infobox parameter. When there is a page at Wikidata that matches the page at Wikipedia, and the Wikidata page has a property that matches the infobox parameter, then the infobox parameter can take its value from the Wikidata property.

These parameters, if left empty or omitted from the template, may be filled from Wikidata:

When the infobox is rendered in an article, those parameters that use Wikidata property values will display an icon (Imported from Wikidata) linked to the Wikidata source page. Articles using Wikidata properties are listed in Thể loại:Ship infoboxes importing Wikidata.

If an imported value is inappropriate or wrong, the corresponding Wikidata item should be corrected. The template code will only display a parameter's label and value if the parameter has an assigned value, whether provided locally or provided by Wikidata. If display of a Wikidata property value is not appropriate or desired, use the reserved value none as the parameter value to block Wikdata import. Articles blocking Wikdata property import are listed in Thể loại:Ship infoboxes blocking Wikidata import.

Removing extra fields

[sửa mã nguồn]

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. Keep in mind that a ship from the Age of Sail would not need the fields for aircraft or electronic warfare instruments and in opposite an aircraft carrier would not need the fields for a sail plan. A surface ship would not require fields for submarines etc.

Special capabilities

[sửa mã nguồn]

Repeating sections

[sửa mã nguồn]

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:

USS Bang (SS-385)
Lịch sử
U.S.
Tên gọi USS Bang (SS-385)
Đặt lườn 30 tháng 4, 1943
Hạ thủy 30 tháng 8, 1943
Nhập biên chế 4 tháng 12, 1943
Xuất biên chế 1 tháng 10, 1972
Xóa đăng bạ 18 tháng 11, 1974
Số phận Chuyển đến Tây Ban Nha, 1 tháng 10, 1972
Lịch sử
Spain
Tên gọi SPS Cosme Garcia (S34)
Trưng dụng 1 tháng 10, 1972
Số phận Tháo dỡ năm 1983
Đặc điểm khái quát
Trọng tải choán nước
  • 1,526 tấn nổi
  • 2,391 tấn
Chiều dài 311 ft 8 in (95,00 m)
Sườn ngang 27 ft 3 in (8,31 m)
Thủy thủ đoàn tối đa 66
{|{{Infobox ship begin |infobox caption=}}
{{Infobox ship image
| Ship image=Uss bang.jpg
| Ship image size=300px
| Ship caption=
}}
{{Infobox ship career
| Ship country=US
| Ship flag={{USN flag|1972}}
| Ship name=USS ''Bang'' (SS-385)
| Ship laid down=30 tháng 4, 1943
| Ship launched=30 tháng 8, 1943
| Ship commissioned=4 tháng 12, 1943
| Ship decommissioned=1 tháng 10, 1972
| Ship struck=18 tháng 11, 1974
| Ship fate=Chuyển đến Tây Ban Nha, 1 tháng 10, 1972
}}
{{Infobox ship career
| Ship country=Spain
| Ship flag={{shipboxflag|Spain}}
| Ship name=SPS ''Cosme Garcia'' (S34)
| Ship acquired=1 tháng 10, 1972
| Ship fate=Tháo dỡ năm 1983
}}
{{Infobox ship characteristics
| Header caption=
| Ship displacement=*1,526 tấn nổi
*2,391 tấn
| Ship length=311 ft 8 in (95 m)
| Ship beam=27 ft 3 in (8.3 m)
| Ship complement=66
}}
|}

Hiding section headers

[sửa mã nguồn]

It is possible to hide the headers for the Career and General Characteristics sections, in order to repeat fields. For example, a ship might have been commissioned, decommissioned, recommissioned, and decommissioned again. To have the second commission and decommission dates, use additional a second Infobox ship career template with its header hidden, like this:

USS Wisconsin at sea, circa 1990
Lịch sử
Đặt lườn 25 tháng 1, 1941
Hạ thủy 7 tháng 12, 1943
Nhập biên chế 16 tháng 4, 1944
Xuất biên chế 1 tháng 7, 1948
Tái biên chế 3 tháng 3, 1951
Xuất biên chế 8 tháng 3, 1958
Tái biên chế 1 tháng 8, 1986
Xuất biên chế 30 tháng 9, 1991
Xóa đăng bạ 17 tháng 3, 2006
Số phận Museum ship
Đặc điểm khái quát(1943)
Trọng tải choán nước 45,000 tấn
Chiều dài 887.2 ft (270 m)
Sườn ngang 108.2 ft (33 m)
Mớn nước 28.9 ft (8.8 m)
Tốc độ 33 knots (61 km/h)
Thủy thủ đoàn tối đa 1,921 sĩ quan và nam
Vũ khí súng lớn
{|{{Infobox ship begin |infobox caption=}}
{{Infobox ship image
| Ship image=Uss wisconsin bb.jpg
| Ship image size=300px
| Ship caption=USS ''Wisconsin'' at sea, circa 1990
}}
{{Infobox ship career
| Hide header=
| Ship caption=(US)
| Ship flag={{USN flag|1992}}
| Ship laid down=25 tháng 1, 1941
| Ship launched=7 tháng 12, 1943
| Ship commissioned=16 tháng 4, 1944
| Ship decommissioned=1 tháng 7, 1948
}}
{{Infobox ship career
| Hide header=yes
| Ship recommissioned=3 tháng 3, 1951
| Ship decommissioned=8 tháng 3, 1958
}}
{{Infobox ship career
| Hide header=yes
| Ship recommissioned=1 tháng 8, 1986
| Ship decommissioned=30 tháng 9, 1991
| Ship struck=17 tháng 3, 2006
| Ship fate=[[Museum ship]]
}}
{{Infobox ship characteristics
| Hide header=
| Header caption=(1943)
| Ship displacement=45,000 tons
| Ship length=887.2 ft (270 m)
| Ship beam=108.2 ft (33 m)
| Ship draft=28.9 ft (8.8 m)
| Ship speed=33 knots (61 km/h)
| Ship complement=1,921 sĩ quan và nam
| Ship armament=súng lớn
}}
|}

Header captions

[sửa mã nguồn]

The General Characteristics section can be given a caption using the Header caption field. See the USS Wisconsin example above, which has a header caption of (1943) to indicate that the characteristics provided are as of 1943.

Custom fields

[sửa mã nguồn]
West Virginia in San Francisco Bay, circa 1934.
Lịch sử
Đặt hàng 5 tháng 12, 1916
Đặt lườn 12 tháng 4, 1920
Hạ thủy 17 tháng 11, 1921
Nhập biên chế 1 tháng 12, 1923
Sunk: 7 tháng 12, 1941
Raised: 17 tháng 5, 1942
Xuất biên chế 9 tháng 1, 1947
Xóa đăng bạ 1 tháng 3, 1959
Biệt danh "Wee Vee"
Số phận bán làm phế liệu
Đặc điểm khái quát
Trọng tải choán nước 33,590 tấn
Chiều dài 624 ft (190 m)
Sườn ngang 97.3 ft (29.6 m)
Mớn nước 30.5 ft (9.3 m)
Tốc độ 21.0 knots (39 km/h)
Thủy thủ đoàn tối đa 1,407 sĩ quan và nam
Vũ khí súng lớn

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 caption=}}
{{Infobox ship image
|Ship image=Uss west virginia bb.jpg
|Ship image size=300px
|Ship caption=''West Virginia'' in San Francisco Bay, circa 1934.
}}
{{Infobox ship career
| Hide header=
| Ship caption=US
| Ship flag={{USN flag|1947}}
| Ship ordered=5 tháng 12, 1916
| Ship laid down=12 tháng 4, 1920
| Ship launched=17 tháng 11, 1921
| Ship commissioned=1 tháng 12, 1923
}}
|-
| Sunk:
|7 tháng 12, 1941
|-
|Raised:
|17 tháng 5, 1942
{{Infobox ship career
| Hide header=yes
| Ship decommissioned=9 tháng 1, 1947
| Ship fate=bán làm phế liệu
| Ship struck=1 tháng 3, 1959
| Ship nickname="Wee Vee"
}}
{{Infobox ship characteristics
| Hide header=
| Ship displacement=33,590 tấn
| 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 sĩ quan và nam
| Ship armament=súng lớn
}}
|}

TemplateData

[sửa mã nguồn]
Đây là tài liệu Dữ liệu bản mẫu cho bản mẫu này được sử dụng bởi Trình soạn thảo trực quan và các công cụ khác; xem báo cáo sử dụng tham số hàng tháng cho bản mẫu này.

Dữ liệu bản mẫu cho Infobox ship career


This template is part of the WikiProject Ships ship infobox. It adds a Career box to the infobox. Each section, except Infobox Ship Begin, can be repeated as necessary to support multiple careers, multiple sets of characteristics, etc. The header of the Career box can be hidden by setting its "Hide header=yes". This allows you to repeat certain fields by adding a second Career box with a hidden header.

Tham số bản mẫu

Tham sốMiêu tảKiểuTrạng thái
Hide headerHide header

If you need to repeat fields by using multiple copies of the "Career" subtemplate, enter "Yes" in this field to prevent display of the blue bar at the top of the second template. At least one "Career" header should be left visible.

Luận lýtùy chọn
Ship countryShip country

The nation a ship is associated with; either the nation a warship belongs to, or the nation of registry for civilian ships. However, in case of civilian ships flying flags of convenience, this field should not be used. The country is placed in the infobox header. Do not use this field to indicate ranges.

Chuỗi dàitùy chọn
Ship flagShip flag

The ensign (maritime flag) associated with a ship

Chuỗi dàitùy chọn
Ship classShip class

If the ship belongs to a recognized ship class, use this field to identify the class. The field displays as "class & type", so the type should be added here as well.

Chuỗi dàitùy chọn
Ship nameShip name

The name of the ship

Chuỗi dàitùy chọn
Ship namesakeShip namesake

If the ship's name originates from a particular person, location, event, or object, it may be added here. However, descriptions longer than a few words (e.g. a person's name or "Finnish for "potato"") should be placed in the article body.

Chuỗi dàitùy chọn
Ship ownerShip owner

The company or organisation that owns the vessel. When multiple entries are made in this field, include year ranges. Leave this field blank for warships, as the combination of the |Ship country= and |Ship flag= fields will generally be enough for readers to identify ownership.

Chuỗi dàitùy chọn
Ship operatorShip operator

The company or organisation that operates or runs the ship. If the owner of the vessel is also the operator, this field may be left empty. If it is necessary to mention the charterer of the ship in the infobox, use a separate custom field for that.

Chuỗi dàitùy chọn
Ship registryShip registry

The nation and port of registry for a civilian vessel. This is generally found painted on the ship's stern. The nation of registry should be expressed as text, not as a flag symbol. A flag symbol may be used in addition, but only if such usage meets Wikipedia:Manual of Style/Icons. When multiple entries are made in this field, include year ranges

Chuỗi dàitùy chọn
Ship routeShip route

If a civilian or merchant vessel has a long-term (multiple years +) association with a particular voyage path or route. Do not use this field for modern cruise ships, as their routes change on a regular basis.

Chuỗi dàitùy chọn
Ship orderedShip ordered

The date that the ship was ordered from the shipbuilder.

Chuỗi dàitùy chọn
Ship awardedShip awarded

For United States Navy vessels, the date that the contract to build the ships was signed/approved.

Chuỗi dàitùy chọn
Ship builderShip builder

The shipyard or other construction facility where the vessel was built. Usually, only the building company is listed here. The location of the shipyard may also be added, but avoid too much detail: anything more than a single 'location link' can be discussed in the body of the article or referred to with a link (for example [[Vickers-Armstrongs]], [[Barrow-in-Furness]] or [[BAE Systems Australia]], [[Williamstown, Victoria]], but not [[Scotts Shipbuilding and Engineering Company]], [[Greenock]], [[Scotland]], [[United Kingdom]])

Chuỗi dàitùy chọn
Ship original costShip original cost

The financial cost of building the ship, usually at the time of construction and using the currency of either the orderer or the builder. If other values are used (e.g. conversions), they should be specified and, if necessary, further discussed in the article

Chuỗi dàitùy chọn
Ship yard numberShip yard number

An identifying number assigned for the ship by the builder during construction

Chuỗi dàitùy chọn
Ship way numberShip way number

If the particular slipway where a ship was built has been identified with a number, it may be added here. Rarely used for modern vessels.

Chuỗi dàitùy chọn
Ship laid downShip laid down

The date on which the keel was laid down onto the slipway by the builder. For most ships, this is the point where construction of the vessel starts, and is usually accompanied by ceremony. Although modular construction techniques mean that fabrication of modern vessels can start prior to this, the first time a module is placed on the slipway or building dock is still recognised as the date a ship is laid down.

Chuỗi dàitùy chọn
Ship launchedShip launched

The date a ship is launched, floated out, or other circumstance where the completed hull enters the water. Construction is not normally completed by this date. Take care not to confuse it with dates recognising the ship's entry into service (such as commissioning or maiden voyage)

Chuỗi dàitùy chọn
Ship sponsorShip sponsor

he individual (usually a woman and sometimes referred to as a "launching lady") who does the whole ceremonial "smash-the-bottle,-launch-the-ship" thing as part of the launching ceremony. This is not to be used for any companies or organisations providing sponsorship of a vessel in exchange for advertising or naming rights.

Chuỗi dàitùy chọn
Ship christenedShip christened

The date of the ceremony in which the ship formally and/or ceremonially receives her name (see Ship naming and launching). Only use this field if the naming/christening happened at a separate point in time to either the launching or commissioning ceremonies.

Chuỗi dàitùy chọn
Ship completedShip completed

The date construction work finished

Chuỗi dàitùy chọn
Ship acquiredShip acquired

The date of delivery by the shipbuilder to the owner or operator. If it is the same as the completition date, this field may be left empty. Alternately, if the ship changes ownership and multiple, separate "Career" subtemplates are being used, the date the new owner/operator came into possession of the ship. Do not use this method if the change of ownership is being handled through multiple entries in the |Ship owner= field

Chuỗi dàitùy chọn
Ship commissionedShip commissioned

The date a warship was commissioned into naval service. Do not use for civilian merchant vessels

Chuỗi dàitùy chọn
Ship recommissionedShip recommissioned

If a naval vessel was decommissioned from service, then reactivated, use this field to add the new commissioning date

Used best with multiple copies of the "Career" subtemplate (|Ship commissioned= and |Ship decommissioned= fields in the first template, |Ship recommissioned= and |Ship decommissioned= in the second).

Do not use for civilian merchant vessels

Chuỗi dàitùy chọn
Ship decommissionedShip decommissioned

The date a warship was decommissioned or paid off from naval service.

Do not use this field if events related to the ship's fate (such as loss in action) mean the ship was never formally decommissioned.

Do not use for civilian merchant vessels.

Chuỗi dàitùy chọn
Ship maiden voyageShip maiden voyage

The dates and locations of the start and end of the ship's maiden voyage: the first recognised voyage in full service, usually carrying passengers or cargo.

The transfer of a completed ship from the shipyard to its owner is not normally recognised as a maiden voyage; this is part of the sea trial or shakedown phase, which ensures the ship is working as built.

Most commonly used for civilian passenger-carrying vessels

Chuỗi dàitùy chọn
Ship in serviceShip in service

The date a civilian vessel began operations. Alternately, this may be treated as a date range indicating the start and end points of a ship's career. If being used in this manner, ignore the |Ship out of service= field.

Chuỗi dàitùy chọn
Ship out of serviceShip out of service

The date a civilian vessel ceased operations. If the |Ship in service= field is being used with a date range instead of a set date, do not use this field.

Chuỗi dàitùy chọn
Ship renamedShip renamed

If the ship changes names, the new names and corresponding dates may be listed here. If multiple names are listed in the |Ship name= field, ignore this field.

Chuỗi dàitùy chọn
Ship reclassifiedShip reclassified

When a warship's classification is altered, the date and new classification may be listed here

Chuỗi dàitùy chọn
Ship refitShip refit

If the ship underwent a major modification or refit, the start and end dates may be listed here.

Chuỗi dàitùy chọn
Ship struckShip struck

When a ship is removed from an official register (such as the United States Navy's Naval Vessel Register), the date of removal (or striking) from the register should be listed here. This field does not include collisions, groundings or attacks a ship has experienced.

Chuỗi dàitùy chọn
Ship reinstatedShip reinstated

If, after a ship has been stricken from a register, she is returned to service and is re-listed on that register, the date of reinstatement should be listed here Used best with multiple copies of the "Career" subtemplate.

Chuỗi dàitùy chọn
Ship homeportShip homeport

The home port of the vessel (if different from |Ship registry=): For civilian ships, this will be the primary port from which the ship operates (i.e. for cruise ships, the port in which cruises start and end). Port of registry (the one painted on the stern) should be listed in |Ship registry=. For warships, this will be the ship's assigned naval base.

When multiple entries are made in this field, include year ranges.

For ships that change their home port on a regular basis (more than once every couple of years), consider ignoring this field and elaborating in the body of the article

Chuỗi dàitùy chọn
Ship identificationShip identification

Any identification numbers or codes for the vessel are listed here. This may include IMO numbers (use {{IMO number}}), MMSI numbers (use {{MMSI}}), call signs, and pennant/hull numbers (although consider not using the field for hull numbers if these are indicated in the lead sentence of the article).

Chuỗi dàitùy chọn
Ship mottoShip motto

If the ship has a motto, it should be listed here. Wrap non-English mottos in {{lang}} templates followed by the English translation

Chuỗi dàitùy chọn
Ship nicknameShip nickname

If the ship has any nicknames, they should be listed here. Take care to ensure these are sourced (either in the infobox, or in the body of the article), and consider adding related context and/or circumstances to the article itself.

Chuỗi dàitùy chọn
Ship honorsShip honors Ship honours

Used to list any battle honours, battle stars, unit citations, or other unit awards awarded to the ship for her service.

Do not list awards given to individuals, even if the award was for service aboard the vessel. Mention these awards in the relevant part of the ship's history. Avoid listing annual capability or competition awards (such as the Battle Effectiveness Award or the Gloucester Cup) to avoid bloat.

British English (honours) and American English (honors) alternates are provided; delete whichever is inappropriate.

Chuỗi dàitùy chọn
Ship capturedShip captured

When the ship falls into enemy hands, and whose hands they are.

Keep it brief by only indicating the capturing nation and the date (i.e. "Antarctica, 30 February 2012"). Detail relating to the capture should be in the article.

Follow up with a new "Career" subtemplate to discuss the ship's career with her captor.

Chuỗi dàitùy chọn
Ship fateShip fate

Used to indicate that a ship is no longer operational, and will not return to service in the future. This is usually when something pretty permanent happens to the ship, like sinking or scrapping. Rule of thumb: "Is the ship permanently below the surface, or in pieces?"

Only list the event and the date it occurred (for example: "Sank following collision on 10 February 1964", or "Sold for scrap in 1975". Details such as location, cause, etc. should be discussed in the article.

In the majority of cases, |Ship status= and |Ship fate= are mutually exclusive. Unlike other redundant fields, leave |Ship fate= in the article, as the ship's life will end one day.

Chuỗi dàitùy chọn
Ship statusShip status

Used to indicate that a ship is currently in service, or has been removed from service but is available for future use or preserved in some form. Rule of thumb: "Is the ship above the water and intact?"

For active ships, consider using {{Ship in active service}} or other means to indicate the last known date (generally year) the ship was active. However, if the ship is expected to remain in service in the near future and its decommissioning will not likely go unnoticed, simply |Ship in service= should be enough. For inactive ships, indicate briefly what the ship is 'doing' (laid up, in reserve, preserved as museum ship, awaiting disposal, etc.) and, if deemed necessary, where it is moored.

In the majority of cases, |Ship status= and |Ship fate= are mutually exclusive. If the |Ship fate= field is used, delete this field.

Chuỗi dàitùy chọn
Ship notesShip notes

Any other important information not covered by the other infobox fields, but not important enough for a custom field. This field should not be used for citations/references: either the citations should be attached to the specific entry, or the infobox should be treated as part of the lead section, with the citations attached to the information in the body of the article.

Chuỗi dàitùy chọn
Ship badgeShip badge

An image or description of any naval heraldry, such as the ship's badge or crest, may be added here

Chuỗi dàitùy chọn