Template:Infobox producer discography/doc
This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
{{{Producer}}} production discography | |
---|---|
[[File:{{{Image}}}|frameless|alt={{{Alt}}}|{{{Alt}}}]] | |
Studio albums | {{{Studio albums}}} |
Internet albums | {{{Internet albums}}} |
Live albums | {{{Live albums}}} |
Compilation albums | {{{Compilations}}} |
EPs | {{{EPs}}} |
Singles | {{{Singles}}} |
B-sides | {{{B-sides}}} |
Video albums | {{{Video albums}}} |
Music videos | {{{Music videos}}} |
Soundtracks | {{{Soundtracks}}} |
Tribute albums | {{{Tribute albums}}} |
Karaoke | {{{Karaoke}}} |
Holiday albums | {{{Holiday albums}}} |
Box sets | {{{Box sets}}} |
Gospel | {{{Gospel}}} |
{{{Option name}}} | {{{Option}}} |
{{{1Option name}}} | {{{1Option}}} |
{{{2Option name}}} | {{{2Option}}} |
{{{3Option name}}} | {{{3Option}}} |
{{{4Option name}}} | {{{4Option}}} |
{{{5Option name}}} | {{{5Option}}} |
{{{6Option name}}} | {{{6Option}}} |
{{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
<syntaxhighlight lang="wikitext" style="width:50%;">
Infobox producer discography/doc production discography |
---|
</syntaxhighlight>
Full
<syntaxhighlight lang="wikitext" style="width:50%;">
Infobox producer discography/doc production discography |
---|
</syntaxhighlight>
Placement
This template should be placed in an article at the top of the page, before the introduction.
Basic usage
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Producers name production discography | |
---|---|
Studio albums | 6 |
Internet albums | 4 |
Live albums | 2 |
Compilation albums | 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 |
</syntaxhighlight>
- 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 [[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 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
Optional labels
- Please use these functions sparingly.
As not all music producers 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.
Example
Producers name production discography | |
---|---|
Studio albums | 42 |
Internet albums | 5 |
Live albums | 19 |
Compilation albums | 36 |
EPs | 7 |
Singles | 37 |
B-sides | 18 |
Video albums | 6 |
Music videos | 17 |
Soundtracks | 8 |
Tribute albums | 3 |
Karaoke | 2 |
Holiday albums | 3 |
Box sets | 2 |
Gospel | 3 |
Side projects | 10 |
Demos | 11 |
Mash-ups | 12 |
Sample contributions | 13 |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Producers name production discography | |
---|---|
Studio albums | 42 |
Internet albums | 5 |
Live albums | 19 |
Compilation albums | 36 |
EPs | 7 |
Singles | 37 |
B-sides | 18 |
Video albums | 6 |
Music videos | 17 |
Soundtracks | 8 |
Tribute albums | 3 |
Karaoke | 2 |
Holiday albums | 3 |
Box sets | 2 |
Gospel | 3 |
Side projects | 10 |
Demos | 11 |
Mash-ups | 12 |
Sample contributions | 13 |
</syntaxhighlight>
TemplateData
<templatedata> { "params": { "Producer": {}, "Image": {}, "Alt": {}, "Caption": {}, "Studio albums": {}, "Internet albums": {}, "Live albums": {}, "Compilations": {}, "EPs": {}, "Singles": {}, "B-sides": {}, "Video albums": {}, "Music videos": {}, "Soundtracks": {}, "Tribute albums": {}, "Karaoke": {}, "Holiday albums": {}, "Box sets": {}, "Gospel": {}, "Option name": {}, "Option": {}, "1Option name": {}, "1Option": {}, "2Option name": {}, "2Option": {}, "3Option name": {}, "3Option": {}, "4Option name": {}, "4Option": {}, "5Option name": {}, "5Option": {}, "6Option name": {}, "6Option": {} }, "format": "Template:\n\n", "paramOrder": [ "Producer", "Image", "Alt", "Caption", "Studio albums", "Internet albums", "Live albums", "Compilations", "EPs", "Singles", "B-sides", "Video albums", "Music videos", "Soundtracks", "Tribute albums", "Karaoke", "Holiday albums", "Box sets", "Gospel", "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