Difference between revisions of "User:AvidConanContributor/sandbox"
From Detective Conan Wiki
m |
|||
| 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 | |
| − | + | | {{Latest news/Latest ep | |
| − | + | | Episode Number = {{#if:{{{S2 Case First-Last Ep|}}}|{{{S2 Case First-Last Ep}}}|{{{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 Date}}} | ||
| + | | Anime footnotes = {{{Anime footnotes}}} | ||
| + | }} | ||
| + | | {{Latest news/Latest ep | ||
| + | | Episode Number = {{#if:{{{S1 Case First-Last Ep|}}}|{{{S1 Case First-Last Ep}}}|{{{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 Date}}} | ||
| + | | Anime footnotes = {{{Anime footnotes}}} | ||
| + | }} | ||
| + | }} | ||
</div> | </div> | ||
</div> | </div> | ||
Revision as of 22:51, 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 Case 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 Case 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 Case 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
[[{{{1}}}|{{{1}}}]]