Difference between revisions of "User:AvidConanContributor/sandbox"

From Detective Conan Wiki
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 {{{{{Latestnews/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|Regular broadcast time}}}} Case First-Last Ep}}}.jpg|[[File:TV Episode {{{{{Latestnews/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|Regular broadcast time}}}} Case First-Last Ep}}}.jpg|200px|center|link={{{{{Latestnews/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|Regular broadcast time}}}} Case Name}}}]]|File:Joke 19 V2.jpg}}
+
                 {{#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|[[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]]}}
 
             </div>
 
             </div>
             <div style="text-align: center; padding-bottom: 5px;">[[{{{{{Latestnews/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|Regular broadcast time}}}} Case Name}}}|'''Episode {{{{{Latestnews/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|Regular broadcast time}}}} Episode Number}}}''': {{{{{Latestnews/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|Regular broadcast time}}}} Episode Name}}} {{#if: {{{{{Latestnews/Slotselector|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|Regular broadcast time}}}} Case Part Name|}}} | <font size="1">({{{{{Latestnews/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-bottom: 5px;">[[{{{{{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 -->

Revision as of 18:48, 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}}}]]