Module:fa-noun

Hello, you have come here looking for the meaning of the word Module:fa-noun. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:fa-noun, but we will also tell you about its etymology, its characteristics and you will know how to say Module:fa-noun in singular and plural. Everything you need to know about the word Module:fa-noun you have here. The definition of the word Module:fa-noun will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:fa-noun, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This module needs documentation.
Please document this module by describing its purpose and usage on the documentation page.

local m_headword = require("Module:headword")

local export = {}

local lang = require("Module:languages").getByCode("fa")

function export.main(frame)
    local args = frame:getParent().args
    PAGENAME = mw.title.getCurrentTitle().text
    
    local head = args; if head == "" then head = nil end
    local tr = args; if tr == "" then tr = nil end
    
    local inflections = {}
    
    if not tr then
        table.insert(inflections, "<small>(])</small>")
        table.insert(categories, "Persian terms lacking transliteration")
    end
    
    return
        m_headword.format_headword(head, lang, "fa-Arab") ..
        m_headword.format_transliteration(tr) ..
        m_headword.format_inflections(inflections, lang, "fa-Arab") ..
        m_headword.format_categories(categories, lang)
end

return export