User:Kudret abi/Template:Infobox actor new/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for User:Kudret abi/Template:Infobox actor new (see that page for the user itself).
It contains usage information, categories and other content that is not part of the original user page.


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.

[edit] Usage

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                  =
}}

[edit] Parameters

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:

year of first professional performance–year of final professional appearance

Note: If still active, use "present" in place of the end year.
spouse Insert the names of the actor's spouses. Use the format:

FirstName MaidenName (Year–Year)

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:

[http://www.example.com link title]

notable role Insert the role(s) for which the actor is best known. Use the format:

RoleName in FilmName

awards Insert major awards won by the actor. Consider using template User:Kudret abi/Template:Award received for each awards ceremony.

[edit] 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. For more information about the use of microformats on Wikipedia, please see the microformat project.

Date-of-birth ("bday") parameters will only be included in the microformat if {{Birth date}} or {{Birth date and age}} are used in the infobox.

hCard uses HTML classes including:

  • adr
  • bday
  • county-name
  • fn (required)
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • nickname
  • note
  • org
  • role
  • vcard

Please do not rename or remove these classes.