ข้ามไปเนื้อหา

แม่แบบ:ตอนของการ์ตูนญี่ปุ่น/sublist

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]
Lists that only want to list titles and air dates, etc, without including summaries can remove |ShortSummary=, which will remove the colored line separator and any cell coloring.

Parameters

[แก้]
ParameterName Description and usage notes
EpisodeNumber The episode's number in the series, generally following the order of airing or release. This parameter also creates a link anchor, prefixed by "ep"; this allows links to point directly to a given episode: |EpisodeNumber=01 would allow the link [[List of episodes#ep01]].
EpisodeNumber2 (optional) A second episode number column. Useful for when a series aired in a different order, or only included certain episodes, etc (for instance, season 1 of Sailor Moon had several episodes cut when it aired in English).
ThaiTitle The Thai episode title. The title is automatically displayed with "bolding and quotes".
JapaneseTitle RomajiTitle The transliterated (romaji) Japanese episode title. The title is automatically displayed with "bolding and quotes".
KanjiTitle The kanji episode title (for example, "漂流? 冒険の島"). This displays in parenthesis after JapaneseTitle.

Note that some browsers may not properly display kanji, or some computers may not have proper fonts installed, resulting in square boxes or question marks displaying instead of the actual kanji characters - see Help:Multilingual support (East Asian) for more information and links to CJK fonts.

EnglishTitle (optional) The official English title of the episode. If there is no official title (e.g. the series has not been licensed in English, or no official English title has been published), the provided title should be a literal English translation of the Japanese title. EnglishTitle is displayed above JapaneseTitle with "bolding and quotes".

Note that this outputs immediately after EnglishTitle (there's not even a space between them), so if it's being used to provide a second official English title, a space must be hard-coded in the parameter with   or  .

Aux1 (optional) A custom-use parameter whose meaning is specified by the table header.
DirectedBy (optional) The individual who directed the episode. This should be used only when a series was directed by multiple people, with a different person directing each episode, for instance Code Geass. It should not be used if just a small handful of the total number of episodes was directed by someone other than the main director.
WrittenBy (optional) The individual who wrote the episode. This should only be used when a series was written by multiple people, with a different person writing each episode, for instance (once again) Code Geass. It should not be used if just a small handful of the total number of episodes was written by someone other than the main writer.
Aux2 and Aux3 (optional) Custom-use parameters whose meanings are specified by the table header.
OriginalAirDate The date the episode first aired on TV in Japan. For original net animations, this should be the date the episode was first streamed online.
FirstThaAirDate (optional) The date the Thai-dubbed/subtitled episode was first aired on television or streamed online (release dates of fandubs or fansubs should not be listed here, and will be removed on site). It is assumed that this refers to a traditional dubbed television broadcast; if the episode is subbed, streamed online, or both, a note should be placed in the lead.

If a series is licensed in Thai, but a given episode has no official Thai airdate, an mdash (—) should be used. The field should not contain TBA/TBD/TBR (to be announced/determined/revealed) etc, and it should not be left blank.

FirstEngAirDate (optional) The date the English-dubbed/subtitled episode was first aired on television or streamed online (release dates of fandubs or fansubs should not be listed here, and will be removed on site). It is assumed that this refers to a traditional dubbed television broadcast; if the episode is subbed, streamed online, or both, a note should be placed in the lead.

If a series is licensed in English, but a given episode has no official English airdate, an mdash (—) should be used. The field should not contain TBA/TBD/TBR (to be announced/determined/revealed) etc, and it should not be left blank.

ProdCode (optional) The episode's production code. This field should only be used when a series' production codes do not match its episode numbers for some reason, and an explanation of the discrepancy should be provided in the lead, if it can be reliably sourced. When defined, this parameter also creates a link anchor, prefixed by "pc"; this allows links to point directly to a given episode: |ProdCode=01 would allow the link [[List of episodes#pc01]].
Aux4 / Aux5 / Aux6 / Aux7 / Aux8 / Aux9 (optional) A custom-use parameter whose meaning is specified by the table header.
ShortSummary (optional) A succinct summary of the episode. Episode summaries cannot be copied from websites, program guides, or other sources; these will be removed as copyright violations. Spoilers should not be avoided in summaries unless an episode has not been aired or released yet, in which case it is generally preferable to completely omit the summary until the episode airs.

If ShortSummary is defined but empty, an empty "placeholder" cell will be displayed. This is useful if a custom LineColor is being used, but no one has written a summary for a given episode.

LineColor (optional) The color of the line separating episode entries, in hex triplets. The number sign (#) is inserted automatically, so #009900, for example, would be input as |LineColor=009900 (or the shorthand |LineColor=090). LineColor defaults to #CCCCFF, and custom LineColor values are ignored if ShortSummary is undefined.
TopColor (optional) The color of the main row of information (EpisodeNumber, xTitle, xAirDate, etc). If ShortSummary is defined, this defaults to #F2F2F2; otherwise, it defaults to the table default.
Notes
  • † - Any field (except LineColor and TopColor) will display an empty cell if it is defined but empty.
  • ‡ - At least one of EnglishTitle, JapaneseTitle, or KanjiTitle must be defined.

This shows how the template appears with all parameters defined (|LineColor= and |TopColor= are not shown, since they don't output text):

{{{EpisodeNumber}}}{{{EpisodeNumber2}}} "{{{ThaiTitle}}}" {{{EnglishTitle}}}
"{{{JapaneseTitle}}}" ({{{KanjiTitle}}}) 
{{{Aux1}}}{{{DirectedBy}}}{{{WrittenBy}}}{{{Aux2}}}{{{Aux3}}}{{{OriginalAirDate}}}{{{FirstThaAirDate}}}{{{FirstEngAirDate}}}{{{ProdCode}}}{{{Aux4}}}{{{Aux5}}}{{{Aux6}}}{{{Aux7}}}{{{Aux8}}}{{{Aux9}}}
{{{ShortSummary}}} 

Using the template

[แก้]

Optional parameters such as Aux1 and RTitle should only be listed if they are used in the table. This helps avoid confusion when a parameter is filled out on only some entries. If a parameter is not filled out, it will result in an empty table cell being displayed.

An additional episode entry can be added to a List of episodes by copying the following code (be sure to prune unused parameters):

{{Japanese episode list
| EpisodeNumber   = 
| EpisodeNumber2  = 
| ThaiTitle    = 
| EnglishTitle    = 
| JapaneseTitle   = 
| KanjiTitle      = 
| Aux1            = 
| DirectedBy      = 
| WrittenBy       = 
| Aux2            = 
| Aux3            = 
| OriginalAirDate = 
| FirstEngAirDate = 
| ProdCode        = 
| Aux4            = 
| ShortSummary    = 
| LineColor       = 
}}

Note that this only inserts a section of a wikitable which must be opened and closed:

{| class="wikitable" style="width: 98%;" border="1"
|-
! style="width: 4%;" | #
! Title
! style="width: 25%;" | Original air date
|-
{{Japanese episode list
| Episode 1 stuff
}}
{{Japanese episode list
| Episode 2 stuff
}}
...
{{Japanese episode list
| Episode n stuff
}}
|}

Alternatively, you may wish to bring attention to the closing wikitable tag, so it doesn't accidentally get deleted or moved to the wrong spot:

<!--Wikitable footer. Place this after the last episode entry-->|}<!--End wikitable footer-->

Example

[แก้]

This entry (episode 1 of สึซึมิยะ ฮารุฮิ; note that the episode list actually uses the variant template {{S-Japanese episode list}}):

{{Japanese episode list
| EpisodeNumber   = 01
| ThaiTitle   = การผจญภัยของอาซาฮินะ มิคุรุ ตอนที่ 00
| JapaneseTitle   = Asahina Mikuru no Bōken Episode 00
| KanjiTitle      = 朝比奈ミクルの冒険 Episode00
| EnglishTitle    = The Adventures of Mikuru Asahina Episode 00
| OriginalAirDate = April 2, 2006
| ShortSummary    = The SOS Brigade previews their movie of questionable quality. In the movie, [[Mikuru Asahina]] stars as a time-travelling waitress from the future who must engage in fights with [[Yuki Nagato]], who is playing as an alien-magician. Mikuru has sworn to protect a young man, played by [[Itsuki Koizumi]], but a love-triangle ensues with both Mikuru and Yuki vying for Itsuki's affections. [[Kyon]] is the narrator of the movie, while [[Haruhi Suzumiya (character)|Haruhi Suzumiya]] is the director.
}}

Would appear as follows (shown without a table header):

01 "การผจญภัยของอาซาฮินะ มิคุรุ ตอนที่ 00" The Adventures of Mikuru Asahina Episode 00
"Asahina Mikuru no Bōken Episode 00" (朝比奈ミクルの冒険 Episode00) 
April 2, 2006
The SOS Brigade previews their movie of questionable quality. In the movie, Mikuru Asahina stars as a time-travelling waitress from the future who must engage in fights with Yuki Nagato, who is playing as an alien-magician. Mikuru has sworn to protect a young man, played by Itsuki Koizumi, but a love-triangle ensues with both Mikuru and Yuki vying for Itsuki's affections. Kyon is the narrator of the movie, while Haruhi Suzumiya is the director. 

Sublists

[แก้]

Occasionally, when dealing with a very long series, you may wish to break the list up into separate sublists. When doing so, the list should be broken at season breaks. These can be hard to determine for anime series; a good source for them is Japanese or English season box sets if any have been released; otherwise, other good indicators include opening and closing theme song changes or, failing all else, just breaking the list up into chunks of approximately 26 episodes.

Sublists should be named as "List of X episodes (season y)", and transcluded onto the main list to prevent ending up with two lists of duplicate information. For sublist pages, you should use {{Japanese episode list/sublist|List of X episodes}} for each episode, where "List of X episodes" is the name of the main episode list. So, for instance, if you're working on List of D.Gray-man episodes, you would split it into List of D.Gray-man episodes (season 1) and List of D.Gray-man episodes (season 2), and each episode on the sublist would use {{Japanese episode list/sublist|List of D.Gray-man episodes}}. When transcluded onto the main list, this template strips out any summaries and alternates the background row color between light and dark gray, depending on the value of {{{EpisodeNumber}}}, but any custom {{{LineColor}}} coloring is left intact. For episodes breaking this alternation, use {{Japanese episode list/sublist|List of X episodes|NeutralTopColor}} instead.

For the purpose of transclusion, each sublist should make use of <onlyinclude/> tags, with the opening tag just after the "Episode list" or "List of episodes" header, and the closing tag at the very end of the episode list. This prevents the lead, external links, references, templates, categories, interwiki links, and all other unnecessary information from being transcluded onto the main list.

When transcluding onto the main list, you should make use of {{main}}. For example, referring to D.Gray-man again, the main list would have the following code under the "Episode list" header:

===Season 1===
{{main|List of D.Gray-man episodes (season 1)}}
{{:List of D.Gray-man episodes (season 1)}}

===Season 2===
{{main|List of D.Gray-man episodes (season 2)}}
{{:List of D.Gray-man episodes (season 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 D.Gray-man episodes (season 1) without using the colon, you would get แม่แบบ:List of D.Gray-man episodes (season 1): a redlink to a nonexistent template.

Tips

[แก้]

It may be helpful to include a hidden message that will appear when someone edits the article, placed above the table headers and under the article section, such as:

==Episodes==
<!-- For help with this template see http://en.wikipedia.org/wiki/Template_talk:Japanese_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.

Episode list templates

[แก้]

Show-specific hacks and other sub-pages

[แก้]

th:แม่แบบ:ตอนของการ์ตูนญี่ปุ่น