Difference between revisions of "User:AvidConanContributor/sandbox"

From Detective Conan Wiki
(Test)
(Added old version of Latest news template for comparison)
Line 10: Line 10:
 
               | Case Part Name      = {{{S2 Case Part Name}}}
 
               | Case Part Name      = {{{S2 Case Part Name}}}
 
               }}
 
               }}
              <hr style="margin: 0.2em 0;">
 
 
               {{Latest news/Next ep
 
               {{Latest news/Next ep
 
               | Episode Number      = {{{S3 Episode Number}}}
 
               | Episode Number      = {{{S3 Episode Number}}}
Line 24: Line 23:
 
               | Case Part Name      = {{{S1 Case Part Name}}}
 
               | Case Part Name      = {{{S1 Case Part Name}}}
 
               }}
 
               }}
              <hr style="margin: 0.2em 0;">
 
 
               {{Latest news/Next ep
 
               {{Latest news/Next ep
 
               | Episode Number      = {{{S2 Episode Number}}}
 
               | Episode Number      = {{{S2 Episode Number}}}
Line 150: Line 148:
 
| Manga footnotes      =
 
| Manga footnotes      =
 
}} </noinclude>
 
}} </noinclude>
 +
== Old Version ==
 +
<div style="display: flex; flex-direction: column; width: 100%; align-items: flex-start;">
 +
    <!-- Latest Episode Section -->
 +
    <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%; padding: 5px;">'''Latest episode'''</div>
 +
{{LE|1151|Kaitou Kid and the Crown Trick|part=2|January 25, 2025}}
 +
----
 +
            <div style="text-align: center; padding-top: 5px;">
 +
{{#if: {{{Anime footnotes|}}} | {{{Anime footnotes}}} | {{NE|1152|Last Dance|February 8, 2025}} }}
 +
            </div>
 +
        </div>
 +
    </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-top: 5px; padding-bottom: 5px;">
 +
                {{#ifexist:File:Chapter 1137 Cover.jpg|[[File:Chapter 1137 Cover.jpg|100px|center|link=The Sacred Light of the Dead]]|[[File:Joke 19 V2.jpg|200px|center|link=]]}}
 +
            </div>
 +
            <div style="text-align: center; padding-bottom: 5px;">[[The Sacred Light of the Dead|'''File 1137''': The Sacred Light of the Dead]]</div>
 +
----
 +
            <div style="text-align: center; padding-top: 5px;">
 +
{{#if: {{{Manga footnotes|}}} | {{{Manga footnotes}}} | Next: [[???|'''File 1138''': ???]]<br>{{countdown|January 29, 2025}} }}
 +
            </div>
 +
        </div>
 +
    </div>
 +
</div>

Revision as of 23:09, 26 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.

<!-- 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 recommended to try and update Slot 1 to always 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 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: The information inputted here will replace the Next episode section

<!-- **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: The information inputted here will replace the Next chapter section
}}

Test

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

Old Version

Latest episode

Template:LE


Latest chapter