Template:Infobox aviator/doc: Difference between revisions
From WWII Archives
w>Zackmann08 No edit summary |
Paul Sidle (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 19:57, 19 March 2023
The design and content of biographical infoboxes must follow Wikipedia's verifiability policy, as well as infobox and biographical style guideline. All content displayed in this template must adhere to the biographies of living persons policy if applicable. Unsourced or poorly sourced contentious material must be removed immediately from the article and its infobox, especially if potentially libellous. |
File:Lua-Logo.svg | This template uses Lua: |
File:Ambox warning yellow.svg | This template is a customized wrapper for {{Infobox person}}. Any field from {{Infobox person}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox person}} . Questions? Just ask here or over at Template talk:Infobox person. |
Usage
Aviator Infobox
{{Infobox aviator}}
This infobox is used to summarize an aviator's key points.
Infobox aviator/doc | |
---|---|
{{{native_name}}} | |
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
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}}} |
Known for | {{{known_for}}} |
Spouse | {{{spouse}}} |
Relatives | {{{relatives}}} |
Awards | {{{awards}}} |
Aviation career | |
Full name | {{{full_name}}} |
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}}} |
Memorials | {{{memorials}}} |
Racing career | |
First race | {{{first_race}}} |
Best position | {{{racing_best}}} |
Aircraft | {{{racing aircraft}}} |
{{{module}}} | |
Website | {{{website}}} |
{{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 = <!-- use only when necessary per [[WP:INFONAT]] --> | 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. Use only when necessary per WP:INFONAT, 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.