Template:Episodelistbody: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Watch this!)
mNo edit summary
 
(24 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{|</noinclude>
<includeonly>
|- align="center" style="background:#FFFFFF"
|- style="text-align:center; background:#FFFFFF"
| {{#switch: {{{1|None}}}|Skipped|skipped={{tt|*|Skipped in Japan}}|None|none={{tt|*|No episode code. Aired as a special.}}|[[{{{1|EP001}}}]]}}
| {{#switch: {{{1|None}}}|Skipped|skipped={{tt|*|Skipped in Japan}}|None|none={{tt|*|No episode code. Aired as a special.}}|[[{{{1|EP001}}}]]}}
| width="200px"[[Image:{{{7|{{{1|EP001}}}.png}}}|{{#ifexpr: {{#time: U|{{{6|April 1, 1997}}}}} > {{#time: U|March 26, 2009}}|200|150}}px|{{#switch: {{{2|None}}}|None|none={{{4|Pokémon! I Choose You!}}}|{{{2|None}}}}}]]
| style="background: #000; width: 192px; padding: 0" | [[File:{{{7|{{{1|EP001}}}.png}}}|{{{size|x108}}}px|{{#switch: {{{2|None}}}|None|none={{{4|Pokémon! I Choose You!}}}|{{{2|None}}}}}]]
| style="background: #{{#switch: {{{2|None}}}|None|none=EEEEFF|FFFFFF}}" | {{#switch: {{{2|None}}}|None|none=No English title|''{{{2|Pokémon - I Choose You!}}}''}}
| style="background: #{{#switch: {{{2|None}}}|None|none=EEEEFF|FFFFFF}}" | {{#switch: {{{2|None}}}|None|none=No English title|''{{{2|Pokémon - I Choose You!}}}''}}
| {{{3|ポケモン! きみにきめた!}}}<br><small>''{{{4|Pokémon! I Choose You!}}}''</small>
| {{{3|ポケモン! きみにきめた!}}}<br><small>''{{{4|Pokémon! I Choose You!}}}''</small>
| style="background: #{{#switch: {{{5|Unannounced}}}|Unaired|unaired|Unannounced|unannounced|None|none=EEEEFF|FFFFFF}}" | {{#switch: {{{5|Unannounced}}}|Unannounced|unannounced=No airdate<br>has been announced|Unaired|unaired|None|none=Unaired|{{{5|September 8, 1998}}}}}
| style="background: #{{#switch: {{{5|Unannounced}}}|Unaired|unaired|Unannounced|unannounced|Postponed|postponed|None|none=EEEEFF|FFFFFF}}" | {{#switch: {{{5|Unannounced}}}|Unannounced|unannounced=No airdate<br>has been announced|Unaired|unaired|Postponed|postponed|None|none=Unaired|{{{5|September 8, 1998}}}}}
| style="background: #{{#switch: {{{6|Unannounced}}}|Unaired|unaired|Unannounced|unannounced|None|none=EEEEFF|FFFFFF}}" | {{#switch: {{{6|Unannounced}}}|Unannounced|unannounced=No airdate<br>has been announced|Unaired|unaired|None|none=Unaired|{{{6|April 1, 1997}}}}}
| style="background: #{{#switch: {{{6|Unannounced}}}|Unaired|unaired|Unannounced|unannounced|Postponed|postponed|None|none=EEEEFF|FFFFFF}}" | {{#switch: {{{6|Unannounced}}}|Unannounced|unannounced=No airdate<br>has been announced|Unaired|unaired|Postponed|postponed|None|none=Unaired|{{{6|April 1, 1997}}}}}
| {{#switch: {{{6|Unannounced}}}|Unaired|unaired|Unannounced|unannounced|Postponed|postponed|None|none=Never aired|{{#switch: {{{5|Unannounced}}}|Unaired|unaired|Unannounced|unannounced|Postponed|postponed|None|none={{#ifexpr: abs(({{#time: U|{{#time: F j, Y}}}} - {{#time: U|{{{6|April 1, 1997}}}}}) div 86400) != 0|{{#expr: abs({{#time: U|{{#time: F j, Y}}}} - {{#time: U|{{{6|April 1, 1997}}}}}) div 86400}} day{{#ifexpr: abs(({{#time: U|{{#time: F j, Y}}}} - {{#time: U|{{{6|April 1, 1997}}}}}) div 86400) != 1|s}}<br>{{#ifexpr: (({{#time: U|{{#time: F j, Y}}}} - {{#time: U|{{{6|April 1, 1997}}}}}) div 86400) < 0|until|since}} Japanese airing|{{#ifexpr: {{#time: G}} + 9 < 18|Airs today in Japan<br>(in less than {{#expr: 18 - ({{#time: G}} + 9)}} hour{{#ifexpr: (18 - ({{#time: G}} + 9)) != 1|s}})|Aired today in Japan<br>({{#expr: {{#time: G}} + 9 - 18}} hour{{#ifexpr: ({{#time: G}} + 9 - 18) != 1|s}} ago)}}}}|{{#expr: abs(({{#time: U|{{{5|September 8, 1998}}}}} - {{#time: U|{{{6|April 1, 1997}}}}}) div 86400)}} day{{#ifexpr: abs(({{#time: U|{{{5|September 8, 1998}}}}} - {{#time: U|{{{6|April 1, 1997}}}}}) div 86400) != 1|s}}}}}}</includeonly><noinclude>
{{documentation}}


| {{#switch: {{{6|Unannounced}}}|Unaired|unaired|Unannounced|unannounced|None|none=Never aired|{{#switch: {{{5|Unannounced}}}|Unaired|unaired|Unannounced|unannounced|None|none={{#ifexpr: (({{#time: U|{{#time: F j, Y}}}} - {{#time: U|{{{6|April 1, 1997}}}}}) div 86400) < 0|{{#expr: -(({{#time: U|{{#time: F j, Y}}}} - {{#time: U|{{{6|April 1, 1997}}}}}) div 86400)}} days<br>until Japanese airing|{{#ifexpr: (({{#time: U|{{#time: F j, Y}}}} - {{#time: U|{{{6|April 1, 1997}}}}}) div 86400) = 0|{{#ifexpr: {{#time: G}} < 10|Airs|Aired}} today in Japan<br>({{#ifexpr: {{#time: G}} < 10|in less than {{#expr: 10 - {{#time: G}}}} hour{{#ifexpr: (10 - {{#time: G}}) > 1|s}}|{{#expr: {{#time: G}} - 10}} hour{{#ifexpr: ({{#time: G}} - 10) > 1|s}} ago}})|{{#expr: ({{#time: U|{{#time: F j, Y}}}} - {{#time: U|{{{6|April 1, 1997}}}}}) div 86400}} days<br>since Japanese airing}}}}|{{#expr: ({{#time: U|{{{5|September 8, 1998}}}}} - {{#time: U|{{{6|April 1, 1997}}}}}) div 86400}} days}}}}<noinclude>
[[Category:Table templates]]</noinclude>
|} [[Category:Table templates]]</noinclude>

Latest revision as of 06:57, 20 August 2023



Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

This template creates a table row, which represents an animated episode, usually part of a series.

This is to be used alongside Template:Episodelistheader, Template:Episodelistfooter, and in some cases Template:Episodelistfooterspecial.

Usage

{{Episodelistbody
|1
|2
|3
|4
|5
|6
|7
|size=
|hd=
}}

Template fields

  • field 1 (epicode) - The epicode of the episode. If there is no epicode, certain other values may be valid:
    • Skipped - The episode was skipped in Japan. Displays as an asterisk with the tooltip "Skipped in Japan".
    • None - The episode was aired as a special, thus it has no epicode. Displays as an asterisk with the tooltip "No episode code. Aired as a special.".
  • field 2 (English title) - The English title of the episode. If there is no title, certain other values may be valid:
    • None or none - The episode never aired in English. Displays as "No English title".
  • field 3 (Japanese title) - The Japanese title of the episode.
  • field 4 (translated Japanese title) - A translation of the Japanese title.
  • field 5 (English air date) - The English air date of the episode (format: January 1, 2005). If there is no date, certain other values may be valid:
    • Unannounced - Displays as "No airdate has been announced".
    • Unaired, Postponed, or None - Displays as "Unaired".
  • field 6 (Japanese air date) - The Japanese air date of the episode (format: January 1, 2005). If there is no date, certain other values may be valid:
    • Unannounced - Displays as "No airdate has been announced". The "Time between" calculation is also cancelled, and displays as "Never aired".
    • Unaired, Postponed, or None - Displays as "Unaired". The "Time between" calculation is also cancelled, and displays as "Never aired".
  • field 7 (thumbnail file name) (optional) - A custom file name for the thumbnail image. Normally, the image file name will default to (epicode).png.
  • size (optional) - A custom size for the thumbnail image. Just the number, do not include "px". Defaults to "x108" for consistent height.

"Time between" calculation

The last column in the display table, "Time between", calculates the amount of days between the Japanese and English air dates.

Case 1 - days until/since Japanese airing (Japanese air date, but no English air date):

  • This case is triggered if field 5 (English air date) equals Unannounced, Unaired, Postponed, or None.

Case 2 - airing today in Japan (Japanese air date, but no English air date):

  • This case if triggered if field 5 (English air date) equals Unannounced, Unaired, Postponed, or None, and field 6 (Japanese air date) is today.

Case 3 - days between Japanese and English airings (both dates given):

  • This case is triggered if both field 5 (English air date) and field 6 (Japanese air date) have date values.

Examples

No epicode

{{Episodelistheader|Kanto}}
{{Episodelistbody|None|[[Snow Way Out!]]|イワークでビバーク|{{tt|Iwark|Onix}} as a {{tt|Bivouac|A military encampment, usually a tent}}|December 18, 1999|October 5, 1998|Snow Way Out.png}}
{{Episodelistfooter|Kanto}}
Code Screenshot English title Japanese title US broadcast Japan broadcast Time between
* Snow Way Out! Snow Way Out! イワークでビバーク
Iwark as a Bivouac
December 18, 1999 October 5, 1998 439 days
 

Skipped episode

{{Episodelistheader|Unova}}
{{Episodelistbody|Skipped|None|[[BW023 (unaired)|ロケット団VSプラズマ団!(前編)]]|{{tt|Rocket-dan|Team Rocket}} VS {{tt|Plasma-dan|Team Plasma}}! (Part 1)|Unaired|Unaired|BW023-unaired.png|hd=yes}}
{{Episodelistbody|Skipped|None|[[BW024 (unaired)|ロケット団VSプラズマ団!(後編)]]|{{tt|Rocket-dan|Team Rocket}} VS {{tt|Plasma-dan|Team Plasma}}! (Part 2)|Unaired|Unaired|BW024-unaired.png|hd=yes}}
{{Episodelistfooter|Unova}}
Code Screenshot English title Japanese title US broadcast Japan broadcast Time between
* Rocket-dan VS Plasma-dan! (Part 1) No English title ロケット団VSプラズマ団!(前編)
Rocket-dan VS Plasma-dan! (Part 1)
Unaired Unaired Never aired
* Rocket-dan VS Plasma-dan! (Part 2) No English title ロケット団VSプラズマ団!(後編)
Rocket-dan VS Plasma-dan! (Part 2)
Unaired Unaired Never aired
 

Both air dates

{{Episodelistheader|Kanto}}
{{Episodelistbody|EP001|Pokémon - I Choose You!|ポケモン!きみにきめた!|Pokémon! I Choose You!|September 8, 1998|April 1, 1997}}
{{Episodelistfooter|Kanto}}
Code Screenshot English title Japanese title US broadcast Japan broadcast Time between
EP001 Pokémon - I Choose You! Pokémon - I Choose You! ポケモン!きみにきめた!
Pokémon! I Choose You!
September 8, 1998 April 1, 1997 525 days
 

Only Japanese air date

{{Episodelistheader|Kanto}}
{{Episodelistbody|EP038|None|でんのうせんしポリゴン|Computer Warrior Porygon|Unaired|December 16, 1997}}
{{Episodelistfooter|Kanto}}
Code Screenshot English title Japanese title US broadcast Japan broadcast Time between
EP038 Computer Warrior Porygon No English title でんのうせんしポリゴン
Computer Warrior Porygon
Unaired December 16, 1997 9845 days
since Japanese airing
 

Only English air date

{{Episodelistheader|}}
{{Episodelistbody|PTP01|The Club|TBA|TBA|August 11, 2023|Unannounced|hd=yes}}
{{Episodelistfooterspecial||This concludes Pokémon: Path to the Peak.}}
Code Screenshot English title Japanese title US broadcast Japan broadcast Time between
PTP01 The Club The Club TBA
TBA
August 11, 2023 No airdate
has been announced
Never aired
This concludes Pokémon: Path to the Peak.