Template:Infobox artist discography/doc: Difference between revisions

From AusMetal Guide
Jump to navigation Jump to search
(Reverted 1 edit by Itzek1952 (talk): Unhelpful)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 06:04, 22 February 2025

{{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 discography
Photograph of band playing
Powderfinger performing live
Studio albums6
EPs4
Soundtrack albums5
Live albums2
Compilation albums1
Tribute albums2
Singles22
B-sides15
Video albums3
Music videos18

<syntaxhighlight lang="wikitext" style="width:50%;">

Powderfinger discography
Photograph of band playing
Powderfinger performing live
Studio albums6
EPs4
Soundtrack albums5
Live albums2
Compilation albums1
Tribute albums2
Singles22
B-sides15
Video albums3
Music videos18

</syntaxhighlight> Example:(see result on right)

Code

<syntaxhighlight lang="wikitext" style="width:50%;">

Infobox artist discography/doc discography

</syntaxhighlight>

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: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

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 [[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

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 six additional options, as in the example below.

Fall Out Boy discography
Photograph of band playing
Fall Out Boy, 2007
Studio albums5
EPs5
Demo albums3
Soundtrack albums1
Live albums2
Compilation albums2
Tribute albums1
Singles27
B-sides15
Video albums7
Music videos12
Side projects5
Mash-ups2
Sample contributions11

Example:(see result on right) <syntaxhighlight lang="wikitext">

Fall Out Boy discography
Photograph of band playing
Fall Out Boy, 2007
Studio albums5
EPs5
Demo albums3
Soundtrack albums1
Live albums2
Compilation albums2
Tribute albums1
Singles27
B-sides15
Video albums7
Music videos12
Side projects5
Mash-ups2
Sample contributions11
</syntaxhighlight>

TemplateData

<templatedata> { "params": { "Artist": { "type": "string", "label": "Artist name" }, "abovestyle": { "aliases": [ "Abovestyle" ], "type": "string",

           "label": "Title CSS style"

}, "Image": { "type": "wiki-file-name" }, "image caption": { "aliases": [ "Image caption", "Caption" ], "type": "string",

           "label": "Image caption"

}, "alt": { "aliases": [ "Alt" ], "type": "string", "label": "Image alt text" }, "Studio": { "aliases": [ "Studios" ], "type": "number", "label": "Studio albums" }, "EP": { "aliases": [ "EPs", "Extended play", "Extended plays" ], "type": "number", "label": "Extended plays" }, "Mixtape": { "aliases": [ "Mixtapes" ], "type": "number", "label": "Mixtapes" }, "Demo": { "aliases": [ "Demos" ], "type": "number", "label": "Demo albums" }, "Soundtrack": { "aliases": [ "Soundtracks" ], "type": "number", "label": "Soundtrack albums" }, "Live": { "aliases": [ "Lives" ], "type": "number", "label": "Live albums" }, "Compilation": { "aliases": [ "Compilations" ], "type": "number", "label": "Compilation albums" }, "Tribute": { "aliases": [ "Tributes" ], "type": "number", "label": "Tribute albums" }, "Remix": { "aliases": [ "Remixes" ], "type": "number", "label": "Remix albums" }, "Single": { "aliases": [ "Singles" ], "type": "number", "label": "Singles" }, "Promotional": { "aliases": [ "Promotionals" ], "type": "number", "label": "Promotional singles" }, "B-side": { "aliases": [ "B-sides" ], "type": "number", "label": "B-sides" }, "Video": { "aliases": [ "Videos" ], "type": "number", "label": "Video albums" }, "Music video": { "aliases": [ "Music videos" ], "type": "number", "label": "Music videos" }, "Option name": { "type": "string" }, "Option": { "type": "number" }, "1Option name": { "type": "string" }, "1Option": { "type": "number" }, "2Option name": { "type": "string" }, "2Option": { "type": "number" }, "3Option name": { "type": "string" }, "3Option": { "type": "number" }, "4Option name": { "type": "string" }, "4Option": { "type": "number" }, "5Option name": { "type": "string" }, "5Option": { "type": "number" }, "6Option name": { "type": "string" }, "6Option": { "type": "number" } }, "description": "Standard infobox for discography articles.", "paramOrder": [ "Artist", "abovestyle", "Image", "alt", "image caption", "Studio", "EP", "Mixtape", "Demo", "Soundtrack", "Live", "Compilation", "Tribute", "Remix", "Single", "Promotional", "B-side", "Video", "Music video", "Option name", "Option", "1Option name", "1Option", "2Option name", "2Option", "3Option name", "3Option", "4Option name", "4Option", "5Option name", "5Option", "6Option name", "6Option" ] } </templatedata>

Tracking category

See also