Template:Carousel View history

No edit summary
No edit summary
Line 15: Line 15:
</noinclude><includeonly>{{#vardefine:color|{{{color|no-color}}} }}
</noinclude><includeonly>{{#vardefine:color|{{{color|no-color}}} }}
{{#if: {{{cards|}}}{{{template|}}}|<div class="carousel__wrapper not-prose">
{{#if: {{{cards|}}}{{{template|}}}|<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;">{{#ifexist:{{{link|{{{title}}}}}}|{{#if: {{{link|}}}|[[{{{link}}}|{{PAGENAME:{{{title|{{{link}}} }}} }}]]|[[{{{title}}}|{{PAGENAME:{{{title}}} }}]]}}|{{{link|{{{title}}}}}} }}<span class="create-page hidden lowercase">{{#ifanon:|{{#formlink:form=Portal|link text=create this sub portal|query string=Portal[type]=dynamic&Portal[row title query]={{{link|{{{title}}}}}}|target={{{link|{{{title}}}}}}|reload|new window|returnto={{FULLPAGENAME}} }}
{{#if:{{{title|{{{link|}}}}}}|<h2 class="font-headline  mb-6 uppercase font-medium text-gray-900 text-xs" style="letter-spacing: 1.5px;">{{#ifexist:{{{link|{{{title}}}}}}|{{#if: {{{link|}}}|[[{{{link}}}|{{PAGENAME:{{{title|{{{link}}} }}} }}]]|[[{{{title}}}|{{PAGENAME:{{{title}}} }}]]}}|{{{link|{{{title}}}}}} }}<span class="create-page hidden lowercase">{{#ifanon:|{{#formlink:form=Portal|link text=create this sub portal|query string=portal[type]=dynamic&portal[row title query]={{{link|{{{title}}}}}}|target={{{link|{{{title}}}}}}|reload|new window|returnto={{FULLPAGENAME}} }}
}}</span></h2>|}}
}}</span></h2>|}}
<div class="slider-vue">
<div class="slider-vue">

Revision as of 20:19, 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}}
}}