Template:Infobox writer/sandbox
This is the template sandbox page for Template:Infobox writer (diff). |
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
[change source]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
[change source]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.
|
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.
|
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.[needs to be explained]
|
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
[change source]J. K. Rowling | |
---|---|
Born | Joanne Rowling 31 July 1965 Yate, Gloucestershire, England |
Pen name |
|
Occupation | Novelist, philanthropist, film producer, television producer, screenwriter |
Nationality | British |
Education | University of Exeter (1986, BA) |
Period | 1997–present |
Genre | Fantasy, drama, young adult fiction, tragicomedy, crime fiction |
Notable works | Harry Potter series |
Spouse |
|
Children | 3 |
Signature | |
Website | |
jkrowling |
{{Infobox writer
| name = J. K. Rowling
| image = J. K. Rowling 2010.jpg
| caption= Rowling at the [[White House]] in 2010
| honorific_suffix = {{post-nominals|country=GBR|CH|OBE|FRSL|FRCPE|FRSE|size=100%}}
| pseudonym = {{unbulleted list|J. K. Rowling|Robert Galbraith}}
| birth_name = Joanne Rowling
| birth_date = {{Birth date and age|df=y|1965|7|31}}
| birth_place = [[Yate]], Gloucestershire, England
| nationality = British
| education = [[University of Exeter]] <small>(1986, BA)</small>
| occupation = Novelist, philanthropist, film producer, television producer, screenwriter
| period = 1997–present
| genre = [[Fantasy]], drama, [[young adult fiction]], [[tragicomedy]], [[crime fiction]]
| subject =
| movement =
| notableworks = ''[[Harry Potter]]'' series
| spouse = {{unbulleted list| {{marriage|Jorge Arantes|1992|1995|end=divorced}} | {{marriage|Neil Murray|2001}} }}
| partner =
| children = 3
| relatives =
| website = {{URL|jkrowling.com}}
| signature = JKRowlingsignature.png
}}
Microformat
[change source]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 on English Wikipedia.
Sub-templates
[change source]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
[change source]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
[change source]- {{Infobox person}}