Jump to content

Template:Infobox record label/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Komusou (talk | contribs)
added the "See Wikipedia:WikiProject_Music" HTML comment to other examples too, removed erroneous <br /> that was displayed
Komusou (talk | contribs)
rem note about year "It would appear as "''that year'' in music"." (current template doesn't do that), updated note about URL field (formatted URL is both doable and recommended) with two examples
Line 42: Line 42:
* '''name''' (optional, default as per page name). Specifies label name in box title and when referring to its official site.
* '''name''' (optional, default as per page name). Specifies label name in box title and when referring to its official site.
* '''image_bg''' (optional, default: '''white'''). Can be used to specify background to display image against. All [[Cascading Style Sheets|CSS]] color specifiers may be used. However, it is generally recommended to leave it unspecified, so it will remain white as default.
* '''image_bg''' (optional, default: '''white'''). Can be used to specify background to display image against. All [[Cascading Style Sheets|CSS]] color specifiers may be used. However, it is generally recommended to leave it unspecified, so it will remain white as default.
* '''founded''' (required). Foundation year, just 4 digits, without any links. It would appear as "''that year'' in music".
* '''founded''' (required). Foundation year, just 4 digits, without any links.
* '''url''' (optional). Specifies official site of record label. Note that there should be no wiki-formatting of link, just plain URL.
* '''url''' (optional). Specifies official site of record label. The link can be wiki-formatted to shorten or qualify the actual URL, such as:
** [http://www.atlanticrecords.com/ Atlantic Records.com] for http://www.atlanticrecords.com/
** [http://www.kalan.com/english/scripts/ Kalan.com (English)] for http://www.kalan.com/english/scripts/


== Example ==
== Example ==
Line 58: Line 60:
| country = [[United States|U.S.]]
| country = [[United States|U.S.]]
| location = [[New York, New York]]
| location = [[New York, New York]]
| url = http://www.atlanticrecords.com/
| url = [http://www.atlanticrecords.com/ Atlantic Records.com]
}}
}}


Line 75: Line 77:
| country = [[United States|US]]
| country = [[United States|US]]
| location = [[New York, New York]]
| location = [[New York, New York]]
| url = http://www.atlanticrecords.com/
| url = [http://www.atlanticrecords.com/ Atlantic Records.com]
}}</pre>
}}</pre>
{{-}}
{{-}}

Revision as of 15:13, 5 September 2007


Template:Template doc page viewed directly

Usage

{{infobox record label}} adds an infobox to the article page of a record label.

Minimal code

{{Infobox record label <!-- See Wikipedia:WikiProject_Music -->
 | name        = 
 | founded     = 
}}

Optimal code

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

Attributes

  • name (optional, default as per page name). Specifies label name in box title and when referring to its official site.
  • image_bg (optional, default: white). Can be used to specify background to display 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.
  • founded (required). Foundation year, just 4 digits, without any links.
  • url (optional). Specifies official site of record label. The link can be wiki-formatted to shorten or qualify the actual URL, such as:

Example

Elektra Records
Parent companyWarner Music Group
Founded1950
FounderJac Holzman
Paul Rickholt
Distributor(s)Atlantic Records (in the US)
WEA (outside the U.S.)
GenreVarious
Country of originU.S.
LocationNew York, New York
Official websiteAtlantic Records.com
Template code below produces the infobox result at right.
{{Infobox record label <!-- See Wikipedia:WikiProject_Music -->
 | name        = Elektra Records
 | image       = 
 | image_bg    = white
 | 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|US]]
 | location    = [[New York, New York]]
 | url         = [http://www.atlanticrecords.com/ Atlantic Records.com]
}}

See also