Template:Infobox artist discography/doc: Difference between revisions
John Cline (talk | contribs) →Modifying section links: ce add or statement |
Update templatedata |
||
(42 intermediate revisions by 21 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
{{ |
{{High-use}} |
||
<!-- PLEASE ADD CATEGORIES |
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> |
||
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} |
|||
{{TOCright}} |
|||
{{TOC right}} |
|||
'''<nowiki>{{Infobox artist discography}}</nowiki>''' is the standard infobox for [[discography]] articles, and is within the purview of [[Wikipedia:WikiProject Albums|WikiProject Albums]]. Please discuss major changes on the [[Template talk:Infobox artist discography|talk page]] before making them. |
|||
This template is designed for use in discography articles within [[:Category:Discographies]]. It displays the number of [[studio album]]s, [[live album]]s, [[compilation album]]s, [[Single (music)|singles]], [[VHS single|video releases]], [[Extended play|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=== |
|||
{{Infobox artist discography |
{{Infobox artist discography |
||
| Artist = [[Powderfinger]] |
| Artist = [[Powderfinger]] |
||
| Image = |
| Image = Powderfinger performing September 2007 (b).jpg |
||
| Caption = Powderfinger performing live |
| Caption = Powderfinger performing live |
||
| Alt = |
| Alt = Photograph of band playing |
||
| Studio = 6 |
| Studio = 6 |
||
| Live = 2 |
| Live = 2 |
||
| Compilation = 1 |
| Compilation = 1 |
||
| Video = 3 |
| Video = 3 |
||
| Music |
| Music video = 18 |
||
| Tribute = 2 |
| Tribute = 2 |
||
| EP = 4 |
| EP = 4 |
||
| |
| Single = 22 |
||
| B- |
| B-side = 15 |
||
| Soundtrack = 5 |
| Soundtrack = 5 |
||
}} |
}} |
||
<syntaxhighlight lang="wikitext" style="width:50%;"> |
|||
'''{{tl|Infobox artist discography}}''' is the standard infobox for [[discography]] articles, and is within the purview of [[Wikipedia:WikiProject Albums|WikiProject Albums]]. Please discuss major changes on the [[Template talk:Infobox artist discography|talk page]] before making them. |
|||
This template is designed for use in discography articles within [[:Category:Discographies]]. It displays the number of [[studio album]]s, [[live album]]s, [[compilation album]]s, [[Single (music)|singles]], [[VHS single|video releases]], [[Extended play|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=== |
|||
<pre style="width:50%;"> |
|||
{{Infobox artist discography |
{{Infobox artist discography |
||
| Artist = [[Powderfinger]] |
| Artist = [[Powderfinger]] |
||
| Image = |
| Image = Powderfinger performing September 2007 (b).jpg |
||
| Caption = Powderfinger performing live |
| Caption = Powderfinger performing live |
||
| Alt = |
| Alt = Photograph of band playing |
||
clock and the Earth, with the word Wikipedia below. |
|||
| Studio = 6 |
| Studio = 6 |
||
| Live = 2 |
| Live = 2 |
||
| Compilation = 1 |
| Compilation = 1 |
||
| Video = 3 |
| Video = 3 |
||
| Music |
| Music video = 18 |
||
| Tribute = 2 |
| Tribute = 2 |
||
| EP = 4 |
| EP = 4 |
||
| |
| Single = 22 |
||
| B- |
| B-side = 15 |
||
| Soundtrack = 5 |
| Soundtrack = 5 |
||
}} |
}} |
||
</syntaxhighlight> |
|||
</pre> |
|||
'''Example''':(see result on right) |
|||
If you find that some of the arrows don't link to the intended sections, see [[#Modifying section links|Modifying section links]] below. |
|||
</span> |
|||
===Code=== |
===Code=== |
||
<syntaxhighlight lang="wikitext" style="width:50%;"> |
|||
====Simple==== |
|||
<pre style="width:50%;"> |
|||
{{Infobox artist discography |
{{Infobox artist discography |
||
| Artist = |
| Artist = |
||
| Image = |
| Image = |
||
| Caption = |
| Caption = |
||
| Alt = |
| Alt = |
||
| Studio = |
| Studio = |
||
| |
| EP = |
||
| |
| Mixtape = |
||
| |
| Demo = |
||
| Soundtrack = |
|||
| Music videos = |
|||
| |
| Live = |
||
| |
| Compilation = |
||
| |
| Tribute = |
||
| |
| Remix = |
||
| |
| Single = |
||
| Promotional = |
|||
}} |
|||
| B-side = |
|||
</pre> |
|||
====Full==== |
|||
<pre style="width:50%;"> |
|||
{{Infobox artist discography |
|||
| Artist = |
|||
| Image = |
|||
| Image size = |
|||
| Caption = |
|||
| Alt = |
|||
| Studio = |
|||
| Studio link = |
|||
| Live = |
|||
| Live link = |
|||
| Compilation = |
|||
| Comp link = |
|||
| Internet = |
|||
| Internet link = |
|||
| Video = |
| Video = |
||
| |
| Music video = |
||
| Music videos = |
|||
| MV link = |
|||
| EP = |
|||
| EPs link = |
|||
| Singles = |
|||
| Singles link = |
|||
| B-sides = |
|||
| B link = |
|||
| Soundtrack = |
|||
| Soundtrack link = |
|||
| Tribute = |
|||
| Trib link = |
|||
| Option = |
|||
| Option name = |
|||
| Option link = |
|||
| Option color = |
|||
| Option s-color = |
|||
| 1Option = |
|||
| 1Option name = |
|||
| 1Option link = |
|||
| 1Option color = |
|||
| 1Option s-color = |
|||
| 2Option = |
|||
| 2Option name = |
|||
| 2Option link = |
|||
| 2Option color = |
|||
| 2Option s-color = |
|||
| 3Option = |
|||
| 3Option name = |
|||
| 3Option link = |
|||
| 3Option color = |
|||
| 3Option s-color = |
|||
| 4Option = |
|||
| 4Option name = |
|||
| 4Option link = |
|||
| 4Option color = |
|||
| 4Option s-color = |
|||
| 5Option = |
|||
| 5Option name = |
|||
| 5Option link = |
|||
| 5Option color = |
|||
| 5Option s-color = |
|||
}} |
}} |
||
</syntaxhighlight> |
|||
</pre> |
|||
===Fields=== |
===Fields=== |
||
Line 157: | Line 78: | ||
====Artist==== |
====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: |
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 [[Wikipedia:Piped link|piped]] internal link to the main article about the artist. For help with internal links, see the [[Wikipedia:Editing FAQ#How do I make links?|Editing FAQ]]. This field is mandatory. |
||
====Image==== |
====Image==== |
||
An image of the act, sufficiently clear for display at 200 pixels' width. Set to only the image name, e.g. |
An image of the act, sufficiently clear for display at 200 pixels' width. Set to only the image name, e.g. {{xt|Example.png}}, not {{!xt|Image:Example.png}} or {{!xt|<nowiki>[[File:Example.png|200px|abc]]</nowiki>}}. 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==== |
||
Line 172: | Line 93: | ||
===Advanced usage=== |
===Advanced usage=== |
||
==== |
====Optional labels==== |
||
The image is set to be 250px wide by default. If this needs to be adjusted, use the {{para|Image size}} parameter, which should be less than 250px. To set the image to its automatic size, set it to <code>auto</code>. |
|||
==== Modifying section links ==== |
|||
If the discography doesn't use the titles as used in this template, you may modify the destination links (which appear as the diagonal arrow <span style="font-size:1.25em;">↙</span> in the template) by using the following parameters to link from the infobox to the appropriate section. Unless your section is named exactly as used in this infobox, it will not map to the correct part of the page or will only link to the top of the discography page. |
|||
{| class="wikitable" |
|||
|+ List of infobox parameters, with captions displayed and link names used by default |
|||
!scope="col"| Parameter |
|||
!scope="col"| Caption displayed |
|||
!scope="col"| Default section link |
|||
!scope="col"| Parameter to alter link |
|||
!scope="col"| Caption background color |
|||
!scope="col"| Quantity background color |
|||
|- bgcolor="lightsteelblue" |
|||
!scope="row"| Studio |
|||
| Studio albums |
|||
| Studio albums |
|||
| Studio link |
|||
| LightSteelBlue (#B0C4DE) |
|||
| align="center" bgcolor="#c8d6e8"|(#c8d6e8) |
|||
|- bgcolor="burlywood" |
|||
!scope="row"| Live |
|||
| Live albums |
|||
| Live albums |
|||
| Live link |
|||
| BurlyWood (#DEB887) |
|||
| align="center" bgcolor="wheat"| wheat ( ) |
|||
|- bgcolor="darkseagreen" |
|||
!scope="row"| Compilation |
|||
| Compilation albums |
|||
| Compilation albums |
|||
| Comp link |
|||
| DarkSeaGreen (#8FBC8F) |
|||
| align="center" bgcolor="#B2DEB2"|(#B2DEB2) |
|||
|- bgcolor="beige" |
|||
!scope="row"| Internet |
|||
| Internet albums |
|||
| Internet albums |
|||
| Internet link |
|||
| Beige (#F5F5DC) |
|||
| align="center" bgcolor="#F5F5E5"|(#F5F5E5) |
|||
|- bgcolor="#99CCFF" |
|||
!scope="row"| Video |
|||
| Video albums |
|||
| Video albums |
|||
| Video link |
|||
| #99CCFF |
|||
| align="center" bgcolor="#ABD5FF"|(#ABD5FF) |
|||
|- bgcolor="#FFCCFF" |
|||
!scope="row"| Music videos |
|||
| Music videos |
|||
| Music videos |
|||
| MV link |
|||
| #FFCCFF |
|||
| align="center" bgcolor="#FFD5FF"|(#FFD5FF) |
|||
|- bgcolor="lightsalmon" |
|||
!scope="row"| EP |
|||
| EPs |
|||
| EPs |
|||
| EPs link |
|||
| LightSalmon (#FFA07A) |
|||
| align="center" bgcolor="#FFC29C"|(#FFC29C) |
|||
|- bgcolor="khaki" |
|||
!scope="row"| Singles |
|||
| Singles |
|||
| Singles |
|||
| Singles link |
|||
| Khaki (#F0E68C) |
|||
| align="center" bgcolor="#Fbf7b1"|(#Fbf7b1) |
|||
|- bgcolor="#DADCED" |
|||
!scope="row"| B-sides |
|||
| B-sides |
|||
| B-sides |
|||
| B link |
|||
| #DADCED |
|||
| align="center" bgcolor="#E6E8FA"|(#E6E8FA) |
|||
|- bgcolor="gainsboro" |
|||
!scope="row"| Soundtrack |
|||
| Soundtracks |
|||
| Soundtracks |
|||
| Soundtrack link |
|||
| Gainsboro (#DCDCDC) |
|||
| align="center" bgcolor="#e6e6e6"|(#e6e6e6) |
|||
|- bgcolor="thistle" |
|||
!scope="row"| Tribute |
|||
| Tribute and cover albums |
|||
| Tributes |
|||
| Trib link |
|||
| Thistle (#D8BFD8) |
|||
| align="center" bgcolor="#e3d1e3"|(#e3d1e3) |
|||
|- bgcolor="#CCCCCC" |
|||
!scope="row"| Option |
|||
| defined in Option name |
|||
| defined in Option link |
|||
| Option link |
|||
| #CCCCCC, or defined in Option color |
|||
| align="center" bgcolor="#d6d6d6"|(#d6d6d6), or defined in Option s-color |
|||
|- bgcolor="#BBBBBB" |
|||
!scope="row"| 1Option |
|||
| defined in 1Option name |
|||
| defined in 1Option link |
|||
| 1Option link |
|||
| #BBBBBB, or defined in 1Option color |
|||
| align="center" bgcolor="#ddd"|(#ddd), or defined in 1Option s-color |
|||
|- bgcolor="#CCCCCC" |
|||
!scope="row"| 2Option |
|||
| defined in 2Option name |
|||
| defined in 2Option link |
|||
| 2Option link |
|||
| #CCCCCC, or defined in 2Option color |
|||
| align="center" bgcolor="#d6d6d6"|(#d6d6d6), or defined in 2Option s-color |
|||
|- bgcolor="#BBBBBB" |
|||
!scope="row"| 3Option |
|||
| defined in 3Option name |
|||
| defined in 3Option link |
|||
| 3Option link |
|||
| #BBBBBB, or defined in 3Option color |
|||
| align="center" bgcolor="#ddd"|(#ddd), or defined in 3Option s-color |
|||
|- bgcolor="#CCCCCC" |
|||
!scope="row"| 4Option |
|||
| defined in 4Option name |
|||
| defined in 4Option link |
|||
| 4Option link |
|||
| #CCCCCC, or defined in 4Option color |
|||
| align="center" bgcolor="#d6d6d6"|(#d6d6d6), or defined in 4Option s-color |
|||
|- bgcolor="#BBBBBB" |
|||
!scope="row"| 5Option |
|||
| defined in 5Option name |
|||
| defined in 5Option link |
|||
| 5Option link |
|||
| #BBBBBB, or defined in 5Option color |
|||
| align="center" bgcolor="#ddd"|(#ddd), or defined in 5Option s-color |
|||
|} |
|||
==== Optional sections ==== |
|||
:''Please use these functions sparingly.'' |
:''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 {{para|Option}} and {{para|Option name}} and up to six additional options, as in the example below. |
|||
As not all musical artists are the same, some will have the need to have different sections linked in their discography, such as a collaboration section, unreleased songs or others. In order to list these options, there are four parameters instead of just two. The first two parameters, {{para|Option}} and {{para|Option name}} are mandatory if you wish to use this portion of the template. The standard color is a medium gray (see the ''Customised link parameter table'' below); however, the example on the right employs the color selection parameter, {{para|Option color}} converting the color to "turquoise". The {{para|Option link}} parameter is optional, and when unused, it uses the same information from {{para|Option name}}. However, with long titles, it may not be preferable to use the full title (as in the example, it is "Side projects", but links to "Side projects and collaborations"). The {{para|Option s-color}} parameter is optional, and when unused, it allows you to designate the complimenting soft color which the template displays in the numeric field. When unused the default s-color will be displayed. If you designate an optional color, you should designate a corresponding s-color or the default selection, based on the array of grey colors, might distract, as the "Side Projects" shows. "Mash-ups" and "Sample contributions" are shown with a designated s-color.<p>You may add up to six (6) optional fields. It is advised to use these only in sequence. The basic option only requires the input as shown below. To use a second option simply add "1" in front of ALL of the parameters for the second time, "2" in front of the third, and so on. |
|||
{| class="wikitable plainrowheaders" |
|||
|+Customised link parameter table |
|||
|- |
|||
!scope="col"| Infobox option parameter |
|||
!scope="col"| Parameter purpose |
|||
!scope="col"| Required? |
|||
|- |
|||
!scope="row"|<code><nowiki> |Option = </nowiki></code> |
|||
| The number of instances of the option shown in the discography |
|||
| <font color=red>Mandatory</font> |
|||
|- |
|||
!scope="row"|<code><nowiki> |Option name = </nowiki></code> |
|||
| The name or type of the Option, such as "Collaborations" |
|||
| <font color=red>Mandatory</font> |
|||
|- |
|||
!scope="row"|<code><nowiki> |Option link = </nowiki></code> |
|||
| The link to the list of instances (must match a heading on page) |
|||
| <font color=green>Optional</font> |
|||
|- |
|||
!scope="row"|<code><nowiki> |Option color = </nowiki></code> |
|||
| The color you wish to use for the background of the section in the infobox |
|||
| <font color=green>Optional</font> |
|||
|- |
|||
!scope="row"|<code><nowiki> |Option s-color = </nowiki></code> |
|||
| The soft color you wish to use for the background of the totals in the infobox |
|||
| <font color=green>Optional</font> |
|||
|} |
|||
{{Infobox artist discography |
{{Infobox artist discography |
||
| Artist = [[Fall Out Boy]] |
| Artist = [[Fall Out Boy]] |
||
| Image = |
| Image = Fall Out Boy-Rock im Park 2014- by 2eight DSC8554.jpg |
||
| Image size = 150px |
|||
| Caption = Fall Out Boy, 2007 |
| Caption = Fall Out Boy, 2007 |
||
| Alt = |
| Alt = Photograph of band playing |
||
| Studio = 5 |
| Studio = 5 |
||
| Studio link = Albums |
|||
| Live = 2 |
| Live = 2 |
||
| Live link = Albums |
|||
| Compilation = 2 |
| Compilation = 2 |
||
| Comp link = Albums |
|||
| Internet = 7 |
|||
| Internet link = Internet releases |
|||
| Video = 7 |
| Video = 7 |
||
| |
| Music video = 12 |
||
| Music videos = 12 |
|||
| MV link = Videography |
|||
| EP = 5 |
| EP = 5 |
||
| |
| Single = 27 |
||
| B-side = 15 |
|||
| Singles = 27 |
|||
| Singles link = |
|||
| B-sides = 15 |
|||
| B link = B-sides and other releases |
|||
| Soundtrack = 1 |
| Soundtrack = 1 |
||
| Soundtrack link = |
|||
| Tribute = 1 |
| Tribute = 1 |
||
| |
| Demo = 3 |
||
| Option name = Side projects |
|||
| Option = 5 |
| Option = 5 |
||
| |
| 2Option name = Mash-ups |
||
| Option link = Side projects and collaborations |
|||
| Option color = turquoise |
|||
| Option s-color = |
|||
| 1Option = 3 |
|||
| 1Option name = Demos |
|||
| 1Option link = Demos |
|||
| 1Option color = |
|||
| 1Option s-color = |
|||
| 2Option = 2 |
| 2Option = 2 |
||
| |
| 3Option name = Sample contributions |
||
| 2Option link = Mash-ups |
|||
| 2Option color = limegreen |
|||
| 2Option s-color = #85E085 |
|||
| 3Option = 11 |
| 3Option = 11 |
||
| 3Option name = Sample contributions |
|||
| 3Option link = Samples |
|||
| 3Option color = orange |
|||
| 3Option s-color = #ffc266 |
|||
}} |
}} |
||
<div style="width:55%;"> |
<div style="width:55%;"> |
||
'''Example''':(see result on right) |
|||
<syntaxhighlight lang="wikitext"> |
|||
<pre> |
|||
{{Infobox artist discography |
{{Infobox artist discography |
||
| Artist = [[Fall Out Boy]] |
| Artist = [[Fall Out Boy]] |
||
| Image = |
| Image = Fall Out Boy-Rock im Park 2014- by 2eight DSC8554.jpg |
||
| Image size = 150px |
|||
| Caption = Fall Out Boy, 2007 |
| Caption = Fall Out Boy, 2007 |
||
| Alt = |
| Alt = Photograph of band playing |
||
clock and the Earth, with the word Wikipedia below, |
|||
| Studio = 5 |
| Studio = 5 |
||
| Studio link = Albums |
|||
| Live = 2 |
| Live = 2 |
||
| Live link = Albums |
|||
| Compilation = 2 |
| Compilation = 2 |
||
| Comp link = Albums |
|||
| Internet = 7 |
|||
| Internet link = Internet releases |
|||
| Video = 7 |
| Video = 7 |
||
| |
| Music video = 12 |
||
| Music videos = 12 |
|||
| MV link = Videography |
|||
| EP = 5 |
| EP = 5 |
||
| |
| Single = 27 |
||
| |
| B-side = 15 |
||
| Singles link = |
|||
| B-sides = 15 |
|||
| B link = B-sides and other releases |
|||
| Soundtrack = 1 |
| Soundtrack = 1 |
||
| Soundtrack link = |
|||
| Tribute = 1 |
| Tribute = 1 |
||
| |
| Demo = 3 |
||
| Option name = Side projects |
|||
| Option = 5 |
| Option = 5 |
||
| |
| 2Option name = Mash-ups |
||
| |
| 2Option = 2 |
||
| |
| 3Option name = Sample contributions |
||
| |
| 3Option = 11 |
||
}}</syntaxhighlight></div> |
|||
== TemplateData == |
|||
| 1Option = 3 |
|||
<templatedata> |
|||
| 1Option name = Demos |
|||
{ |
|||
| 1Option link = Demos |
|||
"params": { |
|||
| 1Option color = |
|||
"Artist": { |
|||
| 1Option s-color = |
|||
"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 == |
|||
| 2Option = 2 |
|||
* {{clc|Pages using infobox artist discography with unknown parameters}} |
|||
| 2Option name = Mash-ups |
|||
| 2Option link = Mash-ups |
|||
== See also == |
|||
| 2Option color = limegreen |
|||
* {{tl|Infobox producer discography}} |
|||
| 2Option s-color = #85E085 |
|||
<includeonly>{{sandbox other|| |
|||
| 3Option = 11 |
|||
<!-- Categories below this line; interwikis at Wikidata --> |
|||
| 3Option name = Sample contributions |
|||
| 3Option link = Samples |
|||
| 3Option color = orange |
|||
| 3Option s-color = #ffc266 |
|||
}} |
|||
</pre></div><includeonly> |
|||
<!-- ADD CATEGORIES BELOW THIS LINE --> |
|||
[[Category:WikiProject Albums templates]] |
[[Category:WikiProject Albums templates]] |
||
[[Category:Music infobox templates|Discography, artist]] |
[[Category:Music infobox templates|Discography, artist]] |
||
[[Category:People infobox templates|Artist discography]] |
[[Category:People and person infobox templates|Artist discography]] |
||
[[Category:Templates that add a tracking category]] |
|||
}}</includeonly> |
|||
<!-- ADD INTERWIKIS BELOW THIS LINE --> |
|||
[[ar:قالب:دسكغرافيا]] |
|||
[[da:Skabelon:Infoboks diskografi]] |
|||
[[de:Vorlage:Infobox Diskografie]] |
|||
[[es:Plantilla:Ficha de discografía]] |
|||
[[fa:الگو:جعبه اطلاعات آلبومشناسی هنرمند]] |
|||
[[fr:Modèle:Infobox Musique (discographie)]] |
|||
[[it:Template:Infobox discografia artista]] |
|||
[[ja:Template:Infobox artist discography]] |
|||
[[ko:틀:음악가별 음반 분류]] |
|||
[[mk:Шаблон:Инфокутија Дискографија на изведувач]] |
|||
[[pl:Szablon:Dyskografia infobox]] |
|||
[[pt:Predefinição:Info discografia de artista]] |
|||
[[ru:Шаблон:Инфобокс Дискография артиста]] |
|||
[[fi:Malline:Artistin diskografia]] |
|||
[[sv:Mall:Infobox artist diskografi]] |
|||
[[th:แม่แบบ:กล่องข้อมูล ผลงานของศิลปิน]] |
|||
[[uk:Шаблон:Дискографія артиста]] |
|||
</includeonly> |
Latest revision as of 16:24, 17 October 2024
This is a documentation subpage for Template:Infobox artist discography. It may contain usage information, categories and other content that is not part of the original template page. |
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
[edit]This template should be placed in an article at the top of the page, before the introduction.
Basic usage
[edit]Powderfinger 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
[edit]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
[edit]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
[edit]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
[edit]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
[edit]Caption for the image to be displayed. Do not link years in the caption e.g. do not link [[2007]].
Types of releases
[edit]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
[edit]Optional 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
[edit]Standard 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 |
Tracking category
[edit]See also
[edit]