跳转到内容

Template:Infobox record label/doc

维基百科,自由的百科全书



參數及使用方法

此模板能在唱片公司條目中加入信息框。模板代码应该位于页面的最上方,文章之前(参见:Wikipedia:格式手冊/序言章節),但要在消歧义提示之下(参见:Wikipedia:管理员不是什么)。

範例

如果你已知哪些字段该填写哪个,下面这个空白示例可以直接复制粘贴到你的文章并立刻填充内容,不必去删除备注。

{{Infobox record label
| name =
| image =
| image_name =
| image_size =
| image_alt =
| caption =
| parent =
| founded =
| defunct =
| founder =
| status =
| distributor =
| genre =
| country =
| location =
| website =
}}

字段

所有的字段均为可选填(不填写不会引起显示错误),但推荐您去填写尽量多的又来源的信息,特别是foundedcountry两个字段。空白的{{Infobox record label}} 只会生成文章名的蓝色标题。

name
(默认为文章名)显示在信息框标题出的厂牌名。
image
厂牌徽标,如LABEL-LOGO.jpg
image_size
推荐100到200像素的宽度,基于照片的竖向或横向长度,默认为180像素。
image_alt
描述图像的替代文字
caption
图片的说明。
parent
母公司,如[[華納音樂集團]]
founded
4位数建立年份,使用{{Start date}}。
founder
创立者,使用逗号或者<br />分开。
defunct
4位数停业年份,使用{{end date}}。
status
除了Inactive(不活跃)情况之外,均留空。
distributor
发行者者,使用逗号或者<br />分开。
genre
比如[[World music|World]]或者Various,使用逗号或者<br />分开。 .
country
起源地区,如U.S. 或者 {{Flag|土耳其}}.
location
总部所在国家及地区。
website or url
使用{{[[Template:URL|URL}}来指向唱片公司的官方网站,如:
{{URL|www.atlanticrecords.com}} (简洁版)
{{URL|www.kalan.com/english/scripts|Kalan.com}} (完整版)

Additional field not provided by default:

bgcolor
(以弃用,默认为"LightBlue")资料框标题背景色,除非有合理需要否则不应使用。

示例

Republic Records
母公司Universal Music Group
创立1995年 (1995)
创立者
发行厂牌
类型Various
国家United States
地点New York City
官方网站www.republicrecords.com
{{Infobox record label <!-- See Wikipedia:WikiProject_Music -->
| name        = Republic Records
| image_name  = Wikipedia-logo-v2-en.svg
| image_size  = 100px
| parent      = [[Universal Music Group]]
| founded     = {{Start date|1995}}
| founder     = {{ubl| [[Monte Lipman]] | Avery Lipman }}
| distributor = {{ubl| Universal Music Group (Worldwide) | [[Virgin EMI Records]] (in the UK) }}
| genre       = Various
| country     = United States
| location    = New York City
| website     = {{URL|www.republicrecords.com}}
}}

上方代码即为右侧信息框的源码。

  • 由于合理使用的限制,实际徽标不应显示在此文档页面上(只能用于阐述有关其的文章)。此处维基百科的图像是用于阐述如何使用徽标的。
  • 请注意在distributor字段,你可以在 <br />的中间隐藏新一行以换行。这么做并非必须 (founder 字段并不使用),且版本不影响输出信息,但可以使得在长分项内容中的维基代码更有可读及可修改性。
  • 这里删除了两项字段:image_bg (因为默认色是白色)和status (因为此公司既不为非活跃状态也非停业,而且并近期没有必要使用此字段的迹象)。

分类

此模板不创建任何文章的自动分类。你需要自己添加你的文章到相关的分类,以下是推荐的分类(和它们的子分类):

微格式

这个模板使用了 hCard微格式标记,被标记的组织、机构的详细信息可以被计算机读取,用于自动的对文章进行分类,或者通过专门的阅读器获得信息,以及把信息加入到地址簿。请参看Wikipedia:專題/微格式

hCard所使用的HTML classes包括:

  • adr
  • county-name
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • vcard

请不要对这些classes改名或删除!

参见

模板数据

TemplateData
以下是该模板的模板数据,适用于可视化编辑器等工具。

Infobox record label模板数据

An infobox used to describe a record label, it's general and corporate information, as well as location and official website.

模板参数

此模板首选参数换行的代码块格式。

参数描述类型状态
Background colorbgcolor

Used to change the background color. It is not required and recommended UNLESS a logical and justified reason is given.

默认值
LightBlue.
字符串可选
Namename

The name of the record label. Must not be linked or formatted.

示例值
ex. Modular Recordings
字符串必需
Imageimage

The logo image for the record label.

未知可选
Image sizeimage_size

The size of the image. "px" must not be added; only the numerical value given.

默认值
100px
示例值
ex. 64
未知可选
Image alternative textimage_alt

The alternative text used to describe the image given for visually-impaired readers.

字符串可选
Image captioncaption

A caption for the image.

示例值
Ex. The official logo for Big Beat Records.
字符串可选
Parent companyparent

The parent company that owns the record label. Must be linked and have its own separate article.

示例值
ex. [[Sony Music Entertainment]]
字符串可选
Foundedfounded

The foundation year in which the record label was established. Must only be the year and must use the {{start date and age}} if possible.

示例值
ex. {{start date and age|1887}}
字符串推荐
Defunctdefunct

The year in which the record company was officially dissolved. Must have the {{end date}} template.

示例值
ex. {{end date|1953}}
未知可选
Founderfounder

The person or people who founded the company. If possible, must be linked to its article.

示例值
ex. Pete Doraine
字符串可选
Statusstatus

The current status of the company.

未知弃用
Distributordistributor

The company or companies that distribute the licensed work of the company. If possible, must be linked to its article.

示例值
ex. Sony Music
字符串可选
Genregenre

The genre(s) that are most common for the record label. Must be used with the {{hlist}} template if there are more than one.

示例值
ex. {{hlist|[[Rock music|Rock]]|[[electronica]]|[[electropop]]|[[neo-psychedelia]]|[[psychedelic rock]]}}
字符串推荐
Country of origincountry

The record label's country of origin, where it is headquartered. The country MUST NOT be linked.

示例值
ex. Japan
字符串可选
Locationlocation

The official city in which the record label is headquartered in it's country of origin. The exact address is NOT ALLOWED as only the city is.

示例值
ex. [[Dortmund]]
字符串可选
Websiteurl

The official website for the record label. It must be used in accordance with the {{URL}} template so as to be printer-friendly.

示例值
ex. {{URL|defjam.com}}
字符串可选