Templat:Episode list

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Langsung ke: navigasi, cari
[melihat] [sunting] [sejarah] [hapus singgahan] Ikon dokumentasi Dokumentasi templat

For lists that include only titles, air dates, etc, with no summary, remove |ShortSummary=, which removes cell and line separator colouring.

Parameters[sunting | sunting sumber]

Episode list parameters (and basic guidelines)
EpisodeNumber
(optional)
A number representing the episode's order in the series. For example, the first episode would be 1 or 01, and so on. When defined, the specified number also generates a link anchor, prefixed by "ep"; for example, "[[List of episodes#ep1]]" or "[[List of episodes#ep01]]". In creating the anchor, the text specified for the number is treated literally: to generate the most straight-forward versions of anchors as previously exemplified, specify only a number, omitting any use of formatting, including bold.
EpisodeNumber2
(optional)
A second episode number column. Useful for when a series aired in a different order, or only included certain episodes, etc.
Title The title of the episode. The title will appear bold and in "quotes" when rendered, so it is not necessary to place them in quotes beforehand. Only link to an episode article if it has already been created.
RTitle
(optional)
Unformatted parameter that can be used to add a reference after Title, or can be used as a "raw title" to replace Title completely.
AltTitle
(optional)
An alternative title, such as the title of a foreign show's episode in its native language, or a title that was originally changed. It will be listed below Title and be presented in "quotes".
Aux1
(optional)
Optional parameter. The meaning is specified by the table header.
DirectedBy
(optional)
Who directed the episode.
WrittenBy
(optional)
Primary writer(s) of the episode.
Aux2 & Aux3
(optional)
Optional parameters. The meaning is specified by the table header.
OriginalAirDate
(optional)
This is the date the episode first aired on TV, or is scheduled to air. Use {{start date}}.
AltDate
(optional)
The next notable air date, such as the first air date of an anime in English. Do not use {{start date}}, unless OriginalAirDate is not present.
ProdCode
(optional)
The production code in the series. When defined, this parameter also creates a link anchor, prefixed by "pc"; for example, "[[List of episodes#pc01]]".
Aux4
(optional)
Optional parameter. The meaning is specified by the table header.
ShortSummary
(optional)
A short 100-300 word summary of the episode. Make summaries specific to that episode (as in, a description that would normally not be confused with another episode). Episode summaries must not be copied from other sources, as this violates WP:COPYRIGHT.
LineColor
(optional)
Hex codes for the separator line between episode entries. Use code without the #, #00ff00 would be entered as 00ff00, using a #, or anything but a valid hex code will result in an invalid syntax. When none is defined the color defaults to "#CCCCFF".
TopColor
(optional)
Colors the main row of information (that is, not the ShortSummary row). When not defined, if ShortSummary is defined, this defaults to #F2F2F2; otherwise, it defaults to the table default.


