Templat:Infobox Single/doc
Ini ialah sublaman pendokumenan untuk Template:Infobox Single. Ia mempunyai maklumat penggunaan, kategori dan kandungan lain yang bukan sebahagian daripada laman templat templat laman. |
Penggunaan
suntingUntuk templat bagi lagu, sila lihat {{Kotak info lagu}}.
- Templat ini digunakan untuk memberi penerangan ringkas mengenai single (sama ada Sebelah-A atau B).
Kod
sunting{{Infobox Single <!-- See Wikipedia:WikiProject_Songs --> | Name = | Cover = | Cover size = | Border = | Caption = | Artist = | Album = | A-side = | B-side = | Released = | Format = | Recorded = | Genre = | Length = | Label = | Writer = | Producer = | Audio sample? = | Certification = | Last single = | This single = | Next single = | Misc = }}
Details
suntingTry to fill in as many of the details as you can. If you can't find out some details, leave the section blank or with "???" to make it easier for someone else to fill in later.
- Name
- This field should contain the name of the single. This field is mandatory.
- Cover
- Upload a copy of the single cover (under fair use—use the tag "{{albumcover}}"). Ideally the image should be 200px wide. Enter the file name only into the field:
<Image Name>.jpg
. - Border
- Type "yes" in this field to place a 1px border around the single's cover.
- Artist
- This field should contain the name of the artist. This field is mandatory.
- A-side
- This field should only be used if there is a record title distinct from the A-side.
- Released
- This field should refer to the earliest known date, using a single occurrence of {{Start date}} as {{Start date|YYYY|MM|DD}}, for example "{{Start date|2007|7|31}}". (Use "{{Start date|YYYY|MM}}" if only year and month are known, or "{{Start date|YYYY}}" for just a year).
- Recorded
- This field should include details on where and when the song was recorded.
- Length
- The length should be formatted as mm:ss.
- Label
- This field should refer to the label on which the single/album was originally released. Where significantly different versions have been released (featuring alternate track listings) e.g. U.S. vs. UK, the later release date and/or record label should be mentioned in the article. Drop words like "Records" from the end of the label's name (e.g. use [[Universal Records|Universal]] rather than [[Universal Records]]).
- Producer
- The producer is not necessarily the same as the "Artist" field.
- Misc
- This field allows you to provide additional infobox data (additional chronologies using {{Extra chronology 2}} or {{Extra album cover 2}} for example).
Chronology
suntingThe chronology section should link to the previous single on the left and the next single on the right. Songs should be ordered based on the first release dates of their official singles.
- For first singles the left box (the "Last single=" field) should be left blank.
- For latest singles, the right box (the "Next single=" field) should be left blank.
Wikipedia's date style guidelines recommend that years should not be linked within the chronology section.
- Note: album cover images should NOT be used in this section as they do not meet Wikipedia fair use requirements.
Examples
suntingHere are some examples of articles using the infoboxes:
Microformat
Penanda HTML yang dihasilkan oleh templat ini termasuklah mikroformat hCalendar, yang menjadikan butiran peristiwa atau acara boleh dihuraikan oleh komputer, sama ada bertindak secara automatik untuk mengkatalogkan rencana merentasi Wikipedia atau melalui alat pelayar yang dikendalikan oleh orang, contohnya untuk menambah subjek pada kalendar atau perisian buku harian (diari).
Tarikh hanya akan disertakan jika anda menggunakan {{Tarikh mula}} atau {{Tarikh akhir}} (gunakan yang sebelumnya untuk tarikh yang tunggal; tetapi jangan gunakan kedua-duanya jika tarikhnya adalah sebelum 1583 CE).
URL hanya akan dimasukkan jika anda menggunakan {{URL}}.
- Kelas yang digunakan
hCalendar menggunakan kelas-kelas HTML yang berikut:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
Jangan menamakan semula atau membuang kelas-kelas ini, atau meruntuhkan unsur-unsur bersarang yang menggunakannya.