Misplaced Pages

Template:Infobox classical composer: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →
Revision as of 04:31, 20 April 2012 view sourcePlastikspork (talk | contribs)Edit filter managers, Administrators258,808 editsm Plastikspork moved page User:User:Ravpapa/Infobox composer to User:Ravpapa/Infobox composer← Previous edit Revision as of 19:50, 20 April 2012 view source Ravpapa (talk | contribs)Extended confirmed users, Pending changes reviewers, Rollbackers6,089 edits Restoring deleted infoboxNext edit →
(No difference)

Revision as of 19:50, 20 April 2012

Infobox classical composer
Template documentation[view] [edit] [history] [purge]
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 uses Lua:

This infobox is for classical composers. Note that most of the fields are optional and that they should only be used as necessary. This box was created as a result of extended debate in Misplaced Pages talk:WikiProject Composers/Infoboxes RfC; most of the participants there felt strongly that infoboxes should generally be avoided in articles on classical composers and requested that each proposed inclusion should be assessed on a case-by-case basis on that article's talkpage. See also the Composer project guidelines. Please note that only free-content images are allowed for depicting living people - see WP:NONFREE.

Usage

This infobox takes the same parameters as {{Infobox person}}. Please see here for a complete list.

Examples

Short example

Fields that belong in most usages:

Name Lastname
Birth nameName Middlename Lastname
Born(1234-12-12)December 12, 1234
Earth
Historical eraTime
{{Infobox classical composer
| name          = 
| image         = <!-- only free-content images are allowed for depicting living people - see ] -->
| caption       = <!-- Only use to add context to the image. Do not repeat just the person's name here. -->
| birth_name    = <!-- Use only if different from name in header -->
| birth_date    = <!-- {{Birth date|YYYY|MM|DD}} (Use {{Birth date and age|YYYY|MM|DD}} if still living) No flag icons. For living people supply only the year unless the exact date is already WIDELY published, as per ]. Use {{birth year and age|YYYY}}. -->
| death_date    = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth) -->
| era           = <!-- Suggest: Medieval, Renaissance, Baroque, Classical, Romantic, 20th century, Contemporary. From ]. Follow wording in lead and categories -->
| list_of_works = <!-- Link to "List of works" subarticles here. Do not list individual pieces. -->
}}

Longer examples

Examples with more of the fields used, some of which are disputable/inapplicable in any given article.

Use with caution and consensus.

The additional fields here, are: |honorific_prefix=, |honorific_suffix=, |baptised=, |flourished=, |notable_family=, and |occupations=.

{{Infobox classical composer
| honorific_prefix = 
| name             = 
| honorific_suffix = 
| image            = <!-- Only free-content images are allowed for depicting living people – see ]. -->
| image_size       = 
| alt              = 
| caption          = <!-- Only use to add context to the image. Do not repeat just the person's name here. -->
| birth_name       = <!-- Use only if different from name in title. -->
| birth_date       = <!-- {{Birth date|YYYY|MM|DD}} (Use {{Birth date and age|YYYY|MM|DD}} if still living). ]. -->
| birth_place      = 
For living people supply only the year unless the exact date is already WIDELY published, as per ]. Treat such cases as if only the year is known, so use {{tl|birth year and age}} or a similar option. -->
| baptised         = <!-- Use Baptised if Born date is unavailable, do not use both. -->
| death_date       = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth). -->
| death_place      = 
| occupations      = <!-- Use this field *only* if the person was also **notable** for contributions in another discipline.  If notable as a composer only, leave blank. -->
| flourished       = <!-- Use as a substitute for <code>born</code> and <code>died</code> where appropriate. -->
| era              = <!-- Suggest: Ancient, Biblical, Medieval, Renaissance, Baroque, Classical, Romantic, 
                   20th century, Contemporary. From ]. Follow wording in lead and categories. -->
| known_for        = <!-- For pre-modern subjects, can be used as an alternative to the anachronistic "occupation"; not used for works (see next parameter). -->
| list_of_works    = <!-- Link to "List of works" subarticle here. Do not list individual pieces. -->
| spouse           = <!-- Use article title or common name -->
| partner          = <!-- (unmarried long-term partner) -->
| children         =
| parents          = <!-- overrides mother and father parameters -->
| notable_family   = <!-- e.g. ], ], etc. Include only those with "family" articles. -->
}}

