Jump to content

Module:Commonwealth of Nations

Unchecked
From Wikipedia

Documentation for this module may be created at Module:Commonwealth of Nations/doc

local data = {
    module = "Commonwealth of Nations",
    title = { 
        { raw = "[[List of members of the Commonwealth of Nations|Members of the]] [[Commonwealth of Nations]]" }
    },
    above = {
    },
    below = {
        { raw = "Source: [http://www.thecommonwealth.org/Internal/142227/members/ Commonwealth Secretariat - Member States]" },
    },
    state = "autocollapse",
    bodyclass = "hlist",
    evenodd = "swap",
    {
        title = { link = "List of sovereign states", text = "Sovereign states" },
        { link = "Antigua and Barbuda", text = "Antigua and Barbuda" },
        { link = "Australia", text = "Australia" },
        { link = "The Bahamas", text = "Bahamas" },
        { link = "Bangladesh", text = "Bangladesh" },
        { link = "Barbados", text = "Barbados" },
        { link = "Belize", text = "Belize" },
        { link = "Botswana", text = "Botswana" },
        { link = "Brunei", text = "Brunei" },
        { link = "Cameroon", text = "Cameroon" },
        { link = "Canada", text = "Canada" },
        { link = "Cyprus", text = "Cyprus" },
        { link = "Dominica", text = "Dominica" },
        { link = "Fiji", text = "Fiji", postscript = "<small>(''suspended'')</small>" },
        { link = "The Gambia", text = "The Gambia" },
        { link = "Ghana", text = "Ghana" },
        { link = "Grenada", text = "Grenada" },
        { link = "Guyana", text = "Guyana" },
        { link = "India", text = "India" },
        { link = "Jamaica", text = "Jamaica" },
        { link = "Kenya", text = "Kenya" },
        { link = "Kiribati", text = "Kiribati" },
        { link = "Lesotho", text = "Lesotho" },
        { link = "Malawi", text = "Malawi" },
        { link = "Malaysia", text = "Malaysia" },
        { link = "Maldives", text = "Maldives" },
        { link = "Malta", text = "Malta" },
        { link = "Mauritius", text = "Mauritius" },
        { link = "Mozambique", text = "Mozambique" },
        { link = "Namibia", text = "Namibia" },
        { link = "Nauru", text = "Nauru" },
        { link = "New Zealand", text = "New Zealand" },
        { link = "Nigeria", text = "Nigeria" },
        { link = "Pakistan", text = "Pakistan" },
        { link = "Papua New Guinea", text = "Papua New Guinea" },
        { link = "Rwanda", text = "Rwanda" },
        { link = "Saint Kitts and Nevis", text = "St. Kitts and Nevis" },
        { link = "Saint Lucia", text = "St. Lucia" },
        { link = "Saint Vincent and the Grenadines", text = "St. Vincent and the Grenadines" },
        { link = "Samoa", text = "Samoa" },
        { link = "Seychelles", text = "Seychelles" },
        { link = "Sierra Leone", text = "Sierra Leone" },
        { link = "Singapore", text = "Singapore" },
        { link = "Solomon Islands", text = "Solomon Islands" },
        { link = "South Africa", text = "South Africa" },
        { link = "Sri Lanka", text = "Sri Lanka" },
        { link = "Swaziland", text = "Swaziland" },
        { link = "Tanzania", text = "Tanzania" },
        { link = "Tonga", text = "Tonga" },
        { link = "Trinidad and Tobago", text = "Trinidad and Tobago" },
        { link = "Tuvalu", text = "Tuvalu" },
        { link = "Uganda", text = "Uganda" },
        { link = "United Kingdom", text = "United Kingdom" },
        { link = "Vanuatu", text = "Vanuatu" },
        { link = "Zambia", text = "Zambia" },
    },
    {
        title = { link = "Dependent territory", text = "Dependencies" },
        subtable = {
            {
                title = { text = "Australia" },
                { link = "Ashmore and Cartier Islands", text = "Ashmore and Cartier Islands" },
                { link = "Australian Antarctic Territory", text = "Australian Antarctic Territory" },
                { link = "Christmas Island", text = "Christmas Island" },
                { link = "Cocos (Keeling) Islands", text = "Cocos (Keeling) Islands" },
                { link = "Coral Sea Islands", text = "Coral Sea Islands" },
                { link = "Heard Island and McDonald Islands", text = "Heard Island and McDonald Islands" },
                { link = "Norfolk Island", text = "Norfolk Island" },
            },
            {
                title = { text = "New Zealand" },
                { link = "Cook Islands", text = "Cook Islands" },
                { link = "Niue", text = "Niue" },
                { link = "Ross Dependency", text = "Ross Dependency" },
                { link = "Tokelau", text = "Tokelau" },
            },
            {
                title = { text = "United Kingdom" },
                { link = "Akrotiri and Dhekelia", text = "Akrotiri and Dhekelia" },
                { link = "Anguilla", text = "Anguilla" },
                { link = "Bermuda", text = "Bermuda" },
                { link = "British Antarctic Territory", text = "British Antarctic Territory" },
                { link = "British Indian Ocean Territory", text = "British Indian Ocean Territory" },
                { link = "British Virgin Islands", text = "British Virgin Islands" },
                { link = "Cayman Islands", text = "Cayman Islands" },
                { link = "Falkland Islands", text = "Falkland Islands" },
                { link = "Gibraltar", text = "Gibraltar" },
                { link = "Guernsey", text = "Guernsey" },
                { link = "Isle of Man", text = "Isle of Man" },
                { link = "Jersey", text = "Jersey" },
                { link = "Montserrat", text = "Montserrat" },
                { link = "Pitcairn Islands", text = "Pitcairn Islands" },
                { link = "Saint Helena, Ascension and Tristan da Cunha", text = "St. Helena, Ascension and Tristan da Cunha" },
                { link = "South Georgia and the South Sandwich Islands", text = "South Georgia and the South Sandwich Islands" },
                { link = "Turks and Caicos Islands", text = "Turks and Caicos Islands" },
            }
        }
    }
}
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