No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 16: | Line 16: | ||
{{#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}}}|{{PAGENAME:{{{title|{{{link}}} }}} }}]]|[[{{{title}}}|{{PAGENAME:{{{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}}}|{{PAGENAME:{{{title|{{{link}}} }}} }}]]|[[{{{title}}}|{{PAGENAME:{{{title}}} }}]]}}</h2>|}} | ||
{{#if:{{{template|}}}| | {{#if:{{{template|}}}| | ||
{{:{{{template}}}}} | {{:{{{template}}} }} | ||
|<div class="slider-vue"><ol class="carousel flex gap-10 mx-0 mb-2- overflow-x-auto"> | |<div class="slider-vue"><ol class="carousel flex gap-10 mx-0 mb-2- overflow-x-auto"> | ||
{{{cards|}}} | {{{cards|}}} | ||
</ol></div></div>|}}{{#if:{{{title|}}}|{{#cargo_store: | </ol></div></div>|}} }}{{#if:{{{title|}}}|{{#cargo_store: | ||
_table=carousel_title | _table=carousel_title | ||
|title={{#replace:{{PAGENAME:{{{title|}}} }}|&|&}} | |title={{#replace:{{PAGENAME:{{{title|}}} }}|&|&}} | ||
|link={{{link|}}} | |link={{{link|}}} | ||
}}|}}</includeonly> | }}|}}</includeonly> |
Revision as of 12:03, 16 November 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}} }}