Jump to content

Module:Higher education task force/data

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Pharos (talk | contribs) at 22:11, 21 February 2025 (Created page with '-- This module stores icon data for Module:Higher education task force. -------------------------------------------------------------------------------- -- Higher education task force data -------------------------------------------------------------------------------- local data = { student = { image = "Nuvola apps edu languages.svg", name ="Student Affairs task force", nested ="Student Affairs", category = "Student Affairs task force articl...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
-- This module stores icon data for [[Module:Higher education task force]].

--------------------------------------------------------------------------------
-- Higher education task force data
--------------------------------------------------------------------------------

local data = {
	student = {
		image = "Nuvola apps edu languages.svg",
		name ="Student Affairs task force",
		nested ="Student Affairs",
		category = "Student Affairs task force articles",
		link = "Wikipedia:WikiProject Higher education/Student Affairs",
	},
	cuny = {
		image = "City University of New York wordmark.svg",
		name = "WikiProject City University of New York",
		nested = "City University of New York",
		category = "WikiProject CUNY articles",
		link = "Wikipedia:WikiProject City University of New York",
	},
	uva = {
		image = "University of Virginia text logo.svg",
		name = "WikiProject University of Virginia",
		nested = "University of Virginia",
		category = "WikiProject University of Virginia articles",
		link = "Wikipedia:WikiProject University of Virginia",
	}
}

--------------------------------------------------------------------------------
-- End Higher education task force data
--------------------------------------------------------------------------------

-- Make aliases work the same as normal keys, and remove the "aliases" subtables.
local ret= {}
for code, hetfData in pairs(data) do
	hetfData.canonicalCode = code
	if hetfData.aliases then
		for _, alias in ipairs(hetfData.aliases) do
			ret[alias] = hetfData
		end
		hetfData.aliases = nil
	end
	ret[code] = hetfData
end

return ret