Difference between revisions of "Module:Sanctions/data"

From blackwiki
Jump to navigation Jump to search
blackwiki>ProcrastinatingReader
m (ProcrastinatingReader moved page Module:Sandbox/ProcrastinatingReader/Sanctions/data to Module:Sanctions/data without leaving a redirect: move out of sandbox)
blackwiki>ProcrastinatingReader
(add aliases)
Line 1: Line 1:
return {
+
local sanctions = {
 
covid = {
 
covid = {
 
         topic = "Coronavirus disease 2019",
 
         topic = "Coronavirus disease 2019",
Line 49: Line 49:
 
     }
 
     }
 
}
 
}
 +
 +
local aliases = {
 +
    cry = crypto,
 +
    bc = crypto,
 +
    irp = iranpol,
 +
    syr = scwisil,
 +
    syria = scwisil,
 +
    isil = scwisil,
 +
    uku = ukunits
 +
}
 +
 +
-- export
 +
return {sanctions = sanctions, aliases = aliases}

Revision as of 22:54, 28 July 2020

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

local sanctions = {
	covid = {
        topic = "Coronavirus disease 2019",
        scope = "coronavirus disease 2019 ([[COVID-19]])",
        wikilink = "WP:GS/COVID19",
		restrictions = {['ds'] = true}
	},
	crypto = {
        topic = "Blockchain and cryptocurrencies",
        scope = "[[blockchain]] and [[cryptocurrencies]]",
        wikilink = "WP:GS/CRYPTO",
		restrictions = {['ds'] = true, ['1rr'] = true}
    },
    iranpol = {
        topic = "Post-1978 Iranian politics",
        scope = "post-1978 Iranian politics",
        wikilink = "WP:GS/IRANPOL",
        restrictions = {['ds'] = true}
    },
	mj = {
        topic = "Michael Jackson",
        scope = "[[Michael Jackson]]",
        wikilink = "WP:GS/MJ",
		restrictions = {['ds'] = true}
    },
    pw = {
        topic = "Professional wrestling",
        scope = "[[professional wrestling]]",
        wikilink = "WP:GS/PW",
		restrictions = {['ds'] = true}
	},
	sasg = {
        topic = "South Asian social groups",
        scope = "South Asian social groups",
        wikilink = "WP:GS/CASTE",
		restrictions = {['ds'] = true}
    },
    scwisil = {
        topic = "Syrian Civil War and ISIL",
        scope = "the [[Syrian Civil War]] and [[ISIL]]",
        wikilink = "WP:GS/SCW&ISIL",
        restrictions = {['ds'] = true, ['1rr'] = true}
    },
    ukunits = {
        topic = "measurement units in the United Kingdom",
        scope = "measurement units in the United Kingdom",
        wikilink = "WP:GS/UKU",
        restrictions = {['ds'] = true}
    }
}

local aliases = {
    cry = crypto,
    bc = crypto,
    irp = iranpol,
    syr = scwisil,
    syria = scwisil,
    isil = scwisil,
    uku = ukunits
}

-- export
return {sanctions = sanctions, aliases = aliases}