Difference between revisions of "Template:Infobox writer/doc"
imported>Wars (+ ro) |
imported>Revirvlkodlaku m |
||
| (274 intermediate revisions by more than 100 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| − | + | {{Person infobox header}} | |
| − | + | {{high-use|28601}} | |
| + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
| − | ''' | + | '''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 {{Tl|Infobox person}}; other infoboxes there can be found in [[:Category:People and person infobox templates]]. | |
| − | |||
| − | + | This template may also be used as a module (or sub-template) of {{Tl|Infobox person}}; see [[Wikipedia:WikiProject Infoboxes/embed|WikiProject Infoboxes/embed]] for guidance on such usage. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | == | + | == Syntax == |
| + | {{Parameter names example | ||
| + | |embed |honorific_prefix |name |honorific_suffix |image |image_size={{{image_size}}} |image_upright |alt |caption |native_name |native_name_lang |pseudonym |birth_name |birth_date |birth_place |death_date |death_place |resting_place |occupation |language |nationality |citizenship |education |alma_mater | |period |genre={{{genre}}} or {{{genres}}} |subject={{{subject}}} or {{{subjects}}} |movement |notable_works={{{notable_works}}} |spouse={{{spouse}}} or {{{spouses}}} |partner={{{partner}}} or {{{partners}}} |children |relatives |awards |signature={{{signature}}}<br /> |signature_alt |years_active |module |website={{{website}}} |portaldisp | ||
| + | }} | ||
| − | + | 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. | |
| + | |||
| + | <pre style="overflow:auto;"> | ||
| + | {{Infobox writer | ||
| + | | embed = | ||
| + | | honorific_prefix = | ||
| + | | name = | ||
| + | | honorific_suffix = | ||
| + | | image = | ||
| + | | image_size = | ||
| + | | image_upright = | ||
| + | | alt = | ||
| + | | caption = | ||
| + | | native_name = | ||
| + | | native_name_lang = | ||
| + | | pseudonym = | ||
| + | | birth_name = | ||
| + | | birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} for living people supply only the year with {{Birth year and age|YYYY}} unless the exact date is already widely published, as per [[WP:DOB]]. For people who have died, use {{Birth date|YYYY|MM|DD}}. --> | ||
| + | | birth_place = | ||
| + | | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (DEATH date then BIRTH date) --> | ||
| + | | death_place = | ||
| + | | resting_place = | ||
| + | | occupation = | ||
| + | | language = | ||
| + | | nationality = | ||
| + | | citizenship = | ||
| + | | education = | ||
| + | | alma_mater = | ||
| + | | period = | ||
| + | | genre = <!-- or: | genres = --> | ||
| + | | subject = <!-- or: | subjects = --> | ||
| + | | movement = | ||
| + | | notable_works = | ||
| + | | spouse = <!-- or: | spouses = --> | ||
| + | | partner = <!-- or: | partners = --> | ||
| + | | children = | ||
| + | | relatives = | ||
| + | | awards = | ||
| + | | signature = | ||
| + | | signature_alt = | ||
| + | | years_active = | ||
| + | | module = | ||
| + | | website = <!-- {{URL|example.org}} --> | ||
| + | | portaldisp = <!-- "on", "yes", "true", etc.; or omit --> | ||
| + | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
| + | |||
| + | == Parameters == | ||
| + | Please remove any parameters from an article's infobox that are unlikely to be used. | ||
| + | |||
| + | All parameters are optional. | ||
| + | |||
| + | Unless otherwise specified, if a parameter has multiple values, they should be comma-separated using the {{Tlx|Cslist}} template: | ||
| + | : {{Para|language|{{Tlx|Cslist|French|Spanish|English}}}} | ||
| + | which produces: | ||
| + | : |language={{Cslist|French|Spanish|English}} | ||
| + | |||
| + | If any of the individual values contain commas already, add {{Para|semi|true}} to use semi-colons as separators: | ||
| + | : {{Para|pseudonym|{{Tlx|Cslist|Smith, Bob|DaveyJones|Adams, Fred|semi{{=}}true}}}} | ||
| + | which produces: | ||
| + | : |pseudonym={{Cslist|Smith, Bob|DaveyJones|Adams, Fred|semi=true}} | ||
| + | |||
| + | For more information, see [[Template:Infobox person#Inline lists]]. | ||
{| class="wikitable" | {| class="wikitable" | ||
! style="text-align: left" | Parameter | ! style="text-align: left" | Parameter | ||
! style="text-align: left" | Explanation | ! style="text-align: left" | Explanation | ||
| − | |- | + | |- |
| − | | '''name''' | + | | '''name''' |
| − | | Insert name of | + | | 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: '''<ins>Do not</ins>''' add icons or other images. |
| + | |- | ||
| + | | '''embed ''' | ||
| + | | Set to "yes" if embedded in another infobox template. | ||
| + | |- | ||
| + | | '''honorific_prefix''' | ||
| + | | Honorifics that go before the name, e.g. "Lady", "Sir" | ||
| + | |- | ||
| + | | '''honorific_suffix''' | ||
| + | | Honorifics that go after the name, e.g. "MBE" | ||
|- | |- | ||
| '''image''' | | '''image''' | ||
| − | | Insert | + | | Insert image name. Use only the file name such as {{highlight|abc.jpg}}, {{highlight|xyz.png}}, {{highlight|123.gif}}, etc. Do not use syntax such as <nowiki>[[File:abc.jpg]]</nowiki> or <nowiki>[[File:abc.jpg|200px]]</nowiki><br /> |
| + | 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_upright''' | ||
| + | | Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%). | ||
| + | |- | ||
| + | | '''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 attribute]] for the image, for readers who cannot see the image. See [[WP:ALT]]. |
|- | |- | ||
| '''caption''' | | '''caption''' | ||
| − | | | + | | Caption for the image. Try to include the date the image was created. |
| + | |- | ||
| + | | '''native_name''' | ||
| + | | Name in local language. Use {{Tlx|Plainlist}} for multiple values (see information at [[Template:Infobox person#Inline lists]]). | ||
| + | |- | ||
| + | | '''native_name_lang''' | ||
| + | | A [[language tag]], e.g. "fr" for French. If more than one, use {{tl|lang}} inside native_name instead | ||
|- | |- | ||
| '''pseudonym''' | | '''pseudonym''' | ||
| − | | | + | | Any of the person's aliases or pen names. Use {{Tlx|Cslist}} for multiple values (see information at the [[#Parameters|top of this section]]). |
| + | |- | ||
| + | | '''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''' | + | | '''birth_date''' |
| − | | Insert date of birth: month, day | + | | Insert the person's birth date if known as: month day, year or day month year as appropriate. |
| + | |||
| + | For a living person consider using: | ||
| + | :{{tlx|Birth date and age|year of birth|month of birth|day of birth}} | ||
| + | |||
| + | Otherwise use: | ||
| + | :{{tlx|Birth date|year of birth|month of birth|day of birth}}. | ||
| + | |||
| + | In either case, add {{para|df|yes}} to show date as [[WP:DATES#Full date formatting|day before month]]; otherwise format is month before day. | ||
|- | |- | ||
| '''birth_place''' | | '''birth_place''' | ||
| − | | Insert place of birth: town, city, country. | + | | Insert the person's place of birth if known as: town, city, state, country. Note: '''<ins>Do not</ins>''' add flag icons to the birthplace. See: [[Wikipedia:Manual of Style (flags)]]. |
|- | |- | ||
| '''death_date''' | | '''death_date''' | ||
| − | | Insert date of death: month, day, year. | + | | Note: Using this field will also change the background display color of the name at the top of the infobox to <span style="background:silver">silver</span>. |
| + | |||
| + | If the person is still living, leave this parameter blank. | ||
| + | |||
| + | Insert the person's 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: | ||
| + | :{{Tlx|Death date and age|yr died|mo died|da died|yr born|mo born|da born}} | ||
| + | |||
| + | Add {{para|df|yes}} to show date as [[WP:DATES#Full date formatting|day before month]]; otherwise format is month before day. | ||
| + | |||
| + | ::'''''example''''' | ||
| + | :::<small><nowiki>{{Death date and age|</nowiki>{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|1950|12|31|df=yes<nowiki>}}</nowiki></small> | ||
| + | |||
| + | ::'''''output display results''''' | ||
| + | :::<small>{{Death date and age|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|1950|12|31|df=yes}}</small> | ||
| + | |||
| + | *When only the birth and death years are known, use: | ||
| + | :<small><nowiki>{{</nowiki>Death year and age|year died|year born<nowiki>}}</nowiki></small> | ||
| + | ::'''''example''''' | ||
| + | :::<small><nowiki>{{</nowiki>Death year and age|{{CURRENTYEAR}}|1950<nowiki>}}</nowiki></small> | ||
| + | ::'''''output display results''''' | ||
| + | :::<small>{{Death year and age|{{CURRENTYEAR}}|1950}}</small> | ||
| + | |||
| + | *When only the birth month, birth year and death year are known, use: | ||
| + | :<small>birth month, <nowiki>{{</nowiki>Death year and age|year died|year born<nowiki>}}</nowiki></small> | ||
| + | ::'''''example''''' | ||
| + | :::<small>{{CURRENTMONTHNAME}}, <nowiki>{{</nowiki>Death year and age|{{CURRENTYEAR}}|1950<nowiki>}}</nowiki></small> | ||
| + | ::'''''output display results''''' | ||
| + | :::<small>{{CURRENTMONTHNAME}}, {{Death year and age|{{CURRENTYEAR}}|1950}}</small> | ||
| + | |||
| + | *When only the death year is known, use: | ||
| + | :<small>death year</small> | ||
| + | ::'''''example''''' | ||
| + | :::<small>{{CURRENTYEAR}}</small> | ||
| + | ::'''''output display results''''' | ||
| + | :::<small>{{CURRENTYEAR}}</small> | ||
| + | |||
| + | *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 <nowiki>[[</nowiki>Circa|c. <nowiki>]]</nowiki> or c. | ||
| + | ::'''''examples''''' | ||
| + | :::<small><nowiki>[[</nowiki>Circa|c.<nowiki>]]</nowiki> <nowiki>{{</nowiki>Death year and age|{{CURRENTYEAR}}|1950<nowiki>}}</nowiki></small> | ||
| + | :::<small><nowiki>[[</nowiki>Circa|c.<nowiki>]]</nowiki> year died</small> | ||
| + | ::'''''output display results''''' | ||
| + | :::<small>[[Circa|c.]] {{Death year and age|{{CURRENTYEAR}}|1950}}</small> | ||
| + | :::<small>[[Circa|c.]] {{CURRENTYEAR}}</small> | ||
|- | |- | ||
| '''death_place''' | | '''death_place''' | ||
| − | | Insert place of death: town, city, country. | + | | Insert the person's place of death if known as: town, city, state, country. Note: '''<ins>Do not</ins>''' 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. Use {{Tlx|Cslist}} for multiple values (see information at the [[#Parameters|top of this section]]). | ||
|- | |- | ||
| − | | ''' | + | | '''language''' |
| − | | | + | | Language of published writings. |
|- | |- | ||
| '''nationality''' | | '''nationality''' | ||
| − | | | + | | Nationality of person. |
| + | |- | ||
| + | | '''citizenship''' | ||
| + | | Citizenship of person. | ||
| + | |- | ||
| + | | '''education''' | ||
| + | | | ||
| + | |- | ||
| + | | '''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''' | | '''period''' | ||
| − | | | + | | Dates from first publication to last publication. |
|- | |- | ||
| '''genre''' | | '''genre''' | ||
| − | | | + | | Fiction persons: All genres that the person wrote in. Use {{Tlx|Cslist}} for multiple values (see information at the [[#Parameters|top of this section]]). |
|- | |- | ||
| '''subject''' | | '''subject''' | ||
| − | | | + | | Non-fiction persons: All subjects that the person wrote about. Use {{Tlx|Cslist}} for multiple values (see information at the [[#Parameters|top of this section]]). |
|- | |- | ||
| '''movement''' | | '''movement''' | ||
| − | | Insert the literary movement associated with or involving the | + | | Insert the literary movement associated with or involving the person. Use {{Tlx|Cslist}} for multiple values (see information at the [[#Parameters|top of this section]]). |
| + | |- | ||
| + | | '''notable_works''' | ||
| + | | Names of '''notable''' works ([[WP:NN]]). | ||
| + | |||
| + | Use {{Tlx|Unbulleted list}} for multiple values (see information at [[Template:Infobox person#Inline lists]]). | ||
| + | |||
| + | <small>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 notable_works parameter should be marked with:</small> | ||
| + | |||
| + | <small>{{highlight|<nowiki><!-- Please do not add notable works to this article. See talk page as mutual consensus could not be achieved on this article. --></nowiki>}}</small> | ||
| + | |- | ||
| + | | '''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). Use {{Tlx|Plainlist}} for multiple values (see information at [[Template:Infobox person#Inline lists]]). | ||
| + | |- | ||
| + | | '''partner''' | ||
| + | | Name of long-term unmarried partner(s) (e.g., [[domestic partner]]). Use {{Tlx|Plainlist}} for multiple values (see information at [[Template:Infobox person#Inline lists]]). | ||
| + | |- | ||
| + | | '''children''' | ||
| + | | Number of children (e.g., 3), or list of children names. Use {{Tlx|Plainlist}} for multiple values (see information at [[Template:Infobox person#Inline lists]]). | ||
| + | |- | ||
| + | | '''relatives''' | ||
| + | | Names of parents, siblings or other relatives; include only if they are independently notable or particularly relevant. Include the relationship in parentheses after the name (father, sister, uncle, etc.). Use {{Tlx|Plainlist}} for multiple values (see information at [[Template:Infobox person#Inline lists]]). | ||
|- | |- | ||
| − | | ''' | + | | '''parents''' |
| − | | | + | | Names of parents; include only if they are independently notable or particularly relevant. This parameter may be used for biological, adoptive, foster, or step-parents. Use {{Tlx|Unbulleted list}} for multiple values (see information at [[Template:Infobox person#Inline lists]]). |
|- | |- | ||
| '''influences''' | | '''influences''' | ||
| − | | | + | | No longer supported. Please move cited/citable instances into prose. |
|- | |- | ||
| '''influenced''' | | '''influenced''' | ||
| − | | Insert the | + | | No longer supported. Please move cited/citable instances into prose. |
| + | |- | ||
| + | | '''awards''' | ||
| + | | Insert any '''notable''' awards the person has won. | ||
| + | |||
| + | Consider using the template: {{tlx|Awards|award|year|title|role}} | ||
| + | |||
| + | Use {{Tlx|Plainlist}} for multiple values (see information at [[Template:Infobox person#Inline lists]]). | ||
| + | |||
| + | Note: '''<ins>Do not</ins>''' add icons or other images. | ||
|- | |- | ||
| '''signature''' | | '''signature''' | ||
| − | | | + | | An image of the person's signature. Image is displayed at a width of 128px, same format as {{Tl|Infobox person}}, {{Tl|Infobox officeholder}} and {{Tl|Infobox philosopher}}. |
| + | |- | ||
| + | | '''signature_alt''' | ||
| + | | [[WP:Alternative text for images|Alternative text]] for signature. Write out the signature exactly as it appears in the image, including punctuation. For [[WP:ACCESSIBILITY|accessibility]]. | ||
| + | |- | ||
| + | | '''years_active''' | ||
| + | | Date range in years during which the subject was active in their principal occupation(s) and/or other activity for which they are notable. Use the format 1950–2000, or 1970–present if still active (note the use of an en dash, not hyphen). If no dates of birth and/or death are known for the subject, only a [[floruit]] date range, as is common with ancient subjects, this parameter can be used for it. If approximate (circa) dates are known for either or both, put them in the birth_date and death_date parameters. | ||
| + | |- | ||
| + | | '''module''' | ||
| + | | Used for embedding other infoboxes into this one. | ||
|- | |- | ||
| '''website''' | | '''website''' | ||
| − | | | + | | If the person has an '''official''' website enter it here. '''<ins>Do not</ins>''' 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==. |
| + | |||
| + | Use {{T|URL}} as in <nowiki>{{URL|ExampleCompany.com}}</nowiki>. Do not include the "<nowiki>http[s]://</nowiki>" or "www." parts unless the server requires it. Use [[camel case]] capitalization to make multiword domain names easier to read. | ||
| + | |- | ||
| + | | '''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|frameless|upright=0.11|link=|alt=]] [[Portal:Literature|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: | ||
| + | |||
| + | {{highlight|<nowiki><!-- Please do not use this parameter in this article. See talk page as mutual consensus could not be achieved on this article. --></nowiki>}} | ||
|- | |- | ||
| − | | '''footnotes''' | + | <!-- removed, very few articles used this parameter | '''footnotes''' |
| − | | Insert any miscellaneous information here. | + | | Insert any miscellaneous information here. --> |
|} | |} | ||
| + | |||
| + | == Use as a child template == | ||
| + | The '''embed''' parameter is used when embedding this infobox into another. | ||
| + | |||
| + | {{Infobox person module documentation |template=Infobox writer |parameter=embed |example_parameter1=genre}} | ||
| + | |||
| + | == TemplateData == | ||
| + | {{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} | ||
| + | {{TemplateData header|noheader=1}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "name": { | ||
| + | "required": false, | ||
| + | "label": "Name", | ||
| + | "type": "string", | ||
| + | "description": "Name of the writer. If not provided, page name is used." | ||
| + | }, | ||
| + | "embed": { | ||
| + | "label": "Embedded", | ||
| + | "description": "Set to 'yes' if embedded in another infobox template.", | ||
| + | "type": "string", | ||
| + | "required": false | ||
| + | }, | ||
| + | "honorific_prefix": { | ||
| + | "required": false, | ||
| + | "label": "Honorific (prefix)", | ||
| + | "type": "string", | ||
| + | "description": "Honorifics that go before the name, e.g. 'Lady', 'Sir', 'Dr'." | ||
| + | }, | ||
| + | "honorific_suffix": { | ||
| + | "required": false, | ||
| + | "label": "Honorific (suffix)", | ||
| + | "type": "string", | ||
| + | "description": "Honorifics that go after the name, e.g. 'MBE'." | ||
| + | }, | ||
| + | "native_name": { | ||
| + | "required": false, | ||
| + | "label": "Native name", | ||
| + | "type": "string", | ||
| + | "description": "Name of the writer in his native languages(s)." | ||
| + | }, | ||
| + | "native_name_lang": { | ||
| + | "required": false, | ||
| + | "label": "Native name language", | ||
| + | "type": "string", | ||
| + | "description": "A language tag e.g. 'fr' for French." | ||
| + | }, | ||
| + | "image": { | ||
| + | "required": false, | ||
| + | "label": "Image", | ||
| + | "type": "wiki-page-name", | ||
| + | "description": "Image of the writer" | ||
| + | }, | ||
| + | "image_size": { | ||
| + | "required": false, | ||
| + | "label": "Image size", | ||
| + | "type": "string", | ||
| + | "description": "Width of an image in pixels", | ||
| + | "aliases": ["imagesize"] | ||
| + | }, | ||
| + | "image_upright": { | ||
| + | "required": false, | ||
| + | "label": "Image upright", | ||
| + | "type": "string", | ||
| + | "description": "Width of an image in ratio" | ||
| + | }, | ||
| + | "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" | ||
| + | }, | ||
| + | "citizenship": { | ||
| + | "required": false, | ||
| + | "label": "Citizenship", | ||
| + | "type": "string", | ||
| + | "description": "Writer's country of citizenship" | ||
| + | }, | ||
| + | "education": { | ||
| + | "required": false, | ||
| + | "label": "Education", | ||
| + | "type": "string", | ||
| + | "description": "" | ||
| + | }, | ||
| + | "alma_mater": { | ||
| + | "required": false, | ||
| + | "label": "Alma mater", | ||
| + | "type": "string", | ||
| + | "description": "University or school that writer attended" | ||
| + | }, | ||
| + | "home_town": { | ||
| + | "required": false, | ||
| + | "label": "Home town", | ||
| + | "type": "string", | ||
| + | "description": "Place where the person was raised and matured" | ||
| + | }, | ||
| + | "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" | ||
| + | }, | ||
| + | "notable_works": { | ||
| + | "required": false, | ||
| + | "label": "Notable works", | ||
| + | "type": "string", | ||
| + | "description": "Notable works of writer" | ||
| + | }, | ||
| + | "spouse": { | ||
| + | "required": false, | ||
| + | "label": "Spouse", | ||
| + | "type": "string", | ||
| + | "description": "Writer's spouse(s)" | ||
| + | }, | ||
| + | "partner": { | ||
| + | "required": false, | ||
| + | "label": "Partner", | ||
| + | "type": "string", | ||
| + | "description": "Writer's partner(s)" | ||
| + | }, | ||
| + | "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" | ||
| + | }, | ||
| + | "years_active": { | ||
| + | "description": "Date range in years during which the subject was active in their principal occupation(s) and/or other activity for which they are notable. Use the format 1950–2000, or 1970–present if still active (note the use of an en dash, not hyphen). If no dates of birth and/or death are known for the subject, only a floruit date range, as is common with ancient subjects, this parameter can be used for it. If approximate (circa) dates are known for either or both, put them in the birth_date and death_date parameters.", | ||
| + | "label": "Years Active", | ||
| + | "type": "string", | ||
| + | "required": false | ||
| + | }, | ||
| + | "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 link", | ||
| + | "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." | ||
| + | } | ||
| + | }, | ||
| + | "format": "block" | ||
| + | } | ||
| + | </templatedata> | ||
| + | {{Collapse bottom}} | ||
| + | |||
| + | == Microformat == | ||
| + | {{UF-hcard-person}} | ||
| + | |||
| + | == Tracking categories == | ||
| + | * {{Category link with count|Biography template using pronunciation}} | ||
| + | * {{Category link with count|Pages using Infobox writer with unknown parameters}} | ||
| + | |||
| + | == See also == | ||
| + | * {{tl|Infobox person}} | ||
<includeonly> | <includeonly> | ||
| − | {{ | + | {{sandbox other|| |
| − | <!-- | + | <!----Categories below this line, please; interwikis to Wikidata----> |
| − | [[Category:People infobox templates|Writer]] | + | {{DEFAULTSORT:Writer}} |
| − | [[Category: | + | [[Category:Publishing infobox templates]] |
| − | [[Category:Templates | + | [[Category:People and person infobox templates|Writer]] |
| − | <!-- | + | [[Category:Biographical templates usable as a module]] |
| − | + | [[Category:Infobox templates with module parameter|Writer]] | |
| − | + | [[Category:Templates that add a tracking category|{{PAGENAME}}]]<!--override {{DEFAULTSORT}} for this category--> | |
| − | + | }} | |
| − | |||
| − | |||
| − | |||
| − | |||
</includeonly> | </includeonly> | ||
Latest revision as of 04:47, 3 November 2020
| File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox writer. It contains usage information, categories and other content that is not part of the original template page. |
Template:Person infobox header
| This template is used on approximately 33,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
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 and person infobox templates.
This template may also be used as a module (or sub-template) of {{Infobox person}}; see WikiProject Infoboxes/embed for guidance on such usage.
Contents
Syntax
Template:Parameter names example
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
| embed =
| honorific_prefix =
| name =
| honorific_suffix =
| image =
| image_size =
| image_upright =
| alt =
| caption =
| native_name =
| native_name_lang =
| pseudonym =
| birth_name =
| birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} for living people supply only the year with {{Birth year and age|YYYY}} unless the exact date is already widely published, as per [[WP:DOB]]. For people who have died, use {{Birth date|YYYY|MM|DD}}. -->
| birth_place =
| death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (DEATH date then BIRTH date) -->
| death_place =
| resting_place =
| occupation =
| language =
| nationality =
| citizenship =
| education =
| alma_mater =
| period =
| genre = <!-- or: | genres = -->
| subject = <!-- or: | subjects = -->
| movement =
| notable_works =
| spouse = <!-- or: | spouses = -->
| partner = <!-- or: | partners = -->
| children =
| relatives =
| awards =
| signature =
| signature_alt =
| years_active =
| module =
| website = <!-- {{URL|example.org}} -->
| portaldisp = <!-- "on", "yes", "true", etc.; or omit -->
}}
Parameters
Please remove any parameters from an article's infobox that are unlikely to be used.
All parameters are optional.
Unless otherwise specified, if a parameter has multiple values, they should be comma-separated using the {{Cslist}} template:
|language={{Cslist|French|Spanish|English}}
which produces:
- |language=
- French
- Spanish
- English
If any of the individual values contain commas already, add |semi=true to use semi-colons as separators:
|pseudonym={{Cslist|Smith, Bob|DaveyJones|Adams, Fred|semi=true}}
which produces:
- |pseudonym=
- Smith, Bob
- DaveyJones
- Adams, Fred
For more information, see Template:Infobox person#Inline lists.
| 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. |
| embed | Set to "yes" if embedded in another infobox template. |
| honorific_prefix | Honorifics that go before the name, e.g. "Lady", "Sir" |
| 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_upright | Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%). |
| 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 attribute 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. Use {{Plainlist}} for multiple values (see information at Template:Infobox person#Inline lists).
|
| native_name_lang | A language tag, e.g. "fr" for French. If more than one, use {{lang}} inside native_name instead |
| pseudonym | Any of the person's aliases or pen names. Use {{Cslist}} for multiple values (see information at the top of this section).
|
| 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:
Otherwise use:
In either case, add |
| 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 person's 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:
Add
|
| death_place | Insert the person's 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. Use {{Cslist}} for multiple values (see information at the top of this section).
|
| language | Language of published writings. |
| nationality | Nationality of person. |
| citizenship | Citizenship of person. |
| education | |
| 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 | Fiction persons: All genres that the person wrote in. Use {{Cslist}} for multiple values (see information at the top of this section).
|
| subject | Non-fiction persons: All subjects that the person wrote about. Use {{Cslist}} for multiple values (see information at the top of this section).
|
| movement | Insert the literary movement associated with or involving the person. Use {{Cslist}} for multiple values (see information at the top of this section).
|
| notable_works | Names of notable works (WP:NN).
Use 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 notable_works 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). Use {{Plainlist}} for multiple values (see information at Template:Infobox person#Inline lists).
|
| partner | Name of long-term unmarried partner(s) (e.g., domestic partner). Use {{Plainlist}} for multiple values (see information at Template:Infobox person#Inline lists).
|
| children | Number of children (e.g., 3), or list of children names. Use {{Plainlist}} for multiple values (see information at Template:Infobox person#Inline lists).
|
| relatives | Names of parents, siblings or other relatives; include only if they are independently notable or particularly relevant. Include the relationship in parentheses after the name (father, sister, uncle, etc.). Use {{Plainlist}} for multiple values (see information at Template:Infobox person#Inline lists).
|
| parents | Names of parents; include only if they are independently notable or particularly relevant. This parameter may be used for biological, adoptive, foster, or step-parents. Use {{Unbulleted list}} for multiple values (see information at Template:Infobox person#Inline lists).
|
| 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: Use 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 | Alternative text for signature. Write out the signature exactly as it appears in the image, including punctuation. For accessibility. |
| years_active | Date range in years during which the subject was active in their principal occupation(s) and/or other activity for which they are notable. Use the format 1950–2000, or 1970–present if still active (note the use of an en dash, not hyphen). If no dates of birth and/or death are known for the subject, only a floruit date range, as is common with ancient subjects, this parameter can be used for it. If approximate (circa) dates are known for either or both, put them in the birth_date and death_date parameters. |
| 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==.
Use Template:T as in {{URL|ExampleCompany.com}}. Do not include the "http[s]://" or "www." parts unless the server requires it. Use camel case capitalization to make multiword domain names easier to read. |
| 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.
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. --> |
Use as a child template
The embed parameter is used when embedding this infobox into another.
This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person
| name =
| image =
| caption =
| birth_date =
| birth_place =
| <!-- etc. -->
| module =
{{Infobox writer | embed=yes
| genre =
| parameter-2 =
| parameter-3 =
| parameter-4 =
| <!-- etc. -->
}}
}}
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox writer No description.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microformat
Tracking categories
- Category:Biography template using pronunciation (0)
- Category:Pages using Infobox writer with unknown parameters (0)
See also
- {{Infobox person}}