Template:Infobox sports announcer/sandbox
Infobox sports announcer/sandbox |
---|
This is the template sandbox page for Template:Infobox sports announcer (diff). See also the companion subpage for test cases. |
This template is a customized wrapper for {{Infobox person}}. Any field from {{Infobox person}} can work. It will also emit the same hCard and Geo microformats as {{Infobox person}} . Questions? Just ask here or over at Template talk:Infobox person. |
This template uses Lua: |
Usage
[edit]This template accepts all parameters that {{Infobox person}} does, see here for a complete list.
In addition, it accepts all parameters that {{Infobox sports announcer details}} does.
Example
[edit]The infobox can be added by copying and pasting the template shown below.
{{Infobox sports announcer
| name = <!-- use common name/article title -->
| image = <!-- filename only, no "File:" or "Image:" prefix, and no enclosing [[brackets]] -->
| image_size =
| caption =
| birth_name = <!-- only use if different from name -->
| birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} for living people supply only the year with {{Birth year and age|YYYY}} unless the exact date is already widely published, as per [[WP:DOB]]. For people who have died, use {{Birth date|YYYY|MM|DD}}. -->
| birth_place =
| death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (DEATH date then BIRTH date) -->
| death_place =
| other_names =
| alma_mater = <!-- such as [[Syracuse University]] -->
| years_active = <!-- such as 2010–present -->
| website = <!-- {{URL|example.com}} -->
| signature =
| module = {{ infobox sports announcer details
| team = <!-- such as [[Dallas Cowboys]] -->
| genre = <!-- such as [[Play-by-play]] -->
| sport = <!-- such as [[Major League Soccer]] -->
| employer = <!-- such as [[CBS Sports]] -->
}}
}}
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.
Tracking categories
[edit]- Category:Pages using infobox sports announcer with unknown parameters (0)
- Category:Pages using infobox sports announcer with conflicting parameters (0)
- Category:No local image but image on Wikidata (9,134) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or
|nocat_wdimage=yes
to the infobox.
See also
[edit]- {{Infobox person}}