Module:Excerpt slideshow and Module:Excerpt slideshow/sandbox: Difference between pages
(Difference between pages)
imported>Aidan9382 ignore <onlyinclude> tags by default |
imported>Aidan9382 shuffle around |
||
| 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 249: | Line 249: | ||
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 257: | Line 257: | ||
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 265: | Line 265: | ||
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 | ||