Difference between revisions of "User:AvidConanContributor/sandbox"

From Detective Conan Wiki
(New sandbox to save me from creating broken templates and having the admins delete them every time; added test timeDiff template)
 
(New InfoBox TV Template)
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
== timeDiff ==
+
== New InfoBox TV Template ==
timeDiff was originally meant to be a variable, but I plan to make it into a template as a workaround
+
{{User:AvidConanContributor/sandbox
 +
| episode            = 000
 +
| int-episode        = 000
 +
| image              =
 +
| title              = Test of InfoBox TV
 +
| airdate            = 1/9/2025
 +
| season              = 30
 +
| prev-episode        = Main Page
 +
| next-episode        = Detective Conan
 +
}}
 +
Trying to make the roundtable as minimalistic as possible
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{#expr:
+
{| class="roundtable centered" style="width:100%; text-align:center; padding: 2px; margin-bottom: 10px; border: 1px solid #ccc;"
  {{#time:U| {{{1}}} {{{2}}} }} - {{#time:U}} - {{#if:{{{3|}}}|{{{3}}}|0
+
|-
 +
! style="padding: 10px; color: #ffffff; text-align:right; vertical-align: middle; font-size: small; background-color: #4ccb4c;" | '''Chronology'''
 +
| style="border: none; width: 39%; text-align: center;" | {{#if: {{{prev-episode|}}} | <span style="font-size: 16px;">‹ </span> [[{{{prev-episode}}}]] | {{#if: {{{next-episode|}}} | N/A | }} }}
 +
| style="border-left: 1px solid #ccc; border-right: 1px solid #ccc; width: 12%; text-align: center;" | [[Anime#Episodes|'''All Episodes''']]<!--<br>[[Season {{{season}}}|'''Episodes in Season {{{season}}}''']]-->
 +
| style="border: none; width: 39%; text-align: center;" | {{#if: {{{next-episode|}}} | [[{{{next-episode}}}]] <span style="font-size: 16px;"> ›</span> | {{#if: {{{prev-episode|}}} | TBD | }} }}
 +
|}
 +
<!-- Main infobox starts -->
 +
{| class="infobox" style="width: 285px;  text-align: left; font-size: 90%;" cellpadding="2"
 +
|-
 +
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #32CD32;" | '''Episode {{{episode}}} <br> (Int. Episode {{{int-episode}}})'''
 +
|-
 +
| class="nospacing" colspan="2" style="text-align:center; vertical-align:bottom; padding: 2px 0px 2px 0px;" |
 +
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
 +
|-
 +
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #4ccb4c;" |<center>'''Information'''</center>
 +
|-
 +
! width="100"|Title:
 +
| {{{title|}}}
 +
|-
 +
{{#if: {{{japanese-title|}}} |
 +
! Japanese title:
 +
{{!}} {{{japanese-title}}}
 +
{{!}}- }}
 +
{{#if: {{{airdate|}}} |
 +
! Original airdate:
 +
{{!}} {{{airdate}}}
 +
{{!}}-  }}
 +
{{#if: {{{rating|}}} |
 +
! Broadcast rating:
 +
{{!}} {{{rating}}}
 +
{{!}}- }}
 +
{{#if: {{{Remastered broadcast rating|}}} |
 +
! Remastered rating:
 +
{{!}} {{{Remastered broadcast rating}}}
 +
{{!}}- }}
 +
{{#if: {{{Manga case number|}}} |
 +
! Manga case:
 +
{{!}} {{{Manga case number}}}
 +
{{!}}- }}
 +
{{#if: {{{Filler case number|}}} |
 +
! Filler case:
 +
{{!}} {{{Filler case number}}}
 +
{{!}}- }}
 +
{{#if: {{{season|}}} |
 +
! Season:
 +
{{!}} {{{season}}}
 +
{{!}}-  }}
 +
{{#if: {{{manga|}}} |
 +
! Manga source:
 +
{{!}} {{{manga}}}
 +
{{!}}- }}
 +
{{#if: {{{english-title|{{{dubbed-episode|{{{english-airdate|}}}}}}}}}|
 +
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #4ccb4c;" {{!}} <center>'''English version'''</center>
 +
{{!}}-
 +
{{#if: {{{english-title|}}} |
 +
! English title:
 +
{{!}} {{{english-title}}}
 +
{{!}}- }}
 +
{{#if: {{{dubbed-episode|}}} |
 +
! Dubbed episode:
 +
{{!}} {{{dubbed-episode}}}
 +
{{!}}- }}
 +
{{#if: {{{english-airdate|}}} |
 +
! English airdate:
 +
{{!}} {{{english-airdate}}}
 +
{{!}}-  }}
 +
}}
 +
{{#if: {{{cast|{{{suspects|{{{solved-by|{{{next-conan-hint|}}}}}}}}}}}}|
 +
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #4ccb4c;" {{!}}<center>'''Case'''</center>
 +
{{!}}-
 +
{{#if: {{{cast|}}} |
 +
! Cast:
 +
{{!}} {{{cast}}}
 +
{{!}}-  }}
 +
<!--{{#if: {{{suspects|}}} |
 +
! Suspects:
 +
{{!}} {{{suspects}}}
 +
{{!}}-  }}-->
 +
{{#if: {{{solved-by|}}} |
 +
! {{#if:{{{case|}}}|{{{case}}}|Case}} solved by:
 +
{{!}} {{{solved-by}}}
 +
{{!}}-  }}
 +
{{#if: {{{next-conan-hint|}}} |
 +
! Next Conan's Hint:
 +
{{!}} {{{next-conan-hint}}}
 +
{{!}}-  }}
 +
}}
 +
{{#if: {{{director|{{{screenplay|{{{organizer|{{{storyboard|{{{technical-director|{{{animation-director|{{{character-design|{{{voice-cast|}}}}}}}}}}}}}}}}}}}}}}}}|
 +
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #4ccb4c;" {{!}}<center>'''Staff'''</center>
 +
{{!}}-
 +
{{#if: {{{director|}}} |
 +
! Director:
 +
{{!}} {{{director}}}
 +
{{!}}- }}
 +
{{#if: {{{screenplay|}}} |
 +
! style="border-top: 1px dotted #aaaaaa;" {{!}} Screenplay:
 +
{{!}} style="border-top: 1px dotted #aaaaaa;" {{!}} {{{screenplay}}}
 +
{{!}}- }}
 +
{{#if: {{{organizer|}}} |
 +
! style="border-top: 1px dotted #aaaaaa;" {{!}} Organizer:
 +
{{!}} style="border-top: 1px dotted #aaaaaa;" {{!}} {{{organizer}}}
 +
{{!}}- }}
 +
{{#if: {{{storyboard|}}} |
 +
! style="border-top: 1px dotted #aaaaaa;" {{!}} Storyboard:
 +
{{!}} style="border-top: 1px dotted #aaaaaa;" {{!}} {{{storyboard}}}
 +
{{!}}- }}
 +
{{#if: {{{producer|}}} |
 +
! style="border-top: 1px dotted #aaaaaa;" {{!}} Episode director:
 +
{{!}} style="border-top: 1px dotted #aaaaaa;" {{!}} {{{producer}}}
 +
{{!}}- }}
 +
{{#if: {{{animation-director|}}} |
 +
! style="border-top: 1px dotted #aaaaaa;" {{!}} Animation director:
 +
{{!}} style="border-top: 1px dotted #aaaaaa;" {{!}} {{{animation-director}}}
 +
{{!}}- }}
 +
{{#if: {{{character-design|}}} |
 +
! style="border-top: 1px dotted #aaaaaa;" {{!}} Character design:
 +
{{!}} style="border-top: 1px dotted #aaaaaa;" {{!}} {{{character-design}}}
 +
{{!}}- }}
 +
{{#if: {{{production-cooperation|}}} |
 +
! style="border-top: 1px dotted #aaaaaa;" {{!}} Production cooperation:
 +
{{!}} style="border-top: 1px dotted #aaaaaa;" {{!}} {{{production-cooperation}}}
 +
{{!}}- }}
 +
{{#if: {{{voice-cast|}}} |
 +
{{!}} colspan="2" {{!}}
 +
{{{!}} class="collapsible collapsed" style="background: transparent; width: 100%;" cellspacing="0"
 +
{{!}}-
 +
! style="border-top: 1px dotted #aaaaaa;" {{!}} Voice Cast:
 +
{{!}}-
 +
{{!}}
 +
{{{voice-cast}}}
 +
{{!}}}
 +
{{!}}- }}
 +
}}
 +
{{#if: {{{opening-song|{{{closing-song|}}}}}}|
 +
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #4ccb4c;" {{!}}<center>'''Music'''</center>
 +
{{!}}-
 +
{{#if: {{{opening-song|}}} |
 +
! Opening song:
 +
{{!}} [[{{{opening-song}}}]]{{#if: {{{opening-song2|}}} | <br> [[{{{opening-song2}}}]]}}
 +
{{!}}-  }}
 +
{{#if: {{{closing-song|}}} |
 +
! Closing song:
 +
{{!}} [[{{{closing-song}}}]]{{#if: {{{closing-song2|}}} | <br> [[{{{closing-song2}}}]]}}
 +
{{!}}-  }}
 +
}}
 +
{{#if: {{{prev-episode|}}} |
 +
}}
 +
{{#if: {{{next-episode|}}} |
 
}}
 
}}
 +
{{#if: {{{collectibles|}}}|
 +
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #4ccb4c;" {{!}} <center>'''[[Collectibles|<font color="white">Collectibles</font>]]'''</center>
 +
{{!}}-
 +
{{!}} colspan="2" {{!}}
 +
{{{!}} cellpadding="0" cellspacing="0" width="100%" style="padding-top: 5px; background: transparent;"
 +
{{!}} style="text-align:center" {{!}} {{#ifexist:File:{{{title|}}} Novellize.jpg|[[File:{{{title|}}} Novellize.jpg|x170px]]|[[Media:{{{title|}}} Novellize.jpg|Upload Episode Novelization<br>145x215 please]]}} <br> <span style="font-size: 90%">[[Japanese Novels|Detective Conan Episode Novellization]]</span>
 +
{{!}}}
 +
{{!}}-  }}
 +
{{#if: {{{footnotes|}}} |
 +
{{!}} colspan="2" style="font-size: smaller; border-top: 1px dotted #aaaaaa" {{!}} {{{footnotes|}}}  }}
 +
|}
 +
</includeonly>

Latest revision as of 04:01, 10 January 2025

New InfoBox TV Template

Chronology Main Page All Episodes Detective Conan
Episode 000
(Int. Episode 000)
Information
Title: Test of InfoBox TV
Original airdate: 1/9/2025
Season: 30

Trying to make the roundtable as minimalistic as possible