View source for Module:cognates
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local export = {}
local getArgs = require('Module:Arguments').getArgs
local m_inline = require("Module:inline")
local m_languages = require("Module:languages")
function export.show(frame)
local args = getArgs(frame)
local links = {}
local nat = m_languages.find_by_code(args[1] or "") ~= nil and m_languages.get_by_code(args[1])
local params = {
nocap = false,
}
for lang, entry in pairs(args) do
if type(lang) == "string" then
if m_languages.find_by_code(lang) and lang ~= nat then
local term, data = m_inline.parse(entry)
local cat = ""
data[1], data[2] = lang, term
000
1:0
Templates used on this page:
Return to Module:cognates.