మాడ్యూల్:Hatnote list: కూర్పుల మధ్య తేడాలు
Content deleted Content added
చి Protected "Module:Hatnote list": High-risk Lua module ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)) |
Removed default texts set in forSeeArgsToTable(); unset items in table are now empty rather than filled with defaults; defaults are filled in forSeeTableToString(). |
||
పంక్తి 115:
-- New empty row
local forRow = {}
-- If there's a blank use, assume the list's ended,
-- defaulting elsewhere, and break at the end of this loop-through.
forRow.use = args[i]
if not args[i] then terminated = true end
-- New empty list of pages
forRow.pages = {}
-- Try to insert first pages item; empty is ignored/defaulted elsewhere
table.insert(forRow.pages, args[i + 1]
-- If the option after next is "and", do an inner loop where we collect
-- items following "and"'s until the "and"'s stop. If there's a blank
|