Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22cdb69090ea8fe

Jump to content

Module:Cite Almanac FS/data

Permanently protected module
From Wikipedia, the free encyclopedia
--[[-------------------------< A L M A N A C   S E C T I O N S >----------------------------------------------
]]

local sections_t = {
	men_t = {
		['section title'] = 'Men\'s Organizations',
		['section url'] = 'https://www.library.illinois.edu/slc/national-fraternity-collections/fraternity-sorority-almanac/mens-organizations/',
		['subsection url'] = 'https://uofi.app.box.com/v/mens-pdf-folder/file/',
		A = 459802680210,
		B = 459827394444,
		C = 459817264179,
        D = 459817374315,
        E = 459817074033,
        F = 459802534735,
        G = 459816719757,
        H = nil,																-- omit or set to nil when no file available
        I = 459802593492,
		J = nil,
		K = 459816920738,
		L = 459825170612,
		M = 964983107934,
		N = 459822007832,
		O = 459816634818,
		P = 459803084877,
        Q = nil,
        R = nil,
		S = 459824663920,
		T = 459790438330,
        U = nil,
        V = nil,
        W = nil,
		X = 459802664582,
        Y = nil,
		Z = 459802460169,
		INDEX = true,															-- for linking to the section index page (section url)
		},
	
	women_t = {
		['section title'] = 'Women\'s Organizations',
		['section url'] = 'https://www.library.illinois.edu/slc/national-fraternity-collections/fraternity-sorority-almanac/womens-organizations/',
		['subsection url'] = 'https://uofi.app.box.com/v/womens-pdf-folder/file/',
		A = 459803154069,
		B = nil,																-- omit or set to nil when no file available
		C = 459800962441,
		D = 459816640562,
		E = 459802912688,
		F = nil,
		G = 459802684836,
		H = nil,
		I = nil,
		J = nil,
		K = 459803080846,
		L = 459818136200,
		M = 459802938918,
		N = nil,
		O = 459815880316,
		P = 459827984021,
		Q = nil,
		R = 459803591133,
		S = 459785362568,
		T = 459802825232,
		U = 964986516959,
		V = nil,
		W = nil,
		X = nil,
		Y = nil,
		Z = 459817640791,
		INDEX = true,															-- for linking to the section index page (section url)
		},
	
	coed_t = {
		['section title'] = 'Co-ed Organizations',
		['section url'] = 'https://uofi.app.box.com/v/coeducational-glos',
		['subsection url'] = nil,												-- there are no subsections
		},

	['men-inactive_t'] = {
		['section title'] = 'Inactive Men\'s Organizations',
		['section url'] = 'https://uofi.app.box.com/v/inactive-glos-mens',
		['subsection url'] = nil,												-- there are no subsections
		},

	['women-inactive_t'] = {
		['section title'] = 'Inactive Women\'s Organizations',
		['section url'] = 'https://uofi.app.box.com/v/inactive-glos-womens',
		['subsection url'] = nil,												-- there are no subsections
		},

	institutions_t = {
		['section title'] = 'Institutions',
		['section url'] = 'https://www.library.illinois.edu/slc/national-fraternity-collections/fraternity-sorority-almanac/institutions/',
		['subsection url'] = 'https://uofi.app.box.com/v/institutions-pdf-folder/file/',
		A = 459819219656,
		B = 459802720312,
		C = 459802661864,
		D = 459790380478,
		E = 459816738642,
		F = 459816832153,
		G = 459820945212,
		H = 459790868482,
		I = 459816717498,
		J = 459804633115,
		K = 459802659390,
		L = 459816669618,
		M = 459817054701,
		N = 459802718248,
		O = 459816842012,
		P = 459816605620,
		Q = 459816728298,
		R = 459802661790,
		S = 459816848012,
		T = 459802950465,
		U = 459802820016,
		V = 459817716105,
		W = 459782686463,
		X = 459816899420,
		Y = 459782989757,
		Z = nil,																-- omit or set to nil when no file available
		INDEX = true,															-- for linking to the section index page (section url)
		},

	['closed-institutions_t'] = {
		['section title'] = 'Closed Institutions',
		['section url'] = 'https://uofi.app.box.com/v/closed-institutions',
		['subsection url'] = nil,												-- there are no subsections
		},

	['founding-chronological_t'] = {
		['section title'] = 'Founding Dates in Chronological Order',
		['section url'] = 'https://uofi.app.box.com/v/founding-chronological',
		['subsection url'] = nil,												-- there are no subsections
		},

	['founding-of-fs-system_t'] = {
		['section title'] = 'The Founding of the North-American Fraternity and Sorority System',
		['section url'] = 'https://uofi.app.box.com/v/founding-of-fs-system',
		['subsection url'] = nil,												-- there are no subsections
		},
	}


--[[--------------------------< E R R O R _ M E S S A G E S _ T >----------------------------------------------
]]

local error_messages_t = {
	msg_format = '$1<span class="cs1-visible-error"><code class="cs1-code">&#x7B;{$2}}:</code> $3</span>',	-- $1 is templatestyles, $2 is template name, $3 is the error message
		templatestyles = 'Module:Citation/CS1/styles.css',
		template_name = '[[Template:Cite Almanac FS|cite Almanac FS]]',

	section_required = '<code class="cs1-code">|section=</code> required',
	subsection_required = '<code class="cs1-code">|subsection=</code> required',
	unknown_parameter = 'unknown parameter: <code class="cs1-code">$1</code>',	-- $1 is the unknown parameter
	unknown_section = 'unknown section: <code class="cs1-code">$1</code>',		-- $1 is section keyword from |section=
	unknown_subsection = 'unknown subsection: <code class="cs1-code">$1</code>',-- $1 is subsection specifier from |subsection=
	}


