Module:Hatnote: Difference between revisions

32 bytes removed ,  10 years ago
change format of _formatPageTables
(trim colons in findNamespaceId by default)
(change format of _formatPageTables)
Line 60:
end
 
function p._formatPageTables(pages...)
-- Takes a list of page/display tables and returns it as a list of
-- formatted links. Nil values are not allowed.
local pages = {...}
checkType('_formatPageTables', 1, pages, 'table')
local links = {}
for i, t in ipairs(pages) do
Anonymous user