Template:Infobox producer discography
This template may be suitable for conversion to use {{Infobox}} as a base. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Music producer engineering a sound recording | ||
Releases | ||
---|---|---|
↙Studio albums | 6 | |
↙Internet albums | 4 | |
↙Live albums | 2 | |
↙Compilations | 1 | |
↙EPs | 4 | |
↙Singles | 22 | |
↙B-sides | 15 | |
↙Video albums | 3 | |
↙Music videos | 18 | |
↙Soundtracks | 5 | |
↙Tribute albums | 2 | |
↙Karaoke | 3 | |
↙Holiday albums | 5 | |
↙Box sets | 2 | |
↙Gospel | 3 |
{{Infobox producer discography}} is a standard infobox for a music producer's discography.
This template is designed for use in production discographies within Category:Production discographies. It displays the number of studio albums, live albums, compilation albums, singles, video releases, EPs, etc., produced by the article's subject.
Code
Simple;
{{Infobox producer discography | Producer = | Image = | Caption = | Alt = | Studio albums = | Internet albums = | Live albums = | Compilations = | EPs = | Singles = | B-sides = | Video albums = | Music videos = | Soundtracks = | Tribute albums = | Karaoke = | Holiday albums = | Box sets = | Gospel = }}
Full;
{{Infobox producer discography | Producer = | Image = | Image size = | Caption = | Alt = | Studio albums = | Studio albums link = | Internet albums = | Internet albums link = | Live albums = | Live albums link = | Compilations = | Compilations link = | Extend compilations = | EPs = | EPs link = | Singles = | Singles link = | Extend singles = | B-sides = | B-sides link = | Video albums = | Video albums link = | Music videos = | MV link = | Soundtracks = | Soundtracks link = | Tribute albums = | Tribute albums link = | Extend tributes = | Karaoke = | Karaoke link = | Holiday albums = | Holiday albums link = | Box sets = | Box sets link = | Gospel = | Gospel 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 = | Total = | Footnotes = | Footnotes link = | References = | References link = }}
Placement
This template should be placed in an article at the top of the page, before the introduction.
Basic usage
{{Infobox producer discography | Producer = [[Music producer|Producers name]] | Image = Engineer at audio console at Danish Broadcasting Corporation.png | Caption = [[Music producer]] engineering a sound recording | Alt = A man sitting at a mixing console with both hands working different areas of the board | Studio albums = 6 | Internet albums = 4 | Live albums = 2 | Compilations = 1 | EPs = 4 | Singles = 22 | B-sides = 15 | Video albums = 3 | Music videos = 18 | Soundtracks = 5 | Tribute albums = 2 | Karaoke = 3 | Holiday albums = 3 | Box sets = 2 | Gospel = 3 }}
- Example: (see result above)
If you find that some of the arrows don't link to the intended sections, see Modifying section links below.
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.
Producer
The name of the title's producer 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 producer. 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 a variety of release types. (studio albums, internet albums, live albums, compilations, video albums, music videos, tribute albums, EPs, singles, b-sides, soundtracks karaoke, holiday albums and box sets. In each field place the number of each type that the producer has released. Use only numeric values in these fields. For other types of releases, see "Advanced usage" below.
Advanced usage
Image size
The image is set to be 250px wide by default. If this needs to be adjusted, use the |Image size=
parameter, which should be less than 250px. To set the image to its automatic size, set it to auto
.
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 ↙ 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.
Parameter | Caption displayed | Default section link | Parameter to alter link | Caption background color |
Quantity background color |
---|---|---|---|---|---|
Studio albums | Studio albums | Studio albums | Studio albums link | LightSteelBlue (#b0c4de) |
(#c8d6e8) |
Internet albums | Internet albums | Internet albums | Internet albums link | (#f6f6bb) | (#f7f7d7) |
Live albums | Live albums | Live albums | Live albums link | BurlyWood (#deb887) |
wheat (#f5deb3) |
Compilations | Compilations | Compilations | Compilations link | DarkSeaGreen (#8fbc8f) |
(#c1e5c1) |
EPs | EPs | EPs | EPs link | LightSalmon (#ffa07a) |
(#ffc29c) |
Singles | Singles | Singles | Singles link | Khaki (#f0e68c) |
(#fbf7b1) |
B-sides | B-sides | B-sides | B-sides link | (#bdc2f5) | (#e6e8fa) |
Video albums | Video albums | Video albums | Video albums link | (#99ccff) | (#d1e6fb) |
Music videos | Music videos | Music videos | MV link | (#fcbffc) | (#fce5fc) |
Soundtracks | Soundtracks | Soundtracks | Soundtracks link | Gainsboro (#dcdcdc) |
(#f0eef0) |
Tribute albums | Tribute albums | Tribute albums | Tribute albums link | Thistle (#d8bfd8) |
(#e9dde9) |
Karaoke | Karaoke | Karaoke | Karaoke link | (#a1ebc6) | (#e4fcfc) |
Holiday albums | Holiday albums | Holiday albums | Holiday albums link | (#f97878) | (#f9bfbf) |
Box sets | Box sets | Box sets | Box sets link | (#f5ab34) | (#f8d191) |
Gospel | Gospel | Gospel | Gospel link | (#a5e7f9) | (#c3e9f4) |
Option | defined in Option name | defined in Option link | Option link | (#cccccc), or defined in Option color | (#e8e8e7), or defined in Option s-color |
1Option | defined in 1Option name | defined in 1Option link | 1Option link | (#bbbbbb), or defined in 1Option color | (#e1e1dc), or defined in 1Option s-color |
2Option | defined in 2Option name | defined in 2Option link | 2Option link | (#cccccc), or defined in 2Option color | (#e8e8e7), or defined in 2Option s-color |
3Option | defined in 3Option name | defined in 3Option link | 3Option link | (#bbbbbb), or defined in 3Option color | (#e1e1dc), or defined in 3Option s-color |
4Option | defined in 4Option name | defined in 4Option link | 4Option link | (#cccccc), or defined in 4Option color | (#e8e8e7), or defined in 4Option s-color |
5Option | defined in 5Option name | defined in 5Option link | 5Option link | (#bbbbbb), or defined in 5Option color | (#e1e1dc), or defined in 5Option s-color |
Footnotes | Footnotes | Footnotes | Footnotes link | White (#ffffff} |
White (#ffffff} |
References | References | References | References link | White (#ffffff} |
White (#ffffff} |
Optional sections
As not all music producers are the same, some will 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 five parameters instead of just two. The first two parameters,|Option =
and |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, |Option color =
converting the color to "turquoise". The |Option link =
parameter is optional, and when unused, it uses the same information from |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 |Option s-color =
parameter is optional, and when used, designates the complimenting secondary-color which the template displays in the numeric field. When unused this field will render the |Option color =
if one has been designated; if not, the field will display the corresponding secondary-color shown in the table below.You may add up to six (6) optional fields. 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.
Infobox option parameter | Parameter purpose | Required? |
---|---|---|
| Option =
|
The number of instances of the option shown in the discography | Mandatory |
| Option name =
|
The name or type of the Option, such as "Collaborations" | Mandatory |
| Option link =
|
The link to the list of instances (must match a heading on page) | Optional |
| Option color =
|
The bold background color displayed in the row portion showing the album category and section link | Optional |
| Option s-color =
|
The secondary background color displayed in the row portion showing quantities | Optional |
Music producer engineering a sound recording | ||
↙ 246 Releases consisting of: | ||
---|---|---|
↙Studio albums | 42 | |
↙Internet albums | 5 | |
↙Live albums | 19 | |
↙Compilations |
36 | |
↙Single artist sets | ||
↙Multiple artist sets | ||
↙EPs | 7 | |
↙Singles | 37 | |
↙Studio singles | ||
↙Compilation singles | ||
↙B-sides | 18 | |
↙Video albums | 6 | |
↙Music videos | 17 | |
↙Soundtracks | 8 | |
↙Tribute albums | 3 | |
↙Tributes | ||
↙Tribute covers | ||
↙Karaoke | 2 | |
↙Holiday albums | 3 | |
↙Box sets | 2 | |
↙Gospel | 3 | |
↙Side projects | 10 | |
↙Demos | 11 | |
↙Mash-ups | 12 | |
↙Sample contributions | 13 | |
↙Footnotes | 7 | |
↙References | 17 |
- Example: (see result above)
{{Infobox producer discography | Producer = [[Music producer|Producers name]] | Image = Engineer at audio console at Danish Broadcasting Corporation.png | Caption = [[Music producer]] engineering a sound recording | Alt = A man sitting at a mixing console with both hands working different areas of the board | Studio albums = 42 | Studio albums link = Albums | Internet albums = 5 | Internet albums link = Internet releases | Live albums = 19 | Live albums link = Albums | Compilations = 36 | Compilations link = Albums | Extend compilations = yes | EPs = 7 | EPs link = | Singles = 37 | Singles link = | Extend singles = yes | B-sides = 18 | B-sides link = B-sides and other releases | Video albums = 6 | Video albums link = Music videos | Music videos = 17 | MV link = Videography | Soundtracks = 8 | Soundtracks link = | Tribute albums = 3 | Tribute albums link = Other appearances | Extend tributes = yes | Karaoke = 2 | Karaoke link = | Holiday albums = 3 | Holiday albums link = | Box sets = 2 | Box sets link = | Gospel = 3 | Gospel link = | Option = 10 | Option name = Side projects | Option link = Side projects and collaborations | Option color = turquoise | Option s-color = | 1Option = 11 | 1Option name = Demos | 1Option link = Demos | 1Option color = | 1Option s-color = | 2Option = 12 | 2Option name = Mash-ups | 2Option link = Mash-ups | 2Option color = limegreen | 2Option s-color = #85E085 | 3Option = 13 | 3Option name = Sample contributions | 3Option link = Samples | 3Option color = orange | 3Option s-color = #ffc266 | Total = 246 | Footnotes = 7 | Footnotes link = | References = 17 | References link = }}