Template:Carousel View history

imported>Itssick
No edit summary
imported>Itssick
No edit summary
Line 14: Line 14:
</noinclude><includeonly>{{#vardefine:color|{{{color|no-color}}} }}
</noinclude><includeonly>{{#vardefine:color|{{{color|no-color}}} }}
{{#if: {{{cards|}}}|<div class="carousel__wrapper not-prose">
{{#if: {{{cards|}}}|<div class="carousel__wrapper not-prose">
{{#if:{{{title|{{{link|}}}}}}|<h2 class="font-headline  mb-6 uppercase font-medium text-gray-900 text-xs" style="letter-spacing: 1.5px;">{{#if: {{{link|}}}|[[{{{link|{{{title|}}}}}}]]|{{{title|}}} }}</h2>|}}
{{#if:{{{title|{{{link|}}}}}}|<h2 class="font-headline  mb-6 uppercase font-medium text-gray-900 text-xs" style="letter-spacing: 1.5px;">{{#if: {{{link|}}}|[[{{{link|{{{title|}}}}}} {{{title|{{{link|}}}}}}]]|{{{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">

Revision as of 13:18, 6 October 2022

This template defines the table "carousel_title". View table.

Template structure

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