Jump to content

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

From Wikipedia, the free encyclopedia


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                 = 
| academyawards           = 
| afiawards               = 
| baftaawards             = 
| cesarawards             = 
| emmyawards              = 
| filmfareawards          = 
| geminiawards            = 
| goldenglobeawards       = 
| goldenraspberryawards   = 
| goyaawards              = 
| grammyawards            = 
| laurenceolivierawards   = 
| naacpimageawards        = 
| nationalfilmawards      = 
| sagawards               = 
| tonyawards              = 
| 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:

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]

academyawards Insert any Academy Awards won. Use the format:

[[Award Name's Article|Short Form of Award Name]]
Year Title (optional: – Role)

Note: If an article for the film is available, the title should link there.
afiawards Insert any Australian Film Institute Awards won. Use the same format as academyawards.
baftaawards Insert any BAFTA Awards won. Use the same format as academyawards.
cesarawards Insert any César Awards won. Use the same format as academyawards.
emmyawards Insert any Emmy Awards won. Use the same format as academyawards.
filmfareawards Insert any Filmfare Awards won. Use the same format as academyawards.
geminiawards Insert any Gemini Awards won. Use the same format as academyawards.
goldenglobeawards Insert any Golden Globe Awards won. Use the same format as academyawards.
goldenraspberryawards Insert any Golden Raspberry Awards won. Use the same format as academyawards.
goyaawards Insert any Goya Awards won. Use the same format as academyawards.
grammyawards Insert any Grammy Awards won. Use the same format as academyawards.
laurenceolivierawards Insert any Laurence Olivier Awards won. Use the same format as academyawards.
naacpimageawards Insert any NAACP Image Awards won. Use the same format as academyawards.
nationalfilmawards Insert any National Film Awards won. Use the same format as academyawards.
sagawards Insert any Screen Actors Guild Awards won. Use the same format as academyawards.
tonyawards Insert any Tony Awards won. Use the same format as academyawards.
awards Insert any other awards won. Use the format:

[[Article for award name| Short form of award ceremony name followed by award name]]
Year Title (optional: – Role)

Note: If an article for the film is available, the title should link there.

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.