Template:Infobox artist discography
Infobox artist discography音乐作品 |
---|
本模板含有複雜而精密的扩展语法。 編輯本模板前,建議您先熟悉解析器函數与本模板的设计思路、运作原理等。若您的編輯引發了意外的問題,請儘快撤銷編輯,因為本模板可能被大量頁面使用。 您所作的编辑可先在模板沙盒或您的个人页面中进行測試。 |
{{Infobox artist discography}} is the standard infobox for discography articles, and is within the purview of WikiProject Albums. Please discuss major changes on the talk page before making them.
This template is designed for use in discography articles within Category:Discographies. It displays the number of studio albums, live albums, compilation albums, singles, video releases, EPs, etc., by an artist or group.
Placement
编辑This template should be placed in an article at the top of the page, before the introduction.
Basic usage
编辑Powderfinger音乐作品 | |
---|---|
录音室专辑 | 6 |
现场专辑 | 2 |
合辑 | 1 |
视频专辑 | 3 |
音乐视频 | 18 |
EP | 4 |
单曲 | 22 |
B面 | 15 |
原声专辑 | 5 |
致敬专辑 | 2 |
{{Infobox artist discography | Artist = [[Powderfinger]] | Image = Powderfinger performing September 2007 (b).jpg | Caption = Powderfinger performing live | Alt = Photograph of band playing | Studio = 6 | Live = 2 | Compilation = 1 | Video = 3 | Music videos = 18 | Tribute = 2 | EP = 4 | Singles = 22 | B-sides = 15 | Soundtrack = 5 }}
Example:(see result on right)
Code
编辑{{Infobox artist discography | Artist = | Image = | Caption = | Alt = | Studio = | Live = | Compilation = | Internet = | Video = | Music videos = | EP = | Singles = | B-sides = | Soundtrack = | Tribute = }}
Fields
编辑When using the template, it is not necessary to delete any fields that are not being used. Most fields are optional; if no data is supplied, the row will simply not appear once the page is saved.
Artist
编辑The name of the group or artist ("the act") in plain text only. Logos and other graphics are to be avoided in this field in accordance with WP:ACCESS and WP:FAIR. Use an internal link or piped internal link to the main article about the artist. For help with internal links, see the Editing FAQ. This field is mandatory.
Image
编辑An image of the act, sufficiently clear for display at 200 pixels' width. Set to only the image name, e.g. Example.png, not Image:Example.png or [[Image:Example.png|200px|abc]]. Images used should ideally be free images; that is, not subject to copyright restrictions. If no free image is available it may be possible to use a non-free image under a claim of fair use, provided the image meets Wikipedia's non-free content criteria (for more information see WP:NFCC and WP:NFC).
Alt
编辑Alt text for the image, as per WP:ALT. This is for describing the image to people who cannot see the image, and typically should not be the same as the caption.
Caption
编辑Caption for the image to be displayed. Do not link years in the caption e.g. do not link [[2007]].
Types of releases
编辑There are individual fields for the various types of releases (studio, live, compilation, video, music videos, tribute, EP, singles, b-sides, and soundtrack). In each field place the number of each type that the artist has released. Use only numeric values in these fields. For other types of releases, see "Advanced usage" below.
Advanced usage
编辑Optional labels
编辑- Please use these functions sparingly.
As not all musical artists are the same, some will have the need to have different labels for their discography, such as a collaboration or unreleased songs. To list these options, use |Option=
and |Option name=
and up to three additional options, as in the example below.
Fall Out Boy音乐作品 | |
---|---|
录音室专辑 | 5 |
现场专辑 | 2 |
合辑 | 2 |
网络专辑 | 7 |
视频专辑 | 7 |
音乐视频 | 12 |
EP | 5 |
单曲 | 27 |
B面 | 15 |
原声专辑 | 1 |
致敬专辑 | 1 |
Side projects | 5 |
Demos | 3 |
Mash-ups | 2 |
Sample contributions | 11 |
Example:(see result on right)
{{Infobox artist discography | Artist = [[Fall Out Boy]] | Image = Fall Out Boy-Rock im Park 2014- by 2eight DSC8554.jpg | Caption = Fall Out Boy, 2007 | Alt = Photograph of band playing | Studio = 5 | Live = 2 | Compilation = 2 | Internet = 7 | Video = 7 | Music videos = 12 | EP = 5 | Singles = 27 | B-sides = 15 | Soundtrack = 1 | Tribute = 1 | Option name = Side projects | Option = 5 | 1Option name = Demos | 1Option = 3 | 2Option name = Mash-ups | 2Option = 2 | 3Option name = Sample contributions | 3Option = 11 }}