Infobox artist discography/sandbox discography |
---|
This is the template sandbox page for Template:Infobox artist discography (diff). See also the companion subpage for test cases. |
This template is used on approximately 6,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
{{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
editThis template should be placed in an article at the top of the page, before the introduction.
Basic usage
editPowderfinger discography | |
---|---|
Studio albums | 6 |
EPs | 4 |
Soundtrack albums | 5 |
Live albums | 2 |
Compilation albums | 1 |
Tribute albums | 2 |
Singles | 22 |
B-sides | 15 |
Video albums | 3 |
Music videos | 18 |
{{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 video = 18
| Tribute = 2
| EP = 4
| Single = 22
| B-side = 15
| Soundtrack = 5
}}
Example:(see result on right)
Code
edit{{Infobox artist discography
| Artist =
| Image =
| Caption =
| Alt =
| Studio =
| EP =
| Mixtape =
| Demo =
| Soundtrack =
| Live =
| Compilation =
| Tribute =
| Remix =
| Single =
| Promotional =
| B-side =
| Video =
| Music video =
}}
Fields
editWhen 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
editThe 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:NFC. 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
editAn 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 [[File: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, provided the image meets Wikipedia's non-free content criteria (for more information see WP:NFCC and WP:NFC).
Alt
editAlt 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
editCaption for the image to be displayed. Do not link years in the caption e.g. do not link [[2007]].
Types of releases
editThere 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
editOptional labels
edit- 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 six additional options, as in the example below.
Fall Out Boy discography | |
---|---|
Studio albums | 5 |
EPs | 5 |
Demo albums | 3 |
Soundtrack albums | 1 |
Live albums | 2 |
Compilation albums | 2 |
Tribute albums | 1 |
Singles | 27 |
B-sides | 15 |
Video albums | 7 |
Music videos | 12 |
Side projects | 5 |
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
| Video = 7
| Music video = 12
| EP = 5
| Single = 27
| B-side = 15
| Soundtrack = 1
| Tribute = 1
| Demo = 3
| Option name = Side projects
| Option = 5
| 2Option name = Mash-ups
| 2Option = 2
| 3Option name = Sample contributions
| 3Option = 11
}}
TemplateData
editStandard infobox for discography articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Artist name | Artist | no description | String | optional |
Title CSS style | abovestyle Abovestyle | no description | String | optional |
Image | Image | no description | File | optional |
Image alt text | alt Alt | no description | String | optional |
Image caption | image caption Image caption Caption | no description | String | optional |
Studio albums | Studio Studios | no description | Number | optional |
Extended plays | EP EPs Extended play Extended plays | no description | Number | optional |
Mixtapes | Mixtape Mixtapes | no description | Number | optional |
Demo albums | Demo Demos | no description | Number | optional |
Soundtrack albums | Soundtrack Soundtracks | no description | Number | optional |
Live albums | Live Lives | no description | Number | optional |
Compilation albums | Compilation Compilations | no description | Number | optional |
Tribute albums | Tribute Tributes | no description | Number | optional |
Remix albums | Remix Remixes | no description | Number | optional |
Singles | Single Singles | no description | Number | optional |
Promotional singles | Promotional Promotionals | no description | Number | optional |
B-sides | B-side B-sides | no description | Number | optional |
Video albums | Video Videos | no description | Number | optional |
Music videos | Music video Music videos | no description | Number | optional |
Option name | Option name | no description | String | optional |
Option | Option | no description | Number | optional |
1Option name | 1Option name | no description | String | optional |
1Option | 1Option | no description | Number | optional |
2Option name | 2Option name | no description | String | optional |
2Option | 2Option | no description | Number | optional |
3Option name | 3Option name | no description | String | optional |
3Option | 3Option | no description | Number | optional |
4Option name | 4Option name | no description | String | optional |
4Option | 4Option | no description | Number | optional |
5Option name | 5Option name | no description | String | optional |
5Option | 5Option | no description | Number | optional |
6Option name | 6Option name | no description | String | optional |
6Option | 6Option | no description | Number | optional |