Difference between revisions of "Template:Latest news"

From Detective Conan Wiki
m (Making margins consistent with the Latest/next ep box)
(Parameter naming change: Date, Broadcast Time, Time -> Airdate, Airtime)
 
Line 3: Line 3:
 
         <div style="background: #6699CC; color: white; text-align: center; font-size: 130%; padding: 5px;">'''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 Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|{{{Regular broadcast time}}} }}|9}}<=0
+
             {{#ifexpr: {{timeDiff|{{{S2 Episode Airdate}}}|{{#if:{{{S2 Episode Airtime|}}}|{{{S2 Episode Airtime}}}|{{{Regular Airtime}}} }}|9}}<=0
 
             | {{Latest news/Latest ep
 
             | {{Latest news/Latest ep
 
               | Case First-Last Ep  = {{#if:{{{S2 Case First-Last Ep|}}}|{{{S2 Case First-Last Ep}}}|{{{S2 Episode Number}}} }}
 
               | Case First-Last Ep  = {{#if:{{{S2 Case First-Last Ep|}}}|{{{S2 Case First-Last Ep}}}|{{{S2 Episode Number}}} }}
Line 14: Line 14:
 
               | Case Name          = {{{S3 Case Name}}}
 
               | Case Name          = {{{S3 Case Name}}}
 
               | Case Part Name      = {{{S3 Case Part Name}}}
 
               | Case Part Name      = {{{S3 Case Part Name}}}
               | Episode Date        = {{{S3 Episode Date}}}
+
               | Episode Date        = {{{S3 Episode Airdate}}}
 
               | Anime footnotes    = {{{Anime footnotes}}}
 
               | Anime footnotes    = {{{Anime footnotes}}}
 
               }}
 
               }}
Line 27: Line 27:
 
               | Case Name          = {{{S2 Case Name}}}
 
               | Case Name          = {{{S2 Case Name}}}
 
               | Case Part Name      = {{{S2 Case Part Name}}}
 
               | Case Part Name      = {{{S2 Case Part Name}}}
               | Episode Date        = {{{S2 Episode Date}}}
+
               | Episode Date        = {{{S2 Episode Airdate}}}
 
               | Anime footnotes    = {{{Anime footnotes}}}
 
               | Anime footnotes    = {{{Anime footnotes}}}
 
               }}
 
               }}
Line 55: Line 55:
 
{{Latest news
 
{{Latest news
 
<!-- **ANIME** -->
 
<!-- **ANIME** -->
| Regular broadcast time = Use Japan Standard Time (JST). As of January 2025, the regular broadcast time is 6:00 pm.
+
| 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:
 
<!-- Requirements to make the slots work correctly:
Line 68: Line 68:
 
| S1 Case Name          =  
 
| S1 Case Name          =  
 
| S1 Case Part Name    = Optional: Only used for cases with multiple parts
 
| S1 Case Part Name    = Optional: Only used for cases with multiple parts
| S1 Episode Date      =  
+
| S1 Episode Airdate    =  
| S1 Episode Time      = Optional: Used to override the "Regular broadcast time" parameter for episodes with an irregular broadcast time
+
| S1 Episode Airtime    = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time
 
<!-- Slot 2 -->
 
<!-- 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 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).
Line 75: Line 75:
 
| S2 Case Name          =  
 
| S2 Case Name          =  
 
| S2 Case Part Name    = Optional: Only used for cases with multiple parts
 
| S2 Case Part Name    = Optional: Only used for cases with multiple parts
| S2 Episode Date      =  
+
| S2 Episode Airdate    =  
| S2 Episode Time      = Optional: Used to override the "Regular broadcast time" parameter for episodes with an irregular broadcast time
+
| S2 Episode Airtime    = Optional: Used to override the "Regular airtime" parameter for episodes with an irregular broadcast time
 
<!-- Slot 3 -->
 
<!-- 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 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).
Line 82: Line 82:
 
| S3 Case Name          =  
 
| S3 Case Name          =  
 
| S3 Case Part Name    = Optional: Only used for cases with multiple parts
 
| S3 Case Part Name    = Optional: Only used for cases with multiple parts
| S3 Episode Date      =  
+
| S3 Episode Airdate    =  
| S3 Episode Time      = Optional: Used to override the "Regular broadcast time" parameter for episodes with an irregular broadcast time
+
| 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
 
| Anime footnotes      = Optional: The information inputted here will replace the Next episode section

Latest revision as of 02:59, 3 March 2025

{{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

<!-- **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
}}