Template:Infobox aviator/doc

Revision as of 12:25, 6 January 2018 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Aviator Infobox

{{Infobox aviator}} This infobox is used to summarize an aviator's key points.

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Full name{{{full_name}}}
Native name{{{native_name}}}
Born{{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Cause of death{{{death_cause}}}
Resting place{{{resting_place}}}
{{{resting_place_coordinates}}}
Monuments{{{monuments}}}
Nationality{{{nationality}}}
Education{{{education}}}
Spouse{{{spouse}}}
Relatives{{{relatives}}}
Aviation career
Known for{{{known_for}}}
First flight{{{first_flight_date}}}
{{{first_flight_aircraft}}}
Famous flights{{{famous_flights}}}
Flight license{{{license_date}}}
{{{license_place}}}
Air force{{{air_force}}}
Battles{{{battles}}}
Rank{{{rank}}}
Awards{{{awards}}}
Memorials{{{memorials}}}
Racing career
First race{{{first_race}}}
Best position{{{racing_best}}}
Aircraft{{{racing aircraft}}}
Website
{{{website}}}
{{{module}}}
{{Infobox aviator
| name             = 
| image            = 
| image_size       = 
| alt              = 
| caption          = 
| full_name        = 
| native_name      = 
| native_name_lang = 
| birth_name       =
| birth_date       = <!-- {{Birth date|YYYY|MM|DD}} -->
| birth_place      = 
| death_date       = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place      = 
| death_cause      = 
| resting_place    = 
| resting_place_coordinates = <!-- {{Coord|LATITUDE|LONGITUDE|type:landmark}} -->
| monuments        = 
| nationality      = 
| education        = 
| spouse           = 
| relatives        = 
| known_for        = 
| first_flight_date     = 
| first_flight_aircraft = 
| famous_flights   = 
| license_date     = 
| license_place    = 
| air_force        = 
| battles          = 
| rank             = 
| awards           = 
| memorials        = 
| first_race       = <!-- For racing aviators -->
| racing_best      = <!-- For racing aviators -->
| racing_aircraft  = <!-- For racing aviators -->
| website          = <!-- {{URL|example.com}} -->
| child            = 
| module           = 
}}

Parameters

name
The aviator's name. When not specified, it defaults to the Wikipedia article's title ({{PAGENAME}}).
image
Image name: abc.jpg, xpz.png, 123.gif, etc.
image_size
Size to display image: 200px (set width), x300px (set height), or 200x300px (max width & max height). This defaults to frameless (default is 220px, but logged in users can change this by clicking on "my preferences" and adjusting thumbnail size) if empty or omitted. This parameter should not normally need to be set.
alt
Alt text for image, for visually impaired readers. One word (such as "photograph") is rarely sufficient. See Wikipedia:Alternative text for images.
caption
Caption for image, if needed. Try to include date of photo and the photographer.
native_name
Name in local language. If more than one, separate using {{Plain list}}
native_name_lang
ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead
full_name
Full name; ; only use if different from name and birth_name.
birth_name
Name at birth; only use if different from name.
birth_date
Date of birth: {{birth date and age}} (if living) or {{birth date}} (if dead). See Template:Birth date and age/doc for details on usage. If only a year of birth is known, or age as of a certain date, consider using {{birth year and age}} or {{birth based on age as of date}}.
birth_place
Place of birth: city, administrative region, sovereign state. Note: Do not use a flag template.
death_date
Date of death: {{death date and age}} (if birth date is known) or {{death date}} (if birth date unknown). See Template:Death date/doc for details on usage. If exact dates are unknown, consider using {{death year and age}}.
death_place
Place of death: city, administrative region, sovereign state. Note: Do not use a flag template.
death_cause
Cause of death.
resting_place
Location of grave, ashes, etc.
resting_place_coordinates
Precise coordinates of grave, etc. Use {{Coord}}
monuments
nationality
Nationality. Do not use a flag template.
education
Education, e.g. degree, institution and graduation year, if relevant.
spouse
relatives
Names of relatives, if notable. Include the relationship in parentheses after the name (sister, uncle, etc.). Separate entries using {{Plainlist}} or {{Unbulleted list}}.
known_for
A brief description of why the person is notable.
first_flight_aircraft
first_flight_date
famous_flights
license_date
license_place
air_force
battles
rank
awards
memorials
Statues, plaques, places named after subject, etc.
first_race
For racing aviators
racing_best
For racing aviators
racing_aircraft
For racing aviators
website
Use {{URL}}
child
For embedding this infobox into another.
module
Used for embedding other templates into this one.

Use as a child template

The child parameter is used when embedding this infobox into another.

This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.

{{Infobox person
| name = 
| image = 
| caption = 
| birth_date = 
| birth_place = 
| <!-- etc. -->
| module = 
  {{Infobox aviator | child=yes
  | parameter-1 = 
  | parameter-2 = 
  | parameter-3 = 
  | parameter-4 = 
  | <!-- etc. -->
  }}
}}

Embedding other templates

The module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules).

{{Infobox aviator
| name = 
| <!-- etc. -->
| module = 
  {{Infobox football biography | embed = yes
  | <!-- etc. -->
  }}
}}

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

Tracking category