--[[--------------------------< M I S C   D A T A >------------------------------------------------------------
]]

local static_param_data_t = {
	title = 'Almanac of Fraternities and Sororities',
	url = 'https://www.library.illinois.edu/slc/national-fraternity-collections/fraternity-sorority-almanac/',
	publisher = 'University of Illinois Urbana-Champaign ',
	via='University Library: Student Life and Culture Archives',
	language = 'en',
	}

local static_editor_data_t = {
	['editor-first'] = 'Carroll',												-- selection of editor name order is controlled by |last-first=yes
	['editor-last'] = 'Lurding',
	editor = 'Carroll Lurding',													-- default name order (|last-first= omitted, empty, or anything but 'yes')
	['editor2-first'] = 'Fran',												-- selection of editor name order is controlled by |last-first=yes
	['editor2-last'] = 'Becque',
	editor2 = 'Fran Becque',													-- default name order (|last-first= omitted, empty, or anything but 'yes')
	}
	
local affirmative_t = {
	yes = true,
--	ja = true,																	-- example usage; German language
	}

local section_title_formating_t = {
	plain = '$1 ($2)',															-- $1 is section name; $2 is subsection
	org = '$1 ($2): $3',														-- $1 is section name; $2 is subsection; $3 is organization name
	org_no_subsection = '$1: $2',												-- $1 is section name; $2 is organization name
	index = '$1 ($2)',															-- $1 is section name; $2 is section index
	index_label = 'Index',
	}


--[[--------------------------< K E Y W O R D S >--------------------------------------------------------------

this table maps |section= parameter keywords to <sections_t> keys.

for i18n; translators add translations of these keywords (the keys) for your own language, do not change the
rvalues

]]

local keywords_t = {
	men = 'men_t',																-- map keywords to <sections_t> entries
	women = 'women_t',
	coed = 'coed_t',
	['men-inactive'] = 'men-inactive_t',
	['women-inactive'] = 'women-inactive_t',
	institutions = 'institutions_t',
	['closed-institutions'] = 'closed-institutions_t',
	['founding-chronological'] = 'founding-chronological_t',
	['founding-of-fs-system'] = 'founding-of-fs-system_t',
	none = 'none',																-- not a <sections_t> entry; used to suppress section rendering
	index = 'INDEX',															-- not a <sections_t> entry; l-value must be uppercase; used to create a link to an Almanac section index; men, women, institutions only
	}


--[[--------------------------< U N I Q U E _ P A R A M E T E R S _ T >----------------------------------------

this is a sequence of unique parameters supported by {{Cite Almanac FS}}.  If there are aliases of the canonical
parameters, they must be included in this sequence

]]

local unique_parameters_t = {													-- sequence of parameters unique to this template
	'section',																	-- canonical
	'subsection',																-- canonical
	'organization',																-- canonical
	'last-first',																-- canonical

--	'abschnitt',																-- example alias usage; German for |section=
--	'unterabschnitt',															-- example alias usage; German for |subsection=
	}


--[[--------------------------< U N I Q U E _ A L I A S E S _ T >----------------------------------------------

this is a table of sequences that associate the unique {{cite Almanac FS}} canonical parameters with their
aliases.  The unique canonical parameters are:
	|section=
	|subsection=
	|last-first=
	|organization=

]]

local unique_aliases_t = {														-- table of parameter alias sequences unique to this template
	section_t = {'section'},
--	section_t = {'section', 'abschnitt'},										-- example alias usage; adds German for |section=
	subsection_t = {'subsection'},
--	subsection_t = {'subsection', 'unterabschnitt'},							-- example alias usage; adds German for |subsection=
	last_first_t = {'last-first'},
	organization_t = {'organization'},
	}


--[[--------------------------< C S 1 _ P A R A M E T E R S _ T >----------------------------------------------

this is a sequence of supported cs1|2 parameters.  May include aliases.  All parameters in this list must be
known to Module:Citation/CS1.

]]

local cs1_parameters_t = {														-- sequence of supported cs1|2 tempate parameters and aliases
	'access-date',
	'accessdate',
	'archive-url',
	'archiveurl',
	'archive-date',
	'date',
	'mode',
	'page',
	'pages',
	'url-status',
	'ref',
	}


--[[--------------------------< K N O W N _ P A R A M E T E R S _ T >------------------------------------------

this table constructed from <unique_parameters_t> and <cs1_parameters_t>; used only for identifying unknown
parameters.

]]

local known_parameters_t = {};
for _, params_t in ipairs ({unique_parameters_t, cs1_parameters_t}) do			-- build <known_parameters_t> from <unique_parameters_t> and <cs1_parameters_t>
	for _, name in ipairs (params_t) do											-- fetch each known parameter name
		known_parameters_t[name] = true;										-- and add it
	end
end


--[[-------------------------< E X P O R T S >----------------------------------------------------------------
]]

return {
	affirmative_t = affirmative_t,
	cs1_parameters_t = cs1_parameters_t,
	error_messages_t = error_messages_t,
	keywords_t = keywords_t,
	known_parameters_t = known_parameters_t,
	sections_t = sections_t,
	section_title_formating_t = section_title_formating_t,
	static_editor_data_t = static_editor_data_t,
	static_param_data_t = static_param_data_t,
	unique_aliases_t = unique_aliases_t,
	}