Module:User:Babr/fa-conj

local export = {}

local lang = require("Module:languages").getByCode("fa") local m_table = require("Module:table") local m_links = require("Module:links") local m_string_utilities = require("Module:string utilities") local m_script_utilities = require("Module:script utilities") local iut = require("Module:inflection utilities") local m_para = require("Module:parameters")

-- other tools local u = require("Module:string/char")

-- mixing latin and Arabic in lua is annoying local alif = u(0x0627) local ye = u(0x06cc) local he = u(0x0647) local noon = u(0x0646) -- diacritics local ZWNJ = u(0x200c) local zabar = u(0x064e) local zer = u(0x0650) local pesh = u(0x064f) local sukuun = u(0x0652) local tashdiid = u(0x0651)

local function make_table(alternant_multiword_spec) local table_spec_personal = [=[ local formatted_table_pers = m_string_utilities.format(table_spec_personal, forms) return require("Module:TemplateStyles")("Module:User:Babr/fa-conj/frame/style.css") .. formatted_table_pers end

function export.show(frame) return make_table( alternant_multiword_spec ) .. require( "Module:utilities" ).format_categories( alternant_multiword_spec.categories, lang ) end

return export