45,646
edits
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 45: | Line 45: | ||
["accel-gender"] = plain, | ["accel-gender"] = plain, | ||
["accel-nostore"] = boolean, | ["accel-nostore"] = boolean, | ||
["name"] = boolean, | |||
["to_wikt"] = boolean, | |||
} | } | ||
if iargs.compat then | if iargs.compat then | ||
Line 57: | Line 59: | ||
end | end | ||
-- Used in [[Template:l]] and [[Template: | -- Used in [[Template:l]] and [[Template:mn]]. | ||
function export.l_term_t(frame) | function export.l_term_t(frame) | ||
local args, iargs = get_args(frame) | local args, iargs = get_args(frame) | ||
Line 71: | Line 73: | ||
end | end | ||
local langname = iargs.langname and ( | local langname = (not args.name or iargs.langname) and ( | ||
args.w and lang:makeWikipediaLink() or | args.w and lang:makeWikipediaLink() or | ||
lang:getCanonicalName() | lang:getCanonicalName() | ||
Line 94: | Line 96: | ||
pos = args["pos"], | pos = args["pos"], | ||
lit = args["lit"], | lit = args["lit"], | ||
to_wikt = | to_wikt = args["to_wikt"], | ||
accel = args["accel-form"] and { | accel = args["accel-form"] and { | ||
form = args["accel-form"], | form = args["accel-form"], |