Carousel: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 17: Line 17:


The images in the Carousel has been uploaded into the wiki in a conventional way, and then associated to the page [[Carousel pictures]] using the schema [[VisualDataSchema:Carousel]].
The images in the Carousel has been uploaded into the wiki in a conventional way, and then associated to the page [[Carousel pictures]] using the schema [[VisualDataSchema:Carousel]].


{{#visualdataprint: Carousel pictures
{{#visualdataprint: Carousel pictures

Revision as of 06:37, 8 October 2024

VisualData provides a Carousel result format based on Slick.

The carousel is fueled with data retrieved with any page with associated data and all or almost all Slick options are supported using the prefix "-slick".

The easiest way to use it is to create a schema with an array of items, each of them with the properties "file", "title", "caption" and "link" (only the file property is required, and the properties can be mapped to those names in the parser function itself), save a list of files and attributes in any page, and then to use a parser function as follows:

{{#visualdataprint: Carousel pictures
|schema=Carousel
|format=carousel
|height=400px
|width=400px
|slick-adaptiveHeight=true
}}


The images in the Carousel has been uploaded into the wiki in a conventional way, and then associated to the page Carousel pictures using the schema VisualDataSchema:Carousel.


Edward Hopper
Automat
Edward Hopper