Documentation for this module may be created at Module:Details/sandbox/doc
--[[
-- This module produces a "Further information:" link. It implements
-- the {{further}} template.
--]]
local mLabels = require('Module:Labelled list hatnote')
local mArguments = require('Module:Arguments')
local p = {}
function p.further (frame)
local args = mArguments.getArgs(frame, {parentOnly = true})
local pages = mLabels.preprocessDisplays(args)
local topic = args.topic
if topic then topic = (' on '..topic) else topic = '' end
labels = {string.format('Further information%s', topic)}
local options = {
extraclasses = frame.args.extraclasses,
selfref = args.selfref,
}
return mLabels._labelledList(pages, labels, options)
end
return p
