Carousel

From Wikisphere
Revision as of 06:37, 8 October 2024 by Admin (talk | contribs)
Jump to navigation Jump to search

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.


Automat
Edward Hopper
People in the sun
Edward Hopper
Sunlight on Brownstones
Edward Hopper
Room in New York
Edward Hopper