Module:Hatnote: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(trim colons in findNamespaceId by default) |
(change format of _formatPageTables) |
||
Line 60: | Line 60: | ||
end |
end |
||
function p._formatPageTables( |
function p._formatPageTables(...) |
||
-- Takes a list of page/display tables and returns it as a list of |
-- Takes a list of page/display tables and returns it as a list of |
||
-- formatted links. Nil values are not allowed. |
-- formatted links. Nil values are not allowed. |
||
local pages = {...} |
|||
checkType('_formatPageTables', 1, pages, 'table') |
|||
local links = {} |
local links = {} |
||
for i, t in ipairs(pages) do |
for i, t in ipairs(pages) do |