User:Avram/Template:Multilingual episode list/doc

For lists that only want to list titles and air dates, etc, and do not want to include summaries can remove |ShortSummary=, which will remove the colored line separator and any cell coloring.

Parameters

edit
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, this parameter also creates a link anchor, prefixed by "ep"; for example, "[[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.
EnglishTitle
(Required if no JapaneseTitle)
The original (Japanese) title, written in English. When used, EnglishTitle will be on top of JapaneseTitle and be presented in "bold letters and quotes".

Alternatively, if a different title is used for the English distribution you can use EnglishTitle for the English distribution (or dub), and then use JapaneseTitle for the Japanese version. (but written in English)

JapaneseTitle
(Required if no EnglishTitle)
The original Japanese title using Romaji. The title will appear bold and in "quotes" when rendered, so it is not necessary to place them in quotes before hand. If there is a different English title, it will be presented in italics and in "quotes", below the EnglishTitle.

Alternatively, if a different title is used for the English distribution you can use EnglishTitle for the English distribution (or dub), and then use JapaneseTitle for the Japanese version. (but written in English)

KanjiTitle
(optional)
The title of the episode in Kanji, such as "漂流? 冒険の島". (Note: not all browsers properly display Kanji.) This is presented after the title in (parenthesis).
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.
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 This is the date the episode first aired on TV in Japan.
FirstEngAirDate
(optional)
This is the date the episode first aired in English or with English subtitles.
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 summary of the episode. Make summaries specific to that episode (as in, a description that would normally not be confused with another episode).
LineColor
(optional)
Hex codes for the separator line between episode entries. Use code without the #. #00ff00 would be entered as 00ff00. 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}}}"{{{EnglishTitle}}}"{{{RTitle}}}
Transliteration: "{{{JapaneseTitle}}}" (Japanese: {{{KanjiTitle}}})
{{{Aux1}}}{{{DirectedBy}}}{{{WrittenBy}}}{{{Aux2}}}{{{Aux3}}}{{{OriginalAirDate}}}{{{FirstEngAirDate}}}ProdCode{{{Aux4}}}
{{{ShortSummary}}}

Using the template

edit

When using optional parameters (such as Aux1, AltDate, etc) only list the parameters that are being used, and adjust the table headers accordingly. This will help avoid confusion when one entry has a parameter filled out and another does not. A table cell will be open for a listed parameter, whether it is filled out or not.

To apply an entry to an episode listing add the following where the episode would go in the List of episodes:

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

Because this is only part of a WikiTable, it must be used after the WikiTable (and table headers) have been written. Such as:

{|class="wikitable" style="width:100%; margin:auto; background:#FFFFFF;"
|-
! width="30" | # !! Title !! width="150" | Original air date

The Japanese episode list template would go here and then require that the wikitable be closed after the final episode entry/template with:

|}

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

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

Example

edit

This entry:

{{Episode list
 |EpisodeNumber=01
 |Title=Mikuru Asahina's Adventure - Episode 00
 |TranslitTitle=Asahina Mikuru no Bouken Episode 00
 |NativeTitleLangCode = ja|NativeTitle=朝比奈ミクルの冒険Episode00
 |OriginalAirDate=[[2006-04-02]]
 |ShortSummary=The SOS Brigade previews their movie of questionable quality.
 |LineColor=
}}

Would appear as follows (shown without table headers):

01"Mikuru Asahina's Adventure - Episode 00"
Transliteration: "Asahina Mikuru no Bouken Episode 00" (Japanese: 朝比奈ミクルの冒険Episode00)
2006-04-02
The SOS Brigade previews their movie of questionable quality.

Sublists

edit

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 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)}}
[[Template: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 Template:List of D.Gray-man episodes (season 1): a redlink to a nonexistent template.

Tips

edit

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

edit