Difference between revisions of "Widget:ImageCarousel"

From Hackerspace ACKspace
Jump to: navigation, search
m (removed extra test: error?)
m (typo fix, testing even more magic)
Line 14: Line 14:
 
|img.DSP experiments=blinking_led.jpg
 
|img.DSP experiments=blinking_led.jpg
 
|img.3D printing=3D_printer_Picture.jpg
 
|img.3D printing=3D_printer_Picture.jpg
 +
|img.4D printing={{filepath:3D_printer_Picture.jpg|nowiki}}
 
}}
 
}}
  
Line 40: Line 41:
 
     "use strict";
 
     "use strict";
 
/*
 
/*
<!--{foreach from=$img key=desk item=link}-->
+
<!--{foreach from=$img key=desc item=link}-->
 
     <!--{$link}-->
 
     <!--{$link}-->
 
     {{filepath:<!--{$link}-->}}
 
     {{filepath:<!--{$link}-->}}

Revision as of 16:37, 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.