Module:names: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 429: Line 429:
table.insert(textsegs,
table.insert(textsegs,
(dimtype and dimtype .. " " or "") ..
(dimtype and dimtype .. " " or "") ..
"[[wikt:diminutive]]" ..
"[[wikt:diminutive|diminutive]]" ..
(xlittext ~= "" and ", " .. xlittext .. "," or "") ..
(xlittext ~= "" and ", " .. xlittext .. "," or "") ..
" of the ")
" of the ")
Line 438: Line 438:
table.insert(textsegs, table.concat(genders, " or ") .. " ")
table.insert(textsegs, table.concat(genders, " or ") .. " ")
table.insert(textsegs, numdims > 1 and "[[wikt:given name|given names]]" or
table.insert(textsegs, numdims > 1 and "[[wikt:given name|given names]]" or
"[[wikt:given name]]")
"[[wikt:given name|given name]]")
local need_comma = false
local need_comma = false
if numdims > 0 then
if numdims > 0 then
Line 648: Line 648:
table.insert(textsegs, " " .. m_table.serialCommaJoin(nametypes))
table.insert(textsegs, " " .. m_table.serialCommaJoin(nametypes))
if args.dim then
if args.dim then
table.insert(textsegs, " [[wikt:diminutive]]")
table.insert(textsegs, " [[wikt:diminutive|diminutive]]")
elseif args.aug then
elseif args.aug then
table.insert(textsegs, " [[wikt:augmentative]]")
table.insert(textsegs, " [[wikt:augmentative|augmentative]]")
end
end
table.insert(textsegs, " ")
table.insert(textsegs, " ")

Navigation menu