Template:Infobox writer/sandbox

< Template:Infobox writer
Documentation icon Template documentation[view] [edit] [history] [purge]

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.

Usage

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 <!-- For more information see [[:Template:Infobox Writer/doc]]. --> 
| name          = <!-- Deleting this line will use the article title as the page name. -->
| image         = 
| image_size    = 
| alt           = 
| caption       = 
| pseudonym     = 
| birth_name    = 
| birth_date    = <!-- {{Birth date and age|Year|Month|Day}} -->
| birth_place   = 
| death_date    = <!-- {{Death date and age|Year|Month|Day|Year|Month|Day}} -->
| death_place   = 
| resting_place = 
| occupation    = 
| language      = 
| nationality   = 
| ethnicity     = 
| citizenship   = 
| education     = 
| alma_mater    = 
| period        = 
| genre         = 
| subject       = 
| movement      = 
| notableworks  = 
| spouse        = 
| partner       = 
| children      = 
| relatives     = 
| influences    = 
| influenced    = 
| awards        = 
| signature     = 
| signature_alt = 
| website       = 
}}


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 it defaults to the name of the article; if present but blank, the header is omitted. 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 [[File:abc.jpg]] or [[File: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

image_size Size to display image: 200px (set width), or 200x300px (max width & max height). This defaults to 200px if empty or omitted.
alt The alt text for the image, for readers who cannot see the image. See WP:ALT.
caption Caption for the image. Try to include the date the image was created.
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>.
birth_name Insert person's name at birth (or christening if name at birth is unavailable).
birth_date Insert the persons birth date if known as: month day, year or day month year as appropriate.
  • 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}}.
  • In either case, add |df=yes to show date as day before month; otherwise format is month before day.
birth_place 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).
death_date 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 or day month year as appropriate.

  • 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}}
  • Add |df=yes to show date as day before month; otherwise format is month before day.
example
{{Death date and age|2024|12|24|1950|12|31}}
output display results
24 December 2024(2024-12-24) (aged 73)
  • When only the birth and death years are known, use:
{{Death year and age|year died|year born}}
example
{{Death year and age|2024|1950}}
output display results
2024 (aged 73–74)


  • When only the birth month, birth year and death year are known, use:
birth month, {{Death year and age|year died|year born}}
example
December, {{Death year and age|2024|1950}}
output display results
December, 2024 (aged 73–74)
  • When only the death year is known, use:
death year
example
2024
output display results
2024
  • 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.
c. 2024
death_place 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).
resting_place Place of burial, ash-scattering, etc.
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>.
language Language of published writings.
nationality Nationality of person.
ethnicity Ethnicity of person.
citizenship Citizenship of person.
education The degree(s) obtained by the person.
alma_mater The alma mater, or college or universities where the person studied. If more than one, indicate ones where they obtained their degree(s) or graduated from.
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 a notable work, it should be brought up on the article's 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 spouse(s), followed by years of marriage. Use the format Name (1950–present) for current spouse and Name (1970–1999) for former spouse(s). Separate entries using {{Plainlist}}.
partner Name of long-term unmarried partner(s) (e.g., domestic partner). Separate multiple entries using {{Plainlist}}.
children Number of children (e.g., 3), or list of children names. Separate entries using {{Plainlist}}.
relatives Names of parents, siblings or other relatives. Include the relationship in parentheses after the name (father, sister, uncle, etc.). Separate entries using {{Plainlist}}.
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 using {{Plainlist}}.
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 using {{Plainlist}}.
awards Insert any notable awards the person has won.
Consider using the template: {{awd|award|year|title|role}}
Separate entries using {{Plainlist}}. 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}}.
signature_alt Alt text for signature. Often this is something like |signature_alt="Jules Romains", spelling out the signature exactly as it appears in the image.
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 ==Other websites==.
Enter just the url. Do not use syntax such as [http://www.example.com/] or [http://www.example.com Great person].
The proper syntax is: http://www.example.com/.

Example

J. K. Rowling

Rowling at the White House in 2010
Rowling at the White House in 2010
BornJoanne Rowling
(1965-07-31) 31 July 1965 (age 59)
Yate, Gloucestershire, England
Pen name
  • J. K. Rowling
  • Robert Galbraith
OccupationNovelist, philanthropist, film producer, television producer, screenwriter
NationalityBritish
EducationUniversity of Exeter (1986, BA)
Period1997–present
GenreFantasy, drama, young adult fiction, tragicomedy, crime fiction
Notable worksHarry Potter series
Spouse
  • Jorge Arantes
    (m. 1992; div. 1995)
  • Neil Murray (m. 2001)
Children3

Signature
Website
jkrowling.com

<syntaxhighlight lang="moin" style="overflow: auto">

J. K. Rowling

Rowling at the White House in 2010
Rowling at the White House in 2010
BornJoanne Rowling
(1965-07-31) 31 July 1965 (age 59)
Yate, Gloucestershire, England
Pen name
  • J. K. Rowling
  • Robert Galbraith
OccupationNovelist, philanthropist, film producer, television producer, screenwriter
NationalityBritish
EducationUniversity of Exeter (1986, BA)
Period1997–present
GenreFantasy, drama, young adult fiction, tragicomedy, crime fiction
Notable worksHarry Potter series
Spouse
  • Jorge Arantes
    (m. 1992; div. 1995)
  • Neil Murray (m. 2001)
Children3

Signature
Website
jkrowling.com

</syntaxhighlight>

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

Sub-templates

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

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.

Related pages