48,355
edits
No edit summary |
No edit summary |
||
| Line 224: | Line 224: | ||
-- [[Module:links]] expects the genders in "genders". | -- [[Module:links]] expects the genders in "genders". | ||
item_dest = "genders", | item_dest = "genders", | ||
type = "genders", | |||
}, | }, | ||
pos = {}, | pos = {}, | ||
ng = {}, | |||
lit = {}, | lit = {}, | ||
id = {}, | id = {}, | ||
| Line 300: | Line 301: | ||
-- [[Module:links]] expects the genders in "genders". | -- [[Module:links]] expects the genders in "genders". | ||
item_dest = "genders", | item_dest = "genders", | ||
type = "genders", | |||
}, | }, | ||
pos = {}, | pos = {}, | ||
ng = {}, | |||
lit = {}, | lit = {}, | ||
id = {}, | id = {}, | ||
| Line 455: | Line 457: | ||
! Group !! Group meaning !! Parameter !! Parameter meaning !! Default properties | ! Group !! Group meaning !! Parameter !! Parameter meaning !! Default properties | ||
|- | |- | ||
| rowspan= | | rowspan=11| `link` | ||
| rowspan= | | rowspan=11| link parameters; same as those available on {{tl|l}}, {{tl|m}} and other linking templates | ||
| `alt` || display text, overriding the term's display form || — | | `alt` || display text, overriding the term's display form || — | ||
|- | |- | ||
| Line 467: | Line 469: | ||
| `ts` || transcription of a non-Latin-script term, if the transliteration is markedly different from the actual pronunciation; should not be used for IPA pronunciations || — | | `ts` || transcription of a non-Latin-script term, if the transliteration is markedly different from the actual pronunciation; should not be used for IPA pronunciations || — | ||
|- | |- | ||
| `g` || comma-separated list of genders; whitespace may surround the comma and will be ignored || {item_dest = "genders", | | `g` || comma-separated list of genders; whitespace may surround the comma and will be ignored || {item_dest = "genders", type = "genders"} | ||
|- | |- | ||
| `pos` || part of speech for the term || — | | `pos` || part of speech for the term || — | ||
|- | |||
| `ng` || arbitrary non-gloss descriptive text for the term || — | |||
|- | |- | ||
| `lit` || literal meaning (translation) of the term || — | | `lit` || literal meaning (translation) of the term || — | ||
| Line 1,415: | Line 1,419: | ||
if data.make_separate_g_into_list then | if data.make_separate_g_into_list then | ||
-- HACK: g= is a list for compatibility, but sublist as an inline parameter. | -- HACK: g= is a list for compatibility, but sublist as an inline parameter. | ||
params.g = {list = true, item_dest = "genders"} | params.g = {list = true, item_dest = "genders", type = "genders", flatten = true} | ||
end | end | ||
local adjust_params_before_arg_processing = data.adjust_params_before_arg_processing | local adjust_params_before_arg_processing = data.adjust_params_before_arg_processing | ||
| Line 1,438: | Line 1,442: | ||
local sc = fetch_argument(args, data.sc) | local sc = fetch_argument(args, data.sc) | ||
local term_dest = data.term_dest or "term" | local term_dest = data.term_dest or "term" | ||
local termobj, splitchar = {}, data.splitchar | local termobj, splitchar = {}, data.splitchar | ||