Templat:Infobox Discography
Templat ini menggunakan ciri-ciri sintaks templat yang rumit.
Anda digalakkan untuk membiasakan diri dengan persediaan dan fungsi penghurai sebelum menyunting templat ini. Jika suntingan anda menyebabkan masalah yang tidak diduga, sila undurkannya dengan segera kerana templat ini mungkin digunakan di sebilangan besar halaman. Ingat bahawa anda boleh menjalankan uji kaji dan perlu menguji semua penambahbaikan, sama ada di kotak pasir umum atau laman pengguna anda sebelum melakukan sebarang perubahan. (lihat sejarah) |
Usage
sunting- {{Infobox Discography}} should be used for the discography section of a band's article only when most or all of their albums lack their own article. It will then be a useful repository of all known album information that is currently not available elsewhere.
- On the other hand, for a band article that has most or all of their albums described in a separate article, the standard shorter list should be used instead (album year, album title, studio/live/compilation qualifier) in a bulletted list or a table. All the extra information is then provided at each album's own article.
- The template can also be used for adding a description to the
==Summary==
section of an uploaded image. See an example at Image:Kingspade.jpg#Summary.
This template is adapted from the infobox for albums, the {{Infobox Album}} template. Please see that template's documentation for details as indicated below.
The table below is an example. You can click on "edit this page" and copy-and-paste the markup to a different article, replacing its information with info on the discography you choose to write about.
The template is preferably used within a ==Discography==
section.
Example
sunting- B0C4DE; border-left:2px solid
- B0C4DE;"
Mommy's Little Monster
|
- B0C4DE; border-left:2px solid
- B0C4DE;"
Somewhere Between Heaven and Hell
|
Code
suntingThis self-documented code base can be copy-pasted and filled directly in your article:
{{Discography list | Type = <!-- "Studio/EP/Live/Compilation/...", see codes below --> | Name = <!-- "Name" or "[[Name]]" (album or EP/single) --> | Other info = <!-- added between parentheses after Name (album or EP) --> | from Album = <!-- ONLY FOR EP/SINGLE: added after Name --> | Released = <!-- "1992" or "[[11 February]] [[1992]] --> | Format = <!-- "LP/CD/..." --> | Label = <!-- "Name" or "[[Name Records|Name]]", comma if many --> | Writer = <!-- "Songwriter name" or "[[Songwriter name]]" --> | Producer = <!-- "Producer name" or "[[Producer name]]", comma if many --> | Director = <!-- "Director name" or "[[Director name]]" for music videos --> | Chart position= <!-- "#1 U.S." or "#12 UK" or such --> | Sales = <!-- "3 million sold as of 2005" or such --> | Certification = <!-- "Gold" or such --> | Tracks = <!-- " "One", "Two", "Three" ", etc. --> | Bonus tracks = <!-- "Four" (Japan edition) --> | Singles = <!-- " "Single", "Other Single" ", etc. --> }}
- If you document a full album, delete the "from Album" field, fill the rest, and you will get this heading (depending on whether you also filled "Other info" or not):
- B0C4DE; border-left:2px solid
- B0C4DE;"
NAME |
- B0C4DE; border-left:2px solid
- B0C4DE;"
NAME (OTHER INFO) |
- In this case, the fields "Writer", "Tracks", "Bonus tracks" are very optional (they are usually used for EPs and single, where there are fewer songs).
- If you document an EP or a single, fill the "from Album" field, fill the rest, and you will get this heading (depending on whether you also filled "Other info" or not):
- B0C4DE; border-left:2px solid
- B0C4DE;"
"NAME" dari album FROM ALBUM |
- B0C4DE; border-left:2px solid
- B0C4DE;"
"NAME" (OTHER INFO) dari album FROM ALBUM |
- In this case, the fields "Writer", "Tracks", "Bonus tracks" become more interesting to fill.
Preferably, do not deleted unused lines (except "from Album") if there is a chance they could be used or filled later (just keep them blank with the helper commentary). Also note that the name of the fields are case-sensitive, and they all start with a cap except "from Album" (sic).
Note: if you do not fill the Type field with one of the predefined keywords (or if you make a typo), the article will be automatically added to Category:Non-standard discography infoboxes so as to be able to track and fix errors.
Type and color
suntingThe type refers to the general type of album. Enter a code from the following chart. The type will appear with the appropriate color. If the type is unknown, leave the field blank. The small amount of color does not stand out on its own but when grouped together as shown in the example above, it gives a subtle indication of the type of the albums as a group.
Code |
---|
STYLE="border-top:3px solid
|
demo |
STYLE="border-top:3px solid
|
STYLE="border-top:3px solid
|
greatest |
STYLE="border-top:3px solid
|
STYLE="border-top:3px solid
|
STYLE="border-top:3px solid
|
STYLE="border-top:3px solid
|
STYLE="border-top:3px solid
|
soundtrack |
television |
film |
STYLE="border-top:3px solid
|
(unknown or typo) |