Difference between revisions of "Template:Infobox actor/doc"
Jump to navigation
Jump to search
imported>Zyxw (sort parameters in usage section in same order as displayed in infobox, remove notation about birthdate being a required field, expand some parameter descriptions) |
|||
| Line 1: | Line 1: | ||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | ||
| − | + | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | |
| − | + | '''Infobox actor''' may be used to summarize information about a person who is an actor/actress. | |
===Usage=== | ===Usage=== | ||
| − | The infobox may be added by pasting the template as shown below into an article. | + | 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. For an example of the template is use, see [[Helen Hunt]]. |
<div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;"> | <div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;"> | ||
<pre>{{Infobox actor | <pre>{{Infobox actor | ||
| + | | name = | ||
| bgcolour = | | bgcolour = | ||
| − | |||
| image = | | image = | ||
| imagesize = | | imagesize = | ||
| Line 31: | Line 31: | ||
| goldenglobeawards = | | goldenglobeawards = | ||
| baftaawards = | | baftaawards = | ||
| + | | sagawards = | ||
| cesarawards = | | cesarawards = | ||
| goyaawards = | | goyaawards = | ||
| afiawards = | | afiawards = | ||
| filmfareawards= | | filmfareawards= | ||
| − | |||
| olivierawards = | | olivierawards = | ||
| geminiawards = | | geminiawards = | ||
| Line 43: | Line 43: | ||
===Parameters=== | ===Parameters=== | ||
| − | |||
{| class="wikitable" | {| class="wikitable" | ||
| Line 50: | Line 49: | ||
|- | |- | ||
| '''bgcolour''' | | '''bgcolour''' | ||
| − | | Insert the background color. This should typically be left blank. | + | | Insert the background color. This should typically be left blank, which causes the default color <span style="background:#ed8"> #ed8 </span> to be used. Some editors set this to <span style="background:silver"> silver </span> if the actor is deceased. |
|- | |- | ||
| − | | '''name''' | + | | '''name''' |
| − | | Insert name of actor. Use the common name (typically name of article) if multiple names are used. | + | | 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''' | | '''image''' | ||
| − | | Insert | + | | Insert image name (abc.jpg, xyz.png, 123.gif, etc.) |
|- | |- | ||
| '''imagesize''' | | '''imagesize''' | ||
| − | | Insert image width | + | | Insert image width. Be sure to include "px" after the number, i.e. 200px. If omitted or blank it defaults to 220px. |
|- | |- | ||
| '''caption''' | | '''caption''' | ||
| Line 67: | Line 66: | ||
| Insert actor's name at birth (or christening if name at birth is unavailable). | | Insert actor's name at birth (or christening if name at birth is unavailable). | ||
|- | |- | ||
| − | | '''birthdate''' | + | | '''birthdate''' |
| Insert date of birth: month, day, year. Consider using {{tl|birth date and age}} for a living person, otherwise use {{tl|birth date}}. | | Insert date of birth: month, day, year. Consider using {{tl|birth date and age}} for a living person, otherwise use {{tl|birth date}}. | ||
|- | |- | ||
| − | | '''location''' | + | | '''birthplace'''<br/>(or '''location''') |
| Insert place of birth: town, city, country. | | Insert place of birth: town, city, country. | ||
|- | |- | ||
| Line 97: | Line 96: | ||
| Insert the actor's current (official) residence. | | Insert the actor's current (official) residence. | ||
|- | |- | ||
| − | | '''homepage''' | + | | '''website'''<br/>(or '''homepage''') |
| Insert the actor's official website. Format the link: <blockquote><nowiki>[http://www.website.com/ www.website.com]</nowiki></blockquote> | | Insert the actor's official website. Format the link: <blockquote><nowiki>[http://www.website.com/ www.website.com]</nowiki></blockquote> | ||
|- | |- | ||
Revision as of 09:32, 12 June 2007
Template:Template doc page viewed directly Infobox actor may be used to summarize information about a person who is an actor/actress.
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. For an example of the template is use, see Helen Hunt.
{{Infobox actor
| name =
| bgcolour =
| image =
| imagesize =
| caption =
| birthname =
| birthdate =
| location =
| deathdate =
| deathplace =
| othername =
| yearsactive =
| spouse =
| partner =
| parents =
| residence =
| homepage =
| notable role =
| academyawards =
| emmyawards =
| tonyawards =
| goldenglobeawards =
| baftaawards =
| sagawards =
| cesarawards =
| goyaawards =
| afiawards =
| filmfareawards=
| olivierawards =
| geminiawards =
| grammyawards =
}}
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 (or 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/>). |
| parents | Insert the names of the actor's notable parent(s). |
| residence | Insert the actor's current (official) residence. |
| website (or 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:
|
| academyawards | Insert any Academy Awards won. Use the format:Note: If an article for the film is available, the title should link there. |
| emmyawards | Insert any Emmy Awards won. Use the same format as academyawards. |
| tonyawards | Insert any Tony Awards won. Use the same format as academyawards. |
| goldenglobeawards | Insert any Golden Globe 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. |
| goyaawards | Insert any Goya Awards won. Use the same format as academyawards. |
| afiawards | Insert any AFI Awards won. Use the same format as academyawards. |
| filmfareawards | Insert any Filmfare Awards won. Use the same format as academyawards. |
| sagawards | Insert any Screen Actors Guild Awards won. Use the same format as academyawards. |
| olivierawards | Insert any Laurence Olivier Awards won. Use the same format as academyawards. |
| geminiawards | Insert any Gemini Awards won. Use the same format as academyawards. |
| grammyawards | Insert any Grammy Awards won. Use the same format as academyawards. |
Microformat