# Module:Legals

From faraghaib
Jump to navigation Jump to search

Documentation for this module may be created at Module:Legals/doc

Script error: Lua error: Cannot create process: proc_open is not available. Check PHP's "disable_functions" configuration directive.

    local p = {}
    local converter = require("Module:Numeral converter")

    function createItem(colorModifier, iconModifier, catName, subText)
        local s1 = '<div class="content-improvement-item ' .. colorModifier .. ' ' .. iconModifier .. '">'
        local s2 = '[[:رده:' .. catName .. '|<span class="content-improvement-item__subtext-big">'
        local s3 = subText .. '</span>'
        local s4 = '</span></small></span>]]</div>'
        return s1 .. s2 .. s3 .. s4
    end

    local data = {
        createItem('-color-blue', '-icon-editUndo', 'کتاب های آموزشی حوزه علمیه', 'کتاب'),

    }

    function p.main(frame)
        local result = ""
        for i = 1, #data, 1 do
            result = result .. data[i]
        end
        return result
    end

    return p

Retrieved from "https://en.faraghaib.ir/w/index.php?title=Module:Legals&oldid=1216"
Category:

- Scribunto modules with errors