Template:Infobox Writer/sandbox

From Wikipedia, the free encyclopedia

Infobox Writer/sandbox
[[Image:{{{image}}}|200px]]
{{{caption}}}
Born {{{birthname}}}
{{{birthdate}}}
{{{birthplace}}}
Died {{{deathdate}}}
{{{deathplace}}}
Pen name {{{penname}}}
Occupation {{{occupation}}}
Nationality {{{nationality}}}
Writing period {{{period}}}
Genres {{{genre}}}
Subjects {{{subject}}}
Literary movement {{{movement}}}
Notable work(s) {{{notableworks}}}
Notable award(s) {{{awards}}}
Spouse(s) {{{spouse}}}
Domestic partner(s) {{{partner}}}
Children {{{children}}}
Relative(s) {{{relatives}}}
Signature [[Image:{{{signature}}}|128px]]
[edit] Template documentation

Infobox writer may be used to summarize information about a person who is a writer/author (includes screenwriters).

If the writer-specific fields here are not needed, consider using the more general {{Infobox Person}}; other infoboxes there can be found in Category:People infobox templates.

Do not alter this template without first discussing the changes on the talk page.

The infobox may be added by pasting the template as shown below into an article. All fields are optional. Any unused parameter names can be left blank or omitted.

{{Infobox Writer
| name         = 
| image        = 
| imagesize    = 
| caption      = 
| pseudonym    = 
| birthname    = 
| birthdate    = 
| birthplace   = 
| deathdate    = 
| deathplace   = 
| occupation   = 
| nationality  = 
| ethnicity    = 
| citizenship  = 
| period       = 
| genre        = 
| subject      = 
| movement     = 
| notableworks = 
| spouse       = 
| partner      = 
| children     = 
| relatives    = 
| influences   = 
| influenced   = 
| awards       = 
| signature    = 
| website      = 
| portaldisp   = 
}}

The following template can be copied and pasted. If you use the template below, you will have to change parameters for the following fields: birthdate. Note: The articles page name will be automatically substituted ({{subst:PAGENAME}}) for the name parameter when you save the page. Unless you change it.

{{Infobox Writer <!-- for more information see [[:Template:Infobox Writer/doc]] --> 
| name         = {{subst:PAGENAME}}
| image        = 
| imagesize    = 
| caption      = 
| pseudonym    = 
| birthname    = 
| birthdate    = {{Birth date and age|year|mo|da}}
| birthplace   = 
| deathdate    = 
| deathplace   = 
| occupation   = 
| nationality  = 
| ethnicity    = 
| citizenship  = 
| period       = 
| genre        = 
| subject      = 
| movement     = 
| notableworks = 
| spouse       = 
| partner      = 
| children     = 
| relatives    = 
| influences   = 
| influenced   = 
| awards       = 
| signature    = 
| website      = 
| portaldisp   = 
}}

[edit] Parameters

Please remove any parameters from an article's infobox that are left blank.

All parameters are optional.

Parameter Explanation
name Insert name of the person. Use the common name, typically name of article. If omitted or blank it defaults to the name of the article. Note: Do not add icons or other images.
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]] or [[Image:abc.jpg|200px]]

Only free-content images are allowed for depicting living people. Non-free and "fair use" images, e.g. promo photos, CD/DVD covers, posters, screen captures, etc., will be deleted - see WP:NONFREE

imagesize Size to display image: 200px (set width), or 200x300px (max width & max height). This defaults to 200px if empty or omitted.
caption Insert photograph caption. Try to include date of photo.
pseudonym Any of the person's aliases or pen names. Separate entries with a comma "," followed by a blank space. Please do not separate entries with a line break <br>.
birthname Insert person's name at birth (or christening if name at birth is unavailable).
birthdate Insert the persons birth date if known as: [[month day]], [[year]].
  • For a living person consider using:
{{Birth date and age|year of birth|month of birth|day of birth}}
  • Otherwise use:
{{Birth date|year of birth|month of birth|day of birth}}.
birthplace Insert the persons place of birth if known as: town, city, state, country. Note: Do not add flag icons to the birthplace. See: Wikipedia:Manual of Style (flags).
deathdate Note: Using this field will also change the background display color of the name at the top of the infobox to silver.

If the person is still living, leave this parameter blank.

Insert the persons date of death if known as: [[month day]], [[year]].

  • When the full birth date and death date are known, use the following:
{{death date and age|yr died|mo died|da died|yr born|mo born|da born}}
example
{{Death date and age|2008|06|10|1950|12|31}}
output display results
June 10, 2008 (aged 57)
  • When only the birth and death years are known, use:
{{Death year and age|year died|year born}}
example
{{Death year and age|2008|1950}}
output display results
2008 (aged 57–58)
  • When only the birth month, birth year and death year are known, use:
[[birth month]], {{Death year and age|year died|year born}}
example
[[June]], {{Death year and age|2008|1950}}
output display results
June, 2008 (aged 57–58)
  • When only the death year is known, use:
[[death year]]
example
[[2008]]
output display results
2008
  • When the date of death is unknown, but the person is certainly now dead use the following (case is insensitive):
example
unknown
output display results
date of death unknown
  • When the date of death is unknown, and it is preferable not to display anything and just change the background display color of the infobox. Enter the following (case is insensitive):
example
died
output display results
nothing will be displayed.
  • When the date of death is only known approximately.
Preface the entry with a wikilink [[circa|c.]] or c.
examples
[[circa|c.]] {{Death year and age|2008|1950}}
[[circa|c.]] [[year died]]
output display results
c. 2008 (aged 57–58)
c. 2008
deathplace Insert the persons place of death if known as: town, city, state, country. Note: Do not add flag icons to the deathplace. See: Wikipedia:Manual of Style (flags).
occupation Insert the type of person: novelist, short story person, journalist, etc. Separate entries with a comma "," followed by a blank space. Please do not separate entries with a line break <br>.
nationality Nationality of person.
ethnicity Ethnicity of person.
citizenship Citizenship of person.
period Dates from first publication to last publication.
genre All genres that the person wrote in. (fiction persons) Separate entries with a comma "," followed by a blank space. Please do not separate entries with a line break <br>.
subject All subjects that the person wrote about. (non-fiction persons) Separate entries with a comma "," followed by a blank space. Please do not separate entries with a line break <br>.
movement Insert the literary movement associated with or involving the person. Separate entries with a comma "," followed by a blank space. Please do not separate entries with a line break <br>.
notableworks Names of notable works (WP:NN). Separate entries with a line break (<br>).

If there is a dispute between editors over what is or is not notable works, it should be brought up on the articles talk page. If no consensus can be developed for a particular person, the notableworks parameter should be marked with:

<!-- Please do not add notable works to this article. See talk page as mutual consensus could not be achieved on this article. -->

spouse Name of notable spouse(s) (WP:NN), followed by years of marriage. Use the format Name (1950-present) for current spouse and Name (1970-1999) for former spouse(s). Separate entries with a line break (<br>).
partner Name of long-term unmarried notable partner(s) (WP:NN) (e.g. domestic partner). Separate multiple entries with a line break (<br>).
children Number of children (i.e. 3), or list of notable children names (WP:NN). Separate entries with a line break (<br>).
relatives Names of notable parents, notable siblings or other notable relatives, (WP:NN). Include the relationship in parentheses after the name (father, sister, uncle, etc). Separate entries with a line break (<br>).
influences Names of other persons, literary movements, and others who have influenced his/her work. If there are numerous entries to this parameter consider separating entries with a comma "," followed by a blank space. If there are only a few entries then separate entries with a line break <br>.
influenced Names of other persons, literary movements, and others influenced by his/her work. If there are numerous entries to this parameter consider separating entries with a comma "," followed by a blank space. If there are only a few entries then separate entries with a line break <br>.
awards Insert any notable awards the person has won.
Consider using the template: {{awd|award|year|title|role}}
Separate entries with a line break (<br>). Note: Do not add icons or other images.
signature An image of the person's signature. Image is displayed at a width of 128px, same format as {{Infobox Person}}, {{Infobox Officeholder}} and {{Infobox Philosopher}}.
website If the person has an official website enter it here. Do not enter unofficial, blogs or fan websites. Only one official website is allowed. If the person has more than one official website, only the most prominent should be listed in the infobox. All other websites should be listed in the article under ==External links==.
Enter just the url. Do not use syntax such as [http://www.lastpageontheinternet.com/] or [[http://www.lastpageontheinternet.com/ Great person]].
The proper syntax is: http://www.lastpageontheinternet.com/
portaldisp This is an optional parameter to display the literature portal link at the bottom of the infobox. Leaving this parameter blank will cause the literature portal link not to display. Setting this parameter to yes or y (case is insensitive) will display the literature portal link.
Literature portal

If there is a dispute between editors if this parameter should be used be used in the article, it should be brought up on the articles talk page. If no consensus can be developed for a particular person, the portaldisp parameter should be marked with:

<!-- Please do not use this parameter in this article. See talk page as mutual consensus could not be achieved on this article. -->

[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.

[edit] See also

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 general Template sandbox or your user space before changing anything here.