Jump to content

Template:Infobox presenter/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
ArmbrustBot (talk | contribs)
m Microformats: re-categorisation per CFDS, replaced: Category:People infobox templates → Category:People and person infobox templates using AWB
Jeabbabe (talk | contribs)
 
(30 intermediate revisions by 22 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{Uses infobox person|wrapped=1}}
{{Lua|Module:Template wrapper|Module:Check for clobbered parameters}}


{{tl|Infobox presenter}} may be used to summarize information about a television or radio host.
{{tl|Infobox presenter}} may be used to summarize information about a television or radio host.


=== Usage ===
== Usage ==
{{Parameter names example | name | image | image_upright | alt | caption | native_name | native_name_lang | birth_name | birth_date | birth_place | death_date | death_place | resting_place | resting_place_coordinates | alma_mater | show | station | network | timeslot | show2 | station2 | network2 | timeslot2 | style | country | prevshow | parents | spouse(s) | partner | children | memorials | awards | website | module }}


<pre style="overflow: auto">
<syntaxhighlight lang="wikitext" style="overflow: auto">
{{Infobox presenter
{{Infobox presenter
| name =
| name =
| image =
| image =
| image_size =
| image_upright =
| caption =
| caption =
| native_name =
| native_name =
| native_name_lang =
| native_name_lang =
| birth_name =
| birth_name =
| birth_date =
| birth_date = <!-- {{Birth date and age|1993|2|24|df=yes}} -->
| birth_place =
| birth_place =
| death_date =
| death_date = <!-- {{Death date and age|1993|2|24|df=yes}} -->
| death_place =
| death_place =
| resting_place =
| resting_place =
| resting_place_coordinates =
| resting_place_coordinates =
| alma_mater =
| alma_mater =
| show =
| show =
| station =
| station =
| network =
| network =
| timeslot =
| timeslot =
| show2 =
| show2 =
| station2 =
| station2 =
| network2 =
| network2 =
| timeslot2 =
| timeslot2 =
| style =
| style =
| country =
| country =
| prevshow =
| prevshow =
| parents =
| parents =
| spouse(s) =
| spouse(s) =
| partner =
| partner =
| children =
| children =
| memorials =
| memorials =
| website =
| awards =
| module =
| website =
| module =
}}
}}
</syntaxhighlight>
</pre>
{{clear}}

=== Parameters ===


