แม่แบบ:Infobox artist discography/doc

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**
Example:(see result on right)
If you find that some of the arrows don't link to the intended sections, see Modifying section links below.

**Code**

**Simple**

**Full**

**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 . 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 .

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

**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.

**Optional sections**
Please 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, 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"). 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.
Example:(see result on right)