Module:Hatnote list: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Tweaked a comment to reflect last edit, and fixed an outdated comment) |
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. |
||
-- at the end of this loop-through. |
|||
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 |