Template:Infobox writer: Difference between revisions
en>Bearcat No edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 21: | Line 21: | ||
| datastyle = line-height:1.4em; | | datastyle = line-height:1.4em; | ||
| label1 = | | label1 = મૂળનામ | ||
| data1 = {{#if:{{{native_name|}}} |<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}} | | data1 = {{#if:{{{native_name|}}} |<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}} | ||
| label2 = | | label2 = જન્મ | ||
| data2 = {{br separated entries | | data2 = {{br separated entries | ||
| 1={{{birth_name|}}} | | 1={{{birth_name|}}} | ||
Line 34: | Line 34: | ||
}} | }} | ||
| label3 = | | label3 = અવસાન | ||
| data3 = {{br separated entries | | data3 = {{br separated entries | ||
| 1={{#switch:{{lc:{{{death_date|}}}}} | | 1={{#switch:{{lc:{{{death_date|}}}}} | ||
Line 43: | Line 43: | ||
}} | }} | ||
| label4 = | | label4 = સમાધિ સ્થળ | ||
| data4 = {{br separated entries|{{{resting_place|}}} |{{{resting_place_coordinates|}}} }} | | data4 = {{br separated entries|{{{resting_place|}}} |{{{resting_place_coordinates|}}} }} | ||
| label5 = | | label5 = ઉપનામ | ||
| class5 = nickname | | class5 = nickname | ||
| data5 = {{{penname|{{{pseudonym|}}}}}} | | data5 = {{{penname|{{{pseudonym|}}}}}} | ||
| label6 = | | label6 = હુલામણું નામ | ||
| class6 = nickname | | class6 = nickname | ||
| data6 = {{{nickname|}}} | | data6 = {{{nickname|}}} | ||
| label7 = | | label7 = વ્યવસાય | ||
| class7 = role | | class7 = role | ||
| data7 = {{{occupation|}}} | | data7 = {{{occupation|}}} | ||
| label8 = | | label8 = ભાષા | ||
| data8 = {{{language|}}} | | data8 = {{{language|}}} | ||
| label10 = | | label10 = રાષ્ટ્રીયતા | ||
| class10 = category | | class10 = category | ||
| data10 = {{{nationality|}}} | | data10 = {{{nationality|}}} | ||
| label11 = | | label11 = નાગરિકતા | ||
| data11 = {{{citizenship|}}} | | data11 = {{{citizenship|}}} | ||
| label12 = | | label12 = અભ્યાસ | ||
| data12 = {{{education|}}} | | data12 = {{{education|}}} | ||
| label13 = | | label13 = શિક્ષણ સંસ્થાઓ | ||
| data13 = {{{alma_mater|}}} | | data13 = {{{alma_mater|}}} | ||
| label15 = | | label15 = કાળખંડ | ||
| data15 = {{{period|}}} | | data15 = {{{period|}}} | ||
| label16 = | | label16 = લિંગ{{#if:{{{genres|}}}|s}} | ||
| class16 = category | | class16 = category | ||
| data16 = {{#if:{{{genres|}}}|{{{genres}}}|{{{genre|}}}}} | | data16 = {{#if:{{{genres|}}}|{{{genres}}}|{{{genre|}}}}} | ||
| label17 = | | label17 = વિષય {{#if:{{{subjects|}}}|s}} | ||
| data17 = {{#if:{{{subjects|}}}|{{{subjects}}}|{{{subject|}}}}} | | data17 = {{#if:{{{subjects|}}}|{{{subjects}}}|{{{subject|}}}}} | ||
| label18 = | | label18 = સાહિત્યિક ચળવળ | ||
| data18 = {{{movement|}}} | | data18 = {{{movement|}}} | ||
| label21 = | | label21 = સક્રિય વર્ષો | ||
| data21 = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}} | | data21 = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}} | ||
| label22 = | | label22 = નિયોક્તા {{Pluralize from text|{{{employer|}}}|likely=(s)|plural=s}} | ||
| data22 = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}}|likely=}}}} | | data22 = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}}|likely=}}}} | ||
| class22 = org | | class22 = org | ||
| label29 = | | label29 = નોંધપાત્ર કૃતિ(ઓ) | ||
| data29 = {{#if:{{{notableworks|{{{notable_works|}}}}}}|{{{notableworks|{{{notable_works|}}}}}}|{{{notablework|}}}}} | | data29 = {{#if:{{{notableworks|{{{notable_works|}}}}}}|{{{notableworks|{{{notable_works|}}}}}}|{{{notablework|}}}}} | ||
| label30 = | | label30 = નોંધપાત્ર પુરસ્કાર(રો) | ||
| data30 = {{{awards|}}} | | data30 = {{{awards|}}} | ||
| label32 = | | label32 = જીવનસાથી{{#if:{{{spouses|}}}|s}} | ||
| data32 = {{#if:{{{spouses|}}}|{{{spouses}}}|{{{spouse|}}}}} | | data32 = {{#if:{{{spouses|}}}|{{{spouses}}}|{{{spouse|}}}}} | ||
| label33 = | | label33 = સાથી{{#if:{{{partners|}}}|s}} | ||
| data33 = {{#if:{{{partners|}}}|{{{partners}}}|{{{partner|}}}}} | | data33 = {{#if:{{{partners|}}}|{{{partners}}}|{{{partner|}}}}} | ||
| label34 = | | label34 = બાળક(કો) | ||
| data34 = {{{children|}}} | | data34 = {{{children|}}} | ||
| label35 = | | label35 = વડીલ(લો){{#if:{{{parents|}}}|s}} | ||
| data35 = {{#if:{{{parents|}}}|{{{parents}}}|{{{parent|}}}}} | | data35 = {{#if:{{{parents|}}}|{{{parents}}}|{{{parent|}}}}} | ||
| label36 = | | label36 = સંબંધી(ઓ) | ||
| data36 = {{{relatives|{{{relations|}}}}}} | | data36 = {{{relatives|{{{relations|}}}}}} | ||
|header39 = {{#if:{{{signature|}}}| | |header39 = {{#if:{{{signature|}}}|સહી}} | ||
| data40 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|upright=0.72|alt={{{signature_alt|}}}}} | | data40 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|upright=0.72|alt={{{signature_alt|}}}}} | ||
| data41 = {{{misc|{{{module|}}}}}} | | data41 = {{{misc|{{{module|}}}}}} | ||
| header42 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}| | | header42 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|વેબસાઈટ}} | ||
| data43 = {{{website|{{{homepage|{{{URL|}}}}}}}}} | | data43 = {{{website|{{{homepage|{{{URL|}}}}}}}}} | ||
Latest revision as of 02:14, 8 March 2023
નિયોક્તા | Lua error in package.lua at line 80: module 'strict' not found. |
---|
Lua error in package.lua at line 80: module 'strict' not found.
Lua error in package.lua at line 80: module 'strict' not found.
Lua error in package.lua at line 80: module 'strict' not found. Lua error in package.lua at line 80: module 'strict' not found. Lua error in package.lua at line 80: module 'strict' not found.
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}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}|{{{caption}}}]] | |
મૂળનામ | {{{native_name}}} |
જન્મ | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
અવસાન | {{{death_date}}} {{{death_place}}} |
સમાધિ સ્થળ | {{{resting_place}}} |
ઉપનામ | {{{pseudonym}}} |
વ્યવસાય | {{{occupation}}} |
ભાષા | {{{language}}} |
રાષ્ટ્રીયતા | {{{nationality}}} |
નાગરિકતા | {{{citizenship}}} |
અભ્યાસ | {{{education}}} |
શિક્ષણ સંસ્થાઓ | {{{alma_mater}}} |
કાળખંડ | {{{period}}} |
લિંગ | {{{genre}}} or {{{genres}}} |
વિષય | {{{subject}}} or {{{subjects}}} |
સાહિત્યિક ચળવળ | {{{movement}}} |
સક્રિય વર્ષો | {{{years_active}}} |
નિયોક્તા | Lua error in package.lua at line 80: module 'strict' not found. |
નોંધપાત્ર કૃતિ(ઓ) | {{{notable_works}}} |
નોંધપાત્ર પુરસ્કાર(રો) | {{{awards}}} |
જીવનસાથી | {{{spouse}}} or {{{spouses}}} |
સાથી | {{{partner}}} or {{{partners}}} |
બાળક(કો) | {{{children}}} |
સંબંધી(ઓ) | {{{relatives}}} |
સહી | |
[[File:{{{signature}}} |150px|alt={{{signature_alt}}}|upright=0.72]] | |
{{{module}}} | |
વેબસાઈટ | |
{{{website}}} | |
Lua error in mw.title.lua at line 318: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal'). |
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 = <!-- use only when necessary per [[WP:INFONAT]] -->
| citizenship = <!-- use only when necessary per [[WP:INFONAT]] -->
| 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 -->
}}
{{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_place = | death_date = | death_place = | resting_place = | occupation = | language = | nationality = | citizenship = | education = | alma_mater = | period = | genre = | subject = | movement = | notable_works = | spouse = | partner = | children = | relatives = | awards = | signature = | signature_alt = | years_active = | module = | website = | portaldisp = }}
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.
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).
|
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, use only when necessary per WP:INFONAT. |
citizenship | Citizenship of person., use only when necessary per WP:INFONAT. |
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).
|
partner | Name of long-term unmarried partner(s) (e.g., domestic partner). Use {{Plainlist}} for multiple values (see information at Template:Infobox person).
|
children | Number of children (e.g., 3), or list of children names. Use {{Plainlist}} for multiple values (see information at Template:Infobox person).
|
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).
|
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).
|
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 {{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. |
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 for Infobox writer
TemplateData
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Infobox writer may be used to summarize information about a person who is a writer/author (includes screenwriters).
|
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). 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
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.
Tracking categories
- Category:Biography template using pronunciation (0)
- Category:Pages using Infobox writer with unknown parameters (0)
See also
- {{Infobox person}}
- Pages with script errors
- Infobox templates
- Templates that generate short descriptions
- Templates using TemplateData
- Templates generating hCards
- Publishing infobox templates
- People and person infobox templates
- Biographical templates usable as a module
- Infobox templates with module parameter
- Templates that add a tracking category