Jump to content

Template:LaNe box/Item: Difference between revisions

From Detective Conan Wiki
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="LnBox-item" data-upcoming="{{#ifexpr: {{#if:{{{4|}}}|1|0}} and {{timeDiff|{{{4}}}|{{#if:{{{time|}}}|{{{time}}}|{{LaNe box/Series info|{{{1}}}|time}}}}|9}}>=0
<includeonly>{{#ifeq: {{lc:{{{type|}}}}} | footnote | <div class="LnBox-item-show"><hr style="margin: 0.2em 0;"><div style="text-align: center; padding-top: 5px;"><p style="margin: 0 0 0.25em 0;">{{{1}}}</p></div></div> | <div class="LnBox-item" data-upcoming="{{#ifexpr: {{#if:{{{4|}}}|1|0}} and {{timeDiff|{{{4}}}|{{#if:{{{time|}}}|{{{time}}}|{{LaNe box/Series info|{{{1}}}|time}}}}|9}}>=0
| true"><!-- Is upcoming (i.e. yet to be released/yet to happen) -->
| true"><!-- Is upcoming (i.e. yet to be released/yet to happen) -->
     <hr style="margin: 0.2em 0;">
     <hr style="margin: 0.2em 0;">
Line 15: Line 15:
     <div style="padding-top: 5px; padding-bottom: 8px;">
     <div style="padding-top: 5px; padding-bottom: 8px;">
       {{#ifexist: File:{{#if:{{{image|}}}|{{{image}}}|{{LaNe box/Series info|{{{1}}}|img-prefix|{{{2}}}}}.jpg}}
       {{#ifexist: File:{{#if:{{{image|}}}|{{{image}}}|{{LaNe box/Series info|{{{1}}}|img-prefix|{{{2}}}}}.jpg}}
       |[[File:{{#if:{{{image|}}}|{{{image}}}|{{LaNe box/Series info|{{{1}}}|img-prefix|{{{2}}}}}.jpg}}|}}}|{{#if:{{LaNe box/Series info|{{{1}}}|img-size}}|{{LaNe box/Series info|{{{1}}}|img-size}}|200px}}|center|link={{#if:{{{article-link|}}}|{{{article-link}}}|{{{3}}}}}]]
       |[[File:{{#if:{{{image|}}}|{{{image}}}|{{LaNe box/Series info|{{{1}}}|img-prefix|{{{2}}}}}.jpg}}|}}}|{{#if:{{LaNe box/Series info|{{{1}}}|img-width}}|{{LaNe box/Series info|{{{1}}}|img-width}}|200px}}|center|link={{#if:{{{article-link|}}}|{{{article-link}}}|{{{3}}}}}]]
       |[[File:{{LaNe box/Series info|{{{1}}}|placeholder-img}}|200px|center|link=]]}}
       |[[File:{{LaNe box/Series info|{{{1}}}|placeholder-img}}|200px|center|link=]]}}
     </div>
     </div>
Line 23: Line 23:
       }}
       }}
     </div>
     </div>
}}</div></includeonly><noinclude>
}}</div>}}</includeonly><noinclude>
<pre>{{LaNe box/Item|<series>|<number>|<name>|<date>
<pre>{{LaNe box/Item|<series>|<number>|<name>|<date>
| type = (Optional)
| type = (Optional)
Line 44: Line 44:
| time = 5:30 pm
| time = 5:30 pm
| article-link = Yaiba Appears (Yaiba: Samurai Legend episode)
| article-link = Yaiba Appears (Yaiba: Samurai Legend episode)
}}</noinclude>
}}
 
[[Category:Templates]]
</noinclude>

Latest revision as of 23:47, 23 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)
}}

Result

<div class="LnBox-item" data-upcoming="Expression error: Unrecognized punctuation character "[".