Jump to content

Module:Excerpt slideshow and Module:Excerpt slideshow/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
m update comments
 
sync to live
 
Line 1: Line 1:
local p = {}
local p = {}
local excerptModule = require('Module:Excerpt/portals')
local excerptModule = require('Module:Excerpt/portals/sandbox')
local slideshowModule = require('Module:Random slideshow')
local slideshowModule = require('Module:Random slideshow/sandbox')
local randomModule = require('Module:Random')
local randomModule = require('Module:Random')


Line 246: Line 246:
local parent = frame.getParent(frame)
local parent = frame.getParent(frame)
local output = p._excerpt(parent.args, 'random')
local output = p._excerpt(parent.args, 'random')
return frame:extensionTag{ name='templatestyles', args = { src='Module:Random slideshow/styles.css'} }
return frame:extensionTag{ name='templatestyles', args = { src='Module:Random slideshow/sandbox/styles.css'} }
.. frame:preprocess(output)
.. frame:preprocess(output)
end
end
Line 254: Line 254:
local parent = frame.getParent(frame)
local parent = frame.getParent(frame)
local output = p._excerpt(parent.args, 'linked')
local output = p._excerpt(parent.args, 'linked')
return frame:extensionTag{ name='templatestyles', args = { src='Module:Random slideshow/styles.css'} }
return frame:extensionTag{ name='templatestyles', args = { src='Module:Random slideshow/sandbox/styles.css'} }
.. frame:preprocess(output)
.. frame:preprocess(output)
end
end
Line 262: Line 262:
local parent = frame.getParent(frame)
local parent = frame.getParent(frame)
local output = p._excerpt(parent.args, 'listitem')
local output = p._excerpt(parent.args, 'listitem')
return frame:extensionTag{ name='templatestyles', args = { src='Module:Random slideshow/styles.css'} }
return frame:extensionTag{ name='templatestyles', args = { src='Module:Random slideshow/sandbox/styles.css'} }
.. frame:preprocess(output)
.. frame:preprocess(output)
end
end