Difference between revisions of "Widget:Flickr"

From Nottinghack Wiki
Jump to navigation Jump to search
(changed CDN urls to https)
(added colorScheme parameter as initial test parameter)
Line 7: Line 7:
 
You can insert a gallery with the following wiki code:
 
You can insert a gallery with the following wiki code:
  
<nowiki>{{#widget:Flickr|photoset=72157626706422487}}</nowiki>
+
<nowiki>{{#widget:Flickr|photoset=72157626706422487}}</nowiki>
 +
 
  
 
=== Parameters ===
 
=== Parameters ===
 +
;colorScheme
 +
: Gallery colour scheme (breadcrumb and thumbnails). Possible values: <code>none</code>, <code>dark</code>, <code>darkRed</code>, <code>darkGreen</code>, <code>darkBlue</code>, <code>darkOrange</code>, <code>light</code> and <code>lightBackground</code>. Default: <code>none</code>
  
 
== Example ==
 
== Example ==
Line 34: Line 37:
 
         thumbnailLabel:{display:true,align:'center'},
 
         thumbnailLabel:{display:true,align:'center'},
 
         theme:'default',
 
         theme:'default',
         colorScheme: 'darkGreen',
+
         colorScheme: '<!--{$colorScheme|escape:'quotes'|default:'none'}-->',
 
         colorSchemeViewer: 'light'
 
         colorSchemeViewer: 'light'
 
       });
 
       });

Revision as of 23:04, 10 June 2014

This widget embeds a gallery of images from flickr into a wiki page. It uses the nanoGALLERY image gallery.

Using this widget

You can insert a gallery with the following wiki code:

{{#widget:Flickr|photoset=72157626706422487}}


Parameters

colorScheme
Gallery colour scheme (breadcrumb and thumbnails). Possible values: none, dark, darkRed, darkGreen, darkBlue, darkOrange, light and lightBackground. Default: none

Example