{{slide|id=your_unique_id|img1=image.png|img2=image.png}}
SEMICOLON IS DELIMITER
{{slide|id=your_unique_id|img1=image.png; CAPTION|img2=image.png}}
{{slide
| id = <!-- MUST BE UNIQUE -->
| width = <!-- Optional: Default 100% -->
| class = <!-- Optional: floatright or pullright -->
| interval = <!-- Optional: If undefined, carousel will not automatically cycle -->
| img1 =
| img2 =
| img3 = <!-- Two Images Required -->
| img4 =
| img5 =
| img6 =
| img7 =
| img8 =
| img9 =
| img10 =
}}
{{{{{|safesubst:}}}#if:1|{{{1|}}}}}
{{#explode:{{{1}}}|;|0}}
{{#explode:{{{1}}}|;|-1}}
$('.carousel.slide').each(function() {
$('div.carousel').nextAll('pre').remove();
var caro_id = $(this).data('caro-id');
$('.carousel-control.left').click(function() {
$('#'+caro_id).carousel('prev');
});
$('.carousel-control.right').click(function() {
$('#'+caro_id).carousel('next');
});
});
$(function() {
$(".carousel-inner img").each(function() {
var a = $('<a/>').attr('href', this.src).attr('rel', 'group').attr('class', 'image');
$(this).wrap(a);
});
});