Fields that are specifically excluded

Note - the Composers project RfC on infoboxes concluded that this box should remain minimal; the following fields were felt to be ambiguous or otherwise unhelpful:

  • Instruments – because most composers play a few instruments. Any prominent instances can be added to the "Other occupations" field (e.g. ], ], ]).
  • Teachers, Students, Collaborators, Employers – too indefinite. Could hypothetically include anything from week-long to lifetime-long relationships.
  • Main cities of residence – too indefinite.
  • Styles/schools – e.g. Verismo, Futurism, etc. Too ambiguous, and often only apply to single works, instead of whole careers.
  • Genres – e.g. Symphonic, Chamber music, Opera, etc. Too ambiguous, and often only apply to single works, instead of whole careers.
  • Labels – because even authors do not have their publishers listed in their infoboxes (only the books themselves do). Seems non-essential for an infobox.
  • Associated_acts – generally inapplicable, except to contemporary composers. Also, the word "acts" is too ambiguous.
  • Alias – generally inapplicable. Even articles on jazz royalty do not normally use nicknames in their infoboxes unless the nickname is used almost exclusively in preference to the given name.

Handy references

(Original working notes)

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 Misplaced Pages 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 Misplaced Pages, 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.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox classical composer in articles based on its TemplateData.

TemplateData for Infobox classical composer

An infobox for articles about classical music composers

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Honorific prefixhonorific_prefix honorific-prefix honorific prefix pre-nominals

Honorific prefix(es), to appear on the line above the person's name

Unknownoptional
Namename

Common name of person (defaults to article name if left blank; provide birth_name (below) if different from name). If middle initials are specified (or implied) by the lead of the article, and are not specified separately in the birth_name field, include them here.

Stringsuggested
Post-nominalshonorific_suffix honorific-suffix honorific suffix post-nominals

Honorific suffix(es), to appear on the line below the person's name

Unknownoptional
Imageimage

Image name: abc.jpg, xpz.png, 123.gif, etc. If an image is desired but not available, one may add "yes" to the "needs-photo" section of the :Template:WPBiography on the talkpage. If no image is available yet, do not use an image placeholder.

Example
abc.jpg, xpz.png, 123.gif
Filesuggested
Image uprightimage_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%).

Default
1
Example
1.15
Numberoptional
Landscapelandscape

Set to yes when using wide, short images. The image height (rather than width) will be limited to 200 pixels.

Booleanoptional
DEPRECATED: Image sizeimage_size image size imagesize

DEPRECATED/DISCOURAGED. Size to display image: 200px (set width), x300px (set height), or 200x300px (max width & max height). This defaults to frameless (default is 220px, but logged in users can change this by clicking on "my preferences" and adjusting thumbnail size) if empty or omitted. Use of this parameter is discouraged as per WP:IMGSIZE. Use image_upright instead.

Default
220px
Example
200px
Unknowndeprecated
Altalt

Alt text for image, for visually impaired readers. One word (such as "photograph") is rarely sufficient. See WP:ALT.

Stringoptional
Captioncaption image caption image_caption

Caption for image, if needed. Try to include date of photo and the photographer.

Stringoptional
Native namenative_name

The person's name in their own language, if different.

Stringoptional
Native name languagenative_name_lang

ISO 639-1 code, e.g., "fr" for French. If more than one, use Template:lang in `native_name` instead.

Unknownoptional
Native name pronunciationpronunciation

Details of how to pronounce the individual's native name.

Unknownoptional
Other namesother_names other names othername nickname alias

Other notable names for the person, if different from name and birth_name.

Unknownoptional
Siglumsiglum

Siglum, monogram, shortcut, if relevant.

Unknownoptional
Birth namebirth_name birthname

Name at birth; only use if different from name.

Stringoptional
Birth datebirth_date