== Parameters ==
This template accepts all parameters that {{tl|Infobox person}} does. See [[Template:Infobox person/doc#Parameters|here]] for a complete list. Commonly-used parameters include:
{| class="wikitable"
{| class="wikitable"
!style="text-align:left;"| Parameter
! Parameter
!style="text-align:left;"| Explanation
! Explanation
|-
|-
| '''name'''
! name
| The name of the presenter.
| The name of the presenter.
|-
|-
| '''image'''
! image
| An image of the presenter.
| An image of the presenter.
|-
|-
! image_upright
| '''image_size'''
| 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%).
| Resizes the image to a width of N pixels.
|-
|-
| '''caption'''
! caption
| A caption explaining the image.
| A caption explaining the image.
|-
|-
| '''native_name'''
! native_name
| Name in local language. If more than one, separate using {{tl|Plain list}}
| Name in local language. If more than one, separate using {{tl|Plain list}}
|-
|-
| '''native_name_lang'''
! native_name_lang
| ISO 639-2 code e.g. "fr" for French. If more than one, use {{tl|lang}} instead
| ISO 639-2 code e.g. "fr" for French. If more than one, use {{tl|lang}} instead
|-
|-
| '''birth_name'''
! birth_name
| The name that the presenter was born with
| The name that the presenter was born with
|-
|-
| '''birth_date'''
! birth_date
| The date the presenter was born on. Use {{Tl|Birth date and age}} (or {{Tl|Birth date}} if dead)
| The date the presenter was born on. Use {{Tl|Birth date and age}} (or {{Tl|Birth date}} if dead)
|-
|-
| '''birth_place'''
! birth_place
| The location where the presenter was born.
| The location where the presenter was born.
|-
|-
| '''death_date'''
! death_date
| The date that the presenter died. Use {{Tl|Death date and age}}
| The date that the presenter died. Use {{Tl|Death date and age}}
|-
|-
| '''death_place'''
! death_place
| The location where the presenter died.
| The location where the presenter died.
|-
|-
| '''resting_place'''
! resting_place
| Location of grave, ashes, etc
| Location of grave, ashes, etc.
|-
|-
| '''resting_place_coordinates'''
! resting_place_coordinates
| Precise coordinates of grave, etc
| Precise coordinates of grave, etc.
|-
|-
|'''alma_mater'''
! alma_mater
| Education of individual.
| Education of individual.
|-
|-
| '''show'''
! show
| The show that the presenter hosts.
| The show that the presenter hosts.
|-
|-
| '''network'''
! network
| The network, if the show is syndicated.
| The network, if the show is syndicated.
|-
|-
| '''station'''
! station
| The station that broadcasts the show that the presenter hosts.<br />Separate multiple entries using {{tl|Plainlist}}
| The station that broadcasts the show that the presenter hosts.<br />Separate multiple entries using {{tl|Plainlist}}
|-
|-
| '''timeslot'''
! timeslot
| The time slot of the show that the presenter hosts. Ex: 6:00 - 9:00 a.m. Monday-Thursday<br />Separate multiple entries using {{tl|Plainlist}}
| The time slot of the show that the presenter hosts. Ex: 6:00 - 9:00&nbsp;a.m. Monday-Thursday<br />Separate multiple entries using {{tl|Plainlist}}
|-
|-
| '''show2'''
! show2
| The second show that the presenter hosts.
| The second show that the presenter hosts.
|-
|-
| '''station2'''
! station2
| The station that broadcasts the second show that the presenter hosts.<br />Separate multiple entries using {{tl|Plainlist}}
| The station that broadcasts the second show that the presenter hosts.<br />Separate multiple entries using {{tl|Plainlist}}
|-
|-
| '''network2'''
! network2
| The network if the second show is syndicated.
| The network if the second show is syndicated.
|-
|-
| '''timeslot2'''
! timeslot2
| The time slot of the second show that the presenter hosts.<br />Separate multiple entries using {{tl|Plainlist}}
| The time slot of the second show that the presenter hosts.<br />Separate multiple entries using {{tl|Plainlist}}
|-
|-
| '''style'''
! style
| The style of the presenter. Ex: If a DJ, use 'Disc Jockey' here. If a comedian, use 'Comedian' here.<br />Separate multiple entries using {{tl|Plainlist}}
| The style of the presenter. Ex: If a DJ, use 'Disc Jockey' here. If a comedian, use 'Comedian' here.<br />Separate multiple entries using {{tl|Plainlist}}
|-
|-
| '''country'''
! country
| The country in which the presenter's show(s) are broadcast.<br />Separate multiple entries using {{tl|Plainlist}}
| The country in which the presenter's show(s) are broadcast.<br />Separate multiple entries using {{tl|Plainlist}}
|-
|-
| '''prevshow'''
! prevshow
| The names and stations of the presenter's previous show(s). Ex: ''Random Show'' ([[KCBS-FM]])<br />Separate multiple entries using {{tl|Plainlist}}
| The names and stations of the presenter's previous show(s). Ex: ''Random Show'' ([[KCBS-FM]])<br />Separate multiple entries using {{tl|Plainlist}}
|-
|-
| '''parents'''
! parents
| The names of the presenter's parents
| The names of the presenter's parents
|-
|-
| '''spouse(s)'''
! spouse(s)
| The names of the presenter's spouse(s).<br/>Separate multiple entries using {{tl|Plainlist}}<br/>List them in chronological order.
| The names of the presenter's spouse(s).<br/>Separate multiple entries using {{tl|Plainlist}}<br/>List them in chronological order.
|-
|-
| '''partner'''
! partner
| The name of the presenter's domestic partner.
| The name of the presenter's domestic partner, rather than business partner.
|-
|-
| '''children'''
! children
| The number of the presenter's children or the names of the presenters children.<br/>If names are listed, separate multiple entries using {{tl|Plainlist}}<br/>If ages are provided, list names by eldest first.
| The number of the presenter's children or the names of the presenters children.<br/>If names are listed, separate multiple entries using {{tl|Plainlist}}<br/>If ages are provided, list names by eldest first.
|-
|-
| '''memorials'''
! memorials
| Statues, plaques, streets named after the subject, etc
| Statues, plaques, streets named after the subject, etc.
|-
! awards
| Notable awards. If many, link to an appropriate section of the article instead.
|-
|-
| '''website'''
! website
| The official website of the presenter.
| The official website of the presenter.
|-
|-
| '''module'''
! module
| Embedded template
| Embedded template
|}
|}


=== Microformats ===
== Tracking categories ==
* {{clc|Pages using infobox presenter with unknown parameters}}
* {{clc|Pages using infobox presenter with conflicting parameters}}


== Microformats ==
{{UF-hcard-person}}
{{UF-hcard-person}}


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Templates calling Infobox person|Presenter]]
[[Category:People and person infobox templates|Presenter]]
[[Category:People and person infobox templates|Presenter]]
[[Category:Radio infobox templates|Presenter]]
[[Category:Radio infobox templates|Presenter]]
Line 157: Line 169:
[[Category:Infobox templates with module parameter|Presenter]]
[[Category:Infobox templates with module parameter|Presenter]]
}}</includeonly>
}}</includeonly>
<templatedata>
{
"params": {
"name": {
"type": "string",
"description": "The name of the presenter."
},
"image": {
"type": "wiki-file-name",
"description": "An image of the presenter."
},
"image_upright": {
"type": "string",
"description": "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": {
"type": "string",
"description": "A caption explaining the image."
},
"native_name": {
"type": "string",
"description": "Name in local language. If more than one, separate using {{Plain list}}"
},
"native_name_lang": {
"type": "string",
"description": "ISO 639-2 code e.g. 'fr' for French. If more than one, use {{lang}} instead"
},
"birth_name": {
"type": "string",
"description": "The name that the presenter was born with"
},
"birth_date": {
"type": "string",
"description": "The date the presenter was born on. Use {{Birth date and age}} (or {{Birth date}} if dead)"
},
"birth_place": {
"type": "string",
"description": "The location where the presenter was born."
},
"death_date": {
"type": "string",
"description": "The date that the presenter died. Use {{Death date and age}}"
},
"death_place": {
"type": "string",
"description": "The location where the presenter died."
},
"resting_place": {
"type": "string",
"description": "Location of grave, ashes, etc."
},
"resting_place_coordinates": {
"type": "string",
"description": "Precise coordinates of grave, etc."
},
"alma_mater": {
"type": "string",
"description": "Education of individual."
},
"show": {
"type": "string",
"description": "The show that the presenter hosts."
},
"station": {
"type": "string",
"description": "The station that broadcasts the show that the presenter hosts. Separate multiple entries using {{Plainlist}}"
},
"network": {
"type": "string",
"description": "The network, if the show is syndicated."
},
"timeslot": {
"type": "string",
"description": "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": {
"type": "string",
"description": "The second show that the presenter hosts."
},
"station2": {
"type": "string",
"description": "The station that broadcasts the second show that the presenter hosts. Separate multiple entries using {{Plainlist}}"
},
"network2": {
"type": "string",
"description": "The network if the second show is syndicated."
},
"timeslot2": {
"type": "string",
"description": "The time slot of the second show that the presenter hosts. Separate multiple entries using {{Plainlist}}"
},
"style": {
"type": "string",
"description": "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": {
"type": "string",
"description": "The country in which the presenter's show(s) are broadcast. Separate multiple entries using {{Plainlist}}"
},
"prevshow": {
"type": "string",
"description": "The names and stations of the presenter's previous show(s). Ex: 'Random Show' (KCBS-FM) Separate multiple entries using {{Plainlist}}"
},
"parents": {
"type": "string",
"description": "The names of the presenter's parents"
},
"spouse(s)": {
"type": "string",
"description": "The names of the presenter's spouse(s). Separate multiple entries using {{Plainlist}} List them in chronological order."
},
"partner": {
"type": "string",
"description": "The name of the presenter's domestic partner, rather than business partner."
},
"children": {
"type": "string",
"description": "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": {
"type": "string",
"description": "Statues, plaques, streets named after the subject, etc."
},
"awards": {
"type": "string",
"description": "Notable awards. If many, link to an appropriate section of the article instead."
},
"website": {
"type": "string",
"description": "The official website of the presenter."
},
"module": {
"type": "string",
"description": "Embedded template"
}
}
}
</templatedata>

Latest revision as of 05:41, 24 June 2024

{{Infobox presenter}} may be used to summarize information about a television or radio host.

Usage

[edit]
{{{name}}}
{{{native_name}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
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}}}
{{Infobox presenter
| name             = 
| image            = 
| image_upright    = 
| caption          = 
| native_name      = 
| native_name_lang = 
| birth_name       = 
| birth_date       = <!-- {{Birth date and age|1993|2|24|df=yes}} -->
| birth_place      = 
| death_date       = <!-- {{Death date and age|1993|2|24|df=yes}} -->
| death_place      = 
| resting_place    = 
| resting_place_coordinates = 
| alma_mater       = 
| show             = 
| station          = 
| network          = 
| timeslot         = 
| show2            = 
| station2         = 
| network2         = 
| timeslot2        = 
| style            = 
| country          = 
| prevshow         = 
| parents          = 
| spouse(s)        = 
| partner          = 
| children         = 
| memorials        =
| awards           =  
| website          = 
| module           = 
}}

Parameters

[edit]

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

[edit]

Microformats

[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.


No description.

Template parameters

ParameterDescriptionTypeStatus
namename

The name of the presenter.

Stringoptional
imageimage

An image of the presenter.

Fileoptional
image_uprightimage_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%).

Stringoptional
captioncaption

A caption explaining the image.

Stringoptional
native_namenative_name

Name in local language. If more than one, separate using {{Plain list}}

Stringoptional
native_name_langnative_name_lang

ISO 639-2 code e.g. 'fr' for French. If more than one, use {{lang}} instead

Stringoptional
birth_namebirth_name

The name that the presenter was born with

Stringoptional
birth_datebirth_date

The date the presenter was born on. Use {{Birth date and age}} (or {{Birth date}} if dead)

Stringoptional
birth_placebirth_place

The location where the presenter was born.

Stringoptional
death_datedeath_date

The date that the presenter died. Use {{Death date and age}}

Stringoptional
death_placedeath_place

The location where the presenter died.

Stringoptional
resting_placeresting_place

Location of grave, ashes, etc.

Stringoptional
resting_place_coordinatesresting_place_coordinates

Precise coordinates of grave, etc.

Stringoptional
alma_materalma_mater

Education of individual.

Stringoptional
showshow

The show that the presenter hosts.

Stringoptional
stationstation

The station that broadcasts the show that the presenter hosts. Separate multiple entries using {{Plainlist}}

Stringoptional
networknetwork

The network, if the show is syndicated.

Stringoptional
timeslottimeslot

The time slot of the show that the presenter hosts. Ex: 6:00 - 9:00 a.m. Monday-Thursday Separate multiple entries using {{Plainlist}}

Stringoptional
show2show2

The second show that the presenter hosts.

Stringoptional
station2station2

The station that broadcasts the second show that the presenter hosts. Separate multiple entries using {{Plainlist}}

Stringoptional
network2network2

The network if the second show is syndicated.

Stringoptional
timeslot2timeslot2

The time slot of the second show that the presenter hosts. Separate multiple entries using {{Plainlist}}

Stringoptional
stylestyle

The style of the presenter. Ex: If a DJ, use 'Disc Jockey' here. If a comedian, use 'Comedian' here. Separate multiple entries using {{Plainlist}}

Stringoptional
countrycountry

The country in which the presenter's show(s) are broadcast. Separate multiple entries using {{Plainlist}}

Stringoptional
prevshowprevshow

The names and stations of the presenter's previous show(s). Ex: 'Random Show' (KCBS-FM) Separate multiple entries using {{Plainlist}}

Stringoptional
parentsparents

The names of the presenter's parents

Stringoptional
spouse(s)spouse(s)

The names of the presenter's spouse(s). Separate multiple entries using {{Plainlist}} List them in chronological order.

Stringoptional
partnerpartner

The name of the presenter's domestic partner, rather than business partner.

Stringoptional
childrenchildren

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.

Stringoptional
memorialsmemorials

Statues, plaques, streets named after the subject, etc.

Stringoptional
awardsawards

Notable awards. If many, link to an appropriate section of the article instead.

Stringoptional
websitewebsite

The official website of the presenter.

Stringoptional
modulemodule

Embedded template

Stringoptional