Difference between revisions of "User:AvidConanContributor/sandbox"

From Detective Conan Wiki
m
(Age Display of InfoBox Staff: Experimenting...)
 
(95 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}}
              <hr style="margin: 0.2em 0;">
+
{{User:AvidConanContributor/sandbox|Mitsuhiko Tsuburaya}}
              {{Latest news/Next ep
+
{{User:AvidConanContributor/sandbox|Genta Kojima}}
              | Episode Number      = {{{S3 Episode Number}}}
+
{{User:AvidConanContributor/sandbox|Ai Haibara}}
              | Case Name          = {{{S3 Case Name}}}
+
{{User:AvidConanContributor/sandbox|Heiji Hattori}}
              | Case Part Name      = {{{S3 Case Part Name}}}
+
{{User:AvidConanContributor/sandbox|Kazuha Toyama|display=Kazuha Toyama (background)}}
              | Episode Date        = {{{S3 Episode Date}}}
+
{{User:AvidConanContributor/sandbox|Rei Furuya}}
              | Anime footnotes    = {{{Anime footnotes}}}
+
{{User:AvidConanContributor/sandbox|Fumimaro Ayanokoji|display=Fumimaro Ayanokoji (flashback)}}
              }}
+
{{User:AvidConanContributor/sandbox|Kanenori Wakita|display=Kanenori Wakita (flashback)}}
            | {{Latest news/Latest ep
+
{{User:AvidConanContributor/sandbox|Shuichi Akai|display=Shuichi Akai (flashback/background)}}
              | Case First-Last Ep  = {{#if:{{{S1 Case First-Last Ep|}}}|{{{S1 Case First-Last Ep}}}|{{{S1 Episode Number}}} }}
+
}}
              | Episode Number      = {{{S1 Episode Number}}}
 
              | Case Name          = {{{S1 Case Name}}}
 
              | Case Part Name      = {{{S1 Case Part Name}}}
 
              }}
 
              <hr style="margin: 0.2em 0;">
 
              {{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}}} | Next: [[{{{Next chapter name}}}|'''File {{{Next chapter number}}}''': {{{Next chapter name}}}]]<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}}
| Regular broadcast time = Use Japan Standard Time (JST). As of January 2025, the regular broadcast time is 6:00 pm.
+
{{char|Ran Mouri}}
 +
{{char|Kogoro Mouri}}
 +
{{char|Ayumi Yoshida}}
 +
{{char|Mitsuhiko Tsuburaya}}
 +
{{char|Genta Kojima}}
 +
{{char|Ai Haibara}}
 +
{{char|Heiji Hattori}}
 +
{{char|Kazuha Toyama|display=Kazuha Toyama (background)}}
 +
{{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)}}
 +
}}
  
<!-- 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. -->
+
=== Old Character Box ===
<!-- Slot 1 -->
+
==== Cast ====
| 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).
+
{{User:R0o0di/Sandbox/Old Char Appearances|
| S1 Episode Number      =
+
{{User:R0o0di/Sandbox/Old Char|Conan Edogawa}}
| S1 Case Name          =
+
{{User:R0o0di/Sandbox/Old Char|Ran Mouri}}
| S1 Case Part Name      = Optional: Only used for cases with multiple parts
+
{{User:R0o0di/Sandbox/Old Char|Kogoro Mouri}}
| S1 Episode Date        =
+
{{User:R0o0di/Sandbox/Old Char|Ayumi Yoshida}}
| S1 Episode Time        = Optional: Used to override the "Regular broadcast time" parameter for episodes with an irregular broadcast time
+
{{User:R0o0di/Sandbox/Old Char|Mitsuhiko Tsuburaya}}
<!-- Slot 2 -->
+
{{User:R0o0di/Sandbox/Old Char|Genta Kojima}}
| 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).
+
{{User:R0o0di/Sandbox/Old Char|Ai Haibara}}
| S2 Episode Number      =
+
{{User:R0o0di/Sandbox/Old Char|Heiji Hattori}}
| S2 Case Name          =
+
{{User:R0o0di/Sandbox/Old Char|Kazuha Toyama|display=Kazuha Toyama (background)}}
| S2 Case Part Name      = Optional: Only used for cases with multiple parts
+
{{User:R0o0di/Sandbox/Old Char|Rei Furuya}}
| S2 Episode Date        =
+
{{User:R0o0di/Sandbox/Old Char|Fumimaro Ayanokoji|display=Fumimaro Ayanokoji (flashback)}}
| S2 Episode Time        = Optional: Used to override the "Regular broadcast time" parameter for episodes with an irregular broadcast time
+
{{User:R0o0di/Sandbox/Old Char|Kanenori Wakita|display=Kanenori Wakita (flashback)}}
<!-- Slot 3 -->
+
{{User:R0o0di/Sandbox/Old Char|Shuichi Akai|display=Shuichi Akai (flashback/background)}}
| 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    =
+
=== Differences ===
| Next chapter name      =
+
</div>
| Next chapter date      =
 
  
| Manga footnotes       = Optional: custom information on display
+
== Age Display of [[Template:InfoBox Staff|InfoBox Staff]] ==
 +
{{User:AvidConanContributor/sandbox/InfoBox Staff
 +
| name              = Test
 +
| image            = No image
 +
| date-of-birth    = 1700
 +
| date-of-birth-ref =
 +
| date-of-death    = 1890
 +
| date-of-death-ref =
 +
| footnotes         = kjh
 
}}
 
}}
</pre>
+
</noinclude>
=== Test ===
 
{{User:AvidConanContributor/sandbox
 
<!-- **ANIME** -->
 
| Regular broadcast time = 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  = 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          =
 
| S3 Case Part Name      =
 
| S3 Episode Date        =
 
| 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      =
 
 
 
| Manga footnotes        =
 
}} </noinclude>
 

Latest revision as of 04:39, 25 October 2025