This is the template sandbox page for Template:Infobox record label (diff). See also the companion subpage for test cases. |
This template is used on approximately 4,100 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.
Preview message: Transclusion count updated automatically (see documentation). |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
This template uses Lua: |
{{{name}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]] | |
Parent company | {{{parent}}} |
Founded | {{{founded}}} |
Founder | {{{founder}}} |
Defunct | {{{defunct}}} |
Status | {{{status}}} |
Distributor(s) | {{{distributor}}} |
Genre | {{{genre}}} |
Country of origin | {{{country}}} |
Location | {{{location}}} |
Official website | {{{website}}} |
{{{misc}}} | |
Slogan | {{{slogan}}} |
{{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).
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 "LABEL-LOGO.svg" -->
| image_size = <!-- size -->
| image_alt = <!-- WP:ALT text describing the image -->
| caption = <!-- a caption for the image -->
| parent = <!-- parent company, such as "[[Warner Music Group]]" -->
| founded = <!-- year of foundation, such as {{start date|1950}} -->
| founder = <!-- name of founders, separated by using commas, {{Flatlist}} or {{Hlist}} -->
| defunct = <!-- year the label dissolved, such as {{end date|1990}} -->
| slogan = <!-- advertising slogan or "motto" of the label, if any -->
| status = <!-- leave blank unless "Inactive" -->
| distributor = <!-- distributors, separated by using commas, {{Flatlist}} or {{Hlist}} -->
| genre = <!-- such as "[[World music|World]]" or "Various", separated by using commas, {{Flatlist}} or {{Hlist}} -->
| country = <!-- origin, such as "United States" or "Turkey" -->
| location = <!-- headquarters city and state -->
| website = <!-- such as "{{URL|www.atlanticrecords.com}}" -->
}}
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_size =
| image_alt =
| caption =
| parent =
| founded = <!-- {{Start date|YYYY}} -->
| founder =
| slogan =
| defunct = <!-- {{End date|YYYY}} -->
| status =
| distributor =
| genre =
| country =
| location =
| website = <!-- {{URL|example.com}} -->
}}
All fields are currently optional (in that not filling them won't cause a display error), but it is recommended to try and fill as much as possible within sourced information, especially founded
and country
. An empty {{Infobox record label}} will generate only the blue heading with the name of the article.
LABEL-LOGO.jpg
.[[Warner Music Group]]
.Inactive
.[[World music|World]]
or Various
, separated by using commas, {{Flatlist}} or {{Hlist}}.United States
or Turkey
. Do not use abbreviations unless absolutely necessary. Do not use flags per WP:INFOBOXFLAG.{{URL|www.atlanticrecords.com}}
(concise) {{URL|www.kalan.com/english/scripts|Kalan.com}}
(qualified)Additional field not provided by default:
Be careful not to use {{small}} or <small> markup in the infobox as infoboxes already use smaller text than the article body and when the font is made too small it is difficult for those with accessibility needs to read.
Republic Records | |
---|---|
Parent company | Universal Music Group |
Founded | 1995 |
Founder |
|
Distributor(s) |
|
Genre | Various |
Country of origin | United States |
Location | New York City |
Official website | www |
{{Infobox record label
| name = Republic Records
| image_name = Wikipedia-logo-v2-en.svg
| image_size = 100px
| parent = [[Universal Music Group]]
| founded = {{Start date|1995}}
| founder = {{hlist| [[Monte Lipman]] | Avery Lipman }}
| distributor = {{hlist| Universal Music Group (Worldwide) | [[Virgin EMI Records]] (in the UK) }}
| genre = Various
| country = United States
| location = New York City
| website = {{URL|www.republicrecords.com}}
}}
The above template code example produces the infobox displayed at right.
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.bgcolor
(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).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:
Please do not remove instances of these subtemplates.
The HTML classes of this microformat include:
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Infobox record label in articles based on its TemplateData.
TemplateData for Infobox record label An infobox used to describe a record label, it's general and corporate information, as well as location and official website
|