Difference between revisions of "User:AvidConanContributor/sandbox"

From Detective Conan Wiki
(Planning a new parameter layout)
(Differences: I forgot why I needed this section, but its unused...)
 
(84 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="display: flex; flex-direction: column; width: 100%; align-items: flex-start;">
+
<includeonly>
    <div style="border: 2px solid #ccc; margin: 0px 0px 5px 0px; width: 100%; box-sizing: border-box; padding: 5px;">
+
<div style="margin: 5px 3px 2px 1px; border-left: 1px solid #c8ccd1; height: auto; padding-left: 4px; line-height: 1.4em;><div style="border: 1px solid #c8ccd1; border-radius: .25rem; overflow: hidden;">[[Image:{{{2|{{{1}}}}}}.jpg|{{{3|100}}}px{{#if:{{{nolink|}}}||{{!}}link={{{1}}}{{!}}alt={{{1}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]}}]]</div>{{#if:{{{nolink|}}}|{{{display|{{{1}}}}}}|[[{{{1}}}|{{{display|{{{1}}}}}}]]}}</div></includeonly><noinclude>  
        <div style="background: #6699CC; color: white; text-align: center; font-size: 130%; padding: 5px;">'''Latest episode'''</div>
+
== Template:Char and Template:Char Appearances ==
        <div style="padding: 5px;">
+
<div class="mw-collapsible">
            {{#ifexpr: {{timeDiff|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|{{{Regular broadcast time}}} }}|9}}<=0
+
=== My Character Box ===
            | {{Latest news/Latest ep
+
==== Cast ====
              | Case First-Last Ep  = {{#if:{{{S2 Case First-Last Ep|}}}|{{{S2 Case First-Last Ep}}}|{{{S2 Episode Number}}} }}
+
{{User:AvidConanContributor/sandbox/Char Appearances|
              | Episode Number      = {{{S2 Episode Number}}}
+
{{User:AvidConanContributor/sandbox|Conan Edogawa}}
              | Case Name          = {{{S2 Case Name}}}
+
{{User:AvidConanContributor/sandbox|Ran Mouri}}
              | Case Part Name      = {{{S2 Case Part Name}}}
+
{{User:AvidConanContributor/sandbox|Kogoro Mouri}}
              }}
+
{{User:AvidConanContributor/sandbox|Ayumi Yoshida}}
              {{Latest news/Next ep
+
{{User:AvidConanContributor/sandbox|Mitsuhiko Tsuburaya}}
              | Episode Number      = {{{S3 Episode Number}}}
+
{{User:AvidConanContributor/sandbox|Genta Kojima}}
              | Case Name          = {{{S3 Case Name}}}
+
{{User:AvidConanContributor/sandbox|Ai Haibara}}
              | Case Part Name      = {{{S3 Case Part Name}}}
+
{{User:AvidConanContributor/sandbox|Heiji Hattori}}
              | Episode Date        = {{{S3 Episode Date}}}
+
{{User:AvidConanContributor/sandbox|Kazuha Toyama|display=Kazuha Toyama (background)}}
              | Anime footnotes    = {{{Anime footnotes}}}
+
{{User:AvidConanContributor/sandbox|Rei Furuya}}
              }}
+
{{User:AvidConanContributor/sandbox|Fumimaro Ayanokoji|display=Fumimaro Ayanokoji (flashback)}}
            | {{Latest news/Latest ep
+
{{User:AvidConanContributor/sandbox|Kanenori Wakita|display=Kanenori Wakita (flashback)}}
              | Case First-Last Ep  = {{#if:{{{S1 Case First-Last Ep|}}}|{{{S1 Case First-Last Ep}}}|{{{S1 Episode Number}}} }}
+
{{User:AvidConanContributor/sandbox|Shuichi Akai|display=Shuichi Akai (flashback/background)}}
              | Episode Number      = {{{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 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;"> <!-- Start of Latest Manga Chapter -->
 
                {{#ifexist:File:Chapter {{{Latest chapter number}}} Cover.jpg|[[File:Chapter {{{Latest chapter number}}} Cover.jpg|100px|center|link={{{Latest chapter name}}}]]|[[File:Joke 19 V2.jpg|200px|center|link=]]}}
 
            </div>
 
            <div style="text-align: center; padding-bottom: 5px;">[[{{{Latest chapter name}}}|'''File {{{Latest chapter number}}}''': {{{Latest chapter name}}}]]</div> <!-- End of Latest Manga Chapter -->
 
            <hr style="margin: 0.2em 0;">
 
            <div style="text-align: center; padding-top: 5px;"> <!-- Start of Footnotes/Next Episode -->
 
{{#if: {{{Manga footnotes|}}} | {{{Manga footnotes}}}
 
| {{#if: {{{Next chapter name|}}} | Next: [[{{{Next chapter name}}}|'''File {{{Next chapter number}}}''': {{{Next chapter name}}}]]<br>{{countdown|{{{Next chapter date}}}}}  
 
  | Next: '''File {{{Next chapter number}}}'''<br>{{countdown|{{{Next chapter date}}}}}
 
  }}
 
}} <!-- End of Latest Manga Chapter -->
 
            </div>
 
        </div>
 
    </div>
 
</div></includeonly>
 
<noinclude>== 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:
+
=== R0o0di's Character Box ===
<pre>
+
==== Cast ====
{{Latest news
+
{{char Appearances|
<!-- **ANIME** -->
+
{{char|Conan Edogawa}}
<!--
+
{{char|Ran Mouri}}
Requirements to make the slots work correctly:
+
{{char|Kogoro Mouri}}
    * 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.
+
{{char|Ayumi Yoshida}}
    * Either Slot 1, Slot 2, or Slot 3 must contain the latest episode
+
{{char|Mitsuhiko Tsuburaya}}
        - It is best to try and keep updating Slot 1 to contain the latest episode
+
{{char|Genta Kojima}}
 
+
{{char|Ai Haibara}}
Template:Ep Format:
+
{{char|Heiji Hattori}}
{{ep| Case First-Last Ep | Episode Number | Case Name | Case Part Name | Episode Date | Episode Time }}
+
{{char|Kazuha Toyama|display=Kazuha Toyama (background)}}
See the Template:Ep page for the full documentation
+
{{char|Rei Furuya}}
-->
+
{{char|Fumimaro Ayanokoji|display=Fumimaro Ayanokoji (flashback)}}
 +
{{char|Kanenori Wakita|display=Kanenori Wakita (flashback)}}
 +
{{char|Shuichi Akai|display=Shuichi Akai (flashback/background)}}
 +
}}
  
| Regular broadcast time = Use Japan Standard Time (JST). As of January 2025, the regular broadcast time is 6:00 pm.
+
=== Old Character Box ===
| Slot 1 = Use Template:Ep
+
==== Cast ====
| Slot 2 = Use Template:Ep
+
{{User:R0o0di/Sandbox/Old Char Appearances|
| Slot 3 = Use Template:Ep
+
{{User:R0o0di/Sandbox/Old Char|Conan Edogawa}}
| Slot 4 = Use Template:Ep
+
{{User:R0o0di/Sandbox/Old Char|Ran Mouri}}
| Anime footnotes = Optional: The information inputted here will replace the Next episode section
+
{{User:R0o0di/Sandbox/Old Char|Kogoro Mouri}}
 
+
{{User:R0o0di/Sandbox/Old Char|Ayumi Yoshida}}
<!-- **MANGA** -->
+
{{User:R0o0di/Sandbox/Old Char|Mitsuhiko Tsuburaya}}
| Latest chapter number =
+
{{User:R0o0di/Sandbox/Old Char|Genta Kojima}}
| Latest chapter name  =
+
{{User:R0o0di/Sandbox/Old Char|Ai Haibara}}
| Latest chapter date  = Optional: essentially of no purpose
+
{{User:R0o0di/Sandbox/Old Char|Heiji Hattori}}
 
+
{{User:R0o0di/Sandbox/Old Char|Kazuha Toyama|display=Kazuha Toyama (background)}}
| Next chapter number  =
+
{{User:R0o0di/Sandbox/Old Char|Rei Furuya}}
| Next chapter name    =
+
{{User:R0o0di/Sandbox/Old Char|Fumimaro Ayanokoji|display=Fumimaro Ayanokoji (flashback)}}
| Next chapter date    =
+
{{User:R0o0di/Sandbox/Old Char|Kanenori Wakita|display=Kanenori Wakita (flashback)}}
 
+
{{User:R0o0di/Sandbox/Old Char|Shuichi Akai|display=Shuichi Akai (flashback/background)}}
| Manga footnotes      = Optional: The information inputted here will replace the Next chapter section
 
 
}}
 
}}
</pre>
+
</div>
=== Test ===
 
{{User:AvidConanContributor/sandbox
 
<!-- **ANIME** -->
 
| Regular broadcast time = 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 = 1150-1151
 
| S1 Episode Number    = 1150
 
| S1 Case Name          = Kaitou Kid and the Crown Trick
 
| S1 Case Part Name    = (Part 1)
 
| S1 Episode Date      = January 18, 2025
 
| S1 Episode Time      =
 
<!-- Slot 2 -->
 
| S2 Case First-Last Ep = 1150-1151
 
| S2 Episode Number    = 1151
 
| S2 Case Name          = Kaitou Kid and the Crown Trick
 
| S2 Case Part Name    = (Part 2)
 
| S2 Episode Date      = January 25, 2025
 
| S2 Episode Time      =
 
<!-- Slot 3 -->
 
| S3 Case First-Last Ep =
 
| S3 Episode Number    = 1152
 
| S3 Case Name          = Last Dance
 
| S3 Case Part Name    =
 
| S3 Episode Date      = February 8, 2025
 
| S3 Episode Time      =
 
 
| Anime footnotes      =
 
 
<!-- **MANGA** -->
 
| Latest chapter number = 1137
 
| Latest chapter name  = The Sacred Light of the Dead
 
| Latest chapter date  =
 
 
| Next chapter number  = 1138
 
| Next chapter name    =
 
| Next chapter date    = January 29, 2025
 
 
| Manga footnotes      =
 
}}
 
== 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>
 
 
</noinclude>
 
</noinclude>

Latest revision as of 22:50, 23 December 2025