close
Sayahna Sayahna
Search

Difference between revisions of "Template:Infobox writer/doc"


 
m (1 revision)
 
(No difference)

Latest revision as of 06:25, 8 March 2014

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. -->
| honorific_prefix = 
| honorific_suffix = 
| image         = 
| image_size    = 
| alt           = 
| caption       = 
| native_name   =
| native_name_lang =
| pseudonym     = 
| birth_name    = 
| birth_date    = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| birth_place   = 
| death_date    = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place   = 
| resting_place = 
| occupation    = 
| language      = 
| nationality   = 
| ethnicity     = 
| religion =
| citizenship   = 
| education     = 
| alma_mater    = 
| period        = 
| genre         = 
| subject       = 
| movement      = 
| notableworks  = 
| spouse        = 
| partner       = 
| children      = 
| relatives     = 
| awards        = 
| signature     = 
| signature_alt = 
| module        =
| website       = <!-- www.example.com -->
| portaldisp    = 
}}

Parameters

Please remove any parameters from an article's infobox that are unlikely to be used.

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.
honorific_prefix Honorifics that go before the name, e.g. "Lady", "Sir", "Dr."
honorific_suffix Honorifics that go after the name, e.g. "MBE"
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.
native_name Name in local language. If more than one, separate using {{Plain list}}
native_name_lang ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead
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>.
nickname Nickname(s) other than pen names.
birth_name Insert person's name at birth (or christening if name at birth is unavailable).
birth_date Insert the person's 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 person's 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|11|24|1950|12|31|df=yes}}
output display results
24 നവംബർ 2024(2024-11-24) (വയസ്സ് 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
November, {{Death year and age|2024|1950}}
output display results
November, 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.
examples
[[Circa|c.]] {{Death year and age|2024|1950}}
[[Circa|c.]] year died
output display results
c. 2024 (aged 73–74)
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.
religion Religion 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 No longer supported. Please move cited/citable instances into prose.
influenced No longer supported. Please move cited/citable instances into prose.
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 signature_alt="Jules Romains", spelling out the signature exactly as it appears in the image.[clarification needed]
module Used for embedding other infoboxes into this one.
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.example.com/] or [http://www.example.com Great person].
The proper syntax is: www.example.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.
File:Portal-puzzle.svg Literature portal

If there is a dispute between editors over whether this parameter should be used in the article, it should be brought up on the article's 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. -->

TemplateData

<templatedata> { "params": { "name": { "required": false, "label": "Name", "type": "string", "description": "Name of the writer. If not provided, page name is used." }, "image": { "required": false, "label": "Image", "type": "wiki-page-name", "description": "Image of the writer" }, "image-size": { "required": false, "label": "Image-Size", "type": "string", "default": "288px", "description": "Width of an image in pixels" }, "alt": { "required": false, "label": "Image alternative text", "type": "string", "description": "Alt text to display if the image specified by image_name does not display for whatever reason" }, "caption": { "required": false, "label": "Image caption", "type": "string", "description": "Caption for the image." }, "pseudonym": { "required": false, "label": "Pseudonym", "type": "string", "description": "Name used by the artist(artist name)" }, "birth_name": { "required": false, "label": "Birth Name", "type": "string", "description": "Nomenclature at the time of birth" }, "birth_date": { "required": false, "label": "Birth Date", "type": "line", "description": "Date of birth and age of writer" }, "birth_place": { "required": false, "label": "Birth Place", "type": "string", "description": "Writer's place of birth" }, "death_date": { "required": false, "label": "Death Date", "type": "line", "description": "Date of death of writer" }, "death_place": { "required": false, "label": "Death Place", "type": "string", "description": "Writer's place of death" }, "resting_place": { "required": false, "label": "Resting Place", "type": "string", "description": "Place of writer's grave or ash scattering" }, "occupation": { "required": false, "label": "Occupation", "type": "string", "description": "Occupation of writer" }, "language": { "required": false, "label": "Language", "type": "string", "description": "Language of published writings" }, "nationality": { "required": false, "label": "Nationality", "type": "string", "description": "Nationality of writer" }, "ethnicity": { "required": false, "label": "Ethnicity", "type": "string", "description": "The social group that the writer belongs to" }, "citizenship": { "required": false, "label": "Citizenship", "type": "string", "description": "Writer's country of citizenship" }, "religion": { "required": false, "label": "Religion", "type": "string", "description": "Religion of writer" }, "education": { "required": false, "label": "Education", "type": "string", "description": "Degree obtained by writer" }, "alma-mater": { "required": false, "label": "Alma-Mater", "type": "string", "description": "University or school that writer attended" }, "period": { "required": false, "label": "Period", "type": "line", "description": "Dates from first publication to last publication" }, "genre": { "required": false, "label": "Genre", "type": "string", "description": "Writer's category of art. Separate entries with commas" }, "subject": { "required": false, "label": "Subject", "type": "string", "description": "Subject of writings" }, "movement": { "required": false, "label": "Movement", "type": "string", "description": "Literary movement associated with the writer" }, "notableworks": { "required": false, "label": "Notable Works", "type": "string", "description": "Notable works of writer" }, "spouse": { "required": false, "label": "Spouse", "type": "string", "description": "Writer's Spouse" }, "partner": { "required": false, "label": "Partner", "type": "string", "description": "Writer's Partner" }, "children": { "required": false, "label": "Children", "type": "string", "description": "Writer's children" }, "relatives": { "required": false, "label": "Relatives", "type": "string", "description": "Writer's Relatives" }, "awards": { "required": false, "label": "Awards", "type": "string", "description": "Awards won by writer" }, "signature": { "required": false, "label": "Signature", "type": "wiki-page-name", "description": "File name of signature" }, "signature-alt": { "required": false, "label": "Signature Alternative", "type": "string", "description": "Alt text to display if the image specified by signature does not display for whatever reason" }, "module": { "required": false, "label": "Module", "type": "string", "description": "Used for embedding other infoboxes into this one" }, "website": { "required": false, "label": "Website", "type": "string", "description": "Writer's website" }, "portaldisp": { "required": false, "label": "Portal Display", "type": "string", "description": "This is an optional parameter to display the literature portal link at the bottom of the infobox. Set this parameter to yes or y for enabling the portal link." } } }

</templatedata>

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

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.

See also