More actions
m (don't show image name as caption if no caption is specified) |
m (default size: 300x300px) |
||
Line 1: | Line 1: | ||
<includeonly><div class="jcarousel-item">[[{{#explode:{{{1|}}}|;}}|thumb|center||{{#arraymap:{{#if:{{#pos:{{{1|}}}|;}}|{{#sub:{{{1|}}}|{{#pos:{{{1|}}}|;}}}}}}|;|x|{{!}}x|}}]]</div></includeonly><noinclude> | <includeonly><div class="jcarousel-item">[[{{#explode:{{{1|}}}|;}}|thumb|center|300x300px|{{#arraymap:{{#if:{{#pos:{{{1|}}}|;}}|{{#sub:{{{1|}}}|{{#pos:{{{1|}}}|;}}}}}}|;|x|{{!}}x|}}]]</div></includeonly><noinclude> | ||
Template for [[Template:Carousel]] to allow captions when using the shorthand <code>images</code> parameter. | Template for [[Template:Carousel]] to allow captions when using the shorthand <code>images</code> parameter. | ||
Latest revision as of 21:07, 8 October 2021
Template for Template:Carousel to allow captions when using the shorthand images
parameter.
Usage:
{{Carousel|width=300|images= File:BlazBlue Central Fiction Logo.png;150px;This is a caption File:BlazBlue Central Fiction Logo.png;This is a caption }} {{p2|File:BlazBlue Central Fiction Logo.png;150px;This is a caption}} {{p2|File:BlazBlue Central Fiction Logo.png}}