Template:LaNe box/Item: Difference between revisions
Appearance
m AvidConanContributor moved page Template:Latest news box/Item to Template:LaNe box/Item without leaving a redirect: Renaming template |
Renamed template |
||
| Line 1: | Line 1: | ||
<includeonly><div class="LnBox-item" data-pasttoday="{{#ifexpr: {{#if:{{{4|}}}|1|0}} and {{timeDiff|{{{4}}}|{{#if:{{{time|}}}|{{{time}}}|{{ | <includeonly><div class="LnBox-item" data-pasttoday="{{#ifexpr: {{#if:{{{4|}}}|1|0}} and {{timeDiff|{{{4}}}|{{#if:{{{time|}}}|{{{time}}}|{{LaNe box/Series info|{{{1}}}|time}}}}|9}}<=0 | ||
| true"> | | true"> | ||
<div style="padding-top: 5px; padding-bottom: 8px;"> | <div style="padding-top: 5px; padding-bottom: 8px;"> | ||
{{#ifexist: File:{{#if:{{{image|}}}|{{{image}}}|{{ | {{#ifexist: File:{{#if:{{{image|}}}|{{{image}}}|{{LaNe box/Series info|{{{1}}}|img-prefix|{{{2}}}}}.jpg}} | ||
|[[File:{{#if:{{{image|}}}|{{{image}}}|{{ | |[[File:{{#if:{{{image|}}}|{{{image}}}|{{LaNe box/Series info|{{{1}}}|img-prefix|{{{2}}}}}.jpg}}|200px|center|link={{#if:{{{article-link|}}}|{{{article-link}}}|{{{3}}}}}]] | ||
|[[File:{{ | |[[File:{{LaNe box/Series info|{{{1}}}|placeholder-img}}|200px|center|link=]]}} | ||
</div> | </div> | ||
<div style="text-align: center; padding-bottom: 5px;">[[{{#if:{{{article-link|}}}|{{{article-link}}}|{{{3}}}}}|{{#iferror: {{#expr: {{{2}}} + 1}}|'''{{{2}}}'''|'''Episode {{{2}}}'''}}: {{{3}}} {{#if: {{{part|}}} | <font size="1">{{{part}}}</font>}}]] | <div style="text-align: center; padding-bottom: 5px;">[[{{#if:{{{article-link|}}}|{{{article-link}}}|{{{3}}}}}|{{#iferror: {{#expr: {{{2}}} + 1}}|'''{{{2}}}'''|'''Episode {{{2}}}'''}}: {{{3}}} {{#if: {{{part|}}} | <font size="1">{{{part}}}</font>}}]] | ||
| Line 19: | Line 19: | ||
</p> | </p> | ||
}}</div></div></includeonly><noinclude> | }}</div></div></includeonly><noinclude> | ||
<pre>{{ | <pre>{{LaNe box/Item|<series>|<number>|<name>|<date> | ||
| type = (Optional) | | type = (Optional) | ||
| image = (Optional) | | image = (Optional) | ||
| Line 27: | Line 27: | ||
== Example == | == Example == | ||
<pre>{{ | <pre>{{LaNe box/Item|Yaiba-Anime|1|Yaiba Appears|April 5, 2025 | ||
| type = | | type = | ||
| part = | | part = | ||
| Line 34: | Line 34: | ||
}}</pre> | }}</pre> | ||
=== Result === | === Result === | ||
{{ | {{LaNe box/Item|Yaiba-Anime|1|Yaiba Appears|April 5, 2025 | ||
| type = | | type = | ||
| part = | | part = | ||
Revision as of 17:23, 19 August 2026
{{LaNe box/Item|<series>|<number>|<name>|<date>
| type = (Optional)
| image = (Optional)
| part = (Optional)
| time = (Optional)
| article-link = (Optional)}}
Example
{{LaNe box/Item|Yaiba-Anime|1|Yaiba Appears|April 5, 2025
| type =
| part =
| time = 5:30 pm
| article-link = Yaiba Appears (Yaiba: Samurai Legend episode)
}}
