Module:Hatnote list: Difference between revisions
Jump to navigation
Jump to search
m
Derped on that comment fix before. Removed more incorrect/obsolete comment text.
>Nihiltres m (Tweaked a comment to reflect last edit, and fixed an outdated comment) |
>Nihiltres m (Derped on that comment fix before. Removed more incorrect/obsolete comment text.) |
||
Line 79: | Line 79: | ||
-- New empty list of pages | -- New empty list of pages | ||
forRow.pages = {} | forRow.pages = {} | ||
-- If there's not at least one page listed, use the default | -- If there's not at least one page listed, use the default. | ||
table.insert(forRow.pages, args[i + 1] or (options.title .. options.disambiguator)) | table.insert(forRow.pages, args[i + 1] or (options.title .. options.disambiguator)) | ||
-- If the option after next is "and", do an inner loop where we collect | -- If the option after next is "and", do an inner loop where we collect |