模板:Infobox record label

維基百科,自由的百科全書
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

參數及使用方法[編輯]

此模板能在唱片公司條目中加入信息框。模板代碼應該位於頁面的最上方,文章之前(參見: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}}
字串選填