Template:Infobox amateur wrestler/sandbox
This is the template sandbox page for Template:Infobox amateur wrestler (diff). See also the companion subpage for test cases. |
This template uses Lua: |
- image (P18) (see uses)
Infobox amateur wrestler may be used to summarize the main statistics info about an amateur wrestler.
Usage
[edit]{{{name}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |
Weight | {{{weight}}} |
Born | {{{birth_date}}} {{{birth_place}}} |
Died | {{{death_date}}} {{{death_place}}} |
High school | {{{high school}}} |
State championships | {{{state championships}}} |
College | {{{college}}} |
Prep National Championships | {{{Prep National Championships}}} |
NCAA championships | {{{ncaa championships}}} |
Olympic team | {{{olympic team}}} |
Olympic medal | {{{olympic medal}}} |
Status | {{{status}}} |
This infobox may be added by pasting the template as shown below into an article.
{{Infobox amateur wrestler
| name =
| image =
| image_size =
| alt =
| caption =
| full_name = <!-- if different -->
| weight =
| birth_date =
| birth_place =
| death_date =
| death_place =
| high school =
| state championships =
| college =
| Prep National Championships =
| ncaa championships =
| olympic team =
| olympic medal =
| status =
| medals =
| medals-expand =
}}
Parameters
[edit]Parameter | Explanation |
---|---|
name | The wrestler's name. |
image | An image of the person. Only the file name is required, such as example.jpg or sample.png. It is not necessary to use File: before the name or to wikilink the image. If no image is available, do not use an image placeholder. |
image_size | A size in pixels to display the image, such as 200px (width), x300px (height), or 200x300px (max width and height). Use only when absolutely necessary. If empty or omitted, frameless is used to display the image at the default thumbnail size (normally 220px, but logged in users may change this at Preferences: Appearance). |
alt | Alternative text for image, for visually impaired readers (see WP:ALT). |
caption | Optional caption to be displayed below the image. |
full_name | The wrestler's full name, if different than name. |
weight | Weight at which the wrestler most recently wrestled. The infobox will automatically display the appropriate conversion.
|
birth_date | Date of birth. If the person is living, use {{Birth date and age}}, {{Birth-date and age}}, or {{Birth year and age}}. If deceased, use {{Birth date}} or {{Birth-date}}.
|
birth_place | Place of birth: town/city, state/province, country. |
death_date | Date of death. If the date of birth is known, use {{Death date and age}}, {{Death-date and age}}, or {{Death year and age}}. Otherwise, use {{Death date}} or {{Death-date}}.
|
death_place | Place of death: town/city, state/province, country. |
high school | Name of high school attended by wrestler. |
state champion | Number of state championships won. |
college | Name of college attended by wrestler. |
Prep National Championships | Number of Prep National Championships won. |
ncaa championships | Number of NCAA national championships won. |
olympic team | Olympic team. |
olympic medal | Olympic medal. |
status | Current status of the wrestler. (ex. if the wrestler is deceased, then insert deceased. If the wrestler is living then insert the current their current title like "coach" or "retired".) |
medals or medaltemplates |
All templates from the medal records table except {{MedalTableTop}} and {{MedalBottom}}. For more information, see the medal templates documentation. |
medals-expand or show-medals |
If set to no, the medals table is hidden (collapsed) and will only be shown (expanded) if the "show" link is selected. Otherwise, the medals template is displayed. |
Microformat
[edit]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
[edit]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
[edit]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.