Template:Infobox presenter: Difference between revisions
(auto-detect plural parameters and use correct label) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 02:53, 15 February 2024
Infobox presenter |
---|
File:Ambox warning yellow.svg | 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. |
File:Lua-Logo.svg | This template uses Lua: |
{{Infobox presenter}} may be used to summarize information about a television or radio host.
Usage
{{{name}}} | |
---|---|
{{{native_name}}} | |
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]] | |
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
Died | {{{death_date}}} {{{death_place}}} |
Resting place | {{{resting_place}}} {{{resting_place_coordinates}}} |
Monuments | {{{memorials}}} |
Alma mater | {{{alma_mater}}} |
Spouse | {{{spouse(s)}}} |
Partner | {{{partner}}} |
Children | {{{children}}} |
Parent | {{{parents}}} |
Awards | {{{awards}}} |
Career | |
Show | {{{show}}} |
Station | {{{station}}} |
Network | {{{network}}} |
Time slot | {{{timeslot}}} |
Show | {{{show2}}} |
Station | {{{station2}}} |
Network | {{{network2}}} |
Time slot | {{{timeslot2}}} |
Style | {{{style}}} |
Country | {{{country}}} |
Previous show | {{{prevshow}}} |
{{{module}}} | |
Website | {{{website}}} |
<syntaxhighlight lang="wikitext" style="overflow: auto">
Infobox presenter |
---|
</syntaxhighlight>
Parameters
This template accepts all parameters that {{Infobox person}} does. See here for a complete list. Commonly-used parameters include:
Parameter | Explanation |
---|---|
name | The name of the presenter. |
image | An image of the presenter. |
image_upright | Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%). |
caption | A caption explaining the image. |
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 |
birth_name | The name that the presenter was born with |
birth_date | The date the presenter was born on. Use {{Birth date and age}} (or {{Birth date}} if dead) |
birth_place | The location where the presenter was born. |
death_date | The date that the presenter died. Use {{Death date and age}} |
death_place | The location where the presenter died. |
resting_place | Location of grave, ashes, etc. |
resting_place_coordinates | Precise coordinates of grave, etc. |
alma_mater | Education of individual. |
show | The show that the presenter hosts. |
network | The network, if the show is syndicated. |
station | The station that broadcasts the show that the presenter hosts. Separate multiple entries using {{Plainlist}} |
timeslot | The time slot of the show that the presenter hosts. Ex: 6:00 - 9:00 a.m. Monday-Thursday Separate multiple entries using {{Plainlist}} |
show2 | The second show that the presenter hosts. |
station2 | The station that broadcasts the second show that the presenter hosts. Separate multiple entries using {{Plainlist}} |
network2 | The network if the second show is syndicated. |
timeslot2 | The time slot of the second show that the presenter hosts. Separate multiple entries using {{Plainlist}} |
style | The style of the presenter. Ex: If a DJ, use 'Disc Jockey' here. If a comedian, use 'Comedian' here. Separate multiple entries using {{Plainlist}} |
country | The country in which the presenter's show(s) are broadcast. Separate multiple entries using {{Plainlist}} |
prevshow | The names and stations of the presenter's previous show(s). Ex: Random Show (KCBS-FM) Separate multiple entries using {{Plainlist}} |
parents | The names of the presenter's parents |
spouse(s) | The names of the presenter's spouse(s). Separate multiple entries using {{Plainlist}} List them in chronological order. |
partner | The name of the presenter's domestic partner, rather than business partner. |
children | The number of the presenter's children or the names of the presenters children. If names are listed, separate multiple entries using {{Plainlist}} If ages are provided, list names by eldest first. |
memorials | Statues, plaques, streets named after the subject, etc. |
awards | Notable awards. If many, link to an appropriate section of the article instead. |
website | The official website of the presenter. |
module | Embedded template |
Tracking categories
- Category:Pages using infobox presenter with unknown parameters (0)
- Category:Pages using infobox presenter with conflicting parameters (0)
Microformats
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.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the presenter. | String | optional |
image | image | An image of the presenter. | File | optional |
image_upright | image_upright | Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%). | String | optional |
caption | caption | A caption explaining the image. | String | optional |
native_name | native_name | Name in local language. If more than one, separate using {{Plain list}} | String | optional |
native_name_lang | native_name_lang | ISO 639-2 code e.g. 'fr' for French. If more than one, use {{lang}} instead | String | optional |
birth_name | birth_name | The name that the presenter was born with | String | optional |
birth_date | birth_date | The date the presenter was born on. Use {{Birth date and age}} (or {{Birth date}} if dead) | String | optional |
birth_place | birth_place | The location where the presenter was born. | String | optional |
death_date | death_date | The date that the presenter died. Use {{Death date and age}} | String | optional |
death_place | death_place | The location where the presenter died. | String | optional |
resting_place | resting_place | Location of grave, ashes, etc. | String | optional |
resting_place_coordinates | resting_place_coordinates | Precise coordinates of grave, etc. | String | optional |
alma_mater | alma_mater | Education of individual. | String | optional |
show | show | The show that the presenter hosts. | String | optional |
station | station | The station that broadcasts the show that the presenter hosts. Separate multiple entries using {{Plainlist}} | String | optional |
network | network | The network, if the show is syndicated. | String | optional |
timeslot | timeslot | The time slot of the show that the presenter hosts. Ex: 6:00 - 9:00 a.m. Monday-Thursday Separate multiple entries using {{Plainlist}} | String | optional |
show2 | show2 | The second show that the presenter hosts. | String | optional |
station2 | station2 | The station that broadcasts the second show that the presenter hosts. Separate multiple entries using {{Plainlist}} | String | optional |
network2 | network2 | The network if the second show is syndicated. | String | optional |
timeslot2 | timeslot2 | The time slot of the second show that the presenter hosts. Separate multiple entries using {{Plainlist}} | String | optional |
style | style | The style of the presenter. Ex: If a DJ, use 'Disc Jockey' here. If a comedian, use 'Comedian' here. Separate multiple entries using {{Plainlist}} | String | optional |
country | country | The country in which the presenter's show(s) are broadcast. Separate multiple entries using {{Plainlist}} | String | optional |
prevshow | prevshow | The names and stations of the presenter's previous show(s). Ex: 'Random Show' (KCBS-FM) Separate multiple entries using {{Plainlist}} | String | optional |
parents | parents | The names of the presenter's parents | String | optional |
spouse(s) | spouse(s) | The names of the presenter's spouse(s). Separate multiple entries using {{Plainlist}} List them in chronological order. | String | optional |
partner | partner | The name of the presenter's domestic partner, rather than business partner. | String | optional |
children | children | The number of the presenter's children or the names of the presenters children. If names are listed, separate multiple entries using {{Plainlist}} If ages are provided, list names by eldest first. | String | optional |
memorials | memorials | Statues, plaques, streets named after the subject, etc. | String | optional |
awards | awards | Notable awards. If many, link to an appropriate section of the article instead. | String | optional |
website | website | The official website of the presenter. | String | optional |
module | module | Embedded template | String | optional |