Module:letter def: Difference between revisions
Created page with "-- Author: Benwing local export = {} local force_cat = false local require_when_needed = require("Module:utilities/require when needed") local ConvertNumeric_module = "Module:ConvertNumeric" local headword_module = "Module:headword" local headword_utilities_module = "Module:headword utilities" local languages_module = "Module:languages" local links_module = "Module:links" local parameters_module = "Module:parameters" local scripts_module = "Module:scripts" local stri..." |
No edit summary |
||
| Line 148: | Line 148: | ||
if canontype == "letter" or canontype == "numsym" then | if canontype == "letter" or canontype == "numsym" then | ||
merge_params { | merge_params { | ||
[3] = | [3] = true, | ||
[4] = list_param, | [4] = list_param, | ||
linklang = boolean_param, -- only used for prec/foll | linklang = boolean_param, -- only used for prec/foll | ||
| Line 256: | Line 256: | ||
if args[3] then | if args[3] then | ||
ins(" ") | ins(" ") | ||
ins(ordinal_to_word(args[3])) | ins(type(args[3]) == "number" and ordinal_to_word(args[3]) or args[3]) | ||
end | end | ||
if args.last then | if args.last then | ||