User:Kudret abi/Template:Infobox actor new
{{{name}}} | |||||||||||||||||
[[Image:{{{image}}}|220px]] {{{caption}}} | |||||||||||||||||
Birth name | {{{birthname}}} | ||||||||||||||||
Born | {{{birthdate}}} {{{birthplace}}} | ||||||||||||||||
Died | {{{deathdate}}} {{{deathplace}}} | ||||||||||||||||
Other name(s) | {{{othername}}} | ||||||||||||||||
Years active | {{{yearsactive}}} | ||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
Infobox actor may be used to summarize information about an actor or actress, and is commonly used in articles about directors and other figures in the motion picture industry as well.
Usage
[edit]The infobox may be added by pasting the template as shown below into an article. All fields are optional and unused parameter names can be left blank or omitted.
{{Infobox actor | name = | bgcolour = | image = | imagesize = | caption = | birthname = | birthdate = | birthplace = | deathdate = | deathplace = | othername = | yearsactive = | spouse = | partner = | children = | parents = | influences = | influenced = | website = | notable role = | awards = }}
Parameters
[edit]Parameter | Explanation |
---|---|
bgcolour | Insert the background color. This should typically be left blank, which causes the default color #ed8 to be used. Some editors set this to silver if the actor is deceased. |
name | Insert name of actor. Use the common name (typically name of article) if multiple names are used. If omitted or blank it defaults to the name of the article. |
image | Insert image name (abc.jpg, xyz.png, 123.gif, etc.) |
imagesize | Insert image width. Be sure to include "px" after the number, i.e. 200px. If omitted or blank it defaults to 220px. |
caption | Insert photograph caption. Try to include date of photo and the photographer. |
birthname | Insert actor's name at birth (or christening if name at birth is unavailable). |
birthdate | Insert date of birth: month, day, year. Consider using {{birth date and age}} for a living person, otherwise use {{birth date}}. |
birthplace location |
Insert place of birth: town, city, country. |
deathdate | Insert date of death: month, day, year. Consider using {{death date and age}}. |
deathplace | Insert place of death: town, city, country. (no flagicon) |
othername | Insert other name(s) that the actor has been known by. |
yearsactive | Insert the years that the actor was active in his/her career. Use the format: Note: If still active, use "present" in place of the end year. |
spouse | Insert the names of the actor's spouses. Use the format: Note: If still married, use "present" in place of the end year. In addition, separate multiple entries with a line break (<br/>). |
partner | Insert the names of the actor's long-term unmarried partner(s) (e.g., domestic partner). Separate multiple entries with a line break (<br/>). |
children | Insert the names of especially notable children of the actor (<br/>). |
parents | Insert the names of the actor's notable parent(s) (<br/>). |
influences | Mostly for director articles using this template, enter the subject's artistic influences (<br/>). |
influenced | Insert performers influenced by the actor or director (<br/>). |
website homepage |
Insert the actor's official website. Format the link:
|
notable role | Insert the role(s) for which the actor is best known. Use the format:
|
awards | Insert major awards won by the actor. Consider using template User:Kudret abi/Template:Award received for each awards ceremony. |
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.
This user page 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. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |