Module:List: Difference between revisions

add templatestyles for hlist
m 1 revision imported: Content from Template:Location Map on Wikipedia
 
(6 intermediate revisions by 3 users not shown)
Line 162: Line 162:
local ret = ''
local ret = ''
if isDeprecated then
if isDeprecated then
ret = ret .. '[[Category:List templates with deprecated parameters]]'
ret = ret .. '[[Category:Pages using module:list with deprecated parameters]]'
end
end
return ret
return ret
Line 185: Line 185:
local mArguments = require('Module:Arguments')
local mArguments = require('Module:Arguments')
local origArgs = mArguments.getArgs(frame, {
local origArgs = mArguments.getArgs(frame, {
frameOnly = ((frame and frame.args and frame.args.frameonly or '') ~= ''),
valueFunc = function (key, value)
valueFunc = function (key, value)
if not value or not mw.ustring.find(value, '%S') then return nil end
if not value or not mw.ustring.find(value, '%S') then return nil end