Template:Latest news box/Item: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#ifexpr: {{#if:{{{date|}}}|1|0}} and {{timeDiff|{{{date}}}|{{#if:{{{time|}}}|{{{time}}}|{{Latest news box/Series info|{{{series}}}|time}}}}|9}}<=0 | <includeonly><div class="LnBox-item" data-pasttoday="{{#ifexpr: {{#if:{{{date|}}}|1|0}} and {{timeDiff|{{{date}}}|{{#if:{{{time|}}}|{{{time}}}|{{Latest news box/Series info|{{{series}}}|time}}}}|9}}<=0 | ||
| <div style="padding-top: 5px; padding-bottom: 8px;"> | | true"> | ||
<div style="padding-top: 5px; padding-bottom: 8px;"> | |||
{{#ifexist: File:{{#if:{{{image|}}}|{{{image}}}|{{Latest news box/Series info|{{{series}}}|img-prefix|{{{number}}}}}.jpg}} | |||
|[[File:{{#if:{{{image|}}}|{{{image}}}|{{Latest news box/Series info|{{{series}}}|img-prefix|{{{number}}}}}.jpg}}|200px|center|link={{#if:{{{article-link|}}}|{{{article-link}}}|{{{name}}}}}]] | |||
|[[File:{{Latest news box/Series info|{{{series}}}|placeholder-img}}|200px|center|link=]]}} | |||
</div> | |||
<div style="text-align: center; padding-bottom: 5px;">[[{{#if:{{{article-link|}}}|{{{article-link}}}|{{{name}}}}}|{{#iferror: {{#expr: {{{number}}} + 1}}|'''{{{number}}}'''|'''Episode {{{number}}}'''}}: {{{name}}} {{#if: {{{part|}}} | <font size="1">{{{part}}}</font>}}]] | |||
| false"> | |||
<hr style="margin: 0.2em 0;"> | |||
<div style="text-align: center; padding-top: 5px;"> <!-- Start of Footnotes/Next Episode --> | |||
<p style="margin: 0 0 0.25em 0;"> | |||
{{#if: {{{notes|}}} | {{{notes}}} | |||
| {{#if: {{{name|}}} | |||
| Next: [[{{#if:{{{article-link|}}}|{{{article-link}}}|{{{name}}}}}|{{#iferror: {{#expr: {{{number}}} + 1}}|'''{{{number}}}'''|'''Episode {{{number}}}'''}}: {{{name}}} {{#if: {{{part|}}} | <font size="1">{{{part}}}</font> }}]] | |||
| Next: '''Episode {{{number}}}''' {{#if: {{{part|}}} | <font size="1">{{{part}}}</font> }} | |||
}}<br>{{#if:{{{date|}}}|{{countdown|{{{date}}}}}}} | |||
}} | |||
</p> | |||
}}</div></div></includeonly><noinclude> | |||
{{Latest news box/Item | <pre>{{Latest news box/Item|<series>|<number>|<name>|<date> | ||
| type = (Optional) | |||
| series | | image = (Optional) | ||
| number | | part = (Optional) | ||
| name | | time = (Optional) | ||
| article-link = (Optional)}}</pre></noinclude> | |||
| date | |||
| | |||
| | |||
| part = | |||
| time = | |||
| article-link = | |||
}}</noinclude> | |||
Latest revision as of 03:55, 27 June 2026
{{Latest news box/Item|<series>|<number>|<name>|<date>
| type = (Optional)
| image = (Optional)
| part = (Optional)
| time = (Optional)
| article-link = (Optional)}}