This is where information from the template is placed when rendered ({{{LineColor}}} not shown, since there's no text to display, just a color):

EpisodeNumber {{{EpisodeNumber2}}} "{{{Title}}}"{{{RTitle}}}
"{{{AltTitle}}}"
{{{Aux1}}} {{{DirectedBy}}} {{{WrittenBy}}} {{{Aux2}}} {{{Aux3}}} {{{OriginalAirDate}}} {{{AltDate}}} ProdCode {{{Aux4}}}
{{{ShortSummary}}} 

Penggunaan[sunting | sunting sumber]

Bila menggunakan parameter opsional (seperti Aux1, AltDate, etc) only list the parameters yang sedang digunakan, dan menyesuaikan header tabel yang sesuai. Ini akan membantu menghindari kebingungan ketika salah satu entri memiliki parameter diisi dan yang lainnya tidak. Sebuah sel tabel akan terbuka untuk sebuah parameter yang terdaftar, apakah itu diisi atau tidak.

Untuk menerapkan sebuah entri ke daftar episode tambahkan berikut mana episode akan pergi dalam Daftar episode

{{Episode list
 | EpisodeNumber=
 | EpisodeNumber2=
 | Title=
 | RTitle=
 | AltTitle=
 | Aux1=
 | DirectedBy=
 | WrittenBy=
 | Aux2=
 | Aux3=
 | OriginalAirDate=
 | AltDate=
 | ProdCode=
 | Aux4=
 | ShortSummary=
 | LineColor=
}}

Because this is only part of a WikiTable, you first need to open the WikiTable. You need to edit this example according to the optional parameters that you want to show in your table. For example to create a list with only EpisodeNumber, Title, OriginalAirDate, ProdCode, and ShortSummary parameters:

{|class="wikitable" style="width:100%; margin:auto; background:#FFF; table-layout:fixed;"
|-
! style="width:3em;"  | No.
! Title
! style="width:12em;" | Original air date
! style="width:12em;" | Production code
|-

The Television episode template(s) would the follow here

{{Episode list
 | EpisodeNumber=01
 | Title=Cartman Gets Probed
 | OriginalAirDate={{start date|1997|08|13}}
 | ProdCode=101
 | ShortSummary=Space aliens implant a transmitter in [[Eric Cartman|Cartman]] and abduct [[Kyle Broflovski|Kyle]]'s brother.
 | LineColor=333333
}}

After the final episode entry/template you will need to close the WikiTable with:

 |}

Example[sunting | sunting sumber]

This entry:

{{Episode list
 | EpisodeNumber=01
 | Title=Cartman Gets Probed
 | OriginalAirDate={{start date|1997|08|13}}
 | ProdCode=101
 | ShortSummary=Space aliens implant a transmitter in [[Eric Cartman|Cartman]] and abduct [[Kyle Broflovski|Kyle]]'s brother.
 | LineColor=333333
}}

Would appear as follows (shown without table headers):

# Title Original airdate Production code
01 "Cartman Gets Probed" 13 Agustus 1997 (1997-08-13) 101
Space aliens implant a transmitter in Cartman and abduct Kyle's brother. 

Sublists[sunting | sunting sumber]

Kadang-kadang, ketika berhadapan dengan serangkaian sangat panjang, Anda mungkin ingin untuk memecah daftar itu menjadi sublists terpisah. Ketika melakukannya, daftar harus dipecah pada istirahat musim, atau tahun.

Sublists harus dinamai sebagai "Daftar episode X (musim y)", dan transcluded ke daftar utama untuk mencegah berakhir dengan dua daftar informasi duplikat. Untuk halaman subdaftar, Anda harus menggunakan Templat:TL2 untuk setiap episode, di mana "DaftarXepisode" adalah nama dari daftar episode utama. Jadi, misalnya, jika Anda bekerja pada [Daftar [episode Lassie]], Anda akan membagi menjadi Daftar episode Lassie (musim 1) dan Daftar episode Lassie (musim 2) , dan setiap episode pada subdaftar akan menggunakan Templat:TLD. Ketika transcluded ke daftar utama, template ini strip apapun ringkasan dan bergantian baris latar belakang warna antara abu-abu terang dan gelap, tergantung pada nilai {{{EpisodeNumber}}} , tetapi setiap kustom {{{LineColor}}} </ tt> pewarnaan yang tersisa utuh.

Untuk tujuan transclusion, subdaftar masing-masing harus menggunakan <onlyinclude/> tag, tag pembuka dengan tepat setelah "daftar Episode" atau "Daftar episode" header, dan tag penutup di akhir dari daftar episode. Hal ini untuk mencegah, link mengarah eksternal, referensi, template, kategori, interwiki link, dan semua informasi yang tidak perlu lainnya dari yang transcluded ke daftar utama.

Ketika transcluding ke daftar utama, Anda harus menggunakan {{ main}}. Sebagai contoh, mengacu pada Lassie lagi, daftar utama akan memiliki kode berikut di bawah header "Episode daftar":

===Musim 1===
{{main|Daftar episode Lassie (musim 1)}}
{{:Daftar episode Lassie (musim 1)}}

===Musim 2===
{{main|Daftar episode Lassie (musim 2)}}
{{:Daftar episode Lassie (musim 2)}}

Note the colon (:) at the beginning of the transclusions (for example, {{:List of ...); this is necessary when transcluding non-templates to prevent a redlink from appearing. If you tried to transclude List of Lassie episodes (season 1) without using the colon, you would get Templat:List of Lassie episodes (season 1): a redlink to a nonexistent template.

Tips[sunting | sunting sumber]

Ini mungkin membantu untuk menyertakan pesan tersembunyi yang akan muncul ketika seseorang suntingan artikel. Ditempatkan di atas header tabel dan di bawah bagian artikel, seperti:

==Episode==
<!-- Untuk bantuan dengan template ini lihat http://en.wikipedia.org/wiki/Template_talk:Episode_list -->

This message won't be visible when normally viewing the article. A message such as this notes where one can get help for the template.

Show-specific hacks and other sub-pages[sunting | sunting sumber]

Microformat[sunting | sunting sumber]

Templat:UF-hcal-multi

Untuk menunjukkan di mana setiap episode adalah dari tempat yang berbeda, tunggal, spesifik (misalnya, Tim Waktu, salah satu Aux bidang dapat berisi koordinat, diterapkan menggunakan {{coord}}.

Lihat pula[sunting | sunting sumber]