|
|
| Line 1: |
Line 1: |
| − | <includeonly><div style="display: flex; flex-direction: column; width: 100%; align-items: flex-start;"> | + | <includeonly><div style="overflow:auto"> |
| − | <div style="border: 2px solid #ccc; margin: 0px 0px 5px 0px; width: 100%; box-sizing: border-box; padding: 5px;">
| + | {| class="infobox" style="width: 650px; text-align: left; font-size: 90%; float: none; clear: left; margin-left: 0; margin-right: 1em;" cellpadding="2" |
| − | <div style="background: #6699CC; color: white; text-align: center; font-size: 130%; padding: 5px;">'''Latest episode'''</div>
| + | |- |
| − | <div style="padding: 5px;">
| + | | colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; /*height:28px;*/ font-size: small; background-color: #DF5829; /*78b3f0;*/ /*5bbd53;*/" | '''{{#if:{{{crime|}}}|{{{crime}}}|Murder}}''' |
| − | {{#ifexpr: {{timeDiff|{{{S2 Episode Date}}}|{{#if:{{{S2 Episode Time|}}}|{{{S2 Episode Time}}}|{{{Regular broadcast time}}} }}|9}}<=0
| + | |- |
| − | | {{Latest news/Latest ep
| + | | width="290" class="nospacing" style="text-align:center; vertical-align:top; padding: 2px 0px 0px 0px;" | |
| − | | Case First-Last Ep = {{#if:{{{S2 Case First-Last Ep|}}}|{{{S2 Case First-Last Ep}}}|{{{S2 Episode Number}}} }}
| + | {{#if: {{{image|}}} | [[Image:{{{image}}}|290px]]}} |
| − | | Episode Number = {{{S2 Episode Number}}}
| + | | style="padding: 0px;" | |
| − | | Case Name = {{{S2 Case Name}}}
| + | {| class="infobox crime" width="100%" style="border: 0px; margin: 0px; padding: 0px 0px 0px 2px; font-size: 100%; border-collapse: separate; border-spacing: 1px" cellpadding="0" cellspacing="0" |
| − | | Case Part Name = {{{S2 Case Part Name}}}
| + | |- |
| − | }}
| + | {{#if: {{{date|}}} | |
| − | {{Latest news/Next ep
| + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} Date: |
| − | | Episode Number = {{{S3 Episode Number}}}
| + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{date}}} |
| − | | Case Name = {{{S3 Case Name}}}
| + | {{!}}- }} |
| − | | Case Part Name = {{{S3 Case Part Name}}}
| + | {{#if: {{{location|}}} | |
| − | | Episode Date = {{{S3 Episode Date}}}
| + | ! width="102" style="border-bottom: 1px dotted #cccccc;" {{!}} Location: |
| − | | Anime footnotes = {{{Anime footnotes}}}
| + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{location}}} |
| − | }}
| + | {{!}}- }} |
| − | | {{Latest news/Latest ep
| + | {{#if: {{{people|}}} | |
| − | | Case First-Last Ep = {{#if:{{{S1 Case First-Last Ep|}}}|{{{S1 Case First-Last Ep}}}|{{{S1 Episode Number}}} }}
| + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} People: |
| − | | Episode Number = {{{S1 Episode Number}}}
| + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{people}}} |
| − | | Case Name = {{{S1 Case Name}}}
| + | {{!}}- }} |
| − | | Case Part Name = {{{S1 Case Part Name}}}
| + | {{#if: {{{victim|}}} | |
| − | }}
| + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} {{{victim-label|Victim}}}: |
| − | {{Latest news/Next ep
| + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{victim}}} |
| − | | Episode Number = {{{S2 Episode Number}}}
| + | {{!}}- }} |
| − | | Case Name = {{{S2 Case Name}}}
| + | {{#if: {{{age|}}} | |
| − | | Case Part Name = {{{S2 Case Part Name}}}
| + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} Age: |
| − | | Episode Date = {{{S2 Episode Date}}}
| + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{age}}} |
| − | | Anime footnotes = {{{Anime footnotes}}}
| + | {{!}}- }} |
| − | }}
| + | {{#if: {{{time|}}} | |
| − | }}
| + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} Time: |
| − | </div>
| + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{time}}} |
| − | </div>
| + | {{!}}- }} |
| − | <div style="border: 2px solid #ccc; margin: 8px 0px 5px 0px; width: 100%; box-sizing: border-box; padding: 5px;">
| + | {{#if: {{{cause-death|}}} | |
| − | <div style="background: #6699CC; color: white; text-align: center; font-size: 130%; padding: 5px;">'''Latest chapter'''</div>
| + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} {{{cause-death-label|Cause of death}}}: |
| − | <div style="padding: 5px;">
| + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{cause-death}}} |
| − | <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=]]}}
| + | {{#if: {{{suspects|}}} | |
| − | </div>
| + | ! style="border-bottom: 1px dotted #cccccc;" {{!}} {{{suspects-label|Suspects}}}: |
| − | <div style="text-align: center; padding-bottom: 5px;">[[{{{Latest chapter name}}}|'''File {{{Latest chapter number}}}''': {{{Latest chapter name}}}]]</div> <!-- End of Latest Manga Chapter -->
| + | {{!}} style="border-bottom: 1px dotted #cccccc;" {{!}} {{{suspects}}} |
| − | <hr style="margin: 0.2em 0;">
| + | {{!}}- }} |
| − | <div style="text-align: center; padding-top: 5px;"> <!-- Start of Footnotes/Next Episode -->
| + | {{#if: {{{description|}}} | |
| − | {{#if: {{{Manga footnotes|}}} | {{{Manga footnotes}}} | + | {{!}} colspan="2" style="padding: 3px;" {{!}} {{{description}}} |
| − | | {{#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}}}}}
| + | {{#if: {{{footnotes|}}} | |
| − | }}
| + | {{!}} colspan="2" style="font-size: smaller; border-top: 1px dotted #aaaaaa" {{!}} {{{footnotes|}}} }} |
| − | }} <!-- End of Latest Manga Chapter --> | + | |} |
| − | </div>
| + | |} |
| − | </div>
| |
| − | </div>
| |
| | </div></includeonly> | | </div></includeonly> |
| − | <noinclude>== Latest news == | + | <noinclude>== InfoBox Crime == |
| − | 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]].
| + | {{User:AvidConanContributor/sandbox}}</noinclude> |
| − | | |
| − | The planned parameter layout:
| |
| − | <pre>
| |
| − | {{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 best to try and keep updating Slot 1 to 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
| |
| − | }}
| |
| − | </pre>
| |
| − | === 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> | |