Wiktenauer logo.png

Difference between revisions of "Template:Infobox writer"

From Wiktenauer
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
  
| label1      = Born
+
| label1     = Also known as
| data1       = {{br separated entries|{{{birthname|}}}|{{#switch:{{lc:{{{birthdate|}}} }}
+
| data1      = {{{also known as|}}}
 +
 
 +
| label2     = Born
 +
| data2       = {{br separated entries|{{{birthname|}}}|{{#switch:{{lc:{{{birthdate|}}} }}
 
  | ?
 
  | ?
 
  | ??
 
  | ??
Line 25: Line 28:
 
  }}|{{{birthplace|}}}}}
 
  }}|{{{birthplace|}}}}}
  
| label2     = Died
+
| label3     = Died
| data2       = {{br separated entries|{{#switch:{{lc:{{{deathdate|}}} }}
+
| data3       = {{br separated entries|{{#switch:{{lc:{{{deathdate|}}} }}
 
  | ?
 
  | ?
 
  | ??
 
  | ??
Line 40: Line 43:
 
  }}|{{{deathplace|}}}}}
 
  }}|{{{deathplace|}}}}}
  
| label3     = Resting place
+
| label4     = Resting place
| data3       = {{br separated entries|{{{resting_place|}}}|{{{resting_place_coordinates|}}}}}
+
| data4       = {{br separated entries|{{{resting_place|}}}|{{{resting_place_coordinates|}}}}}
  
| label4     = Period
+
| label5     = Period
| data4       = {{{period|}}}
+
| data5       = {{{period|}}}
  
| class6      = nickname
 
 
| label6      = Pseudonym
 
| label6      = Pseudonym
 
| data6      = {{{pseudonym|}}}
 
| data6      = {{{pseudonym|}}}
Line 62: Line 64:
 
| data10      = {{{relatives|{{{relations|}}}}}}
 
| data10      = {{{relatives|{{{relations|}}}}}}
  
| class11    = role
 
 
| label11    = Occupation
 
| label11    = Occupation
 
| data11      = {{{occupation|}}}
 
| data11      = {{{occupation|}}}
  
| class12    = category
 
 
| label12    = Nationality
 
| label12    = Nationality
 
| data12      = {{{nationality|}}}
 
| data12      = {{{nationality|}}}
Line 94: Line 94:
 
| data20      = {{{influenced|}}}
 
| data20      = {{{influenced|}}}
  
| class21    = category
 
 
| label21    = Genres
 
| label21    = Genres
 
| data21      = {{{genre|}}}
 
| data21      = {{{genre|}}}
Line 110: Line 109:
 
| data25      = {{{archetype|}}}
 
| data25      = {{{archetype|}}}
  
| label26    = Principal<br/>Manuscript(s)
+
| label26    = Principal<br/>manuscript(s)
 
| data26      = {{{principal manuscript(s)|}}}
 
| data26      = {{{principal manuscript(s)|}}}
  
Line 116: Line 115:
 
| data27      = {{{manuscript(s)|}}}
 
| data27      = {{{manuscript(s)|}}}
  
| label28    = First&nbsp;Printed<br/>English&nbsp;Edition
+
| label28    = First&nbsp;printed<br/>english&nbsp;edition
 
| data28      = {{{first printed edition|}}}
 
| data28      = {{{first printed edition|}}}
  

Latest revision as of 19:18, 11 June 2018

Infobox writer
[edit] [history] [purge] Documentation icon 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.

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
| name                 = 
| image                = 
| imagesize            = 
| caption              = 

| pseudonym            = 
| birthname            = 
| birthdate            = <!-- uncomment the template to use it: {{Birth date and age|year|mo|da}} -->
| birthplace           = 
| deathdate            = 
| deathplace           = 
| occupation           = 
| nationality          = 
| ethnicity            = 
| citizenship          = 
| education            = 
| alma_mater           = 
| patron               = 

| spouse               = 
| children             = 
| relatives            = 
| period               = 
| movement             = 
| influences           = 
| influenced           = 

| genre                = 
| language             = 
| notableworks         = 
| archetype            = 
| manuscript(s)        = 
| principal manuscript(s)=
| first printed edition= 
| wiktenauer compilation by=

| signature            = 
| below                = 
}}

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.
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>.
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 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}}.
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 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}}
example
{{Death date and age|2024|11|25|1950|12|31}}
output display results
November 25, 2024 (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
Template:Death year and age
  • 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, Template:Death year and age
  • 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. Template:Death year and age
c. 2024
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).
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 Education of person.
alma_mater Alma mater 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 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 with a line break (<br>).
partner Name of long-term unmarried partner(s) (e.g., domestic partner). Separate multiple entries with a line break (<br>).
children Number of children (e.g., 3), or list of children names. Separate entries with a line break (<br>).
relatives Names of parents, siblings or other relatives. 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}}.
signature_alt signature_alt="Jules Romains", spelling out the signature exactly as it appears in the image.[clarification needed]
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: [http://www.example.com/ example.com] or {{url|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.
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. -->

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.

Date-of-birth ("bday") information will only be included in the microformat if {{Birth date}}, {{Birth date and age}}, or {{Birth-date}} are used in the infobox. (but do not use these if the date is before 1583 CE)

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • category
  • country-name
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.

See also