- Docs: Module:Module/doc (should use {{module}})
- Styles: Module:Module/style.css
- Templates that use this module:
All modules: book, chronology, kbd, module, post, todo, wikidata link.
local p = {}
-- =p.templateList({args={templates='one;two'}})
p.templateList = function ( frame )
local out = ''
if frame.args.templates == nil or frame.args.templates == '' then
return out
end
local tpls = mw.text.split( frame.args.templates, ';', true )
for _, template in pairs( tpls ) do
local t = mw.text.trim( template )
out = out .. '** [[Template:' .. t .. '|{{' .. t .. '}}]]\n'
end
return out
end
return p