Date of birth: {{Birth date and age|YYYY|MM|DD}} for living people. For people who have died, use {{Birth date|YYYY|MM|DD}}. If only a year of birth is known, or age as of a certain date, consider using Template:birth year and age or Template:birth based on age as of date.

Contentoptional
Birth placebirth_place

Place of birth: city, administrative region, sovereign state. Use the name of the birthplace at the time of birth, e.g.: Saigon (prior to 1976), Ho Chi Minh City (post 1976). Do not use a flag template.

Stringoptional
Baptisedbaptised baptized

Date of baptism: ONLY for use when birth date is not known (e.g., Beethoven). Will not display if a birth date is entered. Do not use subtemplates. Parameter 'baptized' can be used for articles that use American english spelling.

Dateoptional
Disappeared datedisappeared_date

(For missing people) Date of disappearance: Template:disappeared date and age (if birth date is known) or Template:disappeared date (if birth date unknown).

Unknownoptional
Disappeared placedisappeared_place

(For missing people) Place of disappearance: city, administrative region, sovereign state. Do not use a flag template.

Unknownoptional
Disappeared statusdisappeared_status status

(For missing people) Current status for the person, e.g., if the person is still regarded as missing (using Template:missing for to calculate the time since disappearance), or if the person has been declared dead in absentia, with a date for such a ruling.

Unknownoptional
Death datedeath_date

