48,357
edits
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
[[Module:scripts]] | [[Module:scripts]] | ||
[[Module:parameters]] | [[Module:parameters]] | ||
[[Module:debug]] | |||
]=] | ]=] | ||
| Line 63: | Line 64: | ||
-- Used in [[Template:l]] and [[Template:m]]. | -- Used in [[Template:l]] and [[Template:m]]. | ||
function export.l_term_t(frame) | function export.l_term_t(frame) | ||
local args, iargs = get_args(frame) | local args, iargs = get_args(frame) | ||
local compat = iargs.compat | local compat = iargs.compat | ||
| Line 110: | Line 110: | ||
iargs.face, | iargs.face, | ||
not iargs.notself | not iargs.notself | ||
) | |||
end | |||
-- Used in [[Template:link-annotations]]. | |||
function export.l_annotations_t(frame) | |||
local args, iargs = get_args(frame) | |||
-- Forward the information to format_link_annotations | |||
return require("Module:links").format_link_annotations( | |||
{ | |||
lang = args[1], | |||
tr = { args["tr"] }, | |||
ts = { args["ts"] }, | |||
genders = args["g"], | |||
pos = args["pos"], | |||
lit = args["lit"] | |||
}, | |||
iargs.face | |||
) | ) | ||
end | end | ||