Template:Infobox record label

From Wikipedia, the free encyclopedia

Infobox record label
{{{image}}}
Parent company {{{parent}}}
Founded {{{founded}}}
Founder {{{founder}}}
Status {{{status}}}
Distributing label {{{distributor}}}
Genre {{{genre}}}
Country of origin {{{country}}}
Location {{{location}}}
Official website {{{url}}}
[edit] Template documentation
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the local /sandbox or your user space before changing anything here.

Contents

[edit] Usage

{{Infobox record label}} adds an infobox to the article page of a record label. The template's code should go at the top of the page, before the article lead section, but below disambiguation notices (see also WP:WAI).

[edit] Pre-filled sample

For simple use, you can directly cut-n-paste the sample code below (filling in the relevant fields, deleting the irrelevant fields, and leaving out with their self-documentation comments the fields you don't know or that can be used later):

{{Infobox record label <!-- See Wikipedia:WikiProject_Music -->
| name        =  <!-- "label name" displayed in box title, defaults to page title -->
| image       =  <!-- logo, such as "[[Image:LABEL-LOGO.jpg|100px]]", jpg or png file -->
| image_bg    =  <!-- (background color for logo, should remain empty/white unless required) -->
| parent      =  <!-- parent company, such as "[[Warner Music Group]]" -->
| founded     =  <!-- year of foundation, such as "1950", unlinked -->
| founder     =  <!-- name of founders, separate with commas or BR -->
| status      =  <!-- leave blank unless "Inactive" or "Defunct" -->
| distributor =  <!-- distributors, separate with commas or BR -->
| genre       =  <!-- such as "[[World music|World]]" or "Various", separate with commas or BR -->
| country     =  <!-- origin, such as "[[United States|U.S.]]" or "{{Flag|Turkey}}" -->
| location    =  <!-- headquarters city and state -->
| url         =  <!-- such as "[http://www.atlanticrecords.com/ Atlantic Records.com]" -->
}}

[edit] Empty sample

If you already know exactly what goes into each field, this version too can be cut-n-pasted directly into your article and filled on the spot, without having to delete the helper comments as you fill it:

{{Infobox record label <!-- See Wikipedia:WikiProject_Music -->
| name        = 
| image       = 
| image_bg    = 
| parent      = 
| founded     = 
| founder     = 
| status      = 
| distributor = 
| genre       = 
| country     = 
| location    = 
| url         = 
}}

[edit] Fields

All fields are currently optional (in that not filling them won't cause a display error), but it is recommanded to try and fill as much as possible within sourced informations, especially founded and country. An empty {{Infobox record label}} will generate only the blue heading with the name of the article.

name 
(Defaults to article name.) Label name displayed in infobox title.
image 
Label logo, such as [[Image:LABEL-LOGO.jpg|100px]]. (The original logo image being often too large, it is preferably resized between 100 pixels and 200 pixels wide, depending on its portrait or landscape orientation.)
image_bg 
(Defaults to "white".) Can be used to specify background color to display the image against. All CSS color specifiers may be used. However, it is generally recommended to leave it unspecified, so it will remain white as default.
parent 
Parent company, such as [[Warner Music Group]].
founded 
Foundation year, just 4 digits, such as "1950", unlinked.
founder 
Name of founders, separate with commas or <br />.
status 
Leave blank unless Inactive or Defunct.
distributor 
Distributors, separate with commas or <br />.
genre 
Such as [[World music|World]] or Various, separate with commas or <br />.
country 
Origin, such as [[United States|U.S.]] or {{Flag|Turkey}}.
location 
Headquarters city and state.
url 
Specifies official site of record label. The link can be wiki-formatted to make the actual URL appear concise or qualified, for example:
[http://www.atlanticrecords.com/ Atlantic Records.com] (concise)
[http://www.kalan.com/english/scripts/ Kalan.com (English)] (qualified)

Additional field not provided by default:

bgcolor 
(Deprecated, defaults to "LightBlue".) Background color for box title, not to be used unless justified need.

[edit] Example

Elektra Records
Parent company Warner Music Group
Founded 1950
Founder Jac Holzman
Paul Rickholt
Distributing label Atlantic Records (in the U.S.)
WEA (outside the U.S.)
Genre Various
Country of origin U.S.
Location New York, New York
Official website Atlantic Records.com
{{Infobox record label <!-- See Wikipedia:WikiProject_Music -->
| name        = Elektra Records
| image       = [[Image:Wikipedia-logo-en.png|100px]]
| parent      = [[Warner Music Group]]
| founded     = 1950
| founder     = [[Jac Holzman]]<br />[[Paul Rickholt]]
| distributor = [[Atlantic Records]] (in the [[United States|U.S.]])<br
/>[[Warner Music Group|WEA]] (outside the [[United States|U.S.]])
| genre       = Various
| country     = [[United States|U.S.]]
| location    = [[New York, New York]]
| url         = [http://www.atlanticrecords.com/ Atlantic Records.com]
}}

The above template code example produces the infobox displayed at right.

  • The actual logo is not displayed on this documentation page because of fair-use limitations (it can be used only to illustrate the article about it). A Wikipedia logo is used here to demonstrate logo use and placement.
  • Notice in the distributor field how you can go to a new line for a sub-item by hiding the newline in the middle of the <br />. Doing so is not required (the founder field doesn't use it), and neither version affects the output, but it can make the wikicode more readable and editable with long sub-items.
  • Two fields have been deleted: image_bg (because the default white color is to be used here), and status (because the company is neither inactive nor defunct, and currently unlikely to require the field in the near future).

[edit] Categories

The template does not create any automatic categorization of the article. You have to add your article to the relevant categories. Suggested categories (and their subcategories) to investigate include:

Plus one or more possible special case such as:

And possibly more from:

[edit] See also