Difference between revisions of "Template:Latest news"

From Detective Conan Wiki
m (Removed "In" word from day counter (message would possibly say In TODAY!!! otherwise))
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<div style="display: flex; flex-direction: column; width: 100%; align-items: flex-start;">
 
<div style="display: flex; flex-direction: column; width: 100%; align-items: flex-start;">
     <div style="border: 2px solid #ccc; padding: 8px; margin: 8px 0px 5px 0px; width: 100%; box-sizing: border-box;">
+
     <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%;">'''Latest episode'''</div>
+
         <div style="background: #6699CC; color: white; text-align: center; font-size: 130%; padding: 5px;">'''Latest episode'''</div>
 
         <div style="padding: 5px;">
 
         <div style="padding: 5px;">
             <div style="padding-top: 5px; padding-bottom: 10px;">
+
             <div style="padding-top: 5px; padding-bottom: 8px;">
                 [[File:TV Episode {{{Latest episode number}}}.jpg|200px|center|link={{{Latest episode name}}}]]
+
                 {{#ifexist:File:TV Episode {{{Latest episode number}}}.jpg|[[File:TV Episode {{{Latest episode number}}}.jpg|200px|center|link={{{Latest episode name}}}]]|[[File:Joke 19 V2.jpg|200px|center|link=]]}}
 
             </div>
 
             </div>
             <div style="text-align: center; padding-bottom: 10px;">[[{{{Latest episode name}}}|'''Episode {{{Latest episode number}}}''': {{{Latest episode name}}}]]</div>
+
             <div style="text-align: center; padding-bottom: 5px;">[[{{{Latest episode name}}}|'''Episode {{{Latest episode number}}}''': {{{Latest episode name}}}]]</div>
 
----
 
----
             <div style="text-align: center; padding-top: 10px;">
+
             <div style="text-align: center; padding-top: 5px;">
[[{{{Next episode name}}}|'''Episode {{{Next episode number}}}''': {{{Next episode name}}}]]<br>{{countdown|{{{Next episode date}}}}}
+
Next Episode: [[{{{Next episode name}}}|'''Episode {{{Next episode number}}}''': {{{Next episode name}}}]]<br>{{countdown|{{{Next episode date}}}}}
 
             </div>
 
             </div>
 
         </div>
 
         </div>
 
     </div>
 
     </div>
     <div style="border: 2px solid #ccc; padding: 8px; margin: 8px 0px 5px 0px; width: 100%; box-sizing: border-box;">
+
     <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%;">'''Latest chapter'''</div>
+
         <div style="background: #6699CC; color: white; text-align: center; font-size: 130%; padding: 5px;">'''Latest chapter'''</div>
 
         <div style="padding: 5px;">
 
         <div style="padding: 5px;">
             <div style="padding-top: 5px; padding-bottom: 10px;">
+
             <div style="padding-top: 5px; padding-bottom: 5px;">
                 [[File: Chapter {{{Latest chapter number}}} Cover.jpg|100px|center|link={{{Latest chapter name}}}]]
+
                 {{#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>
             <div style="text-align: center; padding-bottom: 10px;">[[{{{Latest chapter name}}}|'''File {{{Latest chapter number}}}''': {{{Latest chapter name}}}]]</div>
+
             <div style="text-align: center; padding-bottom: 5px;">[[{{{Latest chapter name}}}|'''File {{{Latest chapter number}}}''': {{{Latest chapter name}}}]]</div>
 
----
 
----
             <div style="text-align: center; padding-top: 10px;">
+
             <div style="text-align: center; padding-top: 5px;">
[[{{{Next chapter name}}}|'''File {{{Next chapter number}}}''': {{{Next chapter name}}}]]<br>{{countdown|{{{Next chapter date}}}}}
+
Next File: [[{{{Next chapter name}}}|'''File {{{Next chapter number}}}''': {{{Next chapter name}}}]]<br>{{countdown|{{{Next chapter date}}}}}
 
             </div>
 
             </div>
 
         </div>
 
         </div>
 
     </div>
 
     </div>
</div>
+
</div></includeonly>
</includeonly>
+
<noinclude><pre>
<noinclude>
 
<pre>
 
 
{{Latest news
 
{{Latest news
 
<!--EPISODE-->
 
<!--EPISODE-->
Line 41: Line 39:
 
| Next episode date      =
 
| Next episode date      =
 
<!--MANGA-->
 
<!--MANGA-->
 +
| Latest chapter number  =
 
| Latest chapter name    =
 
| Latest chapter name    =
| Latest chapter number  =
 
 
| Latest chapter date    =
 
| Latest chapter date    =
 
<!--//-->
 
<!--//-->
 +
| Next chapter number    =
 
| Next chapter name      =
 
| Next chapter name      =
| Next chapter number    =
 
 
| Next chapter date      =
 
| Next chapter date      =
 
}}
 
}}
 
</pre>
 
</pre>
  
{{Latest news
+
[[Category:Templates]]
<!--EPISODE-->
 
| Latest episode number  = 1146
 
| Latest episode name    = The Whistling Bookstore 4
 
| Latest episode date    = December 21, 2024
 
<!--//-->
 
| Next episode number    = 1147
 
| Next episode name      = Stakeout 4
 
| Next episode date      = December 25, 2024 <!--TESTING PERPOSE -->
 
<!--MANGA-->
 
| Latest chapter name    = A Once-in-a-Lifetime Encouter
 
| Latest chapter number  = 1136
 
| Latest chapter date    = December 4, 2024
 
<!--//-->
 
| Next chapter name      = ???
 
| Next chapter number    = 1137
 
| Next chapter date      = February 5, 2025
 
}}
 
</noinclude>
 

Latest revision as of 03:32, 27 December 2024

{{Latest news
<!--EPISODE-->
| Latest episode number  =
| Latest episode name    =
| Latest episode date    =
<!--//-->
| Next episode number    =
| Next episode name      =
| Next episode date      =
<!--MANGA-->
| Latest chapter number  =
| Latest chapter name    =
| Latest chapter date    =
<!--//-->
| Next chapter number    =
| Next chapter name      =
| Next chapter date      =
}}