Jump to content

User:Jeanenawhitney/sandbox/writer/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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  = 
| period       = 
| genre        = 
| subject      = 
| movement     = 
| notableworks =
| spouse       =
| partner      =
| children     =
| relatives    =
| influences   = 
| influenced   = 
| awards       =
| signature    = 
| website      = 
}}

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 <!-- see Template:Infobox writer -->
| name         = {{subst:PAGENAME}}
| image        = 
| imagesize    = 
| caption      = 
| pseudonym    = 
| birthname    = 
| birthdate    = {{Birth date and age|year|mo|da}}
| birthplace   = 
| deathdate    = 
| deathplace   = 
| occupation   = 
| nationality  = 
| period       = 
| genre        = 
| subject      = 
| movement     = 
| notableworks =
| spouse       =
| partner      =
| children     =
| relatives    =
| influences   = 
| influenced   = 
| awards       =
| signature    = 
| website      = 
}}

Parameters

[edit]

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

All parameters are optional.

Parameter Explanation
name Insert name of writer. Use the common name, typically name of article. If omitted or blank it defaults to the name of the article.
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]]
imagesize Size to display image: 225px (set width), or 200x300px (max width & max height). This defaults to 150px if empty or omitted.
caption Insert photograph caption. Try to include date of photo and the photographer.
pseudonym Any of the writer's aliases or pen names.
birthname Insert writer's name at birth (or christening if name at birth is unavailable).
birthdate Date of birth: {{birth date and age|1930|1|15}} (if living) or {{birth date|1930|1|15}} (if dead). See Template:Birth date for details.
Note: the parameter name birth_date has been preserved for backward compatibility.
birthplace Insert the writers 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).
Note: the parameter name birth_place has been preserved for backward compatibility.
deathdate Insert the writers date of death if known as: month, day, year. Consider using {{death date and age|year of death|month of death|day of death|year of birth|month of birth|day of birth}}.
Note: Using this field will also change the background display color of the writers name to silver.
Note: the parameter name death_date has been preserved for backward compatibility.
deathplace Insert the writers place of death if known as: town, city, state, country. Note: Do not add flag icons to the birthplace. See: Wikipedia:Manual of Style (flags).
Note: the parameter name death_place has been preserved for backward compatibility.
occupation Insert the type of writer: novelist, short story writer, journalist, etc.
nationality Nationality of writer.
period Dates from first publication to last publication.
genre All genres that the writer wrote in. (fiction writers)
subject All subjects that the writer wrote about. (non-fiction writers)
movement Insert the literary movement associated with or involving the writer.
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 she be brought up on the articles talk page. If no consensus can be developed for a particular writer, 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/>).
Note: the parameter name relations has been preserved for backward compatibility.
influences Names of other writers, literary movements, and others who have influenced his/her work.
influenced Names of other writers, literary movements, and others influenced by his/her work.
awards Insert any notable awards the writer has won.
signature An image of the writer's signature. Image is displayed at a width of 128px, same format as {{Infobox Person}}, {{Infobox Officeholder}} and {{Infobox Philosopher}}.
website If the writer has an official website enter it here. Do not enter unofficial or fan websites. Enter just the url. Do not use syntax such as [http://www.lastpageontheinternet.com/] or [[http://www.lastpageontheinternet.com/ Great Writer]].
The proper syntax would be: http://www.lastpageontheinternet.com/

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.

See also

[edit]