Date of death: {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (if birth date is known) or Template:death date (if birth date unknown). See Template:Death date/doc for details on usage. If exact dates are unknown, consider using Template:death year and age.

Unknownoptional
Death placedeath_place

Place of death: city, administrative region, sovereign state. Note: Do not use a flag template. Use the name of the deathplace at the time of death, e.g.: Saigon (prior to 1976), Ho Chi Minh City (post 1976)

Stringoptional
Death causedeath_cause death cause

Cause of death. This should only be included when the cause of death has significance for the subject's notability.

Unknownoptional
Body discoveredbody_discovered body discovered

Place where the body was discovered (if different from place of death). Do not use a flag template.

Unknownoptional
Resting placeresting_place resting place restingplace

Place of burial, ash-scattering, etc. Do not use a flag template.

Unknownoptional
Resting place coordinatesresting_place_coordinates resting place coordinates restingplacecoordinates

Coordinates for place of burial, ash-scattering etc. Use Template:coord template.

Unknownoptional
Burial placeburial_place

Place of burial, alternative to 'Resting place' Displays the label 'Burial place'.

Contentoptional
Burial place coordinatesburial_coordinates

Coordinates for place of burial, to accompany 'Burial place'. Use {{coord}} template.

Unknownoptional
Monumentsmonuments

Significant monuments erected, buildings named, etc., in honour of the subject. If many, link to an appropriate section of the article instead.

Unknownoptional
Nationalitynationality

Deprecated; do not use.

Stringoptional
Citizenshipcitizenship

Country of legal citizenship, if different from nationality. Rarely needed. Should only be used if citizenship cannot be inferred from the birthplace. Do not use a flag template.

Stringoptional
Educationeducation

Education, e.g., degree, institution and graduation year, if relevant. If very little information is available or relevant, the `alma_mater` parameter may be more appropriate.

Unknownoptional
Alma materalma_mater alma mater

Alma mater. This parameter is a more concise alternative to `education`, and will most often simply consist of the linked name of the last-attended higher education institution. It is usually not relevant to include either parameter for non-graduates, but article talk page consensus may conclude otherwise, as at Bill Gates.

Unknownoptional
Occupationoccupation

Occupation(s) as given in the lead.

Unknownoptional
Years activeyears_active years active yearsactive

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.

Unknownoptional
Eraera

Era during which the subject lived or was active. Less specific than 'years active'.

Unknownoptional
Employeremployer

Employer(s), if relevant.

Unknownoptional
Organizationorganization organizations organisation organisations

Non-employing organization(s), if relevant.

Unknownoptional
Agentagent

The subject's agent (individual and/or agency), discouraged in most cases, specifically when promotional, and requiring a reliable source.

Unknownoptional
Known Forknown_for known for known

A brief description of what the person is notable for.

Example
Environmental activism
Unknownoptional
Notable worksnotable_works works credits notable works label_name

Title(s) of notable work(s) (publications, compositions, sculptures, films, etc.) by the subject, if any.

Unknownoptional
Stylestyle

The style in which the subject works, if applicable.

Unknownoptional
DEPRECATED: Net worthnet_worth net worth networth

Current estimated net worth, if relevant. Please be sure to support with a citation from a reliable source, in the article body.

Unknowndeprecated
Heightheight

If person was notable for their height, or if height is relevant. If used, this should also include the year of the measurement if the person had not reached full adulthood when this stat was published. See documentation of this parameter at Template:Infobox sportsperson for more information.

Unknownoptional
Height in metresheight_m

If person was notable for their height, or if height is relevant, their height in metres (it will be automatically converted to Imperial).

Numberoptional
Height in centimetresheight_cm

If person was notable for their height, or if height is relevant, their height in centimetres (it will be automatically converted to Imperial).

Numberoptional
Height in feetheight_ft

If person was notable for their height, or if height is relevant, their height in whole feet (it will be automatically converted to SI). Use with height_in.

Numberoptional
Remaining height in inchesheight_in

If person was notable for their height, or if height is relevant, their height in remaining inches (it will be automatically converted to SI). Use with height_ft.

Numberoptional
DEPRECATED: Weightweight

no description

Unknowndeprecated
DEPRECATED: Weight in kilogrammesweight_kg

If person was notable for their weight, or if weight is relevant, their weight in kilogrammes (it will be automatically converted to Imperial).

Unknowndeprecated
DEPRECATED: Weight in poundsweight_lb

If person was notable for their weight, or if weight is relevant, their weight in pounds, or their weight in remaining pounds if weight in whole stones is specified (it will be automatically converted to SI).

Unknowndeprecated
DEPRECATED: Weight in stonesweight_st

If person was notable for their weight, or if weight is relevant, their weight in whole stones (it will be automatically converted to SI).

Unknowndeprecated
Televisiontelevision

Television programmes presented by or closely associated with the subject.

Unknownoptional
Titletitle office

Multiple uses: Formal title, such as First Lady of Japan for Akie Abe.; Awarded title, such as Mr. Olympia for Arnold Schwarzenegger.; Job title, such as President of Calvin College for Anthony Diekema.; A combination of the above, such as Professor of Mathematics and Fellow of the Royal Society for Bill Parry See also "awards" parameter, below, for awarded honors that are not really titles. A single award should not use both parameters.

Unknownoptional
Termterm

Years the person held the title listed above.

Unknownoptional
Predecessorpredecessor

Person who previously held the title listed above.

Unknownoptional
Successorsuccessor

Person who subsequently held the title listed above.

Unknownoptional
Partyparty

If relevant. Field labelled Political party.

Unknownoptional
Other partyotherparty

If relevant. Field labelled Other political affiliations.

Unknownoptional
Movementmovement

If relevant. '''Movement''' can be social, political (non-party), artistic, philosophical, literary, cultural, etc.

Unknownoptional
Opponentsopponents

Notable relevant opponents (e.g., for major political office).

Unknownoptional
Boardsboards

For board of directors membership(s), if relevant. Field labeled Board member of.

Unknownoptional
Criminal charge(s)criminal_charges criminal_charge criminal charge

For convicted criminals only. Please be certain to support these parameters with citations from reliable sources in the article body.

Unknownoptional
Criminal penaltycriminal_penalty criminal penalty

For convicted criminals only. Please be certain to support these parameters with citations from reliable sources, in the article body.

Unknownoptional
Criminal statuscriminal_status judicial_status judicial status criminal status

For convicted criminals only. Please be certain to support these parameters with citations from reliable sources, in the article body.

Unknownoptional
Spouse(s)spouse spouses spouse(s)

Name of spouse(s), followed by years of marriage. Use the format Name (married 1950–present) for a current spouse, and Name (married 1970–1999) for former spouse(s). Separate entries using Template:Plainlist or Template:Unbulleted list. For deceased persons still married at time of death, do not include an end year. {{Marriage}} may be used.

Unknownoptional
Partner(s)partner partners partner(s) domestic_partner domesticpartner

For unmarried life partners in a domestic partnership (of any gender or sexual orientation), not business partners. Use the format Name (1950–present) for current partner and Name (1970–1999) for former partner(s).

Unknownoptional
Childrenchildren

Number of children (e.g., 3), or list of independently notable names, in which case, separate entries using Template:Plainlist or Template:Unbulleted list. Names may be preceded by a number to show total children and avoid implying that named children are the only offspring. For privacy reasons, consider omitting the names of children of living persons, unless notable.

Unknownoptional
Parent(s)parents

Names of parents. Separate entries using Template:Plainlist or Template:Unbulleted list. If subject has only one notable mother and/or father, 'mother' and 'father' parameters may be used instead

Unknownoptional
Mothermother

Name of mother; include only if subject has one mother who is independently notable or particularly relevant. Overwritten by 'parents' parameter.

Stringoptional
Fatherfather

Name of father; include only if subject has one father who is independently notable or particularly relevant. Overwritten by 'parents' parameter.

Stringoptional
Relativesrelatives relations

Names of siblings or other relatives. Include the relationship in parentheses after the name (sister, uncle, etc). Separate entries using Template:Plainlist or Template:Unbulleted list.

Unknownoptional
Familyfamily

Family or house of the individual, if notable.

Unknownoptional
Callsigncallsign

Amateur radio call sign, if relevant.

Unknownoptional
Awardsawards

Notable awards. If many, link to an appropriate section of the article instead. See also "title" parameter, above, for awarded titles. A single award should not use both parameters.

Unknownoptional
Honourshonours honors

Honours the individual has been awarded, if notable.

Unknownoptional
Websitewebsite homepage URL url

Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} or {{Official URL}}. Do not include the www. part unless the server requires it. Use camel case capitalization to make multiword domain names easier to read.

Example
{{URL|example.com}}
Contentsuggested
Modulemodule misc

Used for embedding other infoboxes into this one.

Unknownoptional
Module twomodule2 misc2

Used for embedding other infoboxes into this one.

Unknownoptional
Module threemodule3 misc3

Used for embedding other infoboxes into this one.

Unknownoptional
Module fourmodule4 misc4

Used for embedding other infoboxes into this one.

Unknownoptional
Module fivemodule5 misc5

Used for embedding other infoboxes into this one.

Unknownoptional
Module sixmodule6 misc6

Used for embedding other infoboxes into this one.

Unknownoptional
Signaturesignature

An image of the person's signature. Please use image name: abc.jpg, xpz.png, 123.gif, etc.

Fileoptional
Signature typesignature_type

Alter from Signature to, for example, Seal

Stringoptional
Signature sizesignature_size

Default is 150px. If necessary, a signature can be resized manually as per the "image_size" parameter.

Unknownoptional
Signature altsignature_alt signature alt

Alt text for the signature image. For example, for :File:Thomas Jefferson Signature.svg, the alt text might be |signature_alt= Th: Jefferson, spelling out the signature exactly as it appears in the image.

Stringoptional
Footnotesfootnotes

Notes about any of the infobox data.

Unknownoptional
nocat_wdimagenocat_wdimage

Where an infobox has no image but Wikidata has an image name, add an image or |nocat_wdimage=yes to the infobox.

Stringoptional
DEPRECATED: Name CSS over-rideabovestyle

DEPRECATED: A CSS style to use for the individual's name, over-riding the community norm. Only use in exception circumstances.

Unknowndeprecated
DEPRECATED: Use as an embedded infoboxchild embed

DEPRECATED: Use this infobox within another one. For experts only.

Example
yes
Unknowndeprecated
DEPRECATED: Influencesinfluences

DEPRECATED and unused in the infobox. Do not use.

Unknowndeprecated
DEPRECATED: Influencedinfluenced

DEPRECATED and unused in the infobox. Do not use.

Unknowndeprecated
DEPRECATED: home_townhome_town home town

The place where the person was raised and matured, if different from birth place.

Unknowndeprecated

Tracking categories

See also

The above documentation is transcluded from Template:Infobox classical composer/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: