模板:Infobox record label

文檔圖示 模板文檔[檢視] [編輯] [歷史] [清除快取]

參數及使用方法 編輯

Template:Parameter names example

本模板能在唱片公司條目中加入信息框。模板代碼應該位於頁面的最上方,文章之前(參見:Wikipedia:格式手冊/序言章節),但要在消歧義提示之下(參見:Wikipedia:管理員不是什麼)。

範例 編輯

為了方便,你可以直接複製粘貼以下代碼(填充相關字段,刪除不相關的字段,省略你不知道或可以今後使用的字段的自述信息):

{{Infobox record label <!-- See Wikipedia:WikiProject_Music -->
| name        = <!-- 显示在表头的厂牌名,与页面标题相同 -->
| image       = <!-- 徽标, 如“LABEL-LOGO.jpg” -->
| image_size  = <!-- 大小 -->
| image_alt   = <!-- Wikipedia:图像的替代文字,描述图像的文字 -->
| caption     = <!-- 图片标题 -->
| parent      = <!-- 母公司,如 "[[華納音樂集團]]" -->
| founded     = <!-- 建立时间,如{{start date|1950}} -->
| founder     = <!-- 创立者,使用逗号或者<br />分开 -->
| defunct     = <!-- 厂牌停业时间,如{{end date|1990}} -->
| status      = <!-- 除"Inactive"(不活跃)状态之外请留空 -->
| distributor = <!-- 发行厂牌, 使用逗号或者<br />分开 -->
| genre       = <!-- 如"[[World music|World]]"或"Various",使用逗号或者<br />分开 -->
| country     = <!-- 地区,如"U.S."或"{{Flag|Turkey}}" -->
| location    = <!-- 总部地区及国家 -->
| website     = <!-- 如"{{URL|www.atlanticrecords.com}}" -->
}}

空白示例 編輯

如果你已知哪些字段該填寫哪個,下面這個空白示例可以直接複製粘貼到你的文章並立刻填充內容,不必去刪除備註。

{{Infobox record label <!-- See Wikipedia:WikiProject_Music -->
| name        = 
| image       = 
| image_size  =
| image_alt   =
| caption     =  
| parent      = 
| founded     = <!-- {{Start date|YYYY}} -->
| founder     = 
| defunct     = <!-- {{End date|YYYY}} -->
| status      = 
| distributor = 
| genre       = 
| country     = 
| location    = 
| website     = <!-- {{URL|example.com}} -->
}}

字段 編輯

所有的字段均為可選填(不填寫不會引起顯示錯誤),但推薦您去填寫儘量多的又來源的信息,特別是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 Template:Nobold url
使用{{[[Template:URL|URL}}來指向唱片公司的官方網站,如:
{{URL|www.atlanticrecords.com}} (簡潔版)
{{URL|www.kalan.com/english/scripts|Kalan.com}} (完整版)

Additional field not provided by default:

bgcolor
(以棄用,默認為"Template:Colors")資料框標題背景色,除非有合理需要否則不應使用。

示例 編輯

Republic Records
母公司 Universal Music Group
創立 1995年 (1995)
創立者 Template:Ubl
發行廠牌 Template:Ubl
類型 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 (因為此公司既不為非活躍狀態也非停業,而且並近期沒有必要使用此字段的跡象)。

分類 編輯

此模板不創建任何文章的自動分類。你需要自己添加你的文章到相關的分類,以下是推薦的分類(和它們的子分類):

微格式 編輯

Template:UF-hcard-org

參見 編輯

模板數據 編輯

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}}
字串非必填