Template:Infobox writer: Difference between revisions
updating per edit request |
Deleatur yhe (talk | contribs) m 1 revision imported: template attempt #2 |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke: | <includeonly>{{#invoke:infobox|infoboxTemplate|child={{if empty|{{{child|}}}|{{{embed|}}}}} | ||
| | | bodyclass = biography vcard | ||
| | |||
| | |||
| | | above = {{#if:{{{honorific_prefix|}}}|<div class="honorific-prefix" style="font-size: 80%; font-weight: normal;">{{{honorific_prefix|}}}</div>}}<div class="fn">{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}</div>{{#if:{{{honorific_suffix|}}}|<div class="honorific-suffix" style="font-size: 80%; font-weight: normal;">{{{honorific_suffix|}}}</div>}} | ||
| | |||
| | | subheader = {{#ifeq:{{lc: {{if empty|{{{child|}}}|{{{embed|}}}}}}}|yes|{{#if:{{{embed_title|}}}|'''{{{embed_title|}}}'''}}}} | ||
| subheader2 = {{#switch:{{if empty|{{{child|}}}|{{{embed|}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang}}}">}}{{{native_name}}}{{#if:{{{native_name_lang|}}}|</div>}} }} }} | |||
| subheaderstyle2 = font-size: 125% | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image_size|}}}}}|300|{{{image_size|}}}}}}}x200px|{{{image_size|}}}}}|sizedefault=frameless|upright={{if empty|{{{image_upright|}}}|1}}|alt={{if empty|{{{alt|}}}|{{{image_alt|}}}}}|class={{{image_class|}}}|suppressplaceholder=yes}} | |||
| caption = {{if empty|{{{caption|}}}|{{{image_caption|}}}}} | |||
| label2 = Pronunciation | |||
| data2 = {{{pronunciation|}}} | |||
| label10 = Born | |||
| data10 = {{br separated entries | |||
|1={{#if:{{{birth_name|}}}|<div style="display:inline" class="nickname">{{{birth_name|}}}</div>}} | |||
|2={{#invoke:person date|birth}} | |||
|3={{#if:{{{birth_place|}}}|<div style="display:inline" class="birthplace">{{{birth_place|}}}</div>}} | |||
}} | |||
| label11 = Bapti{{#if:{{{baptized|}}}|z|s}}ed | |||
| data11 = {{#if:{{{birth_date|}}}||{{if empty|{{{baptized|}}}|{{{baptised|}}}}}}} | |||
| label12 = Disappeared | |||
| data12 = {{Br separated entries|1={{{disappeared_date|}}}|2={{{disappeared_place|}}}}} | |||
| label13 = Status | |||
| data13 = {{{disappeared_status|}}} | |||
}} | | label14 = Died | ||
| | | data14 = {{br separated entries | ||
| | |1={{#invoke:person date|death}} | ||
|2={{#if:{{{death_place|}}}|<div style="display:inline" class="deathplace">{{{death_place|}}}</div>}} | |||
| | }} | ||
| | |||
| | | label15 = {{longitem|Cause of death}} | ||
| | | data15 = {{{death_cause|}}} | ||
}}<noinclude> | |||
| label16 = {{longitem|Body discovered}} | |||
| data16 = {{{body_discovered|}}} | |||
| label17 = {{longitem|{{#if:{{{burial_place|}}}|Burial place|Resting place}}}} | |||
| data17 = {{#if:{{{burial_place|}}}|{{Br separated entries|1={{{burial_place|}}}|2={{{burial_coordinates|}}}}}|{{Br separated entries|1={{{resting_place|}}}|2={{{resting_place_coordinates|}}}}}}} | |||
| class17 = label | |||
| label18 = Monuments | |||
| data18 = {{{monuments|}}} | |||
| label21 = Other name{{pluralize from text|{{{other_names|}}}|plural=s}} | |||
| data21 = {{{other_names|}}} | |||
| class21 = nickname | |||
| label22 = Siglum | |||
| data22 = {{{siglum|}}} | |||
| label23 = Citizenship | |||
| data23 = {{{citizenship|}}} | |||
| class23 = category | |||
| label24 = Education | |||
| data24 = {{{education|}}} | |||
| label25 = Alma mater | |||
| data25 = {{{alma_mater|}}} | |||
| label26 = Occupation{{Pluralize from text|{{{occupation|}}}|plural=s}} | |||
| data26 = {{{occupation|}}} | |||
| class26 = role | |||
| label27 = Years active | |||
| data27 = {{{years_active|}}} | |||
| label28 = Era | |||
| data28 = {{{era|}}} | |||
| class28 = category | |||
| label29 = Employer{{Pluralize from text|{{{employer|}}}|likely=(s)|plural=s}} | |||
| data29 = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}}|likely=[[Category:Pages using infobox person with multiple employers]]}}}} | |||
| class29 = org | |||
| label30 = {{#if:{{{organisation|}}}|Organisation|Organization}}{{#if:{{{organizations|}}}|s|{{pluralize from text|{{if empty|{{{organization|}}}|{{{organisation|}}}}}|likely=(s)|plural=s}}}} | |||
| data30 = {{if empty|{{{organisation|}}}|{{{organization|}}}|{{{organizations|}}}}}{{main other|{{Pluralize from text|{{if empty|{{{organization|}}}|{{{organisation|}}}}}|likely=[[Category:Pages using infobox person with multiple organizations]]}}}} | |||
| class30 = org | |||
| label31 = Agent{{Pluralize from text|{{{agent|}}}|likely=(s)|plural=s}} | |||
| data31 = {{{agent|}}}{{main other|{{Pluralize from text|{{{agent|}}}|likely=[[Category:Pages using infobox person with multiple agents]]}}}} | |||
| class31 = agent | |||
| label32 = Known for | |||
| data32 = {{{known_for|}}} | |||
| label33 = Works | |||
| data33 = {{{works|}}} | |||
| label34 = Notable credit{{Pluralize from text|{{{credits|}}}|likely=(s)|plural=s}} | |||
| data34 = {{#if:{{{works|}}}|{{#if:{{{credits|}}}|{{preview warning|Note that if {{para|works}} is supplied, {{para|credits}} will not display.}}}}|<!-- | |||
-->{{{credits|}}}{{main other|{{Pluralize from text|{{{credits|}}}|likely=[[Category:Pages using infobox person with multiple credits]]}}}}}} | |||
| label35 = Label{{Pluralize from text|{{{label_name|}}}|likely=(s)|plural=s}} | |||
| data35 = {{#if:{{{works|}}}{{{credits|}}}|{{#if:{{{label_name|}}}|{{preview warning|Note that if {{para|works}} or {{para|credits}} is supplied, {{para|label_name}} will not display.}}}}|<!-- | |||
-->{{{label_name|}}}{{main other|{{Pluralize from text|{{{label_name|}}}|likely=[[Category:Pages using infobox person with multiple labels]]}}}}}} | |||
| label36 = Notable work | |||
| data36 = {{#if:{{{works|}}}{{{credits|}}}{{{label_name|}}}|{{#if:{{{notable_works|}}}|{{preview warning|Note that if {{para|works}}, {{para|credits}} or {{para|label_name}} is supplied, {{para|notable_works}} will not display.}}}}|{{{notable_works|}}}}} | |||
| label37 = Style | |||
| data37 = {{{style|}}} | |||
| class37 = category | |||
| label40 = Television | |||
| data40 = {{{television|}}} | |||
| label41 = Height | |||
| data41 = {{#if:{{{height_m|}}}{{{height_cm|}}}{{{height_ft|}}}{{{height_in|}}} | {{convinfobox|{{if empty|{{{height_m|}}}|{{{height_cm|}}}}}|{{#if:{{{height_m|}}}|m|cm}}|{{{height_ft|}}}|ft|{{{height_in|}}}|in}}}}{{#if:{{{height|}}} | {{infobox person/height|{{{height|}}}}}}} | |||
| label42 = {{#if:{{{office|}}}|Office|Title}} | |||
| data42 = {{if empty|{{{office|}}}|{{{title|}}}}} | |||
| class42 = title | |||
| label43 = Term | |||
| data43 = {{{term|}}} | |||
| label44 = Predecessor | |||
| data44 = {{{predecessor|}}} | |||
| label45 = Successor | |||
| data45 = {{{successor|}}} | |||
| label46 = {{longitem|Political party}} | |||
| data46 = {{{political_party|}}} | |||
| class46 = org | |||
| label47 = {{longitem|Other political<br />affiliations}} | |||
| data47 = {{{other_party|}}} | |||
| class47 = org | |||
| label48 = Movement | |||
| data48 = {{{movement|}}} | |||
| class48 = category | |||
| label49 = Opponent{{Pluralize from text|{{{opponents|}}}|likely=(s)|plural=s}} | |||
| data49 = {{{opponents|}}}{{main other|{{Pluralize from text|{{{opponents|}}}|likely=[[Category:Pages using infobox person with multiple opponents]]}}}} | |||
| label50 = {{longitem|Board member of}} | |||
| data50 = {{{boards|}}} | |||
| label51 = {{longitem|{{#if:{{{criminal_charges|}}}|Criminal charges|Criminal charge{{pluralize from text|{{{criminal_charge|}}}|likely=(s)|plural=s}}}}}} | |||
| data51 = {{if empty|{{{criminal_charges|}}}|{{{criminal_charge|}}}}}{{main other|{{Pluralize from text|{{{criminal_charge|}}}|likely=[[Category:Pages using infobox person with multiple criminal charges]]}}}} | |||
| label52 = {{longitem|Criminal penalty}} | |||
| data52 = {{{criminal_penalty|}}} | |||
| label53 = {{longitem|{{#if:{{{judicial_status|}}}|Judicial status|Criminal status}}}} | |||
| data53 = {{if empty|{{{judicial_status|}}} | {{{criminal_status|}}}}} | |||
| class53 = category | |||
| label54 = Spouse{{#if:{{{spouses|}}}|s|{{Pluralize from text|{{{spouse|}}}|likely=(s)|plural=s}}}} | |||
| data54 = {{if empty|{{{spouse|}}}|{{{spouses|}}}}}{{main other|{{Pluralize from text| {{{spouse|}}} |likely=[[Category:Pages using infobox person with multiple spouses]]}}}} | |||
| label55 = Partner{{#if:{{{partners|}}}|s|{{Pluralize from text|{{if empty|{{{partner|}}}|{{{domesticpartner|}}}|{{{domestic_partner|}}}|{{{partner(s)|}}}}} |likely=(s)|plural=s}}}} | |||
| data55 = {{if empty|{{{partner|}}}|{{{partners|}}}}}{{main other|{{Pluralize from text| {{{partner|}}} |likely=[[Category:Pages using infobox person with multiple partners]]}}}} | |||
| label56 = Children | |||
| data56 = {{{children|}}} | |||
| label57 = {{#if:{{{parents|}}}|Parent{{Pluralize from text|{{{parents|}}}|likely=(s)|plural=s}}|<!-- | |||
-->{{#ifexpr:{{count|{{{father|}}}|{{{mother|}}}}} > 1|Parents|{{#if:{{{father|}}}|Father|{{#if:{{{mother|}}}|Mother}}}}}}}} | |||
| data57 = {{#if:{{{parents|}}}|{{{parents}}}|{{#ifexpr:{{count|{{{father|}}}|{{{mother|}}}}} > 1|{{Unbulleted list|{{{father}}} (father)|{{{mother}}} (mother)}}|{{{mother|}}}{{{father|}}}}}}}<!-- | |||
-->{{main other|{{Pluralize from text|{{{parents|}}}|likely=[[Category:Pages using infobox person with multiple parents]]}}}} | |||
| label58 = Relatives | |||
| data58 = {{{relatives|}}} | |||
| label59 = Family | |||
| data59 = {{{family|}}} | |||
| label60 = Call sign | |||
| data60 = {{{callsign|}}} | |||
| label61 = Awards | |||
| data61 = {{{awards|}}} | |||
| label62 = {{#if:{{{honours|}}}|Honours|Honors}} | |||
| data62 = {{if empty|{{{honours|}}}|{{{honors|}}}}} | |||
| data64 = {{{module|}}} | |||
| data65 = {{{module2|}}} | |||
| data66 = {{{module3|}}} | |||
| data67 = {{{module4|}}} | |||
| data68 = {{{module5|}}} | |||
| data69 = {{{module6|}}} | |||
| label70 = Website | |||
| data70 = {{{website|}}} | |||
| header71 = {{#if:{{{signature|}}}|{{if empty|{{{signature_type|}}}|Signature}}}} | |||
| data72 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|class=infobox-signature skin-invert|sizedefault=150px|alt={{{signature_alt|}}}}} | |||
| header73 = {{#if:{{{footnotes|}}}|Notes}} | |||
| data74 = {{#if:{{{footnotes|}}}|<div style="text-align: left;">{{{footnotes}}}</div>}} | |||
}}<!-- | |||
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using {{if empty|{{lcfirst:{{{template_name|}}}}}|infobox person}} with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox person}}]] with unknown parameter "_VALUE_"|ignoreblank=y| agent | alma_mater | alt | awards | baptised | baptized | birth_date | birth_name | birth_place | boards | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal_charge | criminal_charges | criminal_penalty | criminal_status | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | embed | embed_title | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | honorific_prefix | honorific_suffix | honors | honours | image | image_alt | image_caption | image_class | image_size | image_upright | judicial_status | known_for | label_name | landscape | module | module2 | module3 | module4 | module5 | module6 | monuments | mother | movement | name | native_name | native_name_lang | nocat_wdimage | notable_works | occupation | office | opponents | organisation | organization | organizations | other_names | other_party | parents | partner | partner(s) | partners | political_party | predecessor | pronunciation | relatives | resting_place | resting_place_coordinates | siglum | signature | signature_alt | signature_size | signature_type | spouse | spouses | style | successor | television | template_name | term | title | website | works | years_active }}<!-- | |||
-->{{Main other|{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!-- | |||
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}<!-- | |||
-->[[Category:Articles with hCards]] | |||
}}{{#if:{{{alma_mater|}}}|{{preview warning|Page using [[Template:Infobox person]] with deprecated parameter {{code|alma_mater}} which should be merged with/replaced by {{code|education}}.}}{{main other|[[Category:Pages using infobox person with deprecated parameters]]}}}}<!-- | |||
-->{{#invoke:Check for conflicting parameters|check | |||
| nested = 1 | |||
| template = [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox person}}]] | |||
| cat = {{main other|Category:Pages using {{if empty|{{{template_name|}}}|infobox person}} with conflicting parameters}} | |||
| alma_mater; education | |||
| child; embed | |||
| image_alt; alt | |||
| height_m; height_cm; height_ft; height | |||
| caption; image_caption | |||
| baptized; baptised | |||
| organisation; organization; organizations | |||
| {{#if:{{{works|}}}|works;}} {{#if:{{{credits|}}}|credits;}} {{#if:{{{label_name|}}}|label_name;}} notable_works | |||
| height_m; height_cm | |||
| office; title | |||
| criminal_charges; criminal_charge | |||
| spouse; spouses | |||
| partner; partners | |||
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{father|}}}||NULL_}}father | |||
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{mother|}}}||NULL_}}mother | |||
| honours; honors | |||
}}{{#ifeq:{{if empty|{{{child|}}}|{{{embed|}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 21:38, 2 September 2026
This template is a customized wrapper for {{Infobox person}}. Any field from {{Infobox person}} can work. It will also emit the same hCard and Geo microformats as {{Infobox person}}. Questions? Just ask here or over at Template talk:Infobox person. |
| This template is used on approximately 46,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. |
| 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.
Syntax
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
|---|---|
{{{native_name}}} | |
| [[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]] {{{caption}}} | |
| Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
| Died | {{{death_date}}} {{{death_place}}} |
Cause of death | {{{death_cause}}} |
Resting place | {{{resting_place}}} |
| Citizenship | {{{citizenship}}} |
| Education | {{{education}}} |
| Occupation | {{{occupation}}} |
| Years active | {{{years_active}}} |
| Notable work | {{{notable_works}}} |
| Movement | {{{movement}}} |
| Spouse | {{{spouse}}} or {{{spouses}}} |
| Partner | {{{partner}}} or {{{partners}}} |
| Children | {{{children}}} |
| Parent | {{{parents}}} |
| Relatives | {{{relatives}}} |
| Awards | {{{awards}}} |
| {{{module}}} | |
| Website | {{{website}}} |
| {{{signature_type}}} | |
| [[File:{{{signature}}} |{{{signature_size}}}|alt={{{signature_alt}}}|class=infobox-signature skin-invert]] | |
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.
<syntaxhighlight lang="wikitext" style="overflow: auto;">
Infobox writer |
|---|
</syntaxhighlight>
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:
- <syntaxhighlight lang="wikitext" inline style="display: none;" />
|language={{Cslist|French|Spanish|English}}
which produces:
- |language=
- French
- Spanish
- English
If any of the individual values contain commas already, add <syntaxhighlight lang="wikitext" inline style="display: none;" />|semi=true to use semi-colons as separators:
- <syntaxhighlight lang="wikitext" inline style="display: none;" />
|pen_name={{Cslist|Smith, Bob|DaveyJones|Adams, Fred|semi=true}}
which produces:
- |pen_name=
- Smith, Bob
- DaveyJones
- Adams, Fred
For more information, see Template:Infobox person#Inline lists.
| Parameter | Explanation |
|---|---|
| embed | Set to "yes" if embedded in another infobox template. |
| honorific_prefix | Honorifics that go before the name, e.g. "Lady", "Sir" |
| 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_suffix | Honorifics that go after the name, e.g. "MBE" |
| 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 |
| 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%). |
| landscape | Set to "yes" when using wide, short images. The image height (rather than width) will be limited to 200 pixels. |
| 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. |
| 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 <syntaxhighlight lang="wikitext" inline style="display: none;" /> |
| 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 <syntaxhighlight lang="wikitext" inline style="display: none;" />
|
| 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). |
| death_cause | Cause of death. Should be clearly defined and sourced, and should be included only when the cause of death has significance for the subject's notability, e.g. Joyce Kilmer, Charles Sorley. It should not be filled in for unremarkable deaths such as those from old age or routine illness. |
| 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).
|
| citizenship | Citizenship of person., use only when necessary per WP:INFONAT. |
| education | Use per MOS:INFOEDU. |
| 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).
|
| 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).
|
| 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).
|
| pen_name | Any of the person's aliases or pen names. Use {{Cslist}} for multiple values (see information at the top of this section).
|
| language | Language of published writings. |
| 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. |
| 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).
|
| works | This will usually be a wikilink to a stand-alone list of the writer's works. If both <syntaxhighlight lang="wikitext" inline style="display: none;" />|works= and <syntaxhighlight lang="wikitext" inline style="display: none;" />|notable_works= are used, only <syntaxhighlight lang="wikitext" inline style="display: none;" />|works= will be displayed.
|
| 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. --> If both <syntaxhighlight lang="wikitext" inline style="display: none;" /> |
| awards | Insert any notable awards the person has won.
Consider using the template: Use Note: Do not add icons or other images. |
| movement | Insert the literary movement associated with or involving the person. Use {{Cslist}} for multiple values (see information at the top of this section).
|
| 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 {{URL}} 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. |
| 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_type | Changes the Signature label to the preferred argument, such as Seal |
| signature_size | Default is 150px. If necessary, a signature can be resized manually as per the <syntaxhighlight lang="wikitext" inline style="display: none;" />|image_size= parameter.
|
| signature_alt | Alternative text for signature. Write out the signature exactly as it appears in the image, including punctuation. For accessibility. |
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. <syntaxhighlight lang="wikitext">
</syntaxhighlight>
TemplateData
TemplateData for Infobox writer
TemplateData
|
|---|
|
<templatedata> { "description": "Infobox writer may be used to summarize information about a person who is a writer/author (includes screenwriters).", "format": "Template:\n\n", "params": { "name": { "required": false, "label": "Name", "type": "string", "description": "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.", "suggested": true }, "embed": { "label": "Embedded", "description": "Set to 'yes' if embedded in another infobox template.", "type": "string", "required": false, "suggestedvalues": [ "Yes" ] }, "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 their native languages(s). Use for multiple values."
},
"native_name_lang": {
"required": false,
"label": "Native name language",
"type": "string",
"description": "A language tag e.g. 'fr' for French. If more than one, use [undefined] Error: {{Lang}}: no text (help) inside native_name instead"
},
"image": {
"required": false,
"label": "Image",
"type": "wiki-file-name",
"description": "Image of the writer. Insert image name. Use only the file name such as abc.jpg, xyz.png, 123.gif, etc. Do not use syntax such as for multiple values."
}, "partner": { "required": false, "label": "Partner", "type": "string", "description": "Name of long-term unmarried partner(s) (e.g., domestic partner). Use for multiple values."
}, "children": { "required": false, "label": "Children", "type": "string", "description": "Number of children (e.g., 3), or list of children names. Use for multiple values."
}, "relatives": { "required": false, "label": "Relatives", "type": "string", "description": "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 for multiple values."
}, "awards": { "required": false, "label": "Awards", "type": "string", "description": "Insert any notable awards the person has won.\nConsider using the template: awardyear title – role \n\nUse for multiple values.",
"suggested": true
},
"signature": {
"required": false,
"label": "Signature",
"type": "wiki-page-name",
"description": "File name of the writer's signature. Image is displayed at a width of 128px."
},
"signature_type": {
"description": "Alter from Signature to, for example, Seal",
"label": "Signature type",
"type": "string"
},
"signature_size": {
"description": "Default is 150px. If necessary, a signature can be resized manually as per the \"image_size\" parameter.",
"label": "Signature size"
},
"signature_alt": {
"required": false,
"label": "Signature (alternative)",
"type": "string",
"description": "Alternative text for signature. Write out the signature exactly as it appears in the image, including punctuation. (For accessibility, to be read by screen readers.)"
},
"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": "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==.\nUse |
Example
J. K. Rowling | |
|---|---|
Rowling at the White House in 2010 | |
| Born | Joanne Rowling 31 July 1965 Yate, Gloucestershire, England |
| Education | |
| Occupations |
|
| Years active | 1997–present |
| Spouses |
|
| Children | 3 |
| Website | jkrowling |
<syntaxhighlight lang="wikitext" style="overflow: auto;">
J. K. Rowling | |
|---|---|
Rowling at the White House in 2010 | |
| Born | Joanne Rowling 31 July 1965 Yate, Gloucestershire, England |
| Education | |
| Occupations |
|
| Years active | 1997–present |
| Spouses |
|
| Children | 3 |
| Website | jkrowling |
</syntaxhighlight>
