Difference between revisions of "Template:Infobox artist discography/doc"

From blackwiki
Jump to navigation Jump to search
imported>JohnFromPinckney
(Undid unexplained revisions by Santana MontanaReal (talk) changing to redlinks)
 
(47 intermediate revisions by 17 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{esoteric}}
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
{{TOCright}}
 
{{TOCright}}
  
{{Infobox artist discography
+
'''<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.
| Artist      = [[A Day to Remember]]
 
| Image        = Example.png
 
| Caption      = A Day to Remember performing live
 
| Alt          = A spiral made up of a compass, clock and the Earth, with the word Wikipedia below.
 
| Studio      = 4
 
| Live        = 0
 
| Compilation  = 0
 
| Video        = 0
 
| Music videos = 10
 
| Tribute      = 0
 
| EP          = 1
 
| Singles      = 11
 
| B-sides      = 0
 
| Soundtrack  = 0
 
}}
 
 
 
'''{{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.
 
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===
+
==Placement==
 
This template should be placed in an article at the top of the page, before the introduction.
 
This template should be placed in an article at the top of the page, before the introduction.
  
 
===Basic usage===
 
===Basic usage===
<pre style="width:50%;">
 
 
{{Infobox artist discography
 
{{Infobox artist discography
|Artist      = [[Powderfinger]]
+
| Artist      = [[Powderfinger]]
|Image        = Example.png
+
| Image        = Powderfinger performing September 2007 (b).jpg
|Caption      = Powderfinger performing live
+
| Caption      = Powderfinger performing live
|Alt          = A spiral made up of a compass,
+
| 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 videos = 18
|Music videos = 18
+
| Tribute      = 2
|Tribute      = 2
+
| EP          = 4
|EP          = 4
+
| Singles      = 22
|Singles      = 22
+
| B-sides      = 15
|B-sides      = 15
+
| Soundtrack  = 5
|Soundtrack  = 5
 
 
}}
 
}}
</pre>
 
;Example<nowiki>:</nowiki> <span style="font-weight:normal;">(see result on right)<br/>
 
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===
 
====Simple====
 
 
<pre style="width:50%;">
 
<pre style="width:50%;">
 
{{Infobox artist discography
 
{{Infobox artist discography
|Artist      =  
+
| Artist      = [[Powderfinger]]
|Image        =  
+
| Image        = Powderfinger performing September 2007 (b).jpg
|Caption      =  
+
| Caption      = Powderfinger performing live
|Alt          =  
+
| Alt          = Photograph of band playing
|Studio      =  
+
| Studio      = 6
|Live        =  
+
| Live        = 2
|Compilation  =  
+
| Compilation  = 1
|Video        =  
+
| Video        = 3
|Music videos =  
+
| Music videos = 18
|Tribute      =  
+
| Tribute      = 2
|EP          =  
+
| EP          = 4
|Singles      =  
+
| Singles      = 22
|B-sides      =  
+
| B-sides      = 15
|Soundtrack  =  
+
| Soundtrack  = 5
 
}}
 
}}
 
</pre>
 
</pre>
 +
'''Example''':(see result on right)
  
====Full====
+
===Code===
 
<pre style="width:50%;">
 
<pre style="width:50%;">
 
{{Infobox artist discography
 
{{Infobox artist discography
|Artist          =  
+
| Artist          =  
|Image          =
+
| Image          =  
|Image size      =  
+
| Caption        =  
|Caption        =  
+
| Alt            =  
|Alt            =  
+
| Studio          =  
 
+
| Live            =  
|Studio          =  
+
| Compilation    =  
|Studio link    =
+
| Internet        =  
 
+
| Video          =  
|Live            =  
+
| Music videos    =  
|Live link      =
+
| EP              =  
 
+
| Singles        =  
|Compilation    =  
+
| B-sides        =  
|Comp link      =
+
| Soundtrack      =  
 
+
| Tribute        =  
|Internet        =  
 
|Internet link  =
 
 
 
|Video          =  
 
|Video link      =
 
 
 
|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    =
 
 
 
|1Option        =
 
|1Option name    =
 
|1Option link    =
 
|1Option color  =
 
 
 
|2Option        =
 
|2Option name    =
 
|2Option link    =
 
|2Option color  =
 
 
 
|3Option        =
 
|3Option name    =
 
|3Option link    =
 
|3Option color  =
 
 
 
|4Option        =
 
|4Option name    =
 
|4Option link    =
 
|4Option color  =
 
 
 
|5Option        =
 
|5Option name    =
 
|5Option link    =
 
|5Option color  =  
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 154: Line 77:
  
 
====Image====
 
====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 <nowiki>[[Image: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 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]]).
+
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>[[Image: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 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====
Line 166: Line 89:
  
 
===Advanced usage===
 
===Advanced usage===
==== Image size ====
+
====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>.
+
:''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 three additional options, as in the example below.
  
==== 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"
 
! Parameter
 
! Default section link
 
! Parameter to alter link
 
|- bgcolor="lightsteelblue"
 
| Studio
 
| Studio albums
 
| Studio link
 
|- bgcolor="burlywood"
 
| Live
 
| Live albums
 
| Live link
 
|- bgcolor="darkseagreen"
 
| Compilation
 
| Compilation albums
 
| Compilation link
 
|- bgcolor="beige"
 
| Internet
 
| Internet albums
 
| Internet link
 
|- bgcolor="#99CCFF"
 
| Video
 
| Video albums
 
| Video link
 
|- bgcolor="#FFCCFF"
 
| Music videos
 
| Music videos
 
| MV link
 
|- bgcolor="lightsalmon"
 
| EP
 
| Extended plays
 
| EPs link
 
|- bgcolor="khaki"
 
| Singles
 
| Singles
 
| Singles link
 
|- bgcolor="#DADCED"
 
| B-sides
 
| B-sides
 
| B link
 
|- bgcolor="gainsboro"
 
| Soundtrack
 
| Soundtracks
 
| Soundtrack link
 
|- bgcolor="thistle"
 
| Tribute
 
| Tributes
 
| Trib link
 
|- bgcolor="#cccccc"
 
| Option
 
| ''(blank)''
 
| ''(blank)''
 
|- bgcolor="#eeeeee"
 
| References
 
| References
 
| Ref link
 
|}
 
 
==== Optional sections ====
 
:''Please note to use these functions sparingly.''
 
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. Note, the standard colour is a mid grey (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"). You may add up to five (5) optional fields. It is advised to only use these 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 "3" in front of the last optional parameter.
 
 
{|class="wikitable"
 
|-style="border: 1px dashed #2F6FAB; margin: 0px 0px 1em 0px; padding: 0.8em 1em 0.8em 1em; background: #F9F9F9; line-height: 2.1ex; font-family: monospace; color: #000; overflow: auto; white-space: auto;"
 
|<nowiki>{{Infobox artist discography</nowiki><br><nowiki>
 
|Option &nbsp; &nbsp; &nbsp; =&nbsp;</nowiki><font color=red>Mandatory</font><br><nowiki>
 
|Option name &nbsp;=&nbsp;</nowiki><font color=red>Mandatory</font><br><nowiki>
 
|Option link &nbsp;=&nbsp;</nowiki><font color=green>Optional</font><br><nowiki>
 
|Option color =&nbsp;</nowiki><font color=green>Optional</font><br><nowiki>
 
}}</nowiki>
 
|Parameter purpose:<br>For the number of instances the option occurs<br>For the name or type of the Option, such as "Collaborations"<br>For the link to the list of instances<br>The color you wish to add to the background of the section in the infobox.<br>
 
|}
 
 
{{Infobox artist discography
 
{{Infobox artist discography
 
| Artist          = [[Fall Out Boy]]
 
| Artist          = [[Fall Out Boy]]
| Image          = Example.png
+
| 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            = A spiral made up of a compass, clock and the Earth, with the word Wikipedia below.
+
| 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        = 7
| Internet link  = Internet releases
 
 
 
| Video          = 7
 
| Video          = 7
| Video link      = Music videos
 
 
 
| Music videos    = 12
 
| Music videos    = 12
| MV link        = Videography
 
 
 
| EP              = 5
 
| EP              = 5
| EP link        =
 
 
 
| Singles        = 27
 
| Singles        = 27
| Singles link    =
 
 
 
| B-sides        = 15
 
| B-sides        = 15
| B link          = B-sides and other releases
 
 
 
| Soundtrack      = 1
 
| Soundtrack      = 1
| Soundtrack link =
 
 
 
| Tribute        = 1
 
| Tribute        = 1
| Trib link      = Other appearances
 
  
 +
| Option name    = Side projects
 
| Option          = 5
 
| Option          = 5
| Option name     = Side projects
+
| 1Option name    = Demos
| Option link    = Side projects and collaborations
 
| Option color   = turquoise
 
 
 
 
| 1Option        = 3
 
| 1Option        = 3
| 1Option name    = Demos
+
| 2Option name    = Mash-ups
| 1Option link    = Demos
 
| 1Option color  =
 
 
 
 
| 2Option        = 2
 
| 2Option        = 2
| 2Option name    = Mash-ups
+
| 3Option name    = Sample contributions
| 2Option link    = Mash-ups
 
| 2Option color  = limegreen
 
 
 
 
| 3Option        = 11
 
| 3Option        = 11
| 3Option name    = Sample contributions
 
| 3Option link    = Samples
 
| 3Option color  = orange
 
 
}}
 
}}
  
 
<div style="width:55%;">
 
<div style="width:55%;">
;Example<nowiki>:</nowiki> <span style="font-weight:normal;">(see result on right)</span>
+
'''Example''':(see result on right)
 
<pre>
 
<pre>
 
{{Infobox artist discography
 
{{Infobox artist discography
|Artist          = [[Fall Out Boy]]
+
| Artist          = [[Fall Out Boy]]
|Image          = Example.png
+
| 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            = Photograph of band playing
|Alt            = A spiral made up of a compass,
+
| Studio          = 5
clock and the Earth, with the word Wikipedia below,
+
| 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
 +
}}</pre></div>
  
|Studio          = 5
+
== Tracking category ==
|Studio link    = Albums
+
* {{clc|Pages using infobox artist discography with unknown parameters}}
|Live            = 2
 
|Live link      = Albums
 
|Compilation    = 2
 
|Comp link      = Albums
 
|Internet        = 7
 
|Internet link  = Internet releases
 
|Video          = 7
 
|Video link      = Music videos
 
|Music videos    = 12
 
|MV link        = Videography
 
|EP              = 5
 
|EPs link        =
 
|Singles        = 27
 
|Singles link    =
 
|B-sides        = 15
 
|B link          = B-sides and other releases
 
|Soundtrack      = 1
 
|Soundtrack link =
 
|Tribute        = 1
 
|Trib link      = Other appearances
 
  
|Option          = 5
+
<includeonly>{{sandbox other||
|Option name    = Side projects
+
<!-- Categories below this line; interwikis at Wikidata -->
|Option link    = Side projects and collaborations
 
|Option color    = turquoise
 
 
 
|1Option        = 3
 
|1Option name    = Demos
 
|1Option link    = Demos
 
|1Option color  =
 
 
 
|2Option        = 2
 
|2Option name    = Mash-ups
 
|2Option link    = Mash-ups
 
|2Option color  = limegreen
 
 
 
|3Option        = 11
 
|3Option name    = Sample contributions
 
|3Option link    = Samples
 
|3Option color  = orange
 
}}</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]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
+
}}</includeonly>
[[ar:قالب:دسكغرافيا]]
 
[[da:Skabelon:Infoboks diskografi]]
 
[[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 01:27, 27 August 2020

Template:TOCright

{{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
Live albums2
Compilation albums1
Video albums3
Music videos18
EPs4
Singles22
B-sides15
Soundtrack albums5
Tribute albums2
{{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 discography
Photograph of band playing
Fall Out Boy, 2007
Studio albums5
Live albums2
Compilation albums2
Internet albums7
Video albums7
Music videos12
EPs5
Singles27
B-sides15
Soundtrack albums1
Tribute albums1
Side projects5
Demos3
Mash-ups2
Sample contributions11

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

Tracking category