Module:Countries of South Asia

There are no reviewed versions of this page, so it may not have been checked for adherence to standards.

Documentation for this module may be created at Module:Countries of South Asia/doc

local data = {
    module = "Countries of South Asia",
    image = "South Asia (ed)update.PNG|100px",
    title = { 
        { raw = "Countries and territories of [[South Asia]]" }
    },
    above = {},
    below = {},
    state = "autocollapse",
    bodyclass = "hlist",
    evenodd = "swap",
    {
        title = { text = "Countries" },
        { link = "Bangladesh", text = "Bangladesh" },
        { link = "Bhutan", text = "Bhutan" },
        { link = "India", text = "India" },
        { link = "Maldives", text = "Maldives" },
        { link = "Nepal", text = "Nepal" },
        { link = "Pakistan", text = "Pakistan" },
        { link = "Sri Lanka", text = "Sri Lanka" },
    },
    {
        title = { text = "Sometimes included" },
        { link = "Afghanistan", text = "Afghanistan" },
        { link = "Burma", text = "Burma" },
        { link = "British Indian Ocean Territory", text = "British Indian Ocean Territory" },
        { link = "Iran", text = "Iran" },
        { link = "Tibet", text = "Tibet" },
    }
}
local z = { 
    data = data,
    NB = require "Module:Navigation box"
}

function z.main (frame)
    local styles = { width="100%" }
    return z.NB.navbox(frame, z.data, styles)
end

return z