Difference between revisions 18626523 and 18626524 on frwiktionarylocal languages = mw.loadData("Module:languages") local export = {} -- Create a tagged text from a given text. This is equivalent of the script templates. function export.tag_text(text, lang, tag, class) return "<" .. (tag or "span") .. (class and (" class=\"" .. class .. "\"") or "") .. " lang=\"" .. lang .. "\">" .. text .. "</" .. (tag or "span") .. ">" end -- transliterate the text, if possible function export.translit(lang, text) -- TODO: the table's information should be moved to [[Module:languages]] local translit_modules = { ["ae"] = "Module:Avst-translit", ["ady"] = "Module:ady-translit",⏎ ["el"] = "Module:el-translit", ["ru"] = "Module:ru-translit", ["ug"] = "Module:ug-translit", ["tg"] = "Module:tg-translit", ["ka"] = "Module:ka-translit", ["xcl"] = "Module:xcl-translit", ["axm"] = "Module:axm-translit", ["hy"] = "Module:hy-translit" (contracted; show full) text = text .. " " .. gen.format_list(gender) end end return text end return export All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://fr.wiktionary.org/w/index.php?diff=prev&oldid=18626524.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|