Template:Infobox actor
From Wikipedia, the free encyclopedia
[edit] []
Template documentation
| | 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. |
Contents |
Usage
The infobox may be added by pasting the template as shown below into an article, typically at the top of an article above the lead section. All parameters are optional; any unused parameters should be left blank or omitted.Full version
<table class="infobox vcard" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; font-size:90%; text-align:left;"> </table>[[Category:Actors needing an image]]
Parameters
| Parameter | Explanation |
|---|---|
name | Insert the name of the person. Use the common name – typically name of article – if multiple names exist. Defaults to {{PAGENAME}} if omitted or left blank. |
image | Insert image name. Use only the file name such as abc.jpg, xyz.png, 123.gif, etc. Do not use syntax such as [[Image:abc.jpg]][[Image:abc.jpg|200px]]Please note that images of living people do not generally meet the criteria for non-free use on Wikipedia. See Wikipedia:NONFREE for a detailed rationale. |
imagesize | This parameter should only be used if it is necessary to overrule viewers' default thumb size preferences. Unfortunately, this template has nothing to do with viewers' preferences, and will override them, even if no value is given for this parameter. If the image's nominal width is smaller than 220 pixels (this can be found on the image's description page), you must specify that width or a smaller one. |
alt | Alt text for the image, for readers who can't see the image. See Wikipedia:ALT. |
caption | Insert a caption for the image. If known, try to include the location and date of photo. |
birthname | Insert the person's name at birth if different from the name the person is commonly known by. |
birthdate | Insert the person's date of birth. Consider using {{Birth date and age}} for a living person, otherwise use {{Birth date}}. |
birthplace | Insert the person's place of birth. Use the format: town/city, state (if relevant), countryDo not use flag icons in the infobox. See MOS:FLAG for a detailed rationale. |
deathdate | Insert the person's date of death. Consider using {{Death date and age}}. Use of this field will also make the background color silver. |
deathplace | Insert the person's place of death. Use the format: town or city, state (if relevant), countryDo not use flag icons in the infobox. See MOS:FLAG for a detailed rationale. |
othername | Insert any other name(s) that the person has been known by. |
occupation | Insert the occupation(s) that the person is known for, e.g. Actor, Stunt performer, Film director, etc. This may include other occupations within the entertainment industry, such as Singer or model. Please ensure that the link points to the desired article, e.g. Model (person), not Model which is a disambiguation page. |
yearsactive | Insert the years that the person was active in his/her career. Use the format: year of professional debut–year of final professional appearanceIf still active, use "present" in place of the end year. |
spouse | Insert the names of the person's spouse(s). Use the format: FirstName MaidenName (Year–Year)If still married, use "present" in place of the end year. Separate multiple entries with a line break ( ). Multiple marriages should be listed in chronological order, beginning with the earliest. |
domesticpartner | Insert the names of the person's long-term domestic partner(s), meaning a partner(s) in a committed romantic relationship where the couple live(d) together, whether legally recognized as domestic partners or not. Use the format: FirstName Surname (Year–Year)If still together, use "present" in place of the end year. Separate multiple entries with a line break ( ). Multiple domestic partners should be listed in chronological order, beginning with the earliest. |
website | Insert the person's official website. Use only the plain URL such as http://www.example.org/. Do not use syntax such as [http://www.example.org/]http://www.example.org/ will be displayed as Official website. |
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.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 CE).
To include a URL, use {{Url}}
hCard uses HTML classes including:
- adr
- agent
- bday
- category
- country-name
- 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.
See also
| The above documentation is transcluded from Template:Infobox actor/doc. (edit | history) Editors can experiment in this template's sandbox (action=edit edit | withJS=MediaWiki%3ACommon.js%2Fpagediff.js&oldpage=Template%3AInfobox+actor&newpage=Template%3AInfobox+actor%2Fsandbox diff) and testcases (action=edit edit) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
This message box is using an invalid "type=" parameter and needs fixing.
