10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 359: | Line 359: | ||
nobold = true, | nobold = true, | ||
}, "term") | }, "term") | ||
if not args["nocat"] then categories = hydrate_categories(data["categories"], language, nil, args["newpos"]) end | if not args["nocat"] then | ||
categories = hydrate_categories(data["categories"], language, nil, args["newpos"]) | |||
mw.addWarning(root_reminder(args[1])) | |||
end | |||
return format_etymology(out, categories) | return format_etymology(out, categories) | ||
end | end | ||
Line 380: | Line 383: | ||
}, "term") | }, "term") | ||
end | end | ||
if not args["nocat"] then categories = hydrate_categories(data["categories"], language, nil, args["preposition"]) | if not args["nocat"] then | ||
categories = hydrate_categories(data["categories"], language, nil, args["preposition"]) | |||
mw.addWarning(root_reminder(args[1])) | |||
end | |||
return format_etymology(out, categories) | return format_etymology(out, categories) | ||
end | end | ||
Line 401: | Line 406: | ||
nobold = true, | nobold = true, | ||
}, "term") | }, "term") | ||
if not args["nocat"] then categories = hydrate_categories(data["categories"], language_to, language_from) | if not args["nocat"] then | ||
categories = hydrate_categories(data["categories"], language_to, language_from) | |||
mw.addWarning(root_reminder(args[1])) | |||
end | |||
return format_etymology(out, categories) | return format_etymology(out, categories) | ||
end | end | ||
Line 467: | Line 474: | ||
out = format_prefixed_text(template, data["text"], args["nocap"], data["preposition"]) .. out | out = format_prefixed_text(template, data["text"], args["nocap"], data["preposition"]) .. out | ||
end | end | ||
mw.addWarning(root_reminder(args[1])) | if not args["nocat"] then mw.addWarning(root_reminder(args[1])) end | ||
return format_etymology(out, categories) | return format_etymology(out, categories) | ||
end | end |