10,731
edits
No edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 12: | Line 12: | ||
["t"] = {list = true, allow_holes = true}, | ["t"] = {list = true, allow_holes = true}, | ||
["pos"] = {list = true, allow_holes = true}, | ["pos"] = {list = true, allow_holes = true}, | ||
["nohere"] = {type = "boolean"}, | |||
["columns"] = {type = "int", default = 2}, | ["columns"] = {type = "int", default = 2}, | ||
["cols"] = {alias_of = "columns"}, | ["cols"] = {alias_of = "columns"}, | ||
Line 33: | Line 34: | ||
while args[2][i] do | while args[2][i] do | ||
local i_term, i_args = m_inline.parse(args[2][i]) | local i_term, i_args = m_inline.parse(args[2][i]) | ||
table.insert(terms, { | if not (args.nohere and i_term == mw.title.getCurrentTitle().text) then | ||
table.insert(terms, { | |||
term = i_term, | |||
alt = args["alt"][i] or i_args["alt"], | |||
gloss = args["t"][i] or i_args["t"], | |||
pos = args["pos"][i] or i_args["pos"], | |||
}) | |||
end | |||
i = i + 1 | i = i + 1 | ||
end | end |