Module:See also: Difference between revisions

m
1 revision imported: Help:Footnotes
m (1 revision imported: categories)
m (1 revision imported: Help:Footnotes)
 
(One intermediate revision by one other user not shown)
Line 31:
end
local options = {
altphrase = args.altphrase,
selfref = args.selfref
}
return p._seealso_seeAlso(pages, options)
end
 
Line 41 ⟶ 40:
checkType('_seeAlso', 2, options, 'table', true)
options = options or {}
local phrase = options.altphrase or 'See also'
local list = mHatlist.andList(args, true)
local text = phrase .string.format('See 'also: %s' .., list)
 
-- Pass options through.
local hnOptions = {selfref = options.selfref}
selfref = options.selfref
 
}
return mHatnote._hatnote(text, hnOptions)
end
 
--temporary aliases to move to CamelCase
p.seealso = p.seeAlso
p._seealso = p._seeAlso
 
return p