Template:Infobox aviator
Contents |
Usage
[edit] Aviator Infobox
{{Infobox aviator}} This infobox is used to summarize an aviator's key points.
{{Infobox aviator
|name =
|image =
|image_size =
|alt =
|caption =
|full_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 =
|spouse =
|relatives =
|known_for =
|first_flight_aircraft =
|first_flight_date =
|famous_flights =
|license_date =
|license_place =
|air_force =
|battles =
|rank =
|awards =
|first_race = <!-- For racing aviators -->
|racing_best = <!-- For racing aviators -->
|racing_aircraft = <!-- For racing aviators -->
|website = <!-- {{URL|example.com}} -->
}}
[edit] 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.
[edit] Sub-templates
Date-of-birth ("bday") information will only be included in the microformat if {{Birth date}}, {{Birth date and age}}, or {{Birth-date}} are used in the infobox. (but do not use these if the date is before 1583).
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
[edit] 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.
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the local /sandbox or your user space before changing anything here. |
| The above documentation is transcluded from Template:Infobox aviator/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |