Module:Rslider

local p = {} local u = require('Module:Utility')

function p.show(frame) return p.randSlider(frame, 0) end

function p.showdef(frame) return p.randSlider(frame, 1) end

function p.randSlider(frame, iDefault) local tArgs1,tArgs2 = u.getArgs(frame) if tArgs1 and not(tArgs1[1]) then tArgs1= tArgs2 end if not(tArgs1[1]) and not(tArgs2[1]) then return end local tMedia ={} local sIndexes = "" math.randomseed( mw.site.stats.edits + mw.site.stats.pages + os.time + math.floor(os.clock * 1000000000)) math.random local sFiles ='"  local oGallery =frame:preprocess(sFiles)   return oGallery end return p