Template:Carousel View history

imported>Forumtestuser
No edit summary
imported>Forumtestuser
No edit summary
Line 6: Line 6:
|cards=list of card each should have {{card| title, subtitle, type, color and maybe an Image}}
|cards=list of card each should have {{card| title, subtitle, type, color and maybe an Image}}
}}</nowiki></pre>
}}</nowiki></pre>
 
</noinclude><includeonly>{{#if: {{{cards|}}}|<div class="carousel__wrapper">
</noinclude>
 
<includeonly>
{{#if: {{{cards|}}}|<div class="carousel__wrapper">
<h2 class="mb-8 uppercase font-medium text-gray-900 text-xs">{{{title|}}}</h2>
<h2 class="mb-8 uppercase font-medium text-gray-900 text-xs">{{{title|}}}</h2>
<div class="slider-vue">
<div class="slider-vue">
<ol class="carousel flex gap-10 mx-0 mb-2- overflow-x-auto ">
<ol class="carousel flex gap-10 mx-0 mb-2- overflow-x-auto">
{{{cards|}}}
{{{cards|}}}
</ol>
</ol></div></div>|}}</includeonly>
</div>
</div>|}}
</includeonly>

Revision as of 08:58, 30 September 2021

Template structure

{{Carousel 
|title=This is a title
|color=#0099FF
|cards=list of card each should have {{card| title, subtitle, type, color and maybe an Image}}
}}