Difference between revisions of "User:AvidConanContributor/sandbox"

From Detective Conan Wiki
(Back to square one...)
Line 4: Line 4:
 
         <div style="padding: 5px;">
 
         <div style="padding: 5px;">
 
             <div style="padding-top: 5px; padding-bottom: 8px;"> <!-- Start of Latest Episode -->
 
             <div style="padding-top: 5px; padding-bottom: 8px;"> <!-- Start of Latest Episode -->
                 {{#ifexist:File:TV Episode {{{{{Latest news/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|{{{Regular broadcast time}}}}}} Case First-Last Ep}}}.jpg|
+
                 {{#ifexist:File:TV Episode {{{Case episode number}}}.jpg|[[File:TV Episode {{{Case episode number}}}.jpg|200px|center|link={{{Latest episode name}}}]]|[[File:Joke 19 V2.jpg|200px|center|link=]]}}
                [[File:TV Episode {{{{{Latest news/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|{{{Regular broadcast time}}}}}} Case First-Last Ep}}}.jpg|200px|center|link={{{{{Latest news/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|{{{Regular broadcast time}}}}}} Case Name}}}]]|
 
                [[File:Joke 19 V2.jpg|200px|center|link=]]}}
 
 
             </div>
 
             </div>
             <div style="text-align: center; padding-bottom: 5px;">
+
             <div style="text-align: center; padding-bottom: 5px;">[[{{{Latest episode name}}}|'''Episode {{{Latest episode number}}}''': {{{Latest episode name}}} {{#if: {{{Latest Part|}}} | <font size="1">({{{Latest Part}}})</font>}}]]</div> <!-- End of Latest Episode -->
                [[{{{{{Latest news/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|{{{Regular broadcast time}}}}}} Case Name}}}|'''Episode {{{{{Latest news/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|{{{Regular broadcast time}}}}}} Episode Number}}}''': {{{{{Latest news/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|{{{Regular broadcast time}}}}}} Episode Name}}} {{#if: {{{{{Latest news/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|{{{Regular broadcast time}}}}}} Case Part Name|}}} | <font size="1">({{{{{Latest news/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|{{{Regular broadcast time}}}}}} Case Part Name}}})</font>}}]]
 
            </div> <!-- End of Latest Episode -->
 
 
----
 
----
 
             <div style="text-align: center; padding-top: 5px;"> <!-- Start of Footnotes/Next Episode -->
 
             <div style="text-align: center; padding-top: 5px;"> <!-- Start of Footnotes/Next Episode -->
                {{#if: {{{Anime footnotes|}}} | {{{Anime footnotes}}} |  
+
{{#if: {{{Anime footnotes|}}} | {{{Anime footnotes}}} | Next: [[{{{Next episode name}}}|'''Episode {{{Next episode number}}}''': {{{Next episode name}}} {{#if: {{{Next Part|}}} | <font size="1">(Part {{{Next Part}}})</font> }}]]<br>{{countdown|{{{Next episode date}}}}} }} <!-- End of Next Episode -->
                Next: [[{{{Next episode name}}}|'''Episode {{{Next episode number}}}''': {{{Next episode name}}} {{#if: {{{Next Part|}}} | <font size="1">(Part {{{Next Part}}})</font> }}]]<br>{{countdown|{{{Next episode date}}}}} }}
+
            </div>
            </div> <!-- End of Next Episode -->
 
 
         </div>
 
         </div>
 
     </div>
 
     </div>
Line 88: Line 83:
 
| S1 Episode Number      = 1150
 
| S1 Episode Number      = 1150
 
| S1 Case Name          = Kaitou Kid and the Crown Trick
 
| S1 Case Name          = Kaitou Kid and the Crown Trick
| S1 Case Part Name     = Part 1
+
| S1 Episode Part Name   = Part 1
 
| S1 Episode Date        = January 18, 2025
 
| S1 Episode Date        = January 18, 2025
 
| S1 Episode Time        =
 
| S1 Episode Time        =
Line 95: Line 90:
 
| S2 Episode Number      = 1151
 
| S2 Episode Number      = 1151
 
| S2 Case Name          = Kaitou Kid and the Crown Trick
 
| S2 Case Name          = Kaitou Kid and the Crown Trick
| S2 Case Part Name     = Part 1
+
| S2 Episode Part Name   = Part 1
 
| S2 Episode Date        = January 25, 2025
 
| S2 Episode Date        = January 25, 2025
 
| S2 Episode Time        =
 
| S2 Episode Time        =
Line 102: Line 97:
 
| S3 Episode Number      = 1152
 
| S3 Episode Number      = 1152
 
| S3 Case Name          =  
 
| S3 Case Name          =  
| S3 Case Part Name     =  
+
| S3 Episode Part Name   =  
 
| S3 Episode Date        =  
 
| S3 Episode Date        =  
 
| S3 Episode Time        =  
 
| S3 Episode Time        =  

Revision as of 19:06, 24 January 2025

Latest news

Experimenting to see if I can make the template's episode section semi-automatic while also avoiding the use of Template:LE and Template:NE.

The planned parameter layout:

{{Latest news
<!-- **ANIME** -->
| Regular broadcast time = Use Japan Standard Time (JST). As of January 2025, the regular broadcast time is 6:00 pm.

<!-- The episodes contained in slots 1, 2, and 3 must be in chronological order. For example, Slot 1 contains Ep 1000, Slot 2 contains Ep 1001, and Slot 3 contains Ep 1002. -->
<!-- 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 Episode Part Name   = Optional: Only used for cases with multiple parts
| S1 Episode Date        = 
| S1 Episode Time        = Optional: Used to override the "Regular broadcast time" 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 Episode Part Name   = Optional: Only used for cases with multiple parts
| S2 Episode Date        = 
| S2 Episode Time        = Optional: Used to override the "Regular broadcast time" 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 Episode Part Name   = Optional: Only used for cases with multiple parts
| S3 Episode Date        = 
| S3 Episode Time        = Optional: Used to override the "Regular broadcast time" parameter for episodes with an irregular broadcast time

| Anime footnotes        = Optional: custom information on display

<!-- **MANGA** -->
| Latest chapter number  =
| Latest chapter name    =
| Latest chapter date    = Optional: essentially of no purpose

| Next chapter number    =
| Next chapter name      =
| Next chapter date      =

| Manga footnotes        = Optional: custom information on display
}}

Test

[[Image:{{{1}}}.jpg|100px|link={{{1}}}|alt={{{1}}}]]
[[{{{1}}}|{{{1}}}]]