Module:User:Santi2222/ryu-conj

local lang = require("Module:languages").getByCode("ryu") local m_utilities = require("Module:utilities") local m_links = require("Module:links") local export = {}

-- Inflection functions function export.san(frame) local args = frame:getParent.args local data = { forms = {}, info = "", categories = {}, }	local ending_text = 0 -- add the lemma form local base = mw.title.getCurrentTitle.text

-- conditional hypothetic consequence/potential future data.forms["22"] = {"naagnrht"}

--categories --table.insert(data.categories, "Basque synthetic verbs") --table.insert(data.categories, "Basque intransitive verbs") --generate the table and add categories return make_table_san(data) .. m_utilities.format_categories(data.categories, lang) end

-- Make the table function make_table_san(data) local function repl(param) if param == "info" then return mw.getContentLanguage:ucfirst(data.info or "") end local forms = data.forms[param] if not forms then return "&mdash;" end local ret = {} for key, subform in ipairs(forms) do			table.insert(ret, m_links.full_link({lang = lang, term = subform, accel = accel})) end return table.concat(ret, " ") end local wikicode = [=[ Conjugation of " 泳ぐ " (See Appendix:Japanese verbs.) ]=]	return mw.ustring.gsub(wikicode, "", repl) end

return export