Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a45147c38d37452a

Jump to content

Template:Infobox ship/doc

From Wikipedia, the free encyclopedia

This template accepts these named parameters. Positional parameters are not accepted. The positional parameters are:

  • |sectionn= – the value assigned to these enumerated parameters is a child infobox, typically one of:
    see each template's documentation for parameters supported by those templates
  • |labeln= – the values assigned to these enumerated parameters are labels for custom infobox entries; n for |labeln= and |datan= must match
  • |datan= – the values assigned to these enumerated parameters are the data for custom infobox entries; n for |datan= and |labeln= must match
  • |display_title= – controls display styling of the article title
    • none – does no article-title styling
    • ital – uses {{italic title}} to style the article title
    • <article title with markup> – uses {{DISPLAYTITLE:<article title with markup>}} to style the article title
    • when empty or omitted, attempts to automatically style the article title
  • |infobox_caption= – controls the infobox caption
    • yes – uses the article title as the infobox caption. The ship's name will be auto-italicized when the article title has a recognized ship prefix (USS, MV, etc) or has a parenthetical disambiguator (year, hull number, etc) or is in the form <nationality> <ship type> <name> (with or without parenthetical disambiguator); this setting overridden by |sclass=2
    • nodab – formats the infobox caption in the same way as the disambiguated article title except that disambiguator(s) are not displayed; for article titles with a parenthetical disambiguator, the disambiguator is omitted from the caption; for article titles in the form <nationality> <ship type> <name> (with or without parenthetical disambiguator), setting |infobox_caption=nodab will display only <name>; this setting overridden by |sclass=2
    • <other text> – when the assigned value is other than the keywords yes or nodab, that value is used as the infobox caption. Infobox caption text formatting is the responsibility of the editor.
    • when omitted or present-but-empty: the infobox does not have a caption
  • |sclass= – when set to 2, forces unstyled title and also unstyled infobox caption (if enabled by |infobox_caption=yes or |infobox_caption=nodab); the name is taken from {{sclass2}} which creates links to theme-named-class_articles
  • |showerrs= – for use when auto-styling fails, may give a clue why it failed; requires |infobox_caption=yes or |infobox_caption=nodab; the article should probably not be saved with |showerrs=yes

Usage

[edit]

Code for individual ships

[edit]

For infoboxes of individual ships, please copy the appropriate example for the type of ship:


If none of the above fit, you may use this full setup:

Code for ship classes

[edit]

For infoboxes of ship classes, please copy the appropriate example for the type of ship class:


If none of the above fit, you may use this full setup:

No description.

Template parameters

ParameterDescriptionTypeStatus
imageimage

no description

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
image_captionimage_caption

no description

Unknownoptional
image_altimage_alt

no description

Unknownoptional
hide_headerhide_header

no description

Unknownoptional
countrycountry

no description

Unknownoptional
flagflag

no description

Unknownoptional
namename

no description

Unknownoptional
ownerowner

no description

Unknownoptional
namesakenamesake

no description

Unknownoptional
orderedordered

no description

Unknownoptional
builderbuilder

no description

Unknownoptional
laid_downlaid_down

no description

Unknownoptional
launchedlaunched

no description

Unknownoptional
acquiredacquired

no description

Unknownoptional
commissionedcommissioned

no description

Unknownoptional
decommissioneddecommissioned

no description

Unknownoptional
in_servicein_service

no description

Unknownoptional
out_of_serviceout_of_service

no description

Unknownoptional
strickenstricken

no description

Unknownoptional
reinstatedreinstated

no description

Unknownoptional
honourshonours

no description

Unknownoptional
honorshonors

no description

Unknownoptional
fatefate

no description

Unknownoptional
statusstatus

no description

Unknownoptional