Template:Latest news: Difference between revisions
Appearance
No edit summary |
Removed M29 countdown box |
||
| (40 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><div style="display: flex; flex-direction: column; width: 100%; align-items: flex-start;"> | ||
<div style="display: flex; flex-direction: column; width: 100%; align-items: flex-start;"> | <!-- Start of Latest Episode (Detective Conan) section --> | ||
<div style="border: | <div style="border: 2px solid #ccc; margin: 0px 0px 5px 0px; width: 100%; box-sizing: border-box; padding: 5px;"> | ||
<div style="background: #6699CC; color: white; text-align: center; font-size: 130%;">'''Latest episode'''</div> | <div style="background: #6699CC; color: white; text-align: center; font-size: 130%; padding: 5px;">'''Latest episode'''</div> | ||
<div style="padding: 5px;"> | <div style="padding: 5px;"> | ||
< | {{#ifexpr: {{timeDiff|{{{S2 Episode Airdate}}}|{{#if:{{{S2 Episode Airtime|}}}|{{{S2 Episode Airtime}}}|{{{Regular Airtime}}} }}|9}}<=0 | ||
| {{Latest news/Latest ep | |||
</div> | | Case First-Last Ep = {{#if:{{{S2 Case First-Last Ep|}}}|{{{S2 Case First-Last Ep}}}|{{{S2 Episode Number}}} }} | ||
| Case Image = {{{S2 Case Image}}} | |||
--- | | Episode Number = {{{S2 Episode Number}}} | ||
| Case Name = {{{S2 Case Name}}} | |||
| Case Part Name = {{{S2 Case Part Name}}} | |||
}} | |||
{{Latest news/Next ep | |||
| Episode Number = {{{S3 Episode Number}}} | |||
| Case Name = {{{S3 Case Name}}} | |||
| Case Part Name = {{{S3 Case Part Name}}} | |||
| Episode Date = {{{S3 Episode Airdate}}} | |||
| Anime footnotes = {{{Anime footnotes}}} | |||
}} | |||
| {{Latest news/Latest ep | |||
| Case First-Last Ep = {{#if:{{{S1 Case First-Last Ep|}}}|{{{S1 Case First-Last Ep}}}|{{{S1 Episode Number}}} }} | |||
| Case Image = {{{S1 Case Image}}} | |||
| Episode Number = {{{S1 Episode Number}}} | |||
| Case Name = {{{S1 Case Name}}} | |||
| Case Part Name = {{{S1 Case Part Name}}} | |||
}} | |||
{{Latest news/Next ep | |||
| Episode Number = {{{S2 Episode Number}}} | |||
| Case Name = {{{S2 Case Name}}} | |||
| Case Part Name = {{{S2 Case Part Name}}} | |||
| Episode Date = {{{S2 Episode Airdate}}} | |||
| Anime footnotes = {{{Anime footnotes}}} | |||
}} | |||
}} | |||
</div> | |||
</div> | |||
<!-- Start of Latest Yaiba Episode section --> | |||
<div style="border: 2px solid #ccc; margin: 8px 0px 5px 0px; width: 100%; box-sizing: border-box; padding: 5px;"> | |||
<div style="background: #6699CC; color: white; text-align: center; font-size: 130%; padding: 5px;">'''Latest Yaiba episode'''</div> | |||
<div style="padding: 5px;"> | |||
{{#ifexpr: {{timeDiff|{{{S2 Yaiba Episode Airdate}}}|{{#if:{{{S2 Yaiba Episode Airtime|}}}|{{{S2 Yaiba Episode Airtime}}}|{{{Regular Yaiba Airtime}}} }}|9}}<=0 | |||
| {{Latest news/Latest ep | |||
| Series = Yaiba | |||
| Case First-Last Ep = {{#if:{{{S2 Yaiba First-Last Ep|}}}|{{{S2 Yaiba First-Last Ep}}}|{{{S2 Yaiba Episode Number}}} }} | |||
| Episode Number = {{{S2 Yaiba Episode Number}}} | |||
| Case Name = {{{S2 Yaiba Name}}} | |||
| Case Part Name = {{{S2 Yaiba Part Name}}} | |||
}} | |||
{{Latest news/Next ep | |||
| Episode Number = {{{S3 Yaiba Episode Number}}} | |||
| Case Name = {{{S3 Yaiba Name}}} | |||
| Part Name = {{{S3 Yaiba Part Name}}} | |||
| Episode Date = {{{S3 Yaiba Episode Airdate}}} | |||
| Anime footnotes = {{{Yaiba footnotes}}} | |||
}} | |||
| {{Latest news/Latest ep | |||
| Series = Yaiba | |||
| Case First-Last Ep = {{#if:{{{S1 Yaiba First-Last Ep|}}}|{{{S1 Yaiba First-Last Ep}}}|{{{S1 Yaiba Episode Number}}} }} | |||
| Episode Number = {{{S1 Yaiba Episode Number}}} | |||
| Case Name = {{{S1 Yaiba Name}}} | |||
| Case Part Name = {{{S1 Yaiba Part Name}}} | |||
}} | |||
{{Latest news/Next ep | |||
| Episode Number = {{{S2 Yaiba Episode Number}}} | |||
| Case Name = {{{S2 Yaiba Name}}} | |||
| Part Name = {{{S2 Yaiba Part Name}}} | |||
| Episode Date = {{{S2 Yaiba Episode Airdate}}} | |||
| Anime footnotes = {{{Yaiba footnotes}}} | |||
}} | |||
}} | |||
</div> | </div> | ||
</div> | </div> | ||
<div style="border: | <!-- Start of Latest Chapter section (Detective Conan) --> | ||
<div style="background: #6699CC; color: white; text-align: center; font-size: 130%;">'''Latest chapter'''</div> | <div style="border: 2px solid #ccc; margin: 8px 0px 5px 0px; width: 100%; box-sizing: border-box; padding: 5px;"> | ||
<div style="background: #6699CC; color: white; text-align: center; font-size: 130%; padding: 5px;">'''Latest chapter'''</div> | |||
<div style="padding: 5px;"> | <div style="padding: 5px;"> | ||
<div style="padding-top: 5px; padding-bottom: 5px;"> | <div style="padding-top: 5px; padding-bottom: 5px;"> <!-- Start of Latest Manga Chapter --> | ||
{{#ifexist:File:Chapter {{{Latest chapter number}}} Cover.jpg|[[File:Chapter {{{Latest chapter number}}} Cover.jpg|100px|center|link={{{Latest chapter name}}}]]|[[File:Joke 19 V2.jpg|200px|center|link=]]}} | {{#ifexist:File:Chapter {{{Latest chapter number}}} Cover.jpg|[[File:Chapter {{{Latest chapter number}}} Cover.jpg|100px|center|link={{{Latest chapter name}}}]]|[[File:Joke 19 V2.jpg|200px|center|link=]]}} | ||
</div> | </div> | ||
<div style="text-align: center; padding-bottom: 5px;">[[{{{Latest chapter name}}}|'''File {{{Latest chapter number}}}''': {{{Latest chapter name}}}]]</div> | <div style="text-align: center; padding-bottom: 5px;">[[{{{Latest chapter name}}}|'''File {{{Latest chapter number}}}''': {{{Latest chapter name}}}]]</div> <!-- End of Latest Manga Chapter --> | ||
---- | <hr style="margin: 0.2em 0;"> | ||
<div style="text-align: center; padding-top: 5px;"> | <div style="text-align: center; padding-top: 5px;"> | ||
[[{{{Next chapter name}}}|'''File {{{Next chapter number}}}''': {{{Next chapter name}}}]]<br>{{countdown|{{{Next chapter date}}}}} | <p style="margin: 0 0 0.25em;"> <!-- Start of Footnotes/Next Episode --> | ||
</div> | {{#if: {{{Manga footnotes|}}} | {{{Manga footnotes}}} | ||
| {{#if: {{{Next chapter name|}}} | Next: [[{{{Next chapter name}}}|'''File {{{Next chapter number}}}''': {{{Next chapter name}}}]]<br>{{countdown|{{{Next chapter date}}}}} | |||
| Next: '''File {{{Next chapter number}}}'''<br>{{countdown|{{{Next chapter date}}}}} | |||
}} | |||
}} <!-- End of Latest Chapter --> | |||
</p></div> | |||
</div> | </div> | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude> | <noinclude><pre> | ||
<pre> | |||
{{Latest news | {{Latest news | ||
<!-- | <!-- **ANIME** --> | ||
| | | Regular Airtime = Use Japan Standard Time (JST). As of January 2025, the regular airtime for Detective Conan is 6:00 pm JST. | ||
| | |||
| | <!-- Requirements to make the slots work correctly: | ||
<!-- | * The episodes contained in the slots must be in consecutive chronological order. For example, if Slot 1 contains Ep 1000, then Slot 2 should contain Ep 1001 and Slot 3 should contain Ep 1002. | ||
| | * Either Slot 1 or Slot 2 must contain the latest episode | ||
| Next episode | - It is best to try and keep updating Slot 1 to contain the latest episode | ||
| | --> | ||
<!-- | |||
| | <!-- Slot 1 --> | ||
| | | S1 Case First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001). | ||
| | | S1 Episode Number = | ||
<!-- | | S1 Case Name = | ||
| | | S1 Case Part Name = Optional: Only used for cases with multiple parts | ||
| Next chapter number | | S1 Episode Airdate = | ||
| Next chapter date | | S1 Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time | ||
<!-- Slot 2 --> | |||
| S2 Case First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001). | |||
| S2 Episode Number = | |||
| S2 Case Name = | |||
| S2 Case Part Name = Optional: Only used for cases with multiple parts | |||
| S2 Episode Airdate = | |||
| S2 Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time | |||
<!-- Slot 3 --> | |||
| S3 Case First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001). | |||
| S3 Episode Number = | |||
| S3 Case Name = | |||
| S3 Case Part Name = Optional: Only used for cases with multiple parts | |||
| S3 Episode Airdate = | |||
| S3 Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time | |||
| Anime footnotes = Optional: The information inputted here will replace the Next episode section | |||
<!-- **Yaiba** --> | |||
| Regular Yaiba Airtime = Use Japan Standard Time (JST). As of January 2025, the regular airtime for Yaiba is 5:30 pm JST. | |||
<!-- Requirements to make the slots work correctly: | |||
* The episodes contained in the slots must be in consecutive chronological order. For example, if Slot 1 contains Ep 1, then Slot 2 should contain Ep 2 and Slot 3 should contain Ep 3. | |||
* Either Slot 1 or Slot 2 must contain the latest episode | |||
- It is best to try and keep updating Slot 1 to contain the latest episode | |||
--> | |||
<!-- Slot 1 --> | |||
| S1 Yaiba First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001). | |||
| S1 Yaiba Episode Number = | |||
| S1 Yaiba Name = | |||
| S1 Yaiba Part Name = Optional: Only used for cases with multiple parts | |||
| S1 Yaiba Episode Airdate = | |||
| S1 Yaiba Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time | |||
<!-- Slot 2 --> | |||
| S2 Yaiba First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001). | |||
| S2 Yaiba Episode Number = | |||
| S2 Yaiba Name = | |||
| S2 Yaiba Part Name = Optional: Only used for cases with multiple parts | |||
| S2 Yaiba Episode Airdate = | |||
| S2 Yaiba Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time | |||
<!-- Slot 3 --> | |||
| S3 Yaiba First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001). | |||
| S3 Yaiba Episode Number = | |||
| S3 Yaiba Name = | |||
| S3 Yaiba Part Name = Optional: Only used for cases with multiple parts | |||
| S3 Yaiba Episode Airdate = | |||
| S3 Yaiba Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time | |||
| Yaiba footnotes = Optional: The information inputted here will replace the Next episode section | |||
<!-- **MANGA** --> | |||
| Latest chapter number = | |||
| Latest chapter name = | |||
| Latest chapter date = Optional: Currently has no use | |||
| Next chapter number = | |||
| Next chapter name = | |||
| Next chapter date = | |||
| Manga footnotes = Optional: The information inputted here will replace the Next chapter section | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Templates]] | |||
Latest revision as of 16:31, 11 April 2026
{{Latest news
<!-- **ANIME** -->
| Regular Airtime = Use Japan Standard Time (JST). As of January 2025, the regular airtime for Detective Conan is 6:00 pm JST.
<!-- Requirements to make the slots work correctly:
* The episodes contained in the slots must be in consecutive chronological order. For example, if Slot 1 contains Ep 1000, then Slot 2 should contain Ep 1001 and Slot 3 should contain Ep 1002.
* Either Slot 1 or Slot 2 must contain the latest episode
- It is best to try and keep updating Slot 1 to contain the latest episode
-->
<!-- Slot 1 -->
| S1 Case First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001).
| S1 Episode Number =
| S1 Case Name =
| S1 Case Part Name = Optional: Only used for cases with multiple parts
| S1 Episode Airdate =
| S1 Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time
<!-- Slot 2 -->
| S2 Case First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001).
| S2 Episode Number =
| S2 Case Name =
| S2 Case Part Name = Optional: Only used for cases with multiple parts
| S2 Episode Airdate =
| S2 Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time
<!-- Slot 3 -->
| S3 Case First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001).
| S3 Episode Number =
| S3 Case Name =
| S3 Case Part Name = Optional: Only used for cases with multiple parts
| S3 Episode Airdate =
| S3 Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time
| Anime footnotes = Optional: The information inputted here will replace the Next episode section
<!-- **Yaiba** -->
| Regular Yaiba Airtime = Use Japan Standard Time (JST). As of January 2025, the regular airtime for Yaiba is 5:30 pm JST.
<!-- Requirements to make the slots work correctly:
* The episodes contained in the slots must be in consecutive chronological order. For example, if Slot 1 contains Ep 1, then Slot 2 should contain Ep 2 and Slot 3 should contain Ep 3.
* Either Slot 1 or Slot 2 must contain the latest episode
- It is best to try and keep updating Slot 1 to contain the latest episode
-->
<!-- Slot 1 -->
| S1 Yaiba First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001).
| S1 Yaiba Episode Number =
| S1 Yaiba Name =
| S1 Yaiba Part Name = Optional: Only used for cases with multiple parts
| S1 Yaiba Episode Airdate =
| S1 Yaiba Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time
<!-- Slot 2 -->
| S2 Yaiba First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001).
| S2 Yaiba Episode Number =
| S2 Yaiba Name =
| S2 Yaiba Part Name = Optional: Only used for cases with multiple parts
| S2 Yaiba Episode Airdate =
| S2 Yaiba Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time
<!-- Slot 3 -->
| S3 Yaiba First-Last Ep = Optional: If case has multiple parts, insert the number of the first episode of the case and the last episode of the case, separated by a hyphen (e.g., 1000-1001).
| S3 Yaiba Episode Number =
| S3 Yaiba Name =
| S3 Yaiba Part Name = Optional: Only used for cases with multiple parts
| S3 Yaiba Episode Airdate =
| S3 Yaiba Episode Airtime = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time
| Yaiba footnotes = Optional: The information inputted here will replace the Next episode section
<!-- **MANGA** -->
| Latest chapter number =
| Latest chapter name =
| Latest chapter date = Optional: Currently has no use
| Next chapter number =
| Next chapter name =
| Next chapter date =
| Manga footnotes = Optional: The information inputted here will replace the Next chapter section
}}