Difference between revisions of "Widget:ImageCarousel"
m (different approach: dot extension separator creates an array) |
m (experimenting with filepath) |
||
Line 42: | Line 42: | ||
<!--{foreach from=$img key=link item=desc}--> | <!--{foreach from=$img key=link item=desc}--> | ||
<!--{$link}--> | <!--{$link}--> | ||
+ | {{filepath:<!--{$link}-->}} | ||
+ | |||
<!--{$desc|escape:'html'}--> | <!--{$desc|escape:'html'}--> | ||
<!--{/foreach}--> | <!--{/foreach}--> |
Revision as of 15:52, 21 March 2019
This widget allows you to display an image carousel on your wiki page.
Created by xopr, inspired by W3schools example
Using this widget
To insert this widget, use the following code:
{{#widget:ImageCarousel }}
This will display:
Note:
- this is a work in progress
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:ImageCarousel article.