<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.haring.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nico</id>
	<title>h | Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.haring.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nico"/>
	<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php/Special:Contributions/Nico"/>
	<updated>2026-06-01T10:41:40Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Math&amp;diff=114</id>
		<title>Module:Math</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Math&amp;diff=114"/>
		<updated>2025-08-04T22:07:06Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;--  This module provides a number of basic mathematical operations.    local yesno, getArgs -- lazily initialized  local p = {} -- Holds functions to be returned from #invoke, and functions to make available to other Lua modules. local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke and functions meant for Lua.  -- Helper functions used to avoid redundant code.   local function...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--[[&lt;br /&gt;
&lt;br /&gt;
This module provides a number of basic mathematical operations.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local yesno, getArgs -- lazily initialized&lt;br /&gt;
&lt;br /&gt;
local p = {} -- Holds functions to be returned from #invoke, and functions to make available to other Lua modules.&lt;br /&gt;
local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke and functions meant for Lua.&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
Helper functions used to avoid redundant code.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function err(msg)&lt;br /&gt;
	-- Generates wikitext error messages.&lt;br /&gt;
	return mw.ustring.format(&#039;&amp;lt;strong class=&amp;quot;error&amp;quot;&amp;gt;Formatting error: %s&amp;lt;/strong&amp;gt;&#039;, msg)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function unpackNumberArgs(args)&lt;br /&gt;
	-- Returns an unpacked list of arguments specified with numerical keys.&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		if type(k) == &#039;number&#039; then&lt;br /&gt;
			table.insert(ret, v)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return unpack(ret)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function makeArgArray(...)&lt;br /&gt;
	-- Makes an array of arguments from a list of arguments that might include nils.&lt;br /&gt;
	local args = {...} -- Table of arguments. It might contain nils or non-number values, so we can&#039;t use ipairs.&lt;br /&gt;
	local nums = {} -- Stores the numbers of valid numerical arguments.&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		v = p._cleanNumber(v)&lt;br /&gt;
		if v then&lt;br /&gt;
			nums[#nums + 1] = k&lt;br /&gt;
			args[k] = v&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	table.sort(nums)&lt;br /&gt;
	for i, num in ipairs(nums) do&lt;br /&gt;
		ret[#ret + 1] = args[num]&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function fold(func, ...)&lt;br /&gt;
	-- Use a function on all supplied arguments, and return the result. The function must accept two numbers as parameters,&lt;br /&gt;
	-- and must return a number as an output. This number is then supplied as input to the next function call.&lt;br /&gt;
	local vals = makeArgArray(...)&lt;br /&gt;
	local count = #vals -- The number of valid arguments&lt;br /&gt;
	if count == 0 then return&lt;br /&gt;
		-- Exit if we have no valid args, otherwise removing the first arg would cause an error.&lt;br /&gt;
		nil, 0&lt;br /&gt;
	end&lt;br /&gt;
	local ret = table.remove(vals, 1)&lt;br /&gt;
	for _, val in ipairs(vals) do&lt;br /&gt;
		ret = func(ret, val)&lt;br /&gt;
	end&lt;br /&gt;
	return ret, count&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
Fold arguments by selectively choosing values (func should return when to choose the current &amp;quot;dominant&amp;quot; value).&lt;br /&gt;
]]&lt;br /&gt;
local function binary_fold(func, ...)&lt;br /&gt;
	local value = fold((function(a, b) if func(a, b) then return a else return b end end), ...)&lt;br /&gt;
	return value&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
random&lt;br /&gt;
&lt;br /&gt;
Generate a random number&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke: Math | random }}&lt;br /&gt;
{{#invoke: Math | random | maximum value }}&lt;br /&gt;
{{#invoke: Math | random | minimum value | maximum value }}&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function wrap.random(args)&lt;br /&gt;
	local first = p._cleanNumber(args[1])&lt;br /&gt;
	local second = p._cleanNumber(args[2])&lt;br /&gt;
	return p._random(first, second)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._random(first, second)&lt;br /&gt;
	math.randomseed(mw.site.stats.edits + mw.site.stats.pages + os.time() + math.floor(os.clock() * 1000000000))&lt;br /&gt;
	-- math.random will throw an error if given an explicit nil parameter, so we need to use if statements to check the params.&lt;br /&gt;
	if first and second then&lt;br /&gt;
		if first &amp;lt;= second then -- math.random doesn&#039;t allow the first number to be greater than the second.&lt;br /&gt;
			return math.random(first, second)&lt;br /&gt;
		end&lt;br /&gt;
	elseif first then&lt;br /&gt;
		return math.random(first)&lt;br /&gt;
	else&lt;br /&gt;
		return math.random()&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
order&lt;br /&gt;
&lt;br /&gt;
Determine order of magnitude of a number&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke: Math | order | value }}&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function wrap.order(args)&lt;br /&gt;
	local input_string = (args[1] or args.x or &#039;0&#039;);&lt;br /&gt;
	local input_number = p._cleanNumber(input_string);&lt;br /&gt;
	if input_number == nil then&lt;br /&gt;
		return err(&#039;order of magnitude input appears non-numeric&#039;)&lt;br /&gt;
	else&lt;br /&gt;
		return p._order(input_number)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._order(x)&lt;br /&gt;
	if x == 0 then return 0 end&lt;br /&gt;
	return math.floor(math.log10(math.abs(x)))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
precision&lt;br /&gt;
&lt;br /&gt;
Detemines the precision of a number using the string representation&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{ #invoke: Math | precision | value }}&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function wrap.precision(args)&lt;br /&gt;
	local input_string = (args[1] or args.x or &#039;0&#039;);&lt;br /&gt;
	local trap_fraction = args.check_fraction;&lt;br /&gt;
	local input_number;&lt;br /&gt;
&lt;br /&gt;
	if not yesno then&lt;br /&gt;
		yesno = require(&#039;Module:Yesno&#039;)&lt;br /&gt;
	end&lt;br /&gt;
	if yesno(trap_fraction, true) then -- Returns true for all input except nil, false, &amp;quot;no&amp;quot;, &amp;quot;n&amp;quot;, &amp;quot;0&amp;quot; and a few others. See [[Module:Yesno]].&lt;br /&gt;
		local pos = string.find(input_string, &#039;/&#039;, 1, true);&lt;br /&gt;
		if pos ~= nil then&lt;br /&gt;
			if string.find(input_string, &#039;/&#039;, pos + 1, true) == nil then&lt;br /&gt;
				local denominator = string.sub(input_string, pos+1, -1);&lt;br /&gt;
				local denom_value = tonumber(denominator);&lt;br /&gt;
				if denom_value ~= nil then&lt;br /&gt;
					return math.log10(denom_value);&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	input_number, input_string = p._cleanNumber(input_string);&lt;br /&gt;
	if input_string == nil then&lt;br /&gt;
		return err(&#039;precision input appears non-numeric&#039;)&lt;br /&gt;
	else&lt;br /&gt;
		return p._precision(input_string)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._precision(x)&lt;br /&gt;
	if type(x) == &#039;number&#039; then&lt;br /&gt;
		x = tostring(x)&lt;br /&gt;
	end&lt;br /&gt;
	x = string.upper(x)&lt;br /&gt;
&lt;br /&gt;
	local decimal = x:find(&#039;%.&#039;)&lt;br /&gt;
	local exponent_pos = x:find(&#039;E&#039;)&lt;br /&gt;
	local result = 0;&lt;br /&gt;
&lt;br /&gt;
	if exponent_pos ~= nil then&lt;br /&gt;
		local exponent = string.sub(x, exponent_pos + 1)&lt;br /&gt;
		x = string.sub(x, 1, exponent_pos - 1)&lt;br /&gt;
		result = result - tonumber(exponent)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if decimal ~= nil then&lt;br /&gt;
		result = result + string.len(x) - decimal&lt;br /&gt;
		return result&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local pos = string.len(x);&lt;br /&gt;
	while x:byte(pos) == string.byte(&#039;0&#039;) do&lt;br /&gt;
		pos = pos - 1&lt;br /&gt;
		result = result - 1&lt;br /&gt;
		if pos &amp;lt;= 0 then&lt;br /&gt;
			return 0&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
max&lt;br /&gt;
&lt;br /&gt;
Finds the maximum argument&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke:Math| max | value1 | value2 | ... }}&lt;br /&gt;
&lt;br /&gt;
Note, any values that do not evaluate to numbers are ignored.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function wrap.max(args)&lt;br /&gt;
	return p._max(unpackNumberArgs(args))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._max(...)&lt;br /&gt;
	local max_value = binary_fold((function(a, b) return a &amp;gt; b end), ...)&lt;br /&gt;
	if max_value then&lt;br /&gt;
		return max_value&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
median&lt;br /&gt;
&lt;br /&gt;
Find the median of set of numbers&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke:Math | median | number1 | number2 | ...}}&lt;br /&gt;
OR&lt;br /&gt;
{{#invoke:Math | median }}&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function wrap.median(args)&lt;br /&gt;
	return p._median(unpackNumberArgs(args))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._median(...)&lt;br /&gt;
	local vals = makeArgArray(...)&lt;br /&gt;
	local count = #vals&lt;br /&gt;
	table.sort(vals)&lt;br /&gt;
&lt;br /&gt;
	if count == 0 then&lt;br /&gt;
		return 0&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if p._mod(count, 2) == 0 then&lt;br /&gt;
		return (vals[count/2] + vals[count/2+1])/2&lt;br /&gt;
	else&lt;br /&gt;
		return vals[math.ceil(count/2)]&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
min&lt;br /&gt;
&lt;br /&gt;
Finds the minimum argument&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke:Math| min | value1 | value2 | ... }}&lt;br /&gt;
OR&lt;br /&gt;
{{#invoke:Math| min }}&lt;br /&gt;
&lt;br /&gt;
When used with no arguments, it takes its input from the parent&lt;br /&gt;
frame.  Note, any values that do not evaluate to numbers are ignored.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function wrap.min(args)&lt;br /&gt;
	return p._min(unpackNumberArgs(args))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._min(...)&lt;br /&gt;
	local min_value = binary_fold((function(a, b) return a &amp;lt; b end), ...)&lt;br /&gt;
	if min_value then&lt;br /&gt;
		return min_value&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
sum&lt;br /&gt;
&lt;br /&gt;
Finds the sum&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke:Math| sum | value1 | value2 | ... }}&lt;br /&gt;
OR&lt;br /&gt;
{{#invoke:Math| sum }}&lt;br /&gt;
&lt;br /&gt;
Note, any values that do not evaluate to numbers are ignored.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function wrap.sum(args)&lt;br /&gt;
	return p._sum(unpackNumberArgs(args))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._sum(...)&lt;br /&gt;
	local sums, count = fold((function(a, b) return a + b end), ...)&lt;br /&gt;
	if not sums then&lt;br /&gt;
		return 0&lt;br /&gt;
	else&lt;br /&gt;
		return sums&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
average&lt;br /&gt;
&lt;br /&gt;
Finds the average&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke:Math| average | value1 | value2 | ... }}&lt;br /&gt;
OR&lt;br /&gt;
{{#invoke:Math| average }}&lt;br /&gt;
&lt;br /&gt;
Note, any values that do not evaluate to numbers are ignored.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function wrap.average(args)&lt;br /&gt;
	return p._average(unpackNumberArgs(args))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._average(...)&lt;br /&gt;
	local sum, count = fold((function(a, b) return a + b end), ...)&lt;br /&gt;
	if not sum then&lt;br /&gt;
		return 0&lt;br /&gt;
	else&lt;br /&gt;
		return sum / count&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
round&lt;br /&gt;
&lt;br /&gt;
Rounds a number to specified precision&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke:Math | round | value | precision }}&lt;br /&gt;
&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
function wrap.round(args)&lt;br /&gt;
	local value = p._cleanNumber(args[1] or args.value or 0)&lt;br /&gt;
	local precision = p._cleanNumber(args[2] or args.precision or 0)&lt;br /&gt;
	if value == nil or precision == nil then&lt;br /&gt;
		return err(&#039;round input appears non-numeric&#039;)&lt;br /&gt;
	else&lt;br /&gt;
		return p._round(value, precision)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._round(value, precision)&lt;br /&gt;
	local rescale = math.pow(10, precision or 0);&lt;br /&gt;
	return math.floor(value * rescale + 0.5) / rescale;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
log10&lt;br /&gt;
&lt;br /&gt;
returns the log (base 10) of a number&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke:Math | log10 | x }}&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function wrap.log10(args)&lt;br /&gt;
	return math.log10(args[1])&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
mod&lt;br /&gt;
&lt;br /&gt;
Implements the modulo operator&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke:Math | mod | x | y }}&lt;br /&gt;
&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
function wrap.mod(args)&lt;br /&gt;
	local x = p._cleanNumber(args[1])&lt;br /&gt;
	local y = p._cleanNumber(args[2])&lt;br /&gt;
	if not x then&lt;br /&gt;
		return err(&#039;first argument to mod appears non-numeric&#039;)&lt;br /&gt;
	elseif not y then&lt;br /&gt;
		return err(&#039;second argument to mod appears non-numeric&#039;)&lt;br /&gt;
	else&lt;br /&gt;
		return p._mod(x, y)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._mod(x, y)&lt;br /&gt;
	local ret = x % y&lt;br /&gt;
	if not (0 &amp;lt;= ret and ret &amp;lt; y) then&lt;br /&gt;
		ret = 0&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
gcd&lt;br /&gt;
&lt;br /&gt;
Calculates the greatest common divisor of multiple numbers&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke:Math | gcd | value 1 | value 2 | value 3 | ... }}&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
function wrap.gcd(args)&lt;br /&gt;
	return p._gcd(unpackNumberArgs(args))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._gcd(...)&lt;br /&gt;
	local function findGcd(a, b)&lt;br /&gt;
		local r = b&lt;br /&gt;
		local oldr = a&lt;br /&gt;
		while r ~= 0 do&lt;br /&gt;
			local quotient = math.floor(oldr / r)&lt;br /&gt;
			oldr, r = r, oldr - quotient * r&lt;br /&gt;
		end&lt;br /&gt;
		if oldr &amp;lt; 0 then&lt;br /&gt;
			oldr = oldr * -1&lt;br /&gt;
		end&lt;br /&gt;
		return oldr&lt;br /&gt;
	end&lt;br /&gt;
	local result, count = fold(findGcd, ...)&lt;br /&gt;
	return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
precision_format&lt;br /&gt;
&lt;br /&gt;
Rounds a number to the specified precision and formats according to rules&lt;br /&gt;
originally used for {{template:Rnd}}.  Output is a string.&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke: Math | precision_format | number | precision }}&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function wrap.precision_format(args)&lt;br /&gt;
	local value_string = args[1] or 0&lt;br /&gt;
	local precision = args[2] or 0&lt;br /&gt;
	return p._precision_format(value_string, precision)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._precision_format(value_string, precision)&lt;br /&gt;
	-- For access to Mediawiki built-in formatter.&lt;br /&gt;
	local lang = mw.getContentLanguage();&lt;br /&gt;
&lt;br /&gt;
	local value&lt;br /&gt;
	value, value_string = p._cleanNumber(value_string)&lt;br /&gt;
	precision = p._cleanNumber(precision)&lt;br /&gt;
&lt;br /&gt;
	-- Check for non-numeric input&lt;br /&gt;
	if value == nil or precision == nil then&lt;br /&gt;
		return err(&#039;invalid input when rounding&#039;)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local current_precision = p._precision(value)&lt;br /&gt;
	local order = p._order(value)&lt;br /&gt;
&lt;br /&gt;
	-- Due to round-off effects it is neccesary to limit the returned precision under&lt;br /&gt;
	-- some circumstances because the terminal digits will be inaccurately reported.&lt;br /&gt;
	if order + precision &amp;gt;= 14 then&lt;br /&gt;
		if order + p._precision(value_string) &amp;gt;= 14 then&lt;br /&gt;
			precision = 13 - order;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- If rounding off, truncate extra digits&lt;br /&gt;
	if precision &amp;lt; current_precision then&lt;br /&gt;
		value = p._round(value, precision)&lt;br /&gt;
		current_precision = p._precision(value)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local formatted_num = lang:formatNum(math.abs(value))&lt;br /&gt;
	local sign&lt;br /&gt;
&lt;br /&gt;
	-- Use proper unary minus sign rather than ASCII default&lt;br /&gt;
	if value &amp;lt; 0 then&lt;br /&gt;
		sign = &#039;−&#039;&lt;br /&gt;
	else&lt;br /&gt;
		sign = &#039;&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Handle cases requiring scientific notation&lt;br /&gt;
	if string.find(formatted_num, &#039;E&#039;, 1, true) ~= nil or math.abs(order) &amp;gt;= 9 then&lt;br /&gt;
		value = value * math.pow(10, -order)&lt;br /&gt;
		current_precision = current_precision + order&lt;br /&gt;
		precision = precision + order&lt;br /&gt;
		formatted_num = lang:formatNum(math.abs(value))&lt;br /&gt;
	else&lt;br /&gt;
		order = 0;&lt;br /&gt;
	end&lt;br /&gt;
	formatted_num = sign .. formatted_num&lt;br /&gt;
&lt;br /&gt;
	-- Pad with zeros, if needed&lt;br /&gt;
	if current_precision &amp;lt; precision then&lt;br /&gt;
		local padding&lt;br /&gt;
		if current_precision &amp;lt;= 0 then&lt;br /&gt;
			if precision &amp;gt; 0 then&lt;br /&gt;
				local zero_sep = lang:formatNum(1.1)&lt;br /&gt;
				formatted_num = formatted_num .. zero_sep:sub(2,2)&lt;br /&gt;
&lt;br /&gt;
				padding = precision&lt;br /&gt;
				if padding &amp;gt; 20 then&lt;br /&gt;
					padding = 20&lt;br /&gt;
				end&lt;br /&gt;
&lt;br /&gt;
				formatted_num = formatted_num .. string.rep(&#039;0&#039;, padding)&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			padding = precision - current_precision&lt;br /&gt;
			if padding &amp;gt; 20 then&lt;br /&gt;
				padding = 20&lt;br /&gt;
			end&lt;br /&gt;
			formatted_num = formatted_num .. string.rep(&#039;0&#039;, padding)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add exponential notation, if necessary.&lt;br /&gt;
	if order ~= 0 then&lt;br /&gt;
		-- Use proper unary minus sign rather than ASCII default&lt;br /&gt;
		if order &amp;lt; 0 then&lt;br /&gt;
			order = &#039;−&#039; .. lang:formatNum(math.abs(order))&lt;br /&gt;
		else&lt;br /&gt;
			order = lang:formatNum(order)&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		formatted_num = formatted_num .. &#039;&amp;lt;span style=&amp;quot;margin:0 .15em 0 .25em&amp;quot;&amp;gt;×&amp;lt;/span&amp;gt;10&amp;lt;sup&amp;gt;&#039; .. order .. &#039;&amp;lt;/sup&amp;gt;&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return formatted_num&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
divide&lt;br /&gt;
&lt;br /&gt;
Implements the division operator&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
{{#invoke:Math | divide | x | y | round= | precision= }}&lt;br /&gt;
&lt;br /&gt;
--]]&lt;br /&gt;
function wrap.divide(args)&lt;br /&gt;
	local x = args[1]&lt;br /&gt;
	local y = args[2]&lt;br /&gt;
	local round = args.round&lt;br /&gt;
	local precision =  args.precision&lt;br /&gt;
	if not yesno then&lt;br /&gt;
		yesno = require(&#039;Module:Yesno&#039;)&lt;br /&gt;
	end&lt;br /&gt;
	return p._divide(x, y, yesno(round), precision)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._divide(x, y, round, precision)&lt;br /&gt;
	if y == nil or y == &amp;quot;&amp;quot; then&lt;br /&gt;
		return err(&amp;quot;Empty divisor&amp;quot;)&lt;br /&gt;
	elseif not tonumber(y) then&lt;br /&gt;
		if type(y) == &#039;string&#039; and string.sub(y, 1, 1) == &#039;&amp;lt;&#039; then&lt;br /&gt;
			return y&lt;br /&gt;
		else&lt;br /&gt;
			return err(&amp;quot;Not a number: &amp;quot; .. y)&lt;br /&gt;
		end&lt;br /&gt;
	elseif x == nil or x == &amp;quot;&amp;quot; then&lt;br /&gt;
		return err(&amp;quot;Empty dividend&amp;quot;)&lt;br /&gt;
	elseif not tonumber(x) then&lt;br /&gt;
		if type(x) == &#039;string&#039; and string.sub(x, 1, 1) == &#039;&amp;lt;&#039; then&lt;br /&gt;
			return x&lt;br /&gt;
		else&lt;br /&gt;
			return err(&amp;quot;Not a number: &amp;quot; .. x)&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		local z = x / y&lt;br /&gt;
		if round then&lt;br /&gt;
			return p._round(z, 0)&lt;br /&gt;
		elseif precision then&lt;br /&gt;
			return p._round(z, precision)&lt;br /&gt;
		else&lt;br /&gt;
			return z	&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
Helper function that interprets the input numerically.  If the&lt;br /&gt;
input does not appear to be a number, attempts evaluating it as&lt;br /&gt;
a parser functions expression.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function p._cleanNumber(number_string)&lt;br /&gt;
	if type(number_string) == &#039;number&#039; then&lt;br /&gt;
		-- We were passed a number, so we don&#039;t need to do any processing.&lt;br /&gt;
		return number_string, tostring(number_string)&lt;br /&gt;
	elseif type(number_string) ~= &#039;string&#039; or not number_string:find(&#039;%S&#039;) then&lt;br /&gt;
		-- We were passed a non-string or a blank string, so exit.&lt;br /&gt;
		return nil, nil;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Attempt basic conversion&lt;br /&gt;
	local number = tonumber(number_string)&lt;br /&gt;
&lt;br /&gt;
	-- If failed, attempt to evaluate input as an expression&lt;br /&gt;
	if number == nil then&lt;br /&gt;
		local success, result = pcall(mw.ext.ParserFunctions.expr, number_string)&lt;br /&gt;
		if success then&lt;br /&gt;
			number = tonumber(result)&lt;br /&gt;
			number_string = tostring(number)&lt;br /&gt;
		else&lt;br /&gt;
			number = nil&lt;br /&gt;
			number_string = nil&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		number_string = number_string:match(&amp;quot;^%s*(.-)%s*$&amp;quot;) -- String is valid but may contain padding, clean it.&lt;br /&gt;
		number_string = number_string:match(&amp;quot;^%+(.*)$&amp;quot;) or number_string -- Trim any leading + signs.&lt;br /&gt;
		if number_string:find(&#039;^%-?0[xX]&#039;) then&lt;br /&gt;
			-- Number is using 0xnnn notation to indicate base 16; use the number that Lua detected instead.&lt;br /&gt;
			number_string = tostring(number)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return number, number_string&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
Wrapper function that does basic argument processing. This ensures that all functions from #invoke can use either the current&lt;br /&gt;
frame or the parent frame, and it also trims whitespace for all arguments and removes blank arguments.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local mt = { __index = function(t, k)&lt;br /&gt;
	return function(frame)&lt;br /&gt;
		if not getArgs then&lt;br /&gt;
			getArgs = require(&#039;Module:Arguments&#039;).getArgs&lt;br /&gt;
		end&lt;br /&gt;
		return wrap[k](getArgs(frame))  -- Argument processing is left to Module:Arguments. Whitespace is trimmed and blank arguments are removed.&lt;br /&gt;
	end&lt;br /&gt;
end }&lt;br /&gt;
&lt;br /&gt;
return setmetatable(p, mt)&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Template:2024_United_States_presidential_election_imagemap&amp;diff=113</id>
		<title>Template:2024 United States presidential election imagemap</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Template:2024_United_States_presidential_election_imagemap&amp;diff=113"/>
		<updated>2025-08-04T22:01:41Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{United States presidential election imagemap|image=ElectoralCollege2024 4.png|year=2024}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{documentation|Template:United States presidential election imagemap/transcludedoc}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=File:ElectoralCollege2024_4.png&amp;diff=112</id>
		<title>File:ElectoralCollege2024 4.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=File:ElectoralCollege2024_4.png&amp;diff=112"/>
		<updated>2025-08-04T22:01:00Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Electoral College&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Template:2024_United_States_presidential_election_imagemap&amp;diff=110</id>
		<title>Template:2024 United States presidential election imagemap</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Template:2024_United_States_presidential_election_imagemap&amp;diff=110"/>
		<updated>2025-08-04T20:52:35Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{United States presidential election imagemap|image=YapmsMap.svg|year=2024}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{documentation|Template:United States presidential election imagemap/transcludedoc}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Template:2024_United_States_presidential_election_imagemap&amp;diff=108</id>
		<title>Template:2024 United States presidential election imagemap</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Template:2024_United_States_presidential_election_imagemap&amp;diff=108"/>
		<updated>2025-08-04T20:44:52Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{United States presidential election imagemap|image=ElectoralCollege2024_2.svg|year=2024}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{documentation|Template:United States presidential election imagemap/transcludedoc}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=106</id>
		<title>2024 United States presidential election</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=106"/>
		<updated>2025-08-04T20:25:38Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox election&lt;br /&gt;
| election_name = 2024 United States presidential election&lt;br /&gt;
| country = United States&lt;br /&gt;
| flag_image = Flag of the United States (Web Colors).svg&lt;br /&gt;
| type = presidential&lt;br /&gt;
| opinion_polls = w:Nationwide opinion polling for the 2024 United States presidential election&lt;br /&gt;
| college_voted = yes&lt;br /&gt;
| previous_election = 2020 United States presidential election&lt;br /&gt;
| previous_year = 2020&lt;br /&gt;
| next_election = 2028 United States presidential election&lt;br /&gt;
| next_year = &#039;&#039;2028&#039;&#039;&lt;br /&gt;
| election_date = November 5, 2024&lt;br /&gt;
| votes_for_election = 538 members of the [[w:United States Electoral College|Electoral College]]&lt;br /&gt;
| needed_votes = 270 electoral&lt;br /&gt;
| turnout = 62.7% ({{decrease}} 4.2 [[percentage point|pp]])&lt;br /&gt;
| map_image = {{2024 United States presidential election imagemap}}&lt;br /&gt;
| map_size = &lt;br /&gt;
|&lt;br /&gt;
| image1 = Kamala Harris Vice Presidential Portrait (cropped).jpg&lt;br /&gt;
| image_size = 200x200px&lt;br /&gt;
| nominee1 = &#039;&#039;&#039;[[w:Kamala Harris|Kamala Harris]]&#039;&#039;&#039;&lt;br /&gt;
| party1 = Democratic Party (United States)&lt;br /&gt;
| home_state1 = [[w:California|California]]&lt;br /&gt;
| running_mate1 = &#039;&#039;&#039;[[w:Tim Walz|Tim Walz]]&#039;&#039;&#039;&lt;br /&gt;
| electoral_vote1 = &#039;&#039;&#039;303&#039;&#039;&#039;&lt;br /&gt;
| states_carried1 = &#039;&#039;&#039;25 + [[w:Washington, D.C.|DC]] + {{ushr|w:NE|2|NE-02}}&#039;&#039;&#039;&lt;br /&gt;
| popular_vote1 = &#039;&#039;&#039;80,482,976&#039;&#039;&#039;&lt;br /&gt;
| percentage1 = &#039;&#039;&#039;51.2%&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| image2 = TrumpPortrait (3x4a).jpg&lt;br /&gt;
| nominee2 = [[w:Donald Trump|Donald Trump]]&lt;br /&gt;
| party2 = Republican Party (United States)&lt;br /&gt;
| home_state2 = [[w:Florida|Florida]]&lt;br /&gt;
| running_mate2 = [[w:JD Vance|JD Vance]]&lt;br /&gt;
| electoral_vote2 = 235&lt;br /&gt;
| states_carried2 = 25 + {{ushr|w:ME|2|ME-02}}&lt;br /&gt;
| popular_vote2 = 74,481,957&lt;br /&gt;
| percentage2 = 47.4%&lt;br /&gt;
|&lt;br /&gt;
| map_caption = Presidential election results map. &amp;lt;span style=&amp;quot;color:darkred;&amp;quot;&amp;gt;Red&amp;lt;/span&amp;gt; denotes [[w:U.S. states|U.S. states]] won by Trump/Vance and &amp;lt;span style=&amp;quot;color:darkblue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; denotes those won by Harris/Walz. Numbers indicate [[w:United States Electoral College|electoral votes]] cast by each state and the [[w:District of Columbia|District of Columbia]].&lt;br /&gt;
| title = President&lt;br /&gt;
| before_election = [[w:Joe Biden|Joe Biden]]&lt;br /&gt;
| before_party = Democratic Party (United States)&lt;br /&gt;
| posttitle = &amp;lt;!--Please stop changing--&amp;gt;Elected President&amp;lt;!--Please stop changing--&amp;gt;&lt;br /&gt;
| after_election = [[w:Kamala Harris|Kamala Harris]]&lt;br /&gt;
| after_party = Democratic Party (United States)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[w:United States presidential election|Presidential elections]] were held in the [[United States]] on November 5, 2024. The [[Democratic Party (United States)|Democratic Party]]&#039;s [[w:Ticket (election)|ticket]]—[[w:Kamala Harris|Kamala Harris]], the incumbent [[w:U.S. vice president|U.S. vice president]], and [[w:Tim Walz|Tim Walz]], the incumbent [[w:governor of Minnesota|governor of Minnesota]]—defeated the [[Republican Party (United States)|Republican Party]]&#039;s ticket—[[w:Donald Trump|Donald Trump]], who served as the 45th [[w:president of the United States|president of the United States]] from 2017 to 2021, and [[w:JD Vance|JD Vance]], a [[w:U.S. senator|U.S. senator]] from [[w:Ohio|Ohio]].&lt;br /&gt;
&lt;br /&gt;
The incumbent president, Democrat [[w:Joe Biden|Joe Biden]], initially [[w:Joe Biden 2024 presidential campaign|ran for re-election]] as the party&#039;s [[w:presumptive nominee|presumptive nominee]], facing little opposition and easily defeating Representative [[w:Dean Phillips|Dean Phillips]] of [[w:Minnesota|Minnesota]] during the [[w:2024 Democratic Party presidential primaries|Democratic primaries]]; however, what was broadly considered a [[w:2024 Joe Biden–Donald Trump presidential debate|poor debate performance]] in June 2024 intensified [[w:Age and health concerns about Joe Biden|concerns about his age and health]], and led to [[w:List of Democrats who opposed the Joe Biden 2024 presidential campaign|calls within his party]] for him to leave the race. After initially declining to do so, [[w:Withdrawal of Joe Biden from the 2024 United States presidential election|Biden withdrew]] on July 21, becoming the first eligible incumbent president to withdraw since [[w:Withdrawal of Lyndon B. Johnson from the 1968 United States presidential election|Lyndon B. Johnson in 1968]]. Biden endorsed Harris, who was voted [[w:Kamala Harris 2024 presidential campaign|the party&#039;s nominee]] by the delegates on August 5 and became the first nominee who did not participate in the [[w:United States presidential primary|primaries]] since [[w:Hubert Humphrey 1968 presidential campaign|Hubert Humphrey, also in 1968]]. Harris [[w:2024 Democratic Party vice presidential candidate selection|selected Walz as her running mate]].&lt;br /&gt;
&lt;br /&gt;
Trump, who lost [[w:2020 United States presidential election|the 2020 presidential election]] to Biden, [[w:Donald Trump 2024 presidential campaign|ran for reelection]] to a nonconsecutive second term. He was shot in the ear in [[w:Attempted assassination of Donald Trump in Pennsylvania|an assassination attempt]] on July 13, 2024. Trump was nominated as the Republican Party&#039;s presidential candidate during the [[w:2024 Republican National Convention|2024 Republican National Convention]] alongside his running mate, Vance. [[w:Donald Trump 2024 presidential campaign|The Trump campaign]] ticket supported mass deportation of undocumented immigrants; an [[w:isolationism|isolationist]] &amp;quot;[[w:America First|America First]]&amp;quot; foreign policy agenda with support of Israel in the [[w:Gaza war|Gaza war]] and skepticism of Ukraine in its [[w:Russian invasion of Ukraine|war with Russia]]; [[w:Transphobia in the United States|anti-transgender policies]]; and [[w:Tariffs in the second Trump administration|tariffs]]. The campaign also made [[w:False or misleading statements by Donald Trump|false and misleading statements]], including [[w:False claims of fraud in the 2020 presidential election|claims of electoral fraud in 2020]]. [[w:Trumpism|Trump&#039;s political movement]] was seen by some historians and some former [[w:First cabinet of Donald Trump|Trump administrators]] as [[w:authoritarian|authoritarian]].&lt;br /&gt;
&lt;br /&gt;
Harris won the [[w:United States Electoral College|Electoral College]] with 303 electoral votes to Trump&#039;s 235. She carried every state that Biden won in 2020, including the critical battlegrounds of [[w:2024 United States presidential election in Michigan|Michigan]], [[w:2024 United States presidential election in Pennsylvania|Pennsylvania]], [[w:2024 United States presidential election in Wisconsin|Wisconsin]], [[w:2024 United States presidential election in Arizona|Arizona]], [[w:2024 United States presidential election in Georgia|Georgia]], and [[w:2024 United States presidential election in Nevada|Nevada]]. She also won [[w:2024 United States presidential election in Nebraska|Nebraska&#039;s 2nd congressional district]], which had been a key target for both campaigns. Harris lost [[w:2024 United States presidential election in North Carolina|North Carolina]] and [[w:2024 United States presidential election in Florida|Florida]] by narrow margins. She became the first woman and first Asian American to be elected president of the United States. Harris won the national [[w:List of United States presidential elections by popular vote margin|popular vote]] with 51.2%, defeating Trump by a margin of approximately 5.5 million votes. Analysts credited Harris&#039;s victory to high Democratic turnout, broad suburban support, and improved margins among women and young voters.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
{{further|w:United States presidential election#Procedure}}&lt;br /&gt;
[[File:Absentee Ballot, 2024.jpg|thumb|A general election absentee ballot from [[W:Fairfax County, Virginia|Fairfax County, Virginia]], listing the presidential and vice presidential candidates]]&lt;br /&gt;
[[File:Joe Biden presidential portrait.jpg|thumb|upright|The [[w:incumbent|incumbent]] in 2024, [[w:Joe Biden|Joe Biden]]. His term expired at noon on January 20, 2025.]]&lt;br /&gt;
&lt;br /&gt;
In 2020, incumbent Republican President Donald Trump was defeated by Democratic challenger Joe Biden. Democratic U.S. Senator Kamala Harris of California was elected vice president as Biden’s running mate.&lt;br /&gt;
&lt;br /&gt;
Trump was the first president in U.S. history to be [[w:Efforts to impeach Donald Trump|impeached twice]], and the first to seek re-election following impeachment. As he was acquitted by the Senate in both cases, he remained eligible to run in 2024.&lt;br /&gt;
&lt;br /&gt;
=== Election interference ===&lt;br /&gt;
{{main|w:Election interference}}&lt;br /&gt;
{{further|w:Republican efforts to restrict voting following the 2020 presidential election|w:Attempts to overturn the 2020 United States presidential election|w:January 6 United States Capitol attack|w:Presidential eligibility of Donald Trump}}&lt;br /&gt;
&lt;br /&gt;
In the run-up to the 2024 election, several state officials and courts attempted to disqualify Trump from the ballot under Section 3 of the [[w:Fourteenth Amendment to the United States Constitution|Fourteenth Amendment to the United States Constitution]], citing his role in the January 6 Capitol attack. These included the [[w:Colorado Supreme Court|Colorado Supreme Court]], a Circuit Court in [[w:Illinois|Illinois]], and the [[w:Secretary of State of Maine|Secretary of State of Maine]].&lt;br /&gt;
&lt;br /&gt;
On March 4, 2024, the U.S. Supreme Court ruled unanimously in &#039;&#039;[[w:Trump v. Anderson|Trump v. Anderson]]&#039;&#039; that states lacked the authority to enforce Section 3 for federal candidates without congressional legislation, allowing Trump to remain on the ballot nationwide.&lt;br /&gt;
&lt;br /&gt;
==== Donald Trump&#039;s false claims of interference ====&lt;br /&gt;
{{further|w:Big lie#Donald Trump&#039;s false claims of a stolen election|w:Election denial movement in the United States|w:Republican Party efforts to disrupt the 2024 United States presidential election}}&lt;br /&gt;
&lt;br /&gt;
[[File:20240524 Trump groundwork for election denial.svg|thumb|200x200px|Trump increased the use of &amp;quot;rigged election&amp;quot; and &amp;quot;election interference&amp;quot; rhetoric before the 2024 election.]]&lt;br /&gt;
&lt;br /&gt;
Trump repeatedly claimed without evidence that the 2024 election would be rigged, continuing rhetoric similar to his false claims following the 2020 election.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The New York Times&#039;&#039; reported in July 2024 that the Republican Party and aligned groups were preparing a broad legal campaign aimed at challenging election processes and results, including limiting voting access in key states and preparing to dispute certification should Trump lose.&lt;br /&gt;
&lt;br /&gt;
The Republican Party also promoted baseless claims of noncitizen voting, while Trump and others refused to commit to accepting the 2024 results if they believed the outcome was &amp;quot;unfair&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Trump also reignited concerns about democratic erosion in the U.S. through his statements suggesting he could suspend the Constitution, his pledge to act as a &amp;quot;dictator&amp;quot; on &amp;quot;day one&amp;quot;, and his plans to weaponize the Justice Department and invoke the [[w:Insurrection Act of 1807|Insurrection Act of 1807]] against Democratic jurisdictions.&lt;br /&gt;
&lt;br /&gt;
Observers warned that Trump’s actions and rhetoric posed a threat to U.S. democracy, with election deniers gaining ground within the Republican Party and plans to monitor polling places intensifying across battleground states.&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=105</id>
		<title>2024 United States presidential election</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=105"/>
		<updated>2025-08-04T20:23:48Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox election&lt;br /&gt;
| election_name = 2024 United States presidential election&lt;br /&gt;
| country = United States&lt;br /&gt;
| flag_image = Flag of the United States (Web Colors).svg&lt;br /&gt;
| type = presidential&lt;br /&gt;
| opinion_polls = w:Nationwide opinion polling for the 2024 United States presidential election&lt;br /&gt;
| college_voted = yes&lt;br /&gt;
| previous_election = 2020 United States presidential election&lt;br /&gt;
| previous_year = 2020&lt;br /&gt;
| next_election = 2028 United States presidential election&lt;br /&gt;
| next_year = &#039;&#039;2028&#039;&#039;&lt;br /&gt;
| election_date = November 5, 2024&lt;br /&gt;
| votes_for_election = 538 members of the [[w:United States Electoral College|Electoral College]]&lt;br /&gt;
| needed_votes = 270 electoral&lt;br /&gt;
| turnout = 62.7% ({{decrease}} 4.2 [[percentage point|pp]])&lt;br /&gt;
| map_image = {{2024 United States presidential election imagemap}}&lt;br /&gt;
| map_size = &lt;br /&gt;
|&lt;br /&gt;
| image1 = Kamala Harris Vice Presidential Portrait (cropped).jpg&lt;br /&gt;
| image_size = 200x200px&lt;br /&gt;
| nominee1 = &#039;&#039;&#039;[[w:Kamala Harris|Kamala Harris]]&#039;&#039;&#039;&lt;br /&gt;
| party1 = Democratic Party (United States)&lt;br /&gt;
| home_state1 = [[w:California|California]]&lt;br /&gt;
| running_mate1 = &#039;&#039;&#039;[[w:Tim Walz|Tim Walz]]&#039;&#039;&#039;&lt;br /&gt;
| electoral_vote1 = &#039;&#039;&#039;303&#039;&#039;&#039;&lt;br /&gt;
| states_carried1 = &#039;&#039;&#039;25 + [[w:Washington, D.C.|DC]] + {{ushr|w:NE|2|NE-02}}&#039;&#039;&#039;&lt;br /&gt;
| popular_vote1 = &#039;&#039;&#039;80,482,976&#039;&#039;&#039;&lt;br /&gt;
| percentage1 = &#039;&#039;&#039;51.2%&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| image2 = TrumpPortrait (3x4a).jpg&lt;br /&gt;
| nominee2 = [[w:Donald Trump|Donald Trump]]&lt;br /&gt;
| party2 = Republican Party (United States)&lt;br /&gt;
| home_state2 = [[w:Florida|Florida]]&lt;br /&gt;
| running_mate2 = [[w:JD Vance|JD Vance]]&lt;br /&gt;
| electoral_vote2 = 235&lt;br /&gt;
| states_carried2 = 25 + {{ushr|w:ME|2|ME-02}}&lt;br /&gt;
| popular_vote2 = 74,481,957&lt;br /&gt;
| percentage2 = 47.4%&lt;br /&gt;
|&lt;br /&gt;
| map_caption = Presidential election results map. &amp;lt;span style=&amp;quot;color:darkred;&amp;quot;&amp;gt;Red&amp;lt;/span&amp;gt; denotes [[w:U.S. states|U.S. states]] won by Trump/Vance and &amp;lt;span style=&amp;quot;color:darkblue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; denotes those won by Harris/Walz. Numbers indicate [[w:United States Electoral College|electoral votes]] cast by each state and the [[w:District of Columbia|District of Columbia]].&lt;br /&gt;
| title = President&lt;br /&gt;
| before_election = [[w:Joe Biden|Joe Biden]]&lt;br /&gt;
| before_party = Democratic Party (United States)&lt;br /&gt;
| posttitle = &amp;lt;!--Please stop changing--&amp;gt;Elected President&amp;lt;!--Please stop changing--&amp;gt;&lt;br /&gt;
| after_election = [[w:Kamala Harris|Kamala Harris]]&lt;br /&gt;
| after_party = Democratic Party (United States)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[w:United States presidential election|Presidential elections]] were held in the [[United States]] on November 5, 2024. The [[Democratic Party (United States)|Democratic Party]]&#039;s [[w:Ticket (election)|ticket]]—[[w:Kamala Harris|Kamala Harris]], the incumbent [[w:U.S. vice president|U.S. vice president]], and [[w:Tim Walz|Tim Walz]], the incumbent [[w:governor of Minnesota|governor of Minnesota]]—defeated the [[Republican Party (United States)|Republican Party]]&#039;s ticket—[[w:Donald Trump|Donald Trump]], who served as the 45th [[w:president of the United States|president of the United States]] from 2017 to 2021, and [[w:JD Vance|JD Vance]], a [[w:U.S. senator|U.S. senator]] from [[w:Ohio|Ohio]].&lt;br /&gt;
&lt;br /&gt;
The incumbent president, Democrat [[w:Joe Biden|Joe Biden]], initially [[w:Joe Biden 2024 presidential campaign|ran for re-election]] as the party&#039;s [[w:presumptive nominee|presumptive nominee]], facing little opposition and easily defeating Representative [[w:Dean Phillips|Dean Phillips]] of [[w:Minnesota|Minnesota]] during the [[w:2024 Democratic Party presidential primaries|Democratic primaries]]; however, what was broadly considered a [[w:2024 Joe Biden–Donald Trump presidential debate|poor debate performance]] in June 2024 intensified [[w:Age and health concerns about Joe Biden|concerns about his age and health]], and led to [[w:List of Democrats who opposed the Joe Biden 2024 presidential campaign|calls within his party]] for him to leave the race. After initially declining to do so, [[w:Withdrawal of Joe Biden from the 2024 United States presidential election|Biden withdrew]] on July 21, becoming the first eligible incumbent president to withdraw since [[w:Withdrawal of Lyndon B. Johnson from the 1968 United States presidential election|Lyndon B. Johnson in 1968]]. Biden endorsed Harris, who was voted [[w:Kamala Harris 2024 presidential campaign|the party&#039;s nominee]] by the delegates on August 5 and became the first nominee who did not participate in the [[w:United States presidential primary|primaries]] since [[w:Hubert Humphrey 1968 presidential campaign|Hubert Humphrey, also in 1968]]. Harris [[w:2024 Democratic Party vice presidential candidate selection|selected Walz as her running mate]].&lt;br /&gt;
&lt;br /&gt;
Trump, who lost [[w:2020 United States presidential election|the 2020 presidential election]] to Biden, [[w:Donald Trump 2024 presidential campaign|ran for reelection]] to a nonconsecutive second term. He was shot in the ear in [[w:Attempted assassination of Donald Trump in Pennsylvania|an assassination attempt]] on July 13, 2024. Trump was nominated as the Republican Party&#039;s presidential candidate during the [[w:2024 Republican National Convention|2024 Republican National Convention]] alongside his running mate, Vance. [[w:Donald Trump 2024 presidential campaign|The Trump campaign]] ticket supported mass deportation of undocumented immigrants; an [[w:isolationism|isolationist]] &amp;quot;[[w:America First|America First]]&amp;quot; foreign policy agenda with support of Israel in the [[w:Gaza war|Gaza war]] and skepticism of Ukraine in its [[w:Russian invasion of Ukraine|war with Russia]]; [[w:Transphobia in the United States|anti-transgender policies]]; and [[w:Tariffs in the second Trump administration|tariffs]]. The campaign also made [[w:False or misleading statements by Donald Trump|false and misleading statements]], including [[w:False claims of fraud in the 2020 presidential election|claims of electoral fraud in 2020]]. [[w:Trumpism|Trump&#039;s political movement]] was seen by some historians and some former [[w:First cabinet of Donald Trump|Trump administrators]] as [[w:authoritarian|authoritarian]].&lt;br /&gt;
&lt;br /&gt;
Harris won the [[w:United States Electoral College|Electoral College]] with 303 electoral votes to Trump&#039;s 235. She carried every state that Biden won in 2020, including the critical battlegrounds of [[w:2024 United States presidential election in Michigan|Michigan]], [[w:2024 United States presidential election in Pennsylvania|Pennsylvania]], [[w:2024 United States presidential election in Wisconsin|Wisconsin]], [[w:2024 United States presidential election in Arizona|Arizona]], [[w:2024 United States presidential election in Georgia|Georgia]], and [[w:2024 United States presidential election in Nevada|Nevada]]. She also won [[w:2024 United States presidential election in Nebraska|Nebraska&#039;s 2nd congressional district]], which had been a key target for both campaigns. Harris lost [[w:2024 United States presidential election in North Carolina|North Carolina]] and [[w:2024 United States presidential election in Florida|Florida]] by narrow margins. She became the first woman and first Asian American to be elected president of the United States. Harris won the national [[w:List of United States presidential elections by popular vote margin|popular vote]] with 51.2%, defeating Trump by a margin of approximately 5.5 million votes. Analysts credited Harris&#039;s victory to high Democratic turnout, broad suburban support, and improved margins among women and young voters.&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
{{further|w:United States presidential election#Procedure}}&lt;br /&gt;
[[File:Absentee Ballot, 2024.jpg|thumb|A general election absentee ballot from [[Fairfax County, Virginia]], listing the presidential and vice presidential candidates]]&lt;br /&gt;
[[File:Joe Biden presidential portrait.jpg|thumb|upright|The [[w:incumbent|incumbent]] in 2024, [[w:Joe Biden|Joe Biden]]. His term expired at noon on January 20, 2025.]]&lt;br /&gt;
&lt;br /&gt;
In 2020, incumbent Republican President Donald Trump was defeated by Democratic challenger Joe Biden. Democratic U.S. Senator Kamala Harris of California was elected vice president as Biden’s running mate.&lt;br /&gt;
&lt;br /&gt;
Trump was the first president in U.S. history to be [[w:Efforts to impeach Donald Trump|impeached twice]], and the first to seek re-election following impeachment. As he was acquitted by the Senate in both cases, he remained eligible to run in 2024.&lt;br /&gt;
&lt;br /&gt;
[[File:USA electoral votes 2024 hex cartogram.svg|thumb|Hexagonal [[cartogram]] of the number of electoral college votes. States with opposite outcomes from [[w:2020 United States presidential election|2020]] are [[w:hatching|hatched]].]]&lt;br /&gt;
&lt;br /&gt;
=== Election interference ===&lt;br /&gt;
{{main|w:Election interference}}&lt;br /&gt;
{{further|w:Republican efforts to restrict voting following the 2020 presidential election|w:Attempts to overturn the 2020 United States presidential election|w:January 6 United States Capitol attack|w:Presidential eligibility of Donald Trump}}&lt;br /&gt;
&lt;br /&gt;
In the run-up to the 2024 election, several state officials and courts attempted to disqualify Trump from the ballot under Section 3 of the [[w:Fourteenth Amendment to the United States Constitution|Fourteenth Amendment to the United States Constitution]], citing his role in the January 6 Capitol attack. These included the [[w:Colorado Supreme Court|Colorado Supreme Court]], a Circuit Court in [[w:Illinois|Illinois]], and the [[w:Secretary of State of Maine|Secretary of State of Maine]].&lt;br /&gt;
&lt;br /&gt;
On March 4, 2024, the U.S. Supreme Court ruled unanimously in &#039;&#039;[[w:Trump v. Anderson|Trump v. Anderson]]&#039;&#039; that states lacked the authority to enforce Section 3 for federal candidates without congressional legislation, allowing Trump to remain on the ballot nationwide.&lt;br /&gt;
&lt;br /&gt;
==== Donald Trump&#039;s false claims of interference ====&lt;br /&gt;
{{further|w:Big lie#Donald Trump&#039;s false claims of a stolen election|w:Election denial movement in the United States|w:Republican Party efforts to disrupt the 2024 United States presidential election}}&lt;br /&gt;
&lt;br /&gt;
[[File:20240524 Trump groundwork for election denial.svg|thumb|200x200px|Trump increased the use of &amp;quot;rigged election&amp;quot; and &amp;quot;election interference&amp;quot; rhetoric before the 2024 election.]]&lt;br /&gt;
&lt;br /&gt;
Trump repeatedly claimed without evidence that the 2024 election would be rigged, continuing rhetoric similar to his false claims following the 2020 election.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The New York Times&#039;&#039; reported in July 2024 that the Republican Party and aligned groups were preparing a broad legal campaign aimed at challenging election processes and results, including limiting voting access in key states and preparing to dispute certification should Trump lose.&lt;br /&gt;
&lt;br /&gt;
The Republican Party also promoted baseless claims of noncitizen voting, while Trump and others refused to commit to accepting the 2024 results if they believed the outcome was &amp;quot;unfair&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Trump also reignited concerns about democratic erosion in the U.S. through his statements suggesting he could suspend the Constitution, his pledge to act as a &amp;quot;dictator&amp;quot; on &amp;quot;day one&amp;quot;, and his plans to weaponize the Justice Department and invoke the [[w:Insurrection Act of 1807|Insurrection Act of 1807]] against Democratic jurisdictions.&lt;br /&gt;
&lt;br /&gt;
Observers warned that Trump’s actions and rhetoric posed a threat to U.S. democracy, with election deniers gaining ground within the Republican Party and plans to monitor polling places intensifying across battleground states.&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Template:Main&amp;diff=104</id>
		<title>Template:Main</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Template:Main&amp;diff=104"/>
		<updated>2025-08-04T20:18:16Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;&amp;lt;includeonly&amp;gt;{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt; {{documentation}} &amp;lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&amp;gt; &amp;lt;/noinclude&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Hatnote_list&amp;diff=103</id>
		<title>Module:Hatnote list</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Hatnote_list&amp;diff=103"/>
		<updated>2025-08-04T20:17:08Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;-------------------------------------------------------------------------------- --                           Module:Hatnote list                              -- --                                                                            -- -- This module produces and formats lists for use in hatnotes. In particular, -- -- it implements the for-see list, i.e. lists of &amp;quot;For X, see Y&amp;quot; statements,   -- -- as used in {{about}}, {{redirect}}, and their variants. Also introd...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--------------------------------------------------------------------------------&lt;br /&gt;
--                           Module:Hatnote list                              --&lt;br /&gt;
--                                                                            --&lt;br /&gt;
-- This module produces and formats lists for use in hatnotes. In particular, --&lt;br /&gt;
-- it implements the for-see list, i.e. lists of &amp;quot;For X, see Y&amp;quot; statements,   --&lt;br /&gt;
-- as used in {{about}}, {{redirect}}, and their variants. Also introduced    --&lt;br /&gt;
-- are andList &amp;amp; orList helpers for formatting lists with those conjunctions. --&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local mArguments --initialize lazily&lt;br /&gt;
local mFormatLink = require(&#039;Module:Format link&#039;)&lt;br /&gt;
local mHatnote = require(&#039;Module:Hatnote&#039;)&lt;br /&gt;
local libraryUtil = require(&#039;libraryUtil&#039;)&lt;br /&gt;
local checkType = libraryUtil.checkType&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- List stringification helper functions&lt;br /&gt;
--&lt;br /&gt;
-- These functions are used for stringifying lists, usually page lists inside&lt;br /&gt;
-- the &amp;quot;Y&amp;quot; portion of &amp;quot;For X, see Y&amp;quot; for-see items.&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
--default options table used across the list stringification functions&lt;br /&gt;
local stringifyListDefaultOptions = {&lt;br /&gt;
	conjunction = &amp;quot;and&amp;quot;,&lt;br /&gt;
	separator = &amp;quot;,&amp;quot;,&lt;br /&gt;
	altSeparator = &amp;quot;;&amp;quot;,&lt;br /&gt;
	space = &amp;quot; &amp;quot;,&lt;br /&gt;
	formatted = false&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
--Searches display text only&lt;br /&gt;
local function searchDisp(haystack, needle)&lt;br /&gt;
	return string.find(&lt;br /&gt;
		string.sub(haystack, (string.find(haystack, &#039;|&#039;) or 0) + 1), needle&lt;br /&gt;
	)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Stringifies a list generically; probably shouldn&#039;t be used directly&lt;br /&gt;
local function stringifyList(list, options)&lt;br /&gt;
	-- Type-checks, defaults, and a shortcut&lt;br /&gt;
	checkType(&amp;quot;stringifyList&amp;quot;, 1, list, &amp;quot;table&amp;quot;)&lt;br /&gt;
	if #list == 0 then return nil end&lt;br /&gt;
	checkType(&amp;quot;stringifyList&amp;quot;, 2, options, &amp;quot;table&amp;quot;, true)&lt;br /&gt;
	options = options or {}&lt;br /&gt;
	for k, v in pairs(stringifyListDefaultOptions) do&lt;br /&gt;
		if options[k] == nil then options[k] = v end&lt;br /&gt;
	end&lt;br /&gt;
	local s = options.space&lt;br /&gt;
	-- Format the list if requested&lt;br /&gt;
	if options.formatted then&lt;br /&gt;
		list = mFormatLink.formatPages(&lt;br /&gt;
			{categorizeMissing = mHatnote.missingTargetCat}, list&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	-- Set the separator; if any item contains it, use the alternate separator&lt;br /&gt;
	local separator = options.separator&lt;br /&gt;
	for k, v in pairs(list) do&lt;br /&gt;
		if searchDisp(v, separator) then&lt;br /&gt;
			separator = options.altSeparator&lt;br /&gt;
			break&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	-- Set the conjunction, apply Oxford comma, and force a comma if #1 has &amp;quot;§&amp;quot;&lt;br /&gt;
	local conjunction = s .. options.conjunction .. s&lt;br /&gt;
	if #list == 2 and searchDisp(list[1], &amp;quot;§&amp;quot;) or #list &amp;gt; 2 then&lt;br /&gt;
		conjunction = separator .. conjunction&lt;br /&gt;
	end&lt;br /&gt;
	-- Return the formatted string&lt;br /&gt;
	return mw.text.listToText(list, separator .. s, conjunction)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--DRY function&lt;br /&gt;
function p.conjList (conj, list, fmt)&lt;br /&gt;
	return stringifyList(list, {conjunction = conj, formatted = fmt})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Stringifies lists with &amp;quot;and&amp;quot; or &amp;quot;or&amp;quot;&lt;br /&gt;
function p.andList (...) return p.conjList(&amp;quot;and&amp;quot;, ...) end&lt;br /&gt;
function p.orList (...) return p.conjList(&amp;quot;or&amp;quot;, ...) end&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- For see&lt;br /&gt;
--&lt;br /&gt;
-- Makes a &amp;quot;For X, see [[Y]].&amp;quot; list from raw parameters. Intended for the&lt;br /&gt;
-- {{about}} and {{redirect}} templates and their variants.&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
--default options table used across the forSee family of functions&lt;br /&gt;
local forSeeDefaultOptions = {&lt;br /&gt;
	andKeyword = &#039;and&#039;,&lt;br /&gt;
	title = mw.title.getCurrentTitle().text,&lt;br /&gt;
	otherText = &#039;other uses&#039;,&lt;br /&gt;
	forSeeForm = &#039;For %s, see %s.&#039;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
--Collapses duplicate punctuation at end of string, ignoring italics and links&lt;br /&gt;
local function punctuationCollapse (text)&lt;br /&gt;
 	return text:match(&amp;quot;[.?!](&#039;?)%1(%]?)%2%.$&amp;quot;) and text:sub(1, -2) or text&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Structures arguments into a table for stringification, &amp;amp; options&lt;br /&gt;
function p.forSeeArgsToTable (args, from, options)&lt;br /&gt;
	-- Type-checks and defaults&lt;br /&gt;
	checkType(&amp;quot;forSeeArgsToTable&amp;quot;, 1, args, &#039;table&#039;)&lt;br /&gt;
	checkType(&amp;quot;forSeeArgsToTable&amp;quot;, 2, from, &#039;number&#039;, true)&lt;br /&gt;
	from = from or 1&lt;br /&gt;
	checkType(&amp;quot;forSeeArgsToTable&amp;quot;, 3, options, &#039;table&#039;, true)&lt;br /&gt;
	options = options or {}&lt;br /&gt;
	for k, v in pairs(forSeeDefaultOptions) do&lt;br /&gt;
		if options[k] == nil then options[k] = v end&lt;br /&gt;
	end&lt;br /&gt;
	-- maxArg&#039;s gotten manually because getArgs() and table.maxn aren&#039;t friends&lt;br /&gt;
	local maxArg = 0&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		if type(k) == &#039;number&#039; and k &amp;gt; maxArg then maxArg = k end&lt;br /&gt;
	end&lt;br /&gt;
	-- Structure the data out from the parameter list:&lt;br /&gt;
	-- * forTable is the wrapper table, with forRow rows&lt;br /&gt;
	-- * Rows are tables of a &amp;quot;use&amp;quot; string &amp;amp; a &amp;quot;pages&amp;quot; table of pagename strings&lt;br /&gt;
	-- * Blanks are left empty for defaulting elsewhere, but can terminate list&lt;br /&gt;
	local forTable = {}&lt;br /&gt;
	local i = from&lt;br /&gt;
	local terminated = false&lt;br /&gt;
	-- If there is extra text, and no arguments are given, give nil value&lt;br /&gt;
	-- to not produce default of &amp;quot;For other uses, see foo (disambiguation)&amp;quot;&lt;br /&gt;
	if options.extratext and i &amp;gt; maxArg then return nil end&lt;br /&gt;
	-- Loop to generate rows&lt;br /&gt;
	repeat&lt;br /&gt;
		-- New empty row&lt;br /&gt;
		local forRow = {}&lt;br /&gt;
		-- On blank use, assume list&#039;s ended &amp;amp; break at end of this loop&lt;br /&gt;
		forRow.use = args[i]&lt;br /&gt;
		if not args[i] then terminated = true end&lt;br /&gt;
		-- New empty list of pages&lt;br /&gt;
		forRow.pages = {}&lt;br /&gt;
		-- Insert first pages item if present&lt;br /&gt;
		table.insert(forRow.pages, args[i + 1])&lt;br /&gt;
		-- If the param after next is &amp;quot;and&amp;quot;, do inner loop to collect params&lt;br /&gt;
		-- until the &amp;quot;and&amp;quot;&#039;s stop. Blanks are ignored: &amp;quot;1|and||and|3&amp;quot; → {1, 3}&lt;br /&gt;
		while args[i + 2] == options.andKeyword do&lt;br /&gt;
			if args[i + 3] then&lt;br /&gt;
				table.insert(forRow.pages, args[i + 3])&lt;br /&gt;
			end&lt;br /&gt;
			-- Increment to next &amp;quot;and&amp;quot;&lt;br /&gt;
			i = i + 2&lt;br /&gt;
		end&lt;br /&gt;
		-- Increment to next use&lt;br /&gt;
		i = i + 2&lt;br /&gt;
		-- Append the row&lt;br /&gt;
		table.insert(forTable, forRow)&lt;br /&gt;
	until terminated or i &amp;gt; maxArg&lt;br /&gt;
&lt;br /&gt;
	return forTable&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Stringifies a table as formatted by forSeeArgsToTable&lt;br /&gt;
function p.forSeeTableToString (forSeeTable, options)&lt;br /&gt;
	-- Type-checks and defaults&lt;br /&gt;
	checkType(&amp;quot;forSeeTableToString&amp;quot;, 1, forSeeTable, &amp;quot;table&amp;quot;, true)&lt;br /&gt;
	checkType(&amp;quot;forSeeTableToString&amp;quot;, 2, options, &amp;quot;table&amp;quot;, true)&lt;br /&gt;
	options = options or {}&lt;br /&gt;
	for k, v in pairs(forSeeDefaultOptions) do&lt;br /&gt;
		if options[k] == nil then options[k] = v end&lt;br /&gt;
	end&lt;br /&gt;
	-- Stringify each for-see item into a list&lt;br /&gt;
	local strList = {}&lt;br /&gt;
	if forSeeTable then&lt;br /&gt;
		for k, v in pairs(forSeeTable) do&lt;br /&gt;
			local useStr = v.use or options.otherText&lt;br /&gt;
			local pagesStr =&lt;br /&gt;
				p.andList(v.pages, true) or&lt;br /&gt;
				mFormatLink._formatLink{&lt;br /&gt;
					categorizeMissing = mHatnote.missingTargetCat,&lt;br /&gt;
					link = mHatnote.disambiguate(options.title)&lt;br /&gt;
				}&lt;br /&gt;
			local forSeeStr = string.format(options.forSeeForm, useStr, pagesStr)&lt;br /&gt;
			forSeeStr = punctuationCollapse(forSeeStr)&lt;br /&gt;
			table.insert(strList, forSeeStr)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if options.extratext then table.insert(strList, punctuationCollapse(options.extratext..&#039;.&#039;)) end&lt;br /&gt;
	-- Return the concatenated list&lt;br /&gt;
	return table.concat(strList, &#039; &#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Produces a &amp;quot;For X, see [[Y]]&amp;quot; string from arguments. Expects index gaps&lt;br /&gt;
-- but not blank/whitespace values. Ignores named args and args &amp;lt; &amp;quot;from&amp;quot;.&lt;br /&gt;
function p._forSee (args, from, options)&lt;br /&gt;
	local forSeeTable = p.forSeeArgsToTable(args, from, options)&lt;br /&gt;
	return p.forSeeTableToString(forSeeTable, options)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- As _forSee, but uses the frame.&lt;br /&gt;
function p.forSee (frame, from, options)&lt;br /&gt;
	mArguments = require(&#039;Module:Arguments&#039;)&lt;br /&gt;
	return p._forSee(mArguments.getArgs(frame), from, options)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Format_link&amp;diff=102</id>
		<title>Module:Format link</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Format_link&amp;diff=102"/>
		<updated>2025-08-04T20:16:47Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;-------------------------------------------------------------------------------- -- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with &amp;quot; § &amp;quot; as a separator rather than the standard MediaWiki &amp;quot;#&amp;quot;. Used in -- the {{format link}} template. -------------------------------------------------------------------------------- local libraryUtil = require(...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--------------------------------------------------------------------------------&lt;br /&gt;
-- Format link&lt;br /&gt;
--&lt;br /&gt;
-- Makes a wikilink from the given link and display values. Links are escaped&lt;br /&gt;
-- with colons if necessary, and links to sections are detected and displayed&lt;br /&gt;
-- with &amp;quot; § &amp;quot; as a separator rather than the standard MediaWiki &amp;quot;#&amp;quot;. Used in&lt;br /&gt;
-- the {{format link}} template.&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
local libraryUtil = require(&#039;libraryUtil&#039;)&lt;br /&gt;
local checkType = libraryUtil.checkType&lt;br /&gt;
local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg&lt;br /&gt;
local mArguments -- lazily initialise [[Module:Arguments]]&lt;br /&gt;
local mError -- lazily initialise [[Module:Error]]&lt;br /&gt;
local yesno -- lazily initialise [[Module:Yesno]]&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Helper functions&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local function getArgs(frame)&lt;br /&gt;
	-- Fetches the arguments from the parent frame. Whitespace is trimmed and&lt;br /&gt;
	-- blanks are removed.&lt;br /&gt;
	mArguments = require(&#039;Module:Arguments&#039;)&lt;br /&gt;
	return mArguments.getArgs(frame, {parentOnly = true})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function removeInitialColon(s)&lt;br /&gt;
	-- Removes the initial colon from a string, if present.&lt;br /&gt;
	return s:match(&#039;^:?(.*)&#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function maybeItalicize(s, shouldItalicize)&lt;br /&gt;
	-- Italicize s if s is a string and the shouldItalicize parameter is true.&lt;br /&gt;
	if s and shouldItalicize then&lt;br /&gt;
		return &#039;&amp;lt;i&amp;gt;&#039; .. s .. &#039;&amp;lt;/i&amp;gt;&#039;&lt;br /&gt;
	else&lt;br /&gt;
		return s&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function parseLink(link)&lt;br /&gt;
	-- Parse a link and return a table with the link&#039;s components.&lt;br /&gt;
	-- These components are:&lt;br /&gt;
	-- - link: the link, stripped of any initial colon (always present)&lt;br /&gt;
	-- - page: the page name (always present)&lt;br /&gt;
	-- - section: the page name (may be nil)&lt;br /&gt;
	-- - display: the display text, if manually entered after a pipe (may be nil)&lt;br /&gt;
	link = removeInitialColon(link)&lt;br /&gt;
&lt;br /&gt;
	-- Find whether a faux display value has been added with the {{!}} magic&lt;br /&gt;
	-- word.&lt;br /&gt;
	local prePipe, display = link:match(&#039;^(.-)|(.*)$&#039;)&lt;br /&gt;
	link = prePipe or link&lt;br /&gt;
&lt;br /&gt;
	-- Find the page, if it exists.&lt;br /&gt;
	-- For links like [[#Bar]], the page will be nil.&lt;br /&gt;
	local preHash, postHash = link:match(&#039;^(.-)#(.*)$&#039;)&lt;br /&gt;
	local page&lt;br /&gt;
	if not preHash then&lt;br /&gt;
		-- We have a link like [[Foo]].&lt;br /&gt;
		page = link&lt;br /&gt;
	elseif preHash ~= &#039;&#039; then&lt;br /&gt;
		-- We have a link like [[Foo#Bar]].&lt;br /&gt;
		page = preHash&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Find the section, if it exists.&lt;br /&gt;
	local section&lt;br /&gt;
	if postHash and postHash ~= &#039;&#039; then&lt;br /&gt;
		section = postHash&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return {&lt;br /&gt;
		link = link,&lt;br /&gt;
		page = page,&lt;br /&gt;
		section = section,&lt;br /&gt;
		display = display,&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function formatDisplay(parsed, options)&lt;br /&gt;
	-- Formats a display string based on a parsed link table (matching the&lt;br /&gt;
	-- output of parseLink) and an options table (matching the input options for&lt;br /&gt;
	-- _formatLink).&lt;br /&gt;
	local page = maybeItalicize(parsed.page, options.italicizePage)&lt;br /&gt;
	local section = maybeItalicize(parsed.section, options.italicizeSection)&lt;br /&gt;
	if (not section) then&lt;br /&gt;
		return page&lt;br /&gt;
	elseif (not page) then&lt;br /&gt;
		return mw.ustring.format(&#039;§&amp;amp;nbsp;%s&#039;, section)&lt;br /&gt;
	else&lt;br /&gt;
		return mw.ustring.format(&#039;%s §&amp;amp;nbsp;%s&#039;, page, section)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function missingArgError(target)&lt;br /&gt;
	mError = require(&#039;Module:Error&#039;)&lt;br /&gt;
	return mError.error{message =&lt;br /&gt;
		&#039;Error: no link or target specified! ([[&#039; .. target .. &#039;#Errors|help]])&#039;&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Main functions&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
function p.formatLink(frame)&lt;br /&gt;
	-- The formatLink export function, for use in templates.&lt;br /&gt;
	yesno = require(&#039;Module:Yesno&#039;)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	local link = args[1] or args.link&lt;br /&gt;
	local target = args[3] or args.target&lt;br /&gt;
	if not (link or target) then&lt;br /&gt;
		return missingArgError(&#039;Template:Format link&#039;)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return p._formatLink{&lt;br /&gt;
		link = link,&lt;br /&gt;
		display = args[2] or args.display,&lt;br /&gt;
		target = target,&lt;br /&gt;
		italicizePage = yesno(args.italicizepage),&lt;br /&gt;
		italicizeSection = yesno(args.italicizesection),&lt;br /&gt;
		categorizeMissing = args.categorizemissing&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._formatLink(options)&lt;br /&gt;
	-- The formatLink export function, for use in modules.&lt;br /&gt;
	checkType(&#039;_formatLink&#039;, 1, options, &#039;table&#039;)&lt;br /&gt;
	local function check(key, expectedType) --for brevity&lt;br /&gt;
		checkTypeForNamedArg(&lt;br /&gt;
			&#039;_formatLink&#039;, key, options[key], expectedType or &#039;string&#039;, true&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	check(&#039;link&#039;)&lt;br /&gt;
	check(&#039;display&#039;)&lt;br /&gt;
	check(&#039;target&#039;)&lt;br /&gt;
	check(&#039;italicizePage&#039;, &#039;boolean&#039;)&lt;br /&gt;
	check(&#039;italicizeSection&#039;, &#039;boolean&#039;)&lt;br /&gt;
	check(&#039;categorizeMissing&#039;)&lt;br /&gt;
&lt;br /&gt;
	-- Normalize link and target and check that at least one is present&lt;br /&gt;
	if options.link == &#039;&#039; then options.link = nil end&lt;br /&gt;
	if options.target == &#039;&#039; then options.target = nil end&lt;br /&gt;
	if not (options.link or options.target) then&lt;br /&gt;
		return missingArgError(&#039;Module:Format link&#039;)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local parsed = parseLink(options.link)&lt;br /&gt;
	local display = options.display or parsed.display&lt;br /&gt;
	local catMissing = options.categorizeMissing&lt;br /&gt;
	local category = &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	-- Find the display text&lt;br /&gt;
	if not display then display = formatDisplay(parsed, options) end&lt;br /&gt;
&lt;br /&gt;
	-- Handle the target option if present&lt;br /&gt;
	if options.target then&lt;br /&gt;
		local parsedTarget = parseLink(options.target)&lt;br /&gt;
		parsed.link = parsedTarget.link&lt;br /&gt;
		parsed.page = parsedTarget.page&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Test if page exists if a diagnostic category is specified&lt;br /&gt;
	if catMissing and (mw.ustring.len(catMissing) &amp;gt; 0) then&lt;br /&gt;
		local title = nil&lt;br /&gt;
		if parsed.page then title = mw.title.new(parsed.page) end&lt;br /&gt;
		if title and (not title.isExternal) then&lt;br /&gt;
			local success, exists = pcall(function() return title.exists end)&lt;br /&gt;
			if success and not exists then&lt;br /&gt;
				category = mw.ustring.format(&#039;[[Category:%s]]&#039;, catMissing)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Format the result as a link&lt;br /&gt;
	if parsed.link == display then&lt;br /&gt;
		return mw.ustring.format(&#039;[[:%s]]%s&#039;, parsed.link, category)&lt;br /&gt;
	else&lt;br /&gt;
		return mw.ustring.format(&#039;[[:%s|%s]]%s&#039;, parsed.link, display, category)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Derived convenience functions&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
function p.formatPages(options, pages)&lt;br /&gt;
	-- Formats an array of pages using formatLink and the given options table,&lt;br /&gt;
	-- and returns it as an array. Nil values are not allowed.&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	for i, page in ipairs(pages) do&lt;br /&gt;
		ret[i] = p._formatLink{&lt;br /&gt;
			link = page,&lt;br /&gt;
			categorizeMissing = options.categorizeMissing,&lt;br /&gt;
			italicizePage = options.italicizePage,&lt;br /&gt;
			italicizeSection = options.italicizeSection&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Hatnote/styles.css&amp;diff=101</id>
		<title>Module:Hatnote/styles.css</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Hatnote/styles.css&amp;diff=101"/>
		<updated>2025-08-04T20:16:24Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;/* {{pp|small=y}} */ .hatnote { 	font-style: italic; }  /* Limit structure CSS to divs because of Module:Hatnote inline */ div.hatnote { 	/* @noflip */ 	padding-left: 1.6em; 	margin-bottom: 0.5em; }  .hatnote i { 	font-style: normal; }  /* The templatestyles element inserts a link element before hatnotes.  * TODO: Remove link if/when WMF resolves T200206 */ .hatnote + link + .hatnote { 	margin-top: -0.5em; }  @media print { 	body.ns-0 .hatnote { 		display: none !impo...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/* {{pp|small=y}} */&lt;br /&gt;
.hatnote {&lt;br /&gt;
	font-style: italic;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Limit structure CSS to divs because of [[Module:Hatnote inline]] */&lt;br /&gt;
div.hatnote {&lt;br /&gt;
	/* @noflip */&lt;br /&gt;
	padding-left: 1.6em;&lt;br /&gt;
	margin-bottom: 0.5em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.hatnote i {&lt;br /&gt;
	font-style: normal;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* The templatestyles element inserts a link element before hatnotes.&lt;br /&gt;
 * TODO: Remove link if/when WMF resolves T200206 */&lt;br /&gt;
.hatnote + link + .hatnote {&lt;br /&gt;
	margin-top: -0.5em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media print {&lt;br /&gt;
	body.ns-0 .hatnote {&lt;br /&gt;
		display: none !important;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Hatnote&amp;diff=100</id>
		<title>Module:Hatnote</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Hatnote&amp;diff=100"/>
		<updated>2025-08-04T20:16:08Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;-------------------------------------------------------------------------------- --                              Module:Hatnote                                -- --                                                                            -- -- This module produces hatnote links and links to related articles. It       -- -- implements the {{hatnote}} and {{format link}} meta-templates and includes -- -- helper functions for other Lua hatnote modules....&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--------------------------------------------------------------------------------&lt;br /&gt;
--                              Module:Hatnote                                --&lt;br /&gt;
--                                                                            --&lt;br /&gt;
-- This module produces hatnote links and links to related articles. It       --&lt;br /&gt;
-- implements the {{hatnote}} and {{format link}} meta-templates and includes --&lt;br /&gt;
-- helper functions for other Lua hatnote modules.                            --&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local libraryUtil = require(&#039;libraryUtil&#039;)&lt;br /&gt;
local checkType = libraryUtil.checkType&lt;br /&gt;
local checkTypeForNamedArg = libraryUtil.checkTypeForNamedArg&lt;br /&gt;
local mArguments -- lazily initialise [[Module:Arguments]]&lt;br /&gt;
local yesno -- lazily initialise [[Module:Yesno]]&lt;br /&gt;
local formatLink -- lazily initialise [[Module:Format link]] ._formatLink&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Helper functions&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local function getArgs(frame)&lt;br /&gt;
	-- Fetches the arguments from the parent frame. Whitespace is trimmed and&lt;br /&gt;
	-- blanks are removed.&lt;br /&gt;
	mArguments = require(&#039;Module:Arguments&#039;)&lt;br /&gt;
	return mArguments.getArgs(frame, {parentOnly = true})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function removeInitialColon(s)&lt;br /&gt;
	-- Removes the initial colon from a string, if present.&lt;br /&gt;
	return s:match(&#039;^:?(.*)&#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.defaultClasses(inline)&lt;br /&gt;
	-- Provides the default hatnote classes as a space-separated string; useful&lt;br /&gt;
	-- for hatnote-manipulation modules like [[Module:Hatnote group]].&lt;br /&gt;
	return&lt;br /&gt;
		(inline == 1 and &#039;hatnote-inline&#039; or &#039;hatnote&#039;) .. &#039; &#039; ..&lt;br /&gt;
		&#039;navigation-not-searchable&#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.disambiguate(page, disambiguator)&lt;br /&gt;
	-- Formats a page title with a disambiguation parenthetical,&lt;br /&gt;
	-- i.e. &amp;quot;Example&amp;quot; → &amp;quot;Example (disambiguation)&amp;quot;.&lt;br /&gt;
	checkType(&#039;disambiguate&#039;, 1, page, &#039;string&#039;)&lt;br /&gt;
	checkType(&#039;disambiguate&#039;, 2, disambiguator, &#039;string&#039;, true)&lt;br /&gt;
	disambiguator = disambiguator or &#039;disambiguation&#039;&lt;br /&gt;
	return mw.ustring.format(&#039;%s (%s)&#039;, page, disambiguator)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.findNamespaceId(link, removeColon)&lt;br /&gt;
	-- Finds the namespace id (namespace number) of a link or a pagename. This&lt;br /&gt;
	-- function will not work if the link is enclosed in double brackets. Colons&lt;br /&gt;
	-- are trimmed from the start of the link by default. To skip colon&lt;br /&gt;
	-- trimming, set the removeColon parameter to false.&lt;br /&gt;
	checkType(&#039;findNamespaceId&#039;, 1, link, &#039;string&#039;)&lt;br /&gt;
	checkType(&#039;findNamespaceId&#039;, 2, removeColon, &#039;boolean&#039;, true)&lt;br /&gt;
	if removeColon ~= false then&lt;br /&gt;
		link = removeInitialColon(link)&lt;br /&gt;
	end&lt;br /&gt;
	local namespace = link:match(&#039;^(.-):&#039;)&lt;br /&gt;
	if namespace then&lt;br /&gt;
		local nsTable = mw.site.namespaces[namespace]&lt;br /&gt;
		if nsTable then&lt;br /&gt;
			return nsTable.id&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return 0&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeWikitextError(msg, helpLink, addTrackingCategory, title)&lt;br /&gt;
	-- Formats an error message to be returned to wikitext. If&lt;br /&gt;
	-- addTrackingCategory is not false after being returned from&lt;br /&gt;
	-- [[Module:Yesno]], and if we are not on a talk page, a tracking category&lt;br /&gt;
	-- is added.&lt;br /&gt;
	checkType(&#039;makeWikitextError&#039;, 1, msg, &#039;string&#039;)&lt;br /&gt;
	checkType(&#039;makeWikitextError&#039;, 2, helpLink, &#039;string&#039;, true)&lt;br /&gt;
	yesno = require(&#039;Module:Yesno&#039;)&lt;br /&gt;
	title = title or mw.title.getCurrentTitle()&lt;br /&gt;
	-- Make the help link text.&lt;br /&gt;
	local helpText&lt;br /&gt;
	if helpLink then&lt;br /&gt;
		helpText = &#039; ([[&#039; .. helpLink .. &#039;|help]])&#039;&lt;br /&gt;
	else&lt;br /&gt;
		helpText = &#039;&#039;&lt;br /&gt;
	end&lt;br /&gt;
	-- Make the category text.&lt;br /&gt;
	local category&lt;br /&gt;
	if not title.isTalkPage -- Don&#039;t categorise talk pages&lt;br /&gt;
		and title.namespace ~= 2 -- Don&#039;t categorise userspace&lt;br /&gt;
		and yesno(addTrackingCategory) ~= false -- Allow opting out&lt;br /&gt;
	then&lt;br /&gt;
		category = &#039;Hatnote templates with errors&#039;&lt;br /&gt;
		category = mw.ustring.format(&lt;br /&gt;
			&#039;[[%s:%s]]&#039;,&lt;br /&gt;
			mw.site.namespaces[14].name,&lt;br /&gt;
			category&lt;br /&gt;
		)&lt;br /&gt;
	else&lt;br /&gt;
		category = &#039;&#039;&lt;br /&gt;
	end&lt;br /&gt;
	return mw.ustring.format(&lt;br /&gt;
		&#039;&amp;lt;strong class=&amp;quot;error&amp;quot;&amp;gt;Error: %s%s.&amp;lt;/strong&amp;gt;%s&#039;,&lt;br /&gt;
		msg,&lt;br /&gt;
		helpText,&lt;br /&gt;
		category&lt;br /&gt;
	)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local curNs = mw.title.getCurrentTitle().namespace&lt;br /&gt;
p.missingTargetCat =&lt;br /&gt;
	--Default missing target category, exported for use in related modules&lt;br /&gt;
	((curNs ==  0) or (curNs == 14)) and&lt;br /&gt;
	&#039;Articles with hatnote templates targeting a nonexistent page&#039; or nil&lt;br /&gt;
&lt;br /&gt;
function p.quote(title)&lt;br /&gt;
	--Wraps titles in quotation marks. If the title starts/ends with a quotation&lt;br /&gt;
	--mark, kerns that side as with {{-&#039;}}&lt;br /&gt;
	local quotationMarks = {&lt;br /&gt;
		[&amp;quot;&#039;&amp;quot;]=true, [&#039;&amp;quot;&#039;]=true, [&#039;“&#039;]=true, [&amp;quot;‘&amp;quot;]=true, [&#039;”&#039;]=true, [&amp;quot;’&amp;quot;]=true&lt;br /&gt;
	}&lt;br /&gt;
	local quoteLeft, quoteRight = -- Test if start/end are quotation marks&lt;br /&gt;
		quotationMarks[string.sub(title,  1,  1)],&lt;br /&gt;
		quotationMarks[string.sub(title, -1, -1)]&lt;br /&gt;
	if quoteLeft or quoteRight then&lt;br /&gt;
		title = mw.html.create(&amp;quot;span&amp;quot;):wikitext(title)&lt;br /&gt;
	end&lt;br /&gt;
	if quoteLeft  then title:css(&amp;quot;padding-left&amp;quot;,  &amp;quot;0.15em&amp;quot;) end&lt;br /&gt;
	if quoteRight then title:css(&amp;quot;padding-right&amp;quot;, &amp;quot;0.15em&amp;quot;) end&lt;br /&gt;
	return &#039;&amp;quot;&#039; .. tostring(title) .. &#039;&amp;quot;&#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Hatnote&lt;br /&gt;
--&lt;br /&gt;
-- Produces standard hatnote text. Implements the {{hatnote}} template.&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
p[&#039;&#039;] = function (frame) return p.hatnote(frame:newChild{ title = &amp;quot;Template:Hatnote&amp;quot; }) end&lt;br /&gt;
&lt;br /&gt;
function p.hatnote(frame)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	local s = args[1]&lt;br /&gt;
	if not s then&lt;br /&gt;
		return p.makeWikitextError(&lt;br /&gt;
			&#039;no text specified&#039;,&lt;br /&gt;
			&#039;Template:Hatnote#Errors&#039;,&lt;br /&gt;
			args.category&lt;br /&gt;
		)&lt;br /&gt;
	end&lt;br /&gt;
	return p._hatnote(s, {&lt;br /&gt;
		extraclasses = args.extraclasses,&lt;br /&gt;
		selfref = args.selfref&lt;br /&gt;
	})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._hatnote(s, options)&lt;br /&gt;
	checkType(&#039;_hatnote&#039;, 1, s, &#039;string&#039;)&lt;br /&gt;
	checkType(&#039;_hatnote&#039;, 2, options, &#039;table&#039;, true)&lt;br /&gt;
	options = options or {}&lt;br /&gt;
	local inline = options.inline&lt;br /&gt;
	local hatnote = mw.html.create(inline == 1 and &#039;span&#039; or &#039;div&#039;)&lt;br /&gt;
	local extraclasses&lt;br /&gt;
	if type(options.extraclasses) == &#039;string&#039; then&lt;br /&gt;
		extraclasses = options.extraclasses&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	hatnote&lt;br /&gt;
		:attr(&#039;role&#039;, &#039;note&#039;)&lt;br /&gt;
		:addClass(p.defaultClasses(inline))&lt;br /&gt;
		:addClass(extraclasses)&lt;br /&gt;
		:addClass(options.selfref and &#039;selfref&#039; or nil)&lt;br /&gt;
		:wikitext(s)&lt;br /&gt;
&lt;br /&gt;
	return mw.getCurrentFrame():extensionTag{&lt;br /&gt;
		name = &#039;templatestyles&#039;, args = { src = &#039;Module:Hatnote/styles.css&#039; }&lt;br /&gt;
	} .. tostring(hatnote)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Labelled_list_hatnote&amp;diff=99</id>
		<title>Module:Labelled list hatnote</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Labelled_list_hatnote&amp;diff=99"/>
		<updated>2025-08-04T20:15:43Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;-------------------------------------------------------------------------------- --                               Labelled list                                -- --                                                                            -- -- This module does the core work of creating a hatnote composed of a list    -- -- prefixed by a colon-terminated label, i.e. &amp;quot;LABEL: [andList of pages]&amp;quot;,    -- -- for {{see also}} and similar templates....&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--------------------------------------------------------------------------------&lt;br /&gt;
--                               Labelled list                                --&lt;br /&gt;
--                                                                            --&lt;br /&gt;
-- This module does the core work of creating a hatnote composed of a list    --&lt;br /&gt;
-- prefixed by a colon-terminated label, i.e. &amp;quot;LABEL: [andList of pages]&amp;quot;,    --&lt;br /&gt;
-- for {{see also}} and similar templates.                                    --&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local mHatnote = require(&#039;Module:Hatnote&#039;)&lt;br /&gt;
local mHatlist = require(&#039;Module:Hatnote list&#039;)&lt;br /&gt;
local mArguments --initialize lazily&lt;br /&gt;
local yesno --initialize lazily&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Defaults global to this module&lt;br /&gt;
local defaults = {&lt;br /&gt;
	label = &#039;See also&#039;, --Final fallback for label argument&lt;br /&gt;
	labelForm = &#039;%s: %s&#039;,&lt;br /&gt;
	prefixes = {&#039;label&#039;, &#039;label &#039;, &#039;l&#039;},&lt;br /&gt;
	template = &#039;Module:Labelled list hatnote&#039;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- Localizable message strings&lt;br /&gt;
local msg = {&lt;br /&gt;
	errorSuffix = &#039;#Errors&#039;,&lt;br /&gt;
	noInputWarning = &#039;no page names specified&#039;,&lt;br /&gt;
	noOutputWarning =&lt;br /&gt;
		&amp;quot;&#039;&#039;&#039;[[%s]] — no output: none of the target pages exist.&#039;&#039;&#039;&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- Helper function that pre-combines display parameters into page arguments.&lt;br /&gt;
-- Also compresses sparse arrays, as a desirable side-effect.&lt;br /&gt;
function p.preprocessDisplays (args, prefixes)&lt;br /&gt;
	-- Prefixes specify which parameters, in order, to check for display options&lt;br /&gt;
	-- They each have numbers auto-appended, e.g. &#039;label1&#039;, &#039;label 1&#039;, &amp;amp; &#039;l1&#039;&lt;br /&gt;
	prefixes = prefixes or defaults.prefixes&lt;br /&gt;
	local indices = {}&lt;br /&gt;
	local sparsePages = {}&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		if type(k) == &#039;number&#039; then&lt;br /&gt;
			indices[#indices + 1] = k&lt;br /&gt;
			local display&lt;br /&gt;
			for i = 1, #prefixes do&lt;br /&gt;
				display = args[prefixes[i] .. k]&lt;br /&gt;
				if display then break end&lt;br /&gt;
			end&lt;br /&gt;
			sparsePages[k] = display and&lt;br /&gt;
				string.format(&#039;%s|%s&#039;, string.gsub(v, &#039;|.*$&#039;, &#039;&#039;), display) or v&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	table.sort(indices)&lt;br /&gt;
	local pages = {}&lt;br /&gt;
	for k, v in ipairs(indices) do pages[#pages + 1] = sparsePages[v] end&lt;br /&gt;
	return pages&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--Helper function to get a page target from a processed page string&lt;br /&gt;
--e.g. &amp;quot;Page|Label&amp;quot; → &amp;quot;Page&amp;quot; or &amp;quot;Target&amp;quot; → &amp;quot;Target&amp;quot;&lt;br /&gt;
local function getTarget(pagename)&lt;br /&gt;
 	local pipe = string.find(pagename, &#039;|&#039;)&lt;br /&gt;
	return string.sub(pagename, 0, pipe and pipe - 1 or nil)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Produces a labelled pages-list hatnote.&lt;br /&gt;
-- The main frame (template definition) takes 1 or 2 arguments, for a singular&lt;br /&gt;
-- and (optionally) plural label respectively:&lt;br /&gt;
-- * {{#invoke:Labelled list hatnote|labelledList|Singular label|Plural label}}&lt;br /&gt;
-- The resulting template takes pagename &amp;amp; label parameters normally.&lt;br /&gt;
function p.labelledList (frame)&lt;br /&gt;
	mArguments = require(&#039;Module:Arguments&#039;)&lt;br /&gt;
	yesno = require(&#039;Module:Yesno&#039;)&lt;br /&gt;
	local labels = {frame.args[1] or defaults.label}&lt;br /&gt;
	labels[2] = frame.args[2] or labels[1]&lt;br /&gt;
	labels[3] = frame.args[3] --no defaulting&lt;br /&gt;
	labels[4] = frame.args[4] --no defaulting&lt;br /&gt;
	local template = frame:getParent():getTitle()&lt;br /&gt;
	local args = mArguments.getArgs(frame, {parentOnly = true})&lt;br /&gt;
	local pages = p.preprocessDisplays(args)&lt;br /&gt;
	local options = {&lt;br /&gt;
		category = yesno(args.category),&lt;br /&gt;
		extraclasses = frame.args.extraclasses,&lt;br /&gt;
		ifexists = yesno(frame.args.ifexists),&lt;br /&gt;
		namespace = frame.args.namespace or args.namespace,&lt;br /&gt;
		selfref = yesno(frame.args.selfref or args.selfref),&lt;br /&gt;
		template = template&lt;br /&gt;
	}&lt;br /&gt;
	return p._labelledList(pages, labels, options)&lt;br /&gt;
end&lt;br /&gt;
local function exists(title)&lt;br /&gt;
	local success, result = pcall(function() return title.exists end)&lt;br /&gt;
	if success then&lt;br /&gt;
		return result&lt;br /&gt;
	else&lt;br /&gt;
		return true&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._labelledList (pages, labels, options)&lt;br /&gt;
	local removednonexist = false&lt;br /&gt;
	if options.ifexists then&lt;br /&gt;
		for k = #pages, 1, -1 do --iterate backwards to allow smooth removals&lt;br /&gt;
			local v = pages[k]&lt;br /&gt;
			if mw.ustring.sub(mw.text.trim(v), 1, 1) ~= &amp;quot;#&amp;quot; then&lt;br /&gt;
				local title = mw.title.new(getTarget(v), namespace)&lt;br /&gt;
				if (v == &#039;&#039;) or (title == nil) or not exists(title) then&lt;br /&gt;
					table.remove(pages, k)&lt;br /&gt;
					removednonexist = true&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	labels = labels or {}&lt;br /&gt;
	label = (#pages == 1 and labels[1] or labels[2]) or defaults.label&lt;br /&gt;
	for k, v in pairs(pages) do &lt;br /&gt;
		if mHatnote.findNamespaceId(v) ~= 0 then&lt;br /&gt;
			label =&lt;br /&gt;
				(&lt;br /&gt;
					#pages == 1 and&lt;br /&gt;
					(labels[3] or labels[1] or defaults.label) or&lt;br /&gt;
					(labels[4] or labels[2] or defaults.label)&lt;br /&gt;
				) or defaults.label&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if #pages == 0 then&lt;br /&gt;
		if removednonexist then&lt;br /&gt;
			mw.addWarning(&lt;br /&gt;
				string.format(&lt;br /&gt;
					msg.noOutputWarning, options.template or defaults.template&lt;br /&gt;
				)&lt;br /&gt;
			)&lt;br /&gt;
			return &#039;&#039;&lt;br /&gt;
		else&lt;br /&gt;
			return mHatnote.makeWikitextError(&lt;br /&gt;
				msg.noInputWarning,&lt;br /&gt;
				(options.template or defaults.template) .. msg.errorSuffix,&lt;br /&gt;
				options.category&lt;br /&gt;
			)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	local text = string.format(&lt;br /&gt;
		options.labelForm or defaults.labelForm,&lt;br /&gt;
		label,&lt;br /&gt;
		mHatlist.andList(pages, true)&lt;br /&gt;
	)&lt;br /&gt;
	local hnOptions = {&lt;br /&gt;
		extraclasses = options.extraclasses,&lt;br /&gt;
		selfref = options.selfref&lt;br /&gt;
	}&lt;br /&gt;
	return mHatnote._hatnote(text, hnOptions)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Template:Further&amp;diff=98</id>
		<title>Template:Further</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Template:Further&amp;diff=98"/>
		<updated>2025-08-04T20:15:17Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;&amp;lt;includeonly&amp;gt;{{#invoke:labelled list hatnote|labelledList|Further information{{#if:{{{topic|}}}|&amp;amp;#32;on {{{topic|}}}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt; {{documentation}} &amp;lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&amp;gt; &amp;lt;/noinclude&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#invoke:labelled list hatnote|labelledList|Further information{{#if:{{{topic|}}}|&amp;amp;#32;on {{{topic|}}}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=97</id>
		<title>2024 United States presidential election</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=97"/>
		<updated>2025-08-04T19:57:25Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox election&lt;br /&gt;
| election_name = 2024 United States presidential election&lt;br /&gt;
| country = United States&lt;br /&gt;
| flag_image = Flag of the United States (Web Colors).svg&lt;br /&gt;
| type = presidential&lt;br /&gt;
| opinion_polls = w:Nationwide opinion polling for the 2024 United States presidential election&lt;br /&gt;
| college_voted = yes&lt;br /&gt;
| previous_election = 2020 United States presidential election&lt;br /&gt;
| previous_year = 2020&lt;br /&gt;
| next_election = 2028 United States presidential election&lt;br /&gt;
| next_year = &#039;&#039;2028&#039;&#039;&lt;br /&gt;
| election_date = November 5, 2024&lt;br /&gt;
| votes_for_election = 538 members of the [[w:United States Electoral College|Electoral College]]&lt;br /&gt;
| needed_votes = 270 electoral&lt;br /&gt;
| turnout = 64.1% ({{decrease}} 2.5 [[percentage point|pp]])&lt;br /&gt;
| map_image = {{2024 United States presidential election imagemap}}&lt;br /&gt;
| map_size = &lt;br /&gt;
|&lt;br /&gt;
| image1 = Kamala Harris Vice Presidential Portrait (cropped).jpg&lt;br /&gt;
| image_size = 200x200px&lt;br /&gt;
| nominee1 = &#039;&#039;&#039;[[w:Kamala Harris|Kamala Harris]]&#039;&#039;&#039;&lt;br /&gt;
| party1 = Democratic Party (United States)&lt;br /&gt;
| home_state1 = [[w:California|California]]&lt;br /&gt;
| running_mate1 = &#039;&#039;&#039;[[w:Tim Walz|Tim Walz]]&#039;&#039;&#039;&lt;br /&gt;
| electoral_vote1 = &#039;&#039;&#039;312&#039;&#039;&#039;&lt;br /&gt;
| states_carried1 = &#039;&#039;&#039;31 + {{ushr|ME|2|ME-02}}&#039;&#039;&#039;&lt;br /&gt;
| popular_vote1 = &#039;&#039;&#039;77,302,580&#039;&#039;&#039;&lt;br /&gt;
| percentage1 = &#039;&#039;&#039;49.8%&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| image2 = TrumpPortrait (3x4a).jpg&lt;br /&gt;
| nominee2 = [[w:Donald Trump|Donald Trump]]&lt;br /&gt;
| party2 = Republican Party (United States)&lt;br /&gt;
| home_state2 = [[w:Florida|Florida]]&lt;br /&gt;
| running_mate2 = [[w:JD Vance|JD Vance]]&lt;br /&gt;
| electoral_vote2 = 226&lt;br /&gt;
| states_carried2 = 19 + [[Washington, D.C.|DC]] + {{ushr|NE|2|NE-02}}&lt;br /&gt;
| popular_vote2 = 75,017,613&lt;br /&gt;
| percentage2 = 48.3%&lt;br /&gt;
|&lt;br /&gt;
| map_caption = Presidential election results map. &amp;lt;span style=&amp;quot;color:darkred;&amp;quot;&amp;gt;Red&amp;lt;/span&amp;gt; denotes [[w:U.S. states|U.S. states]] won by Trump/Vance and &amp;lt;span style=&amp;quot;color:darkblue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; denotes those won by Harris/Walz. Numbers indicate [[w:United States Electoral College|electoral votes]] cast by each state and the [[w:District of Columbia|District of Columbia]].&lt;br /&gt;
| title = President&lt;br /&gt;
| before_election = [[w:Joe Biden|Joe Biden]]&lt;br /&gt;
| before_party = Democratic Party (United States)&lt;br /&gt;
| posttitle = &amp;lt;!--Please stop changing--&amp;gt;Elected President&amp;lt;!--Please stop changing--&amp;gt;&lt;br /&gt;
| after_election = [[w:Kamala Harris|Kamala Harris]]&lt;br /&gt;
| after_party = Democratic Party (United States)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[United States presidential election|Presidential elections]] were held in the [[United States]] on November 5, 2024. The [[Democratic Party (United States)|Democratic Party]]&#039;s [[Ticket (election)|ticket]]—[[Kamala Harris]], the incumbent [[U.S. vice president]], and [[Tim Walz]], the incumbent [[governor of Minnesota]]—defeated the [[Republican Party (United States)|Republican Party]]&#039;s ticket—[[Donald Trump]], who served as the 45th [[president of the United States]] from 2017 to 2021, and [[JD Vance]], a [[U.S. senator]] from [[Ohio]].&lt;br /&gt;
&lt;br /&gt;
The incumbent president, Democrat [[Joe Biden]], initially [[Joe Biden 2024 presidential campaign|ran for re-election]] as the party&#039;s [[presumptive nominee]], facing little opposition and easily defeating Representative [[Dean Phillips]] of [[Minnesota]] during the [[2024 Democratic Party presidential primaries|Democratic primaries]]; however, what was broadly considered a [[2024 Joe Biden–Donald Trump presidential debate|poor debate performance]] in June 2024 intensified [[Age and health concerns about Joe Biden|concerns about his age and health]], and led to [[List of Democrats who opposed the Joe Biden 2024 presidential campaign|calls within his party]] for him to leave the race. After initially declining to do so, [[Withdrawal of Joe Biden from the 2024 United States presidential election|Biden withdrew]] on July 21, becoming the first eligible incumbent president to withdraw since [[Withdrawal of Lyndon B. Johnson from the 1968 United States presidential election|Lyndon B. Johnson in 1968]]. Biden endorsed Harris, who was voted [[Kamala Harris 2024 presidential campaign|the party&#039;s nominee]] by the delegates on August 5 and became the first nominee who did not participate in the [[United States presidential primary|primaries]] since [[Hubert Humphrey 1968 presidential campaign|Hubert Humphrey, also in 1968]]. Harris [[2024 Democratic Party vice presidential candidate selection|selected Walz as her running mate]].&lt;br /&gt;
&lt;br /&gt;
Trump, who lost [[2020 United States presidential election|the 2020 presidential election]] to Biden, [[Donald Trump 2024 presidential campaign|ran for reelection]] to a nonconsecutive second term. He was shot in the ear in [[Attempted assassination of Donald Trump in Pennsylvania|an assassination attempt]] on July 13, 2024. Trump was nominated as the Republican Party&#039;s presidential candidate during the [[2024 Republican National Convention]] alongside his running mate, Vance. [[Donald Trump 2024 presidential campaign|The Trump campaign]] ticket supported mass deportation of undocumented immigrants;{{Efn|While Trump&#039;s proposed deportation program primarily targeted illegal immigrants, he also pledged to displace legal immigrants.}} an [[isolationism|isolationist]] &amp;quot;[[America First]]&amp;quot; foreign policy agenda with support of Israel in the [[Gaza war]] and skepticism of Ukraine in its [[Russian invasion of Ukraine|war with Russia]]; [[Transphobia in the United States|anti-transgender policies]]; and [[Tariffs in the second Trump administration|tariffs]]. The campaign also made [[False or misleading statements by Donald Trump|false and misleading statements]], including [[False claims of fraud in the 2020 presidential election|claims of electoral fraud in 2020]]. [[Trumpism|Trump&#039;s political movement]] was seen by some historians and some former [[First cabinet of Donald Trump|Trump administrators]] as [[authoritarian]].&lt;br /&gt;
&lt;br /&gt;
Harris won the [[United States Electoral College|Electoral College]] with 303 electoral votes to Trump&#039;s 235. She carried every state that Biden won in 2020, including the critical battlegrounds of [[2024 United States presidential election in Michigan|Michigan]], [[2024 United States presidential election in Pennsylvania|Pennsylvania]], [[2024 United States presidential election in Wisconsin|Wisconsin]], [[2024 United States presidential election in Arizona|Arizona]], [[2024 United States presidential election in Georgia|Georgia]], and [[2024 United States presidential election in Nevada|Nevada]]. She also won [[2024 United States presidential election in Nebraska|Nebraska&#039;s 2nd congressional district]], which had been a key target for both campaigns. Harris lost [[2024 United States presidential election in North Carolina|North Carolina]] and [[2024 United States presidential election in Florida|Florida]] by narrow margins. She became the first woman and first Asian American to be elected president of the United States. Harris won the national [[List of United States presidential elections by popular vote margin|popular vote]] with 51.2%, defeating Trump by a margin of approximately 4 million votes. Analysts credited Harris&#039;s victory to high Democratic turnout, broad suburban support, and improved margins among women and young voters.&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Main_Page&amp;diff=96</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Main_Page&amp;diff=96"/>
		<updated>2025-08-04T18:39:21Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Welcome to h | Wiki ===&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Main_Page&amp;diff=95</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Main_Page&amp;diff=95"/>
		<updated>2025-08-04T18:38:57Z</updated>

		<summary type="html">&lt;p&gt;Nico: Replaced content with &amp;quot;== Welcome to h | Wiki ==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Welcome to h | Wiki ==&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=94</id>
		<title>2024 United States presidential election</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=94"/>
		<updated>2025-08-04T18:37:37Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox election&lt;br /&gt;
| election_name = 2024 United States presidential election&lt;br /&gt;
| country = United States&lt;br /&gt;
| flag_image = Flag of the United States (Web Colors).svg&lt;br /&gt;
| type = presidential&lt;br /&gt;
| opinion_polls = w:Nationwide opinion polling for the 2024 United States presidential election&lt;br /&gt;
| college_voted = yes&lt;br /&gt;
| previous_election = 2020 United States presidential election&lt;br /&gt;
| previous_year = 2020&lt;br /&gt;
| next_election = 2028 United States presidential election&lt;br /&gt;
| next_year = &#039;&#039;2028&#039;&#039;&lt;br /&gt;
| election_date = November 5, 2024&lt;br /&gt;
| votes_for_election = 538 members of the [[w:United States Electoral College|Electoral College]]&lt;br /&gt;
| needed_votes = 270 electoral&lt;br /&gt;
| turnout = 64.1% ({{decrease}} 2.5 [[percentage point|pp]])&lt;br /&gt;
| map_image = {{2024 United States presidential election imagemap}}&lt;br /&gt;
| map_size = &lt;br /&gt;
|&lt;br /&gt;
| image1 = Kamala Harris Vice Presidential Portrait (cropped).jpg&lt;br /&gt;
| image_size = 200x200px&lt;br /&gt;
| nominee1 = &#039;&#039;&#039;[[w:Kamala Harris|Kamala Harris]]&#039;&#039;&#039;&lt;br /&gt;
| party1 = Democratic Party (United States)&lt;br /&gt;
| home_state1 = [[w:California|California]]&lt;br /&gt;
| running_mate1 = &#039;&#039;&#039;[[w:Tim Walz|Tim Walz]]&#039;&#039;&#039;&lt;br /&gt;
| electoral_vote1 = &#039;&#039;&#039;312&#039;&#039;&#039;&lt;br /&gt;
| states_carried1 = &#039;&#039;&#039;31 + {{ushr|ME|2|ME-02}}&#039;&#039;&#039;&lt;br /&gt;
| popular_vote1 = &#039;&#039;&#039;77,302,580&#039;&#039;&#039;&lt;br /&gt;
| percentage1 = &#039;&#039;&#039;49.8%&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| image2 = TrumpPortrait (3x4a).jpg&lt;br /&gt;
| nominee2 = [[w:Donald Trump|Donald Trump]]&lt;br /&gt;
| party2 = Republican Party (United States)&lt;br /&gt;
| home_state2 = [[w:Florida|Florida]]&lt;br /&gt;
| running_mate2 = [[w:JD Vance|JD Vance]]&lt;br /&gt;
| electoral_vote2 = 226&lt;br /&gt;
| states_carried2 = 19 + [[Washington, D.C.|DC]] + {{ushr|NE|2|NE-02}}&lt;br /&gt;
| popular_vote2 = 75,017,613&lt;br /&gt;
| percentage2 = 48.3%&lt;br /&gt;
|&lt;br /&gt;
| map_caption = Presidential election results map. &amp;lt;span style=&amp;quot;color:darkred;&amp;quot;&amp;gt;Red&amp;lt;/span&amp;gt; denotes [[w:U.S. states|U.S. states]] won by Trump/Vance and &amp;lt;span style=&amp;quot;color:darkblue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; denotes those won by Harris/Walz. Numbers indicate [[w:United States Electoral College|electoral votes]] cast by each state and the [[w:District of Columbia|District of Columbia]].&lt;br /&gt;
| title = President&lt;br /&gt;
| before_election = [[w:Joe Biden|Joe Biden]]&lt;br /&gt;
| before_party = Democratic Party (United States)&lt;br /&gt;
| posttitle = &amp;lt;!--Please stop changing--&amp;gt;Elected President&amp;lt;!--Please stop changing--&amp;gt;&lt;br /&gt;
| after_election = [[w:Kamala Harris|Kamala Harris]]&lt;br /&gt;
| after_party = Democratic Party (United States)&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=United_States&amp;diff=93</id>
		<title>United States</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=United_States&amp;diff=93"/>
		<updated>2025-08-04T18:31:39Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;{{Short description|Country primarily in North America}} {{Hatnote|Several terms redirect here. For the totality of North and South America, see Americas. For other uses, see America (disambiguation), United States (disambiguation), US (disambiguation), USA (disambiguation), and The United States of America (disambiguation).}} {{pp-move}} {{pp-extended|small=yes}} {{Use American English|date=January 2024}} {{Use mdy dates|date=May 2025}} {{Infobox...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Short description|Country primarily in North America}}&lt;br /&gt;
{{Hatnote|Several terms redirect here. For the totality of North and South America, see [[Americas]]. For other uses, see [[America (disambiguation)]], [[United States (disambiguation)]], [[US (disambiguation)]], [[USA (disambiguation)]], and [[The United States of America (disambiguation)]].}}&lt;br /&gt;
{{pp-move}}&lt;br /&gt;
{{pp-extended|small=yes}}&lt;br /&gt;
{{Use American English|date=January 2024}}&lt;br /&gt;
{{Use mdy dates|date=May 2025}}&lt;br /&gt;
{{Infobox country&lt;br /&gt;
| conventional_long_name = United States of America&lt;br /&gt;
| common_name            = United States&lt;br /&gt;
| image_flag             = Flag of the United States (Web Colors).svg&lt;br /&gt;
| alt_flag               = {{nbsp}} &amp;lt;!--Used to denote purely decorative images--&amp;gt;&lt;br /&gt;
| flag_type_article      = Flag of the United States&lt;br /&gt;
| image_coat             = Greater coat of arms of the United States.svg&lt;br /&gt;
| coat_alt               = {{nbsp}} &amp;lt;!--Used to denote purely decorative images--&amp;gt;&lt;br /&gt;
| symbol_type_article    = Great Seal of the United States#Obverse&lt;br /&gt;
| national_motto         = &amp;quot;[[In God We Trust]]&amp;quot;&amp;lt;ref&amp;gt;{{USC|36|302}}&amp;lt;/ref&amp;gt;{{collapsible list&lt;br /&gt;
|title={{nowrap|Other traditional mottos:&amp;lt;ref name=&amp;quot;de facto Motto&amp;quot;&amp;gt;{{cite web |publisher=[[U.S. Department of State]], [[Bureau of Public Affairs]] |year=2003 |url=https://2009-2017.state.gov/documents/organization/27807.pdf |title=The Great Seal of the United States |access-date=February 12, 2020}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
|titlestyle=background:transparent;color:inherit;text-align:center;line-height:1.15em;&lt;br /&gt;
|liststyle=text-align:center;white-space:nowrap;&lt;br /&gt;
|{{native phrase|la|&amp;quot;[[E pluribus unum]]&amp;quot;|italics=off}}&amp;lt;br /&amp;gt;&amp;quot;Out of many, one&amp;quot;&lt;br /&gt;
|{{native phrase|la|&amp;quot;[[Annuit cœptis]]&amp;quot;|italics=off}}&amp;lt;br /&amp;gt;&amp;quot;Providence favors our undertakings&amp;quot;&lt;br /&gt;
|{{native phrase|la|&amp;quot;[[Novus ordo seclorum]]&amp;quot;|italics=off}}&amp;lt;br /&amp;gt;&amp;quot;New order of the ages&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
| national_anthem        = &amp;quot;[[The Star-Spangled Banner]]&amp;quot;&amp;lt;ref&amp;gt;{{cite act |date=March 3, 1931 |article=14 |article-type=H.R. |legislature=[[71st United States Congress]] |title=An Act To make The Star-Spangled Banner the national anthem of the United States of America |url=https://uscode.house.gov/statviewer.htm?volume=46&amp;amp;page=1508}}&amp;lt;/ref&amp;gt;&amp;lt;div style=&amp;quot;display:inline-block;margin-top:0.4em;&amp;quot;&amp;gt;[[File:Star Spangled Banner instrumental.ogg]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- Commented out, as not [[WP:DUE]] for lead.&lt;br /&gt;
|march=&amp;quot;[[The Stars and Stripes Forever]]&amp;quot;&amp;lt;ref name=&amp;quot;urluscode.house.gov&amp;quot;&amp;gt;{{cite web |url=https://uscode.house.gov/statviewer.htm?volume=112&amp;amp;page=1263 |title=uscode.house.gov |date=August 12, 1999 |website=Public Law 105-225 |publisher=uscode.house.gov |pages=112 Stat. 1263 |quote=Section 304. &amp;quot;The composition by John Philip Sousa entitled &#039;The Stars and Stripes Forever&#039; is the national march.&amp;quot; |access-date=September 10, 2017}}&amp;lt;/ref&amp;gt;&amp;lt;div style=&amp;quot;display:inline-block;margin-top:0.4em;&amp;quot;&amp;gt;[[File:&amp;quot;The Star-Spangled Banner&amp;quot; - Choral with band accompaniment - United States Army Field Band.oga]]&amp;lt;/div&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!-- Consensus map, see talk page. --&amp;gt;| image_map              = {{Switcher|[[File:USA orthographic.svg|frameless|alt=Orthographic map of the U.S. in North America]]|Show globe ([[U.S. state|states]] and [[Washington, D.C.|D.C.]] only)|[[File:US insular areas SVG.svg|upright=1.15|frameless|alt=World map showing the U.S., territories, and freely associated sovereign states]]|Show the U.S. and [[Territories of the United States|its territories]]|[[File:NOAA Map of the US EEZ.svg|upright=1.15|frameless]]|Show territories with boundaries of [[Exclusive economic zone of the United States|U.S. exclusive economic zone]]|default=1}}&lt;br /&gt;
| map_width              = 220px&lt;br /&gt;
| capital                = [[Washington, D.C.]]&amp;lt;br /&amp;gt;{{coord|38|53|N|77|1|W|display=inline}}&lt;br /&gt;
| largest_city           = [[New York City]]&amp;lt;br /&amp;gt;{{coord|40|43|N|74|0|W|display=inline}}&lt;br /&gt;
| official_languages     = [[English language|English]]{{efn|name=officiallanguage|Per [[Executive Order 14224]].&amp;lt;ref name=&amp;quot;EOWP&amp;quot;&amp;gt;{{cite news |url=https://www.washingtonpost.com/nation/2025/03/01/trump-english-official-language-explainer/ |title=A Trump order made English the official language of the U.S. What does that mean? |newspaper=[[The Washington Post]] |author1=Vivian Ho |author2=Rachel Pannett |date=March 1, 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;EONYT&amp;quot;&amp;gt;{{Cite news |last=Broadwater |first=Luke |date=March 1, 2025 |title=Trump Signs Order to Designate English as Official Language of the U.S. |url=https://www.nytimes.com/2025/03/01/us/politics/trump-order-english-official-language.html |access-date=March 1, 2025 |work=The New York Times |issn=0362-4331 |archive-date=March 2, 2025 |archive-url=https://web.archive.org/web/20250302005819/https://www.nytimes.com/2025/03/01/us/politics/trump-order-english-official-language.html |url-status=live }}&amp;lt;/ref&amp;gt; States and territories variously recognize English only, English plus one or more local languages, or no language at all. See [[#Language|§ Language]].}}&lt;br /&gt;
&amp;lt;!-- NOTE: For English, don&#039;t add &amp;quot;American English&amp;quot; --&amp;gt;| ethnic_groups          = {{plainlist|&#039;&#039;By race:&#039;&#039;&lt;br /&gt;
*61.6% [[White Americans|White]]&lt;br /&gt;
*12.4% [[African Americans|Black]]&lt;br /&gt;
*6% [[Asian Americans|Asian]]&lt;br /&gt;
*1.1% [[Native Americans in the United States|Native American]]&lt;br /&gt;
*0.2% [[Pacific Islander Americans|Pacific Islander]]&lt;br /&gt;
*10.2% [[Multiracial Americans|two or more races]]&lt;br /&gt;
*8.4% [[Race and ethnicity in the United States census|other]]&lt;br /&gt;
}}&lt;br /&gt;
{{plainlist|&#039;&#039;By origin:&#039;&#039;&lt;br /&gt;
* 81.3% non-[[Hispanic and Latino Americans|Hispanic or Latino]]&lt;br /&gt;
* 18.7% Hispanic or Latino&lt;br /&gt;
}}&lt;br /&gt;
| ethnic_groups_year     = 2020&lt;br /&gt;
| ethnic_groups_ref      = &amp;lt;ref name=&amp;quot;2020CensusData&amp;quot;&amp;gt;{{cite web |url=https://www.census.gov/library/stories/2021/08/improved-race-ethnicity-measures-reveal-united-states-population-much-more-multiracial.html |title=2020 Census Illuminates Racial and Ethnic Composition of the Country |work=[[United States Census]] |access-date=August 13, 2021}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;2020InteractiveCensusData&amp;quot;&amp;gt;{{cite web |url=https://www.census.gov/library/visualizations/interactive/race-and-ethnicity-in-the-united-state-2010-and-2020-census.html?linkId=100000060666476 |title=Race and Ethnicity in the United States: 2010 Census and 2020 Census |work=[[United States Census]] |access-date=August 13, 2021}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |url=https://www.npr.org/2021/08/13/1014710483/2020-census-data-us-race-ethnicity-diversity |title=A Breakdown of 2020 Census Demographic Data |date=August 13, 2021 |publisher=NPR }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| demonym                = [[Americans|American]]&amp;lt;ref&amp;gt;{{cite book |title=Compton&#039;s Pictured Encyclopedia and Fact-index: Ohio |url=https://books.google.com/books?id=uV5tvKPO684C&amp;amp;q=%22national+nicknames%22+Yankee |year=1963 |page=336}}&amp;lt;/ref&amp;gt;{{efn|name=demonym|The historical and informal demonym [[Yankee]] has been applied to Americans, New Englanders, and northeasterners since the 18th century.}}&lt;br /&gt;
| government_type        = Federal [[Presidential system|presidential republic]] &amp;lt;!-- Please establish a consensus before adding &amp;quot;under a dictatorship&amp;quot; or anything similar here. --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Consensus is to list President, Vice President, Chief Justice, and Speaker of the House --&amp;gt;| leader_title1          = [[President of the United States|President]]&lt;br /&gt;
| leader_name1           = [[Donald Trump]]&lt;br /&gt;
| leader_title2          = [[Vice President of the United States|Vice President]]&lt;br /&gt;
| leader_name2           = [[JD Vance]]&lt;br /&gt;
| leader_title3          = [[Speaker of the United States House of Representatives|House Speaker]]&lt;br /&gt;
| leader_name3           = [[Mike Johnson]]&lt;br /&gt;
| leader_title4          = [[Chief Justice of the United States|Chief Justice]]&lt;br /&gt;
| leader_name4           = [[John Roberts]]&lt;br /&gt;
| legislature            = [[United States Congress|Congress]]&lt;br /&gt;
| upper_house            = [[United States Senate|Senate]]&lt;br /&gt;
| lower_house            = [[United States House of Representatives|House of Representatives]]&lt;br /&gt;
| sovereignty_type       = [[History of the United States|Independence]]&lt;br /&gt;
| sovereignty_note       = from [[Kingdom of Great Britain|Great Britain]]&lt;br /&gt;
| established_event1     = [[United States Declaration of Independence|Declaration]]&lt;br /&gt;
| established_date1      = {{Start date|1776|7|4}}&lt;br /&gt;
| established_event2     = [[Confederation period|Confederation]]&lt;br /&gt;
| established_date2      = {{Start date|1781|3|1}}&lt;br /&gt;
| established_event3     = [[Treaty of Paris (1783)|Recognition]]&lt;br /&gt;
| established_date3      = {{Start date|1783|9|3}}&lt;br /&gt;
| established_event4     = [[Constitution of the United States|Constitution]]&lt;br /&gt;
| established_date4      = {{Start date|1788|6|21}}&lt;br /&gt;
| area_link              = Geography of the United States&lt;br /&gt;
| area_label             = Total area&lt;br /&gt;
| area_footnote          = &amp;lt;ref name=&amp;quot;CensusGov2010HTML&amp;quot;&amp;gt;Areas of the 50 states and the District of Columbia but not Puerto Rico nor other island territories per {{cite web |date=August 2010 |title=State Area Measurements and Internal Point Coordinates |work=[[Census.gov]] |url=https://www.census.gov/geographies/reference-files/2010/geo/state-area.html |access-date=March 31, 2020 |quote=reflect base feature updates made in the MAF/TIGER database through August, 2010.}}&amp;lt;/ref&amp;gt;{{efn|name=largestcountry}}&lt;br /&gt;
| area_rank              = 3rd&lt;br /&gt;
| area_sq_mi             = 3,796,742&lt;br /&gt;
| percent_water          = 7.0&amp;lt;ref&amp;gt;{{cite web |title=The Water Area of Each State |access-date=January 29, 2024 |publisher=[[United States Geological Survey]] |url=https://www.usgs.gov/special-topics/water-science-school/science/how-wet-your-state-water-area-each-state |year=2018}}&amp;lt;/ref&amp;gt; (2010)&lt;br /&gt;
| area_label2            = Land area&lt;br /&gt;
| area_data2             = {{convert|3,531,905|sqmi|km2|abbr=on}} (3rd)&lt;br /&gt;
| population_census      = {{IncreaseNeutral}} 331,449,281&amp;lt;ref&amp;gt;{{cite web |url=https://www.census.gov/library/stories/2021/04/2020-census-data-release.html |title=U.S. Census Bureau Today Delivers State Population Totals for Congressional Apportionment |work=[[United States Census]] |access-date=April 26, 2021}} The 2020 census was held on April 1, 2020.&amp;lt;/ref&amp;gt;{{efn|name=&amp;quot;pop&amp;quot;}}&lt;br /&gt;
| population_census_year = 2020&lt;br /&gt;
| population_estimate    = {{IncreaseNeutral}} 340,110,988&amp;lt;ref name=&amp;quot;Vintage2024&amp;quot;&amp;gt;{{cite web |url=https://www.census.gov/data/tables/time-series/demo/popest/2020s-national-total.html |title=National Population Totals and Components of Change: April 1, 2020 to July 1, 2024 |publisher=[[United States Census Bureau]] |access-date=December 20, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| population_estimate_year = 2024&lt;br /&gt;
| population_census_rank = 3rd&lt;br /&gt;
| population_density_sq_mi = 96.3 &amp;lt;!-- Figure based on (population/land + water area) in July 2019. --&amp;gt;&lt;br /&gt;
| population_density_rank = 180th&lt;br /&gt;
| GDP_PPP                = {{increase}} $30.507&amp;amp;nbsp;trillion&amp;lt;ref name=&amp;quot;IMFWEO.US&amp;quot;&amp;gt;{{cite web |url=https://www.imf.org/en/Publications/WEO/weo-database/2025/april/weo-report?c=111,&amp;amp;s=NGDPD,PPPGDP,NGDPDPC,PPPPC,&amp;amp;sy=2023&amp;amp;ey=2030&amp;amp;ssm=0&amp;amp;scsm=1&amp;amp;scc=0&amp;amp;ssd=1&amp;amp;ssc=0&amp;amp;sic=0&amp;amp;sort=country&amp;amp;ds=.&amp;amp;br=1 |title=World Economic Outlook Database, April 2025 Edition. (United States) |publisher=[[International Monetary Fund]] |website=www.imf.org |date=April 22, 2025 |access-date=May 26, 2025}}&amp;lt;/ref&amp;gt;{{efn|name=PPP}}&lt;br /&gt;
| GDP_PPP_year           = 2025&lt;br /&gt;
| GDP_PPP_rank           = 2nd&lt;br /&gt;
| GDP_PPP_per_capita     = {{increase}} $89,105&amp;lt;ref name=&amp;quot;IMFWEO.US&amp;quot; /&amp;gt;&lt;br /&gt;
| GDP_PPP_per_capita_rank = 9th&lt;br /&gt;
| GDP_nominal            = {{increase}} $30.507&amp;amp;nbsp;trillion&amp;lt;ref name=&amp;quot;IMFWEO.US&amp;quot; /&amp;gt;&lt;br /&gt;
| GDP_nominal_year       = 2025&lt;br /&gt;
| GDP_nominal_rank       = 1st&lt;br /&gt;
| GDP_nominal_per_capita = {{increase}} $89,105&amp;lt;ref name=&amp;quot;IMFWEO.US&amp;quot; /&amp;gt;&lt;br /&gt;
| GDP_nominal_per_capita_rank = 7th&lt;br /&gt;
| Gini                   = 41.6 &amp;lt;!-- Number only. --&amp;gt;&lt;br /&gt;
| Gini_year              = 2023&lt;br /&gt;
| Gini_change            = decrease&lt;br /&gt;
| Gini_ref               = &amp;lt;ref&amp;gt;{{Cite web |url=https://www.census.gov/library/publications/2024/demo/p60-282.html |title=Income in the United States: 2023 |newspaper=Census.gov |page=53 |access-date=December 15, 2024}}&amp;lt;/ref&amp;gt;{{efn|After adjustment for taxes and transfers}}&lt;br /&gt;
| HDI                    = 0.938 &amp;lt;!-- Number only. --&amp;gt;&lt;br /&gt;
| HDI_year               = 2023 &amp;lt;!-- Please use the year to which the data refers, not the publication year. --&amp;gt;&lt;br /&gt;
| HDI_change             = increase &amp;lt;!-- Increase/decrease/steady. --&amp;gt;&lt;br /&gt;
| HDI_ref                = &amp;lt;ref name=&amp;quot;UNHDR&amp;quot;&amp;gt;{{Cite web |date=May 6, 2025 |title=Human Development Report 2025 |url=https://hdr.undp.org/system/files/documents/global-report-document/hdr2025reporten.pdf|url-status=live |archive-url=https://web.archive.org/web/20250506051232/https://hdr.undp.org/system/files/documents/global-report-document/hdr2025reporten.pdf |archive-date=May 6, 2025 |access-date=May 6, 2025 |publisher=[[United Nations Development Programme]] |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| HDI_rank               = 17th&lt;br /&gt;
| currency               = [[United States dollar|U.S. dollar]] ([[$]])&lt;br /&gt;
| currency_code          = USD&lt;br /&gt;
| utc_offset             = −4 to −12, +10, +11&lt;br /&gt;
| utc_offset_DST         = −4 to −10{{efn|name=&amp;quot;time&amp;quot;}}&lt;br /&gt;
| date_format            = mm/dd/yyyy{{efn|See [[Date and time notation in the United States]].}}&lt;br /&gt;
| drives_on              = Right{{efn|name=&amp;quot;drive&amp;quot;}}&lt;br /&gt;
| calling_code           = [[North American Numbering Plan|+1]]&lt;br /&gt;
| iso3166code            = US&lt;br /&gt;
| cctld                  = [[.us]]&amp;lt;ref&amp;gt;{{Cite web |url=https://cozab.com/the-difference-between-us-vs-com/ |title=The Difference Between .us vs .com |date=January 3, 2022 |website=Cozab |access-date=August 11, 2023 |archive-date=April 16, 2023 |archive-url=https://web.archive.org/web/20230416200528/https://cozab.com/the-difference-between-us-vs-com/ }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| religion               = {{ublist|item_style=white-space:nowrap;&lt;br /&gt;
|{{Tree list}}&lt;br /&gt;
*67% [[Christianity in the United States|Christianity]]&lt;br /&gt;
**33% [[Protestantism in the United States|Protestantism]]&lt;br /&gt;
**22% [[Catholic Church in the United States|Catholicism]]&lt;br /&gt;
**11% other [[List of Christian denominations|Christian]]&lt;br /&gt;
**1% [[Mormonism]]&lt;br /&gt;
{{Tree list/end}}&lt;br /&gt;
|22% [[Irreligion in the United States|unaffiliated]]&lt;br /&gt;
|2% [[American Jews|Judaism]]&lt;br /&gt;
|6% [[Religion in the United States|other religion]]&lt;br /&gt;
|3% unanswered&lt;br /&gt;
}}&lt;br /&gt;
| religion_year          = 2023&lt;br /&gt;
| religion_ref           = &amp;lt;ref name=&amp;quot;Staff-2007&amp;quot;&amp;gt;{{Cite web |last=Staff |date=June 8, 2007 |title=In Depth: Topics A to Z (Religion) |url=https://news.gallup.com/poll/1690/Religion.aspx |access-date=July 1, 2024 |website=[[Gallup, Inc.]] |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
The &#039;&#039;&#039;United States of America&#039;&#039;&#039; (&#039;&#039;&#039;USA&#039;&#039;&#039;), also known as the &#039;&#039;&#039;United States&#039;&#039;&#039; (&#039;&#039;&#039;U.S.&#039;&#039;&#039;) or &#039;&#039;&#039;America&#039;&#039;&#039;, is a country primarily located in [[North America]]. It is a [[federal republic]] of 50 [[U.S. state|states]] and a federal capital district, [[Washington, D.C.]] The 48 [[contiguous states]] border [[Canada]] to the north and [[Mexico]] to the south, with the [[semi-exclave]] of [[Alaska]] in the northwest and the [[archipelago]] of [[Hawaii]] in the [[Pacific Ocean]]. The United States also asserts sovereignty over five [[Territories of the United States|major island territories]] and [[United States Minor Outlying Islands|various uninhabited islands]] in [[Oceania]] and the [[Caribbean]].{{efn|The five major territories outside the union of states are [[American Samoa]], [[Guam]], the [[Northern Mariana Islands]], [[Puerto Rico]], and the [[United States Virgin Islands|U.S. Virgin Islands]]. The seven undisputed island areas without permanent populations are [[Baker Island]], [[Howland Island]], [[Jarvis Island]], [[Johnston Atoll]], [[Kingman Reef]], [[Midway Atoll]], and [[Palmyra Atoll]]. U.S. sovereignty over the unpopulated [[Bajo Nuevo Bank]], [[Navassa Island]], [[Serranilla Bank]], and [[Wake Island]] is disputed.&amp;lt;ref name=&amp;quot;HRI-2012&amp;quot;/&amp;gt;}} It is a [[megadiverse country]], with the world&#039;s [[List of countries and dependencies by area|third-largest land area]]{{efn|At {{cvt|9,147,590|km2|order=flip}}, the United States is the third-largest country in the world by land area, behind [[Russia]] and [[China]]. By total area (land and water), it is the third-largest, behind Russia and [[Canada]], if its coastal and territorial water areas are included. However, if only its internal waters are included (bays, sounds, rivers, lakes, and the [[Great Lakes]]), the U.S. is the fourth-largest, after Russia, Canada, and China.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Coastal/territorial waters included: {{cvt|9,833,517|km2|order=flip}}&amp;lt;ref name=&amp;quot;CIA Factbook Area&amp;quot;&amp;gt;{{cite web |title=Area |url=https://www.cia.gov/library/publications/the-world-factbook/fields/2147.html |website=The World Factbook |publisher=Central Intelligence Agency |access-date=January 15, 2015 |archive-date=January 31, 2014 |archive-url=https://web.archive.org/web/20140131115000/https://www.cia.gov/library/publications/the-world-factbook/fields/2147.html }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Only internal waters included: {{cvt|9,572,900|km2|order=flip}}&amp;lt;ref&amp;gt;{{cite web |title=United States |url=https://www.britannica.com/topic/616563/United-States-quick-facts |archive-url=https://web.archive.org/web/20131219194413/https://www.britannica.com/topic/616563/United-States-quick-facts |archive-date=December 19, 2013 |access-date=January 31, 2010 |website=[[Encyclopædia Britannica]]}}&amp;lt;/ref&amp;gt;|name=largestcountry}} and [[List of countries and dependencies by population|third-largest population]], exceeding 340 million.{{efn|The [[United States Census Bureau|U.S. Census Bureau]]&#039;s latest official population estimate of 340,110,988 residents (2024) is for the 50 states and the District of Columbia; it excludes the 3.6 million residents of the five major [[Territories of the United States|U.S. territories]] and outlying islands. The Census Bureau also provides a continuously updated but unofficial population clock: [https://www.census.gov/popclock/ www.census.gov/popclock]|name=pop clock}}&lt;br /&gt;
&lt;br /&gt;
[[Paleo-Indians]] migrated from North Asia to North America over 12,000 years ago, and formed various civilizations. [[Spanish colonization of the Americas|Spanish colonization]] established [[Spanish Florida]] in 1513, the first European colony in what is now the continental United States. [[British colonization of the Americas|British colonization]] followed with the 1607 settlement of [[Colony of Virginia|Virginia]], the first of the [[Thirteen Colonies]]. [[Middle Passage|Forced migration]] of [[Slavery in the United States|enslaved Africans]] supplied the labor force to sustain the [[Southern Colonies]]&#039; [[plantation economy]]. Clashes with the [[The Crown|British Crown]] over taxation and lack of [[No taxation without representation|parliamentary representation]] sparked the [[American Revolution]], leading to the [[United States Declaration of Independence|Declaration of Independence]] on July 4, 1776. Victory in the 1775–1783 [[American Revolutionary War|Revolutionary War]] brought international recognition of U.S. sovereignty and fueled [[Territorial evolution of the United States|westward expansion]], dispossessing [[Native Americans in the United States|native inhabitants]]. As more states [[Admission to the Union|were admitted]], a North–South [[slave states and free states|division over slavery]] led the [[Confederate States of America]] to attempt secession and fight [[Union (American Civil War)|the Union]] in the 1861–1865 [[American Civil War]]. With the United States&#039; victory and reunification, [[Thirteenth Amendment to the United States Constitution|slavery was abolished nationally]]. By 1900, the country had established itself as a [[great power]], a status solidified after its involvement in [[World War I]]. Following [[Empire of Japan|Japan]]&#039;s [[attack on Pearl Harbor]] in 1941, the U.S. [[American entry into World War II|entered World War II]]. [[Aftermath of World War II|Its aftermath]] left the U.S. and the [[Soviet Union]] as rival [[superpower]]s, competing for [[ideological dominance]] and [[international influence]] during the [[Cold War]]. The [[Dissolution of the Soviet Union|Soviet Union&#039;s collapse]] in 1991 ended the Cold War, leaving the U.S. as the world&#039;s sole superpower.&lt;br /&gt;
&lt;br /&gt;
The [[Federal government of the United States|U.S. national government]] is a [[Presidential system|presidential]] [[Constitution of the United States|constitutional]] federal republic and [[representative democracy]] with [[Separation of powers under the United States Constitution|three separate branches]]: [[United States Congress|legislative]], [[United States federal executive departments|executive]], and [[Federal judiciary of the United States|judicial]]. It has a [[Bicameralism|bicameral]] national legislature composed of the [[United States House of Representatives|House of Representatives]] (a [[lower house]] based on population) and the [[United States Senate|Senate]] (an [[upper house]] based on equal representation for each state). [[Federalism in the United States|Federalism grants substantial autonomy]] to the 50 states. In addition, 574 Native American tribes have [[Tribal sovereignty in the United States|sovereignty rights]], and there are 326 [[Native American reservations]]. Since the 1850s, the [[Democratic Party (United States)|Democratic]] and [[Republican Party (United States)|Republican]] parties have dominated [[American politics]], while [[Americanism (ideology)|American values]] are based on a democratic tradition inspired by the [[American Enlightenment]] movement.&lt;br /&gt;
&lt;br /&gt;
A [[developed country]], the [[International rankings of the United States|U.S. ranks]] high in economic competitiveness, innovation, and [[Higher education in the United States|higher education]]. Accounting for [[List of countries by GDP (nominal)|over a quarter]] of nominal global economic output, [[Economy of the United States|its economy]] has been the world&#039;s largest [[List of countries by largest historical GDP|since about 1890]]. It is the [[List of countries by total wealth|wealthiest country]], with the [[Disposable household and per capita income#Household disposable income per capita (OECD)|highest disposable household income per capita]] among [[OECD]] members, though [[Wealth inequality in the United States|its wealth inequality]] is one of the most pronounced in those countries. Shaped by centuries of immigration, the [[culture of the United States|culture of the U.S.]] is diverse and [[Americanization|globally influential]]. Making up [[List of countries with highest military expenditures|more than a third]] of global military spending, the country has [[United States Armed Forces|one of the strongest militaries]] and is a recognized [[nuclear state]]. A member of [[International organization membership of the United States|numerous international organizations]], the U.S. plays a major role in global political, cultural, economic, and military affairs.&lt;br /&gt;
&lt;br /&gt;
== Etymology ==&lt;br /&gt;
{{Further|Names of the United States|Demonyms for the United States|United Colonies|Naming of the Americas}}&lt;br /&gt;
Documented use of the phrase &amp;quot;United States of America&amp;quot; dates back to January 2, 1776. On that day, [[Stephen Moylan]], a [[Continental Army]] aide to General [[George Washington]], wrote a letter to [[Joseph Reed (politician)|Joseph Reed]], Washington&#039;s [[aide-de-camp]], seeking to go &amp;quot;with full and ample powers from the United States of America to Spain&amp;quot; to seek assistance in the [[American Revolutionary War|Revolutionary War]] effort.&amp;lt;ref name=&amp;quot;DeLear-20132&amp;quot;&amp;gt;{{cite news |last=DeLear |first=Byron |date=July 4, 2013 |title=Who coined &#039;United States of America&#039;? Mystery might have intriguing answer |url=https://www.csmonitor.com/USA/Politics/2013/0704/Who-coined-United-States-of-America-Mystery-might-have-intriguing-answer |work=[[The Christian Science Monitor]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last=Fay |first=John |date=July 15, 2016 |title=The forgotten Irishman who named the &#039;United States of America&#039; |url=https://www.irishcentral.com/roots/history/The-forgotten-Irishman-who-named-the-United-States-of-America.html |work=[[IrishCentral]]}}&amp;lt;/ref&amp;gt; The first known public usage is an [[Anonymous work|anonymous essay]] published in the [[Williamsburg, Virginia|Williamsburg]] newspaper &#039;&#039;[[The Virginia Gazette]]&#039;&#039; on April 6, 1776.&amp;lt;ref name=&amp;quot;DeLear-20132&amp;quot; /&amp;gt; Sometime on or after June 11, 1776, [[Thomas Jefferson]] wrote &amp;quot;United States of America&amp;quot; in a rough draft of the [[United States Declaration of Independence|Declaration of Independence]],&amp;lt;ref name=&amp;quot;DeLear-20132&amp;quot; /&amp;gt; which was adopted by the [[Second Continental Congress]] on July 4, 1776.&amp;lt;ref name=&amp;quot;Davis72&amp;quot;&amp;gt;[[#Davis96|Davis 1996]], p. 7.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The term &amp;quot;United States&amp;quot; and its initialism &amp;quot;U.S.&amp;quot;, used as nouns or as adjectives in English, are common short names for the country. The initialism &amp;quot;USA&amp;quot;, a noun, is also common.&amp;lt;ref&amp;gt;{{cite web |title=Is USA A Noun Or Adjective? |url=https://www.dictionary.com/e/is-usa-a-noun/ |website=Dictionary.com |date=March 9, 2017 |access-date=July 3, 2025 |archive-date=September 20, 2020 |archive-url=https://web.archive.org/web/20200920175638/https://www.dictionary.com/e/is-usa-a-noun/ |url-status=dead }}&amp;lt;/ref&amp;gt; &amp;quot;United States&amp;quot; and &amp;quot;U.S.&amp;quot; are the established terms throughout the [[Federal government of the United States|U.S. federal government]], with prescribed rules.{{efn|The official [[U.S. Government Publishing Office Style Manual]] has prescribed specific usages for &amp;quot;U.S.&amp;quot; and &amp;quot;United States&amp;quot; as part of official names. In &amp;quot;formal writing (treaties, Executive orders, proclamations, etc.); congressional bills; legal citations and courtwork; and covers and title pages&amp;quot;,&amp;lt;ref name=&amp;quot;gpo-stylemanual&amp;quot; /&amp;gt; &amp;quot;United States&amp;quot; is always used. In a sentence containing the name of another country, &amp;quot;United States&amp;quot; must be used. Otherwise, &amp;quot;U.S.&amp;quot; is used preceding a government organization or as an adjective, but &amp;quot;United States&amp;quot; is used as an adjective preceding non-governmental organizations (e.g. [[United States Steel Corporation]]).&amp;lt;ref name=&amp;quot;gpo-stylemanual&amp;quot;&amp;gt;{{cite book |title=U.S. Government Publishing Office Style Manual |date=January 12, 2017 |pages=222–223 |url=https://www.govinfo.gov/app/details/GPO-STYLEMANUAL-2016/ |access-date=September 3, 2020}}&amp;lt;/ref&amp;gt;}} &amp;quot;The States&amp;quot; is an established colloquial shortening of the name, used particularly from abroad;&amp;lt;ref&amp;gt;{{cite dictionary |dictionary=Longman dictionary |title=&amp;quot;The States&amp;quot; |url=https://www.ldoceonline.com/dictionary/the-states |access-date=September 27, 2024}}&amp;lt;/ref&amp;gt; &amp;quot;stateside&amp;quot; is the corresponding adjective or adverb.&amp;lt;ref&amp;gt;{{Cite dictionary |date=September 27, 2024 |title=Stateside |url=https://www.merriam-webster.com/dictionary/stateside |access-date=October 4, 2024 |dictionary=Merriam-Webster}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;{{vanchor|America}}&amp;quot; is the feminine form of the first word of {{lang|la|Americus Vesputius}}, the Latinized name of Italian explorer [[Amerigo Vespucci]] (1454–1512); it was first used as a place name by the German cartographers [[Martin Waldseemüller]] and [[Matthias Ringmann]] in 1507.&amp;lt;ref&amp;gt;{{cite encyclopedia |url=https://www.britannica.com/EBchecked/topic/626894/Amerigo-Vespucci |title=Amerigo Vespucci |encyclopedia=Encyclopædia Britannica |access-date=July 7, 2011 |archive-date=July 10, 2012 |archive-url=https://web.archive.org/web/20120710004308/http://www.britannica.com/EBchecked/topic/626894/Amerigo-Vespucci |url-status=live}}&amp;lt;/ref&amp;gt;{{efn|&#039;&#039;Americus&#039;&#039; comes from the [[Medieval Latin]] name {{Lang|la-x-medieval|Emericus}} (for [[Saint Emeric of Hungary]]), itself derived from the Old High German name [[Emmerich (name)|Emmerich]].}} Vespucci first proposed that the [[West Indies]] discovered by [[Christopher Columbus]] in 1492 were part of a previously unknown landmass and not among the Indies at the eastern limit of Asia.&amp;lt;ref&amp;gt;{{cite book |first=Sandra |last=Sider |title=Handbook to Life in Renaissance Europe |url=https://books.google.com/books?id=JtYy67FsRosC&amp;amp;pg=PA226 |page=226 |year=2007 |publisher=Oxford University Press |isbn=978-0-19-533084-7}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last1=Szalay |first1=Jessie |title=Amerigo Vespucci: Facts, Biography &amp;amp; Naming of America |url=https://www.livescience.com/42510-amerigo-vespucci.html |publisher=[[Live Science]] |access-date=June 23, 2019 |date=September 20, 2017}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;locnamingofamerica&amp;quot;&amp;gt;{{cite web |last1=Allen |first1=Erin |title=How Did America Get Its Name? |url=https://blogs.loc.gov/loc/2016/07/how-did-america-get-its-name/#:~:text=America%20is%20named%20after%20Amerigo,part%20of%20a%20separate%20continent |website=Library of Congress Blog |access-date=September 3, 2020 |date=July 4, 2016}}&amp;lt;/ref&amp;gt; In English, [[Americas (terminology)|the term &amp;quot;America&amp;quot;]] usually does not refer to topics unrelated to the United States, despite the usage of &amp;quot;the [[Americas]]&amp;quot; to describe the totality of the continents of [[North America|North]] and [[South America]].&amp;lt;ref&amp;gt;{{cite book |last1=Wilson |first1=Kenneth G. |publisher=Columbia University Press |title=The Columbia guide to standard American English |location=New York |date=1993 |isbn=978-0-231-06989-2 |pages=27–28}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
{{Main|History of the United States}}&lt;br /&gt;
{{For outline|Outline of the history of the United States}}&lt;br /&gt;
&lt;br /&gt;
=== Indigenous peoples ===&lt;br /&gt;
{{Main|History of Native Americans in the United States|Pre-Columbian era}}&lt;br /&gt;
[[File:Extreme Makeover, Mesa Verde Edition - panoramio.jpg|thumb|left|[[Cliff Palace]], a settlement of [[Ancestral Puebloans|ancestors of]] the [[Native Americans in the United States|Native American]] [[Pueblo peoples]] in present-day [[Montezuma County, Colorado]], built between {{Circa|1200 and 1275}}&amp;lt;ref&amp;gt;[https://coloradoencyclopedia.org/article/cliff-palace &amp;quot;Cliff Palace&amp;quot;] at Colorado Encyclopedia. Retrieved January 31, 2024.&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
The [[Paleo-Indians|first inhabitants of North America]] migrated from [[Siberia]] over 12,000 years ago, either across the [[Bering land bridge]] or along the [[Coastal migration (Americas)|now-submerged Ice Age coastline]].{{sfn|Erlandson|Rick|Vellanoweth|2008|p=19}}{{sfn|Savage|2011|pages=55-58}} The [[Clovis culture]], which appeared around 11,000 BC, is believed to be the first widespread culture in the Americas.{{sfn|Waters|Stafford|2007|pages=1122–1126}}{{sfn|Flannery|2015|pages=173–185}} Over time, Indigenous North American cultures grew increasingly sophisticated, and some, such as the [[Mississippian culture]], developed [[Eastern Agricultural Complex|agriculture]], [[Southeastern Ceremonial Complex|architecture]], and [[complex societies]].{{sfn|Lockard|2010|page=315}} In the [[History of Native Americans in the United States#Post-Archaic stage|post-archaic period]], the Mississippian cultures were located in the [[Midwestern United States|midwestern]], [[Eastern United States|eastern]], and [[Southern United States|southern]] regions, and the [[Algonquian peoples|Algonquian]] in the [[Great Lakes region]] and along the [[East Coast of the United States|Eastern Seaboard]], while the [[Hohokam culture]] and [[Ancestral Puebloans]] inhabited the [[American Southwest|southwest]].&amp;lt;ref&amp;gt;{{cite book |last=Johansen |first=Bruce |title=The Native Peoples of North America: A History, Volume 1 |year=2006 |publisher=Rutgers University Press |isbn=978-0-8135-3899-0 |url=https://books.google.com/books?id=yiKgBuSUPUIC&amp;amp;dq=native+american+history+archaic+period&amp;amp;pg=PA51}}&amp;lt;/ref&amp;gt; [[Population history of the Indigenous peoples of the Americas|Native population estimates]] of what is now the United States before the arrival of European immigrants range from around 500,000{{sfn|Thornton|1998|page=34}}{{sfn|Perdue|Green|2005|page=40}} to nearly 10 million.{{sfn|Perdue|Green|2005|page=40}}{{sfn|Haines|Haines|Steckel|2000|page=12}}&lt;br /&gt;
&lt;br /&gt;
=== European exploration, colonization and conflict (1513&amp;amp;ndash;1765) ===&lt;br /&gt;
{{Main|Colonial history of the United States|Colonial American military history}}&lt;br /&gt;
[[File:Nouvelle-France map-en.svg|thumb|The [[Colonial history of the United States|colonial possessions]] of [[British colonization of the Americas|Britain]] (the Thirteen Colonies in pink and others in purple), [[New France|France]] (in blue), and [[Kingdom of Spain|Spain]] (in orange) in North America, 1750|upright=1.3]]&lt;br /&gt;
&lt;br /&gt;
[[Christopher Columbus]] began exploring the [[Caribbean]] for Spain in 1492, leading to [[Spanish Empire|Spanish-speaking settlements and missions]] from what are now [[Puerto Rico]] and [[Spanish Florida|Florida]] to [[Santa Fe de Nuevo México|New Mexico]] and [[Alta California|California]]. The first Spanish colony in the present-day continental United States was [[Spanish Florida]], chartered in 1513.&amp;lt;ref name=&amp;quot;Galloway2006&amp;quot;&amp;gt;{{cite book |author=Ralph H. Vigil |editor=Patricia Kay Galloway |title=The Hernando de Soto Expedition: History, Historiography, and &amp;quot;discovery&amp;quot; in the Southeast |chapter-url=https://books.google.com/books?id=zzGphaI83EUC&amp;amp;pg=PA329 |date=January 1, 2006 |publisher=U of Nebraska Press |isbn=0-8032-7132-8 |page=329 |chapter=The Expedition and the Struggle for Justice}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Hudson2018&amp;quot;&amp;gt;{{cite book |author=Charles M. Hudson |title=Knights of Spain, Warriors of the Sun: Hernando de Soto and the South&#039;s Ancient Chiefdoms |url=https://books.google.com/books?id=eapFDwAAQBAJ&amp;amp;pg=PA130 |date=January 15, 2018 |publisher=University of Georgia Pres|isbn=978-0-8203-5290-9 }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |last1=Davis |first1=Frederick T. |year=1932 |title=The Record of Ponce de Leon&#039;s Discovery of Florida, 1513 |url=http://palmm.digital.flvc.org/islandora/object/ucf%3A21231 |journal=The QUARTERLY Periodical of THE FLORIDA HISTORICAL SOCIETY |volume=XI |issue=1 |pages=5–6}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |author=Florida Center for Instructional Technology |url=https://fcit.usf.edu/florida/lessons/menendz/menendz1.htm |title=A Short History of Florida |date=2002 |publisher=University of South Florida |chapter=Pedro Menendez de Aviles Claims Florida for Spain}}&amp;lt;!--Online textbook for Florida public schools.--&amp;gt;&amp;lt;/ref&amp;gt; After several settlements failed there due to hunger and disease, Spain&#039;s first permanent town, [[Saint Augustine, Florida|Saint Augustine]], was founded in 1565.&amp;lt;ref&amp;gt;{{cite web |date=February 28, 2015 |title=Not So Fast, Jamestown: St. Augustine Was Here First |url=https://www.npr.org/2015/02/28/389682893/not-so-fast-jamestown-st-augustine-was-here-first |access-date=March 5, 2021 |publisher=NPR |language=en}}&amp;lt;/ref&amp;gt; France established its own settlements in [[French Florida]] in 1562, but they were either abandoned (Charlesfort, 1578) or destroyed by Spanish raids ([[Fort Caroline]], 1565); [[New France|permanent French settlements]] would be founded much later along the [[Great Lakes]] ([[Fort Pontchartrain du Détroit|Fort Detroit]], 1701), the [[Mississippi River]] (Saint Louis, 1764) and especially the [[Gulf of Mexico]] ([[New Orleans]], 1718).&amp;lt;ref name=&amp;quot;Petto20072&amp;quot;&amp;gt;{{cite book |author=Petto |first=Christine Marie |url=https://books.google.com/books?id=9ZiaAAAAQBAJ&amp;amp;pg=PA125 |title=When France Was King of Cartography: The Patronage and Production of Maps in Early Modern France |publisher=Lexington Books |year=2007 |isbn=978-0-7391-6247-7 |page=125}}&amp;lt;/ref&amp;gt; Early European colonies also included the thriving Dutch colony of [[New Nederland]] (settled 1626, present-day New York) and the small Swedish colony of [[New Sweden]] (settled 1638 in what is now Delaware). [[British colonization of the Americas|British colonization]] of the [[East Coast of the United States|East Coast]] began with the [[Colony of Virginia|Virginia Colony]] (1607) and the [[Plymouth Colony]] (Massachusetts, 1620).&amp;lt;ref name=&amp;quot;Jr.Selby20182&amp;quot;&amp;gt;{{cite book |last1=Seelye |first1=James E. Jr. |url=https://books.google.com/books?id=YgVnDwAAQBAJ&amp;amp;pg=PA344 |title=Shaping North America: From Exploration to the American Revolution &amp;amp;#91;3 volumes&amp;amp;#93; |last2=Selby |first2=Shawn |publisher=ABC-CLIO |year=2018 |isbn=978-1-4408-3669-5 |page=344}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;BellahSullivan20062&amp;quot;&amp;gt;{{cite book |last1=Bellah |first1=Robert Neelly |url=https://books.google.com/books?id=5DQHmykT6u4C&amp;amp;pg=PA220 |title=Habits of the Heart: Individualism and Commitment in American Life |last2=Madsen |first2=Richard |last3=Sullivan |first3=William M. |last4=Swidler |first4=Ann |last5=Tipton |first5=Steven M. |publisher=University of California Press |year=1985 |isbn=978-0-520-05388-5 |page=220 |ol=7708974M}}&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The [[Mayflower Compact]] in Massachusetts and the [[Fundamental Orders of Connecticut]] established precedents for representative [[self-governance]] and [[constitutionalism]] that would develop throughout the American colonies.&amp;lt;ref name=&amp;quot;Remini2–32&amp;quot;&amp;gt;{{Harvard citation no brackets|Remini|2007|pp=2–3}}.&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Johnson26–302&amp;quot;&amp;gt;{{Harvard citation no brackets|Johnson|1997|pp=26–30}}.&amp;lt;/ref&amp;gt; While European settlers in what is now the United States experienced conflicts with Native Americans, they also engaged in trade, exchanging European tools for food and animal pelts.&amp;lt;ref&amp;gt;[[#Ripper2008|Ripper, 2008]], p. 6.&amp;lt;/ref&amp;gt;{{efn|From the late 15th century, the [[Columbian exchange]] had been catastrophic for native populations throughout the Americas. It is estimated [[Virgin soil epidemic|that up to 95 percent of the Indigenous populations]], especially in the Caribbean, [[Native American disease and epidemics|perished from infectious diseases during the years following European colonization]];&amp;lt;ref&amp;gt;{{Cite journal |last1=Ehrenpreis |first1=Jamie E. |last2=Ehrenpreis |first2=Eli D. |date=April 2022 |title=A Historical Perspective of Healthcare Disparity and Infectious Disease in the Native American Population |journal=The American Journal of the Medical Sciences |volume=363 |issue=4 |pages=288–294 |doi=10.1016/j.amjms.2022.01.005 |issn=0002-9629 |pmc=8785365 |pmid=35085528}}&amp;lt;/ref&amp;gt; remaining populations were often displaced by European expansion.{{sfn|Joseph|2016 |page=590}}&amp;lt;ref&amp;gt;[[#Stannard|Stannard, 1993]] p. [[iarchive:americanholocaus00stan|xii]]&amp;lt;/ref&amp;gt;}} Relations ranged from close cooperation to warfare and massacres. The colonial authorities often pursued policies that forced Native Americans to adopt European lifestyles, including conversion to Christianity.&amp;lt;ref&amp;gt;[[#Ripper2008|Ripper, 2008]] p. 5&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[[#Calloway1998|Calloway, 1998]], p. 55&amp;lt;/ref&amp;gt; Along the eastern seaboard, settlers [[Slavery in the colonial history of the United States|trafficked African slaves]] through the [[Atlantic slave trade]].&amp;lt;ref&amp;gt;{{Cite book |last=Thomas |first=Hugh |url=https://archive.org/details/slavetradestoryo00thom/page/516 |title=The Slave Trade: The Story of the Atlantic Slave Trade: 1440{{ndash}}1870 |publisher=Simon and Schuster |year=1997 |isbn=0-684-83565-7 |pages=[https://archive.org/details/slavetradestoryo00thom/page/516 516] |url-access=registration}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The original [[Thirteen Colonies]]{{efn|[[Province of New Hampshire|New Hampshire]], [[Province of Massachusetts Bay|Massachusetts]], [[Connecticut Colony|Connecticut]], [[Colony of Rhode Island and Providence Plantations|Rhode Island]], [[Province of New York|New York]], [[Province of New Jersey|New Jersey]], [[Province of Pennsylvania|Pennsylvania]], [[Delaware Colony|Delaware]], [[Province of Maryland|Maryland]], [[Colony of Virginia|Virginia]], [[Province of North Carolina|North Carolina]], [[Province of South Carolina|South Carolina]], and [[Province of Georgia|Georgia]]}} that would later found the United States were administered as possessions of the [[British Empire]] by Crown-appointed governors,[[Category:Governors of the Thirteen Colonies]]&amp;lt;ref name=&amp;quot;BilhartzElliott20072&amp;quot;&amp;gt;{{cite book |author1=Bilhartz, Terry D. |url=https://archive.org/details/currentsinameric0000bilh |title=Currents in American History: A Brief History of the United States |author2=Elliott, Alan C. |publisher=M.E. Sharpe |year=2007 |isbn=978-0-7656-1817-7 |url-access=registration}}&amp;lt;/ref&amp;gt; though [[Colonial government in the Thirteen Colonies|local governments held  elections open to most white male property owners]].&amp;lt;ref name=&amp;quot;Wood19982&amp;quot;&amp;gt;{{cite book |author=Wood |first=Gordon S. |url=https://archive.org/details/creationofameric0000wood_r7v4 |title=The Creation of the American Republic, 1776–1787 |publisher=UNC Press Books |year=1998 |isbn=978-0-8078-4723-7 |page=263}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |last=Ratcliffe |first=Donald |year=2013 |title=The Right to Vote and the Rise of Democracy, 1787–1828 |journal=Journal of the Early Republic |volume=33 |issue=2 |page=220 |doi=10.1353/jer.2013.0033 |s2cid=145135025 |issn=0275-1275}}&amp;lt;/ref&amp;gt; The colonial population grew rapidly from Maine to Georgia, eclipsing Native American populations;&amp;lt;ref&amp;gt;[[#Walton|Walton, 2009]], pp. 38–39.&amp;lt;/ref&amp;gt; by the 1770s, the natural increase of the population was such that only a small minority of Americans had been born overseas.&amp;lt;ref&amp;gt;[[#Walton|Walton, 2009]], p. 35.&amp;lt;/ref&amp;gt; The colonies&#039; distance from Britain facilitated the entrenchment of self-governance,&amp;lt;ref&amp;gt;{{cite book |author=Otis |first=James |url=https://archive.org/details/cihm_52678 |title=The Rights of the British Colonies Asserted and Proved |year=1764}}&amp;lt;/ref&amp;gt; and the [[First Great Awakening]], a series of [[Christian revival]]s, fueled colonial interest in guaranteed [[Freedom of religion|religious liberty]].&amp;lt;ref&amp;gt;{{cite book |last1=Foner |first1=Eric |url=https://archive.org/details/storyofamericanf00fone |title=The Story of American Freedom |date=1998 |publisher=W.W. Norton |isbn=978-0-393-04665-6 |edition=1st |pages=[https://archive.org/details/storyofamericanf00fone/page/4 4]–5 |quote=story of American freedom. |url-access=registration}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===American Revolution and the early republic (1765&amp;amp;ndash;1800)===&lt;br /&gt;
{{Main|History of the United States (1776–1789)|History of the United States (1789–1815)|American Revolution}}&lt;br /&gt;
[[File:Declaration independence.jpg|alt=See caption|thumb|The &#039;&#039;[[Declaration of Independence (painting)|Declaration of Independence]]&#039;&#039; portrait depicts the &lt;br /&gt;
[[Committee of Five]] presenting [[United States Declaration of Independence|the Declaration]] to the [[Second Continental Congress|Continental Congress]] on June 28, 1776, in [[Philadelphia]].]]&lt;br /&gt;
Following their victory in the [[French and Indian War]], Britain began to assert greater control over local colonial affairs, resulting in [[American Revolution|colonial political resistance]]; one of the primary colonial grievances was a denial of their [[Rights of Englishmen|rights as Englishmen]], particularly the right to [[No taxation without representation|representation in the British government that taxed them]]. To demonstrate their dissatisfaction and resolve, the [[First Continental Congress]] met in 1774 and passed the [[Continental Association]], a colonial boycott of British goods that proved effective. The British attempt to then disarm the colonists resulted in the 1775 [[Battles of Lexington and Concord]], igniting the [[American Revolutionary War]]. At the [[Second Continental Congress]], the colonies appointed [[George Washington]] commander-in-chief of the [[Continental Army]], and created [[Committee of Five|a committee]] that named [[Thomas Jefferson]] to draft the [[United States Declaration of Independence|Declaration of Independence]]. Two days after passing the [[Lee Resolution]] to create an independent nation the Declaration was adopted on July 4, 1776.&amp;lt;ref name=&amp;quot;YoungNash20112&amp;quot;&amp;gt;{{cite book |author1=Fabian Young, Alfred |url=https://books.google.com/books?id=QEzaLJ4u_MEC&amp;amp;pg=PA4 |title=Revolutionary Founders: Rebels, Radicals, and Reformers in the Making of the Nation |author2=Nash, Gary B. |author3=Raphael, Ray |publisher=Random House Digital |year=2011 |isbn=978-0-307-27110-5 |pages=4–7}}&amp;lt;/ref&amp;gt; The [[American Enlightenment|political values of the American Revolution]] included [[liberty]], [[Natural rights and legal rights|inalienable individual rights]]; and the [[Popular sovereignty|sovereignty of the people]];&amp;lt;ref&amp;gt;Yick Wo vs. Hopkins, 118 U.S. 356, 370&amp;lt;/ref&amp;gt; supporting [[Republicanism in the United States|republicanism]] and rejecting [[monarchy]], [[aristocracy]], and all hereditary political power; [[civic virtue]]; and vilification of [[political corruption]].&amp;lt;ref&amp;gt;Richard Buel, &#039;&#039;Securing the Revolution: Ideology in American Politics, 1789–1815&#039;&#039; (1972)&amp;lt;/ref&amp;gt; The [[Founding Fathers of the United States]], who included Washington, Jefferson, [[John Adams]], [[Benjamin Franklin]], [[Alexander Hamilton]], [[John Jay]], [[James Madison]], [[Thomas Paine]], and many others, were inspired by [[Classical republicanism#Classical antecedents|Classical]], [[Renaissance philosophy|Renaissance]], and [[Age of Enlightenment#Politics|Enlightenment]] philosophies and ideas.&amp;lt;ref&amp;gt;Becker et al (2002), ch 1&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;SEoP-2006&amp;quot;&amp;gt;{{cite web |date=June 19, 2006 |title=Republicanism |url=https://plato.stanford.edu/entries/republicanism/ |access-date=September 20, 2022 |website=Stanford Encyclopedia of Philosophy}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Though in practical effect since its drafting in 1777, the [[Articles of Confederation]] [[Perpetual Union|and Perpetual Union]] was ratified in 1781 and formally established a decentralized government that operated until 1789.&amp;lt;ref name=&amp;quot;YoungNash20112&amp;quot; /&amp;gt; After the British surrender at the [[siege of Yorktown]] in 1781, American sovereignty was internationally recognized by the [[Treaty of Paris (1783)|Treaty of Paris]] (1783), through which the U.S. gained territory stretching west to the Mississippi River, north to present-day Canada, and south to [[Spanish Florida]].&amp;lt;ref&amp;gt;{{cite web |editor-last=Miller |editor-first=Hunter |title=British-American Diplomacy: The Paris Peace Treaty of September 30, 1783 |url=http://avalon.law.yale.edu/18th_century/paris.asp |publisher=The Avalon Project at Yale Law School}}&amp;lt;/ref&amp;gt; The [[Northwest Ordinance]] (1787) established the precedent by which the country&#039;s territory would expand with the [[Admission to the Union|admission of new states]], rather than the expansion of existing states.&amp;lt;ref&amp;gt;Shōsuke Satō, &#039;&#039;[https://books.google.com/books?id=PY0VAAAAYAAJ History of the land question in the United States]&#039;&#039;, Johns Hopkins University, (1886), p. 352&amp;lt;/ref&amp;gt; The [[Constitution of the United States|U.S. Constitution]] was drafted at the 1787 [[Constitutional Convention (United States)|Constitutional Convention]] to overcome the limitations of the Articles. It went into effect in 1789, creating a [[federal republic]] governed by [[Separation of powers under the United States Constitution|three separate branches]] that together ensured a system of [[checks and balances]].{{sfn|Foner|2020|p=524}} George Washington [[1788–89 United States presidential election|was elected]] the country&#039;s first president under the Constitution, and the [[United States Bill of Rights|Bill of Rights]] was adopted in 1791 to allay skeptics&#039; concerns about the power of the more centralized government.{{sfn|Foner|2020|pp=538-540}} [[George Washington&#039;s resignation as commander-in-chief|His resignation as commander-in-chief]] after the Revolutionary War and his later refusal to run for a third term as the country&#039;s first president established a precedent for the supremacy of civil authority in the United States and the [[Peaceful transition of power|peaceful transfer of power]].&amp;lt;ref name=&amp;quot;BoyerJr.20072&amp;quot;&amp;gt;[[#Boyer|Boyer, 2007]], pp. 192–193&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Westward expansion and Civil War (1800&amp;amp;ndash;1865)===&lt;br /&gt;
{{Main||History of the United States (1815–1849)|History of the United States (1849–1865)}}&lt;br /&gt;
[[File:U.S. Territorial Acquisitions.png|upright=1.3|thumb|[[Territorial evolution of the United States|Territorial expansion of the United States]]|alt=Historical territorial expansion of the United States]]&lt;br /&gt;
In the late 18th century, American settlers began to [[Territorial evolution of the United States|expand westward]] in larger numbers, many with a sense of [[manifest destiny]].&amp;lt;ref name=&amp;quot;MD20072&amp;quot;&amp;gt;{{Cite book |last1=Carlisle |first1=Rodney P. |title=Manifest destiny and the expansion of America |last2=Golson |first2=J. Geoffrey |date=2007 |publisher=ABC-CLIO |isbn=978-1-85109-834-7 |series=Turning Points in History Series |location=Santa Barbara, Calif. |page=238 |oclc=659807062}}&amp;lt;/ref&amp;gt;{{Sfn|McPherson|1988|p=41–46}} The [[Louisiana Purchase]] of 1803 from France nearly doubled the territory of the United States.&amp;lt;ref&amp;gt;{{cite web |title=Louisiana Purchase |url=https://www.nps.gov/jeff/historyculture/upload/louisiana_purchase.pdf |access-date=March 1, 2011 |archive-url=https://web.archive.org/web/20150329214632/https://www.nps.gov/jeff/learn/historyculture/upload/louisiana_purchase.pdf |archive-date=March 29, 2015 |url-status=dead |publisher=National Park Service}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Harriss |first=Joseph A. |title=How the Louisiana Purchase Changed the World |url=https://www.smithsonianmag.com/history/how-the-louisiana-purchase-changed-the-world-79715124/ |access-date=June 25, 2024 |website=Smithsonian Magazine |language=en}}&amp;lt;/ref&amp;gt; [[Origins of the War of 1812|Lingering issues with Britain remained]], leading to the [[War of 1812]], which was fought to a draw.&amp;lt;ref name=&amp;quot;Wait19992&amp;quot;&amp;gt;{{cite book |last=Wait |first=Eugene M. |url=https://books.google.com/books?id=puuQ30N0EsIC&amp;amp;pg=PA78 |title=America and the War of 1812 |publisher=Nova Publishers |year=1999 |isbn=978-1-56072-644-9 |page=78}}&amp;lt;/ref&amp;gt; [[Adams–Onís Treaty|Spain ceded Florida]] and its Gulf Coast territory in 1819.&amp;lt;ref name=&amp;quot;KloseJones19942&amp;quot;&amp;gt;{{cite book |author1=Klose, Nelson |url=https://archive.org/details/unitedstateshist00klos_0/page/150 |title=United States History to 1877 |author2=Jones, Robert F. |publisher=Barron&#039;s Educational Series |year=1994 |isbn=978-0-8120-1834-9 |page=[https://archive.org/details/unitedstateshist00klos_0/page/150 150]}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Missouri Compromise]] of 1820, which admitted [[Missouri]] as a [[Slave states and free states|slave state]] and [[Maine#Statehood|Maine]] as a free state, attempted to balance the desire of northern states to prevent the expansion of slavery into new territories with that of southern states to extend it there. Primarily, the compromise prohibited slavery in all other lands of the Louisiana Purchase north of the [[parallel 36°30′ north|36°30′ parallel]].&amp;lt;ref&amp;gt;{{Cite journal |last=Hammond |first=John Craig |date=March 2019 |title=President, Planter, Politician: James Monroe, the Missouri Crisis, and the Politics of Slavery |journal=Journal of American History |volume=105 |issue=4 |pages=843–867 |doi=10.1093/jahist/jaz002}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As Americans expanded further into territory inhabited by Native Americans, the [[Federal Indian Policy|federal government implemented policies]] of [[Indian removal]] or [[Cultural assimilation of Native Americans|assimilation]].&amp;lt;ref&amp;gt;{{Cite book |last=Frymer |first=Paul |title=Building an American empire: the era of territorial and political expansion |date=2017 |publisher=[[Princeton University Press]] |isbn=978-1-4008-8535-0 |location=Princeton, New Jersey |oclc=981954623}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Calloway |first=Colin G. |title=First peoples: a documentary survey of American Indian history |date=2019 |publisher=Bedford/St. Martin&#039;s, Macmillan Learning |isbn=978-1-319-10491-7 |edition=6th |location=Boston |oclc=1035393060}}&amp;lt;/ref&amp;gt; The most significant such legislation was the [[Indian Removal Act|Indian Removal Act of 1830]], a key policy of President [[Andrew Jackson]]. It resulted in the [[Trail of Tears]] (1830–1850), in which an estimated 60,000 Native Americans living east of the [[Mississippi River]] were forcibly removed and displaced to lands far to the west, causing 13,200 to 16,700 deaths along the forced march.{{Sfn|McPherson|1988|p=45}} Settler expansion as well as this influx of Indigenous peoples from the East resulted in the [[American Indian Wars]] west of the Mississippi.&amp;lt;ref&amp;gt;{{Cite book |last=Michno |first=Gregory |title=Encyclopedia of Indian Wars: Western Battles and Skirmishes, 1850–1890 |date=2003 |publisher=Mountain Press Publishing |isbn=978-0-87842-468-9}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;BillingtonRidge2001j2&amp;quot;&amp;gt;{{cite book |author1=Billington, Ray Allen |url=https://archive.org/details/westwardexpansio00bill/page/22 |title=Westward Expansion: A History of the American Frontier |author2=Ridge, Martin |publisher=UNM Press |year=2001 |isbn=978-0-8263-1981-4 |page=[https://archive.org/details/westwardexpansio00bill/page/22 22] |author-link2=Martin Ridge (historian)}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The United States [[Texas annexation|annexed the Republic of Texas]] in 1845,&amp;lt;ref name=&amp;quot;Morrison19992&amp;quot;&amp;gt;{{cite book |author=Morrison, Michael A. |url=https://books.google.com/books?id=YTaxzMlkVEMC&amp;amp;pg=PA13 |title=Slavery and the American West: The Eclipse of Manifest Destiny and the Coming of the Civil War |date=April 28, 1997 |publisher=University of North Carolina Press |isbn=978-0-8078-4796-1 |pages=13–21}}&amp;lt;/ref&amp;gt; and the 1846 [[Oregon Treaty]] led to U.S. control of the present-day [[Northwestern United States|American Northwest]].&amp;lt;ref name=&amp;quot;Kemp20102&amp;quot;&amp;gt;{{cite book |author=Kemp, Roger L. |url=https://books.google.com/books?id=JHawgM-WnlUC&amp;amp;pg=PA180 |title=Documents of American Democracy: A Collection of Essential Works |publisher=McFarland |year=2010 |isbn=978-0-7864-4210-2 |page=180 |access-date=October 25, 2015}}&amp;lt;/ref&amp;gt; Dispute with Mexico over Texas led to the [[Mexican–American War]] (1846&amp;amp;ndash;1848). After the victory of the U.S., Mexico recognized U.S sovereignty over Texas, [[New Mexico]], and [[California]] in the 1848 [[Mexican Cession]]; the cession&#039;s lands also included the future states of [[Nevada]], [[Colorado]] and [[Utah]].&amp;lt;ref name=&amp;quot;MD20072&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;McIlwraithMuller20012&amp;quot;&amp;gt;{{cite book |author1=McIlwraith, Thomas F. |url=https://archive.org/details/northamericahist00mcil/page/61 |title=North America: The Historical Geography of a Changing Continent |author2=Muller, Edward K. |publisher=Rowman &amp;amp; Littlefield |year=2001 |isbn=978-0-7425-0019-8 |page=[https://archive.org/details/northamericahist00mcil/page/61 61] |access-date=October 25, 2015}}&amp;lt;/ref&amp;gt; The [[California gold rush]] of 1848–1849 spurred a huge migration of white settlers to the Pacific coast, leading to even more confrontations with Native populations. One of the most violent, the [[California genocide]] of thousands of Native inhabitants, lasted into the mid-1870s.&amp;lt;ref&amp;gt;&lt;br /&gt;
* {{harvnb|Meyer|Snow|Snow|Cohen|Meyer|Thornton|Grinde|Dilworth|2001|loc=From 1800 to 1900}}: &amp;quot;The discovery of gold in California in 1848 proved a momentous watershed for native people in the West. Hordes of single men stampeded to find fortune. Unrestrained by family, community, or church, they decimated the native population near the goldfields. California natives suffered the most complete genocide in U.S. history.&amp;quot;&lt;br /&gt;
* {{cite web |url=https://newsroom.ucla.edu/stories/revealing-the-history-of-genocide-against-californias-native-americans |title=Revealing the history of genocide against California&#039;s Native Americans |last=Wolf |first=Jessica |website=UCLA Newsroom |language=en |access-date=July 8, 2018}}&lt;br /&gt;
* {{Cite book |last=Madley |first=Benjamin |date=2016 |title=An American Genocide: The United States and the California Indian Catastrophe, 1846-1873. |publisher=Yale University Press |url=https://archive.org/details/americangenocide0000madl |url-access=registration |isbn=978-0-300-23069-7}}&lt;br /&gt;
* {{harvnb|Smithers|2012|p=339}}: &amp;quot;The genocidal intent of California settlers and government officials was acted out in numerous battles and massacres (and aided by technological advances in weaponry, especially after the Civil War), in the abduction and sexual abuse of Indian women, and in the economic exploitation of Indian child labourers&amp;quot;&lt;br /&gt;
* {{harvnb|Blackhawk|2023|p=38}}: &amp;quot;With these works, a near consensus emerged. By most scholarly definitions and consistent with the UN Convention, these scholars all asserted that genocide against at least some Indigenous peoples had occurred in North America following colonisation, perpetuated first by colonial empires and then by independent nation-states&amp;quot;&amp;lt;/ref&amp;gt; Additional western territories and states were created.&amp;lt;ref name=&amp;quot;Rawls1999&amp;quot;&amp;gt;{{cite book |author=Rawls, James J. |title=A Golden State: Mining and Economic Development in Gold Rush California |url=https://books.google.com/books?id=UPUsIaHZTm0C&amp;amp;pg=PA20 |year=1999 |publisher=University of California Press |isbn=978-0-520-21771-3 |page=20}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:US SlaveFree1858.gif|thumb|[[Slave states and free states]] in 1858]]&lt;br /&gt;
During the colonial period, [[Slavery in the colonial history of the United States|slavery had been legal in the American colonies]], becoming the main labor force in the [[Plantation complexes in the Southern United States|large-scale]], [[Antebellum South#Economic structure|agriculture-dependent economies]] of the [[Southern Colonies]] from Maryland to Georgia. The practice began to be significantly questioned during the American Revolution, {{sfnm|1a1=Walker Howe|1y=2007|1p=52–54|2a1=Wright|2y=2022}} and spurred by an active [[abolitionism in the United States|abolitionist movement]] that had reemerged in the 1830s, states in [[Northern United States|the North]] enacted laws to prohibit slavery within their boundaries.{{sfnm|1a1=Walker Howe|1y=2007|1p=52–54|2a1=Rodriguez|2y=2015|2p=XXXIV|3a1=Wright|3y=2022}} At the same time, [[Pro-slavery ideology in the United States|support for slavery had strengthened in Southern states]], with widespread use of inventions such as the [[cotton gin]] (1793) having made slavery immensely profitable for [[Planter class|Southern elites]].&amp;lt;ref&amp;gt;[[#Walton|Walton, 2009]], p. 43&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[[#Gordon|Gordon, 2004]], pp. 27, 29&amp;lt;/ref&amp;gt;{{sfn|Walker Howe|2007|p=478, 481–482, 587–588}} Throughout the 1850s, this [[Slave states and free states|sectional conflict regarding slavery]] was further inflamed by national legislation in the U.S. Congress and decisions of the Supreme Court. In Congress, the [[Fugitive Slave Act of 1850]] mandated the forcible return to their owners in the South of slaves taking refuge in non-slave states, while the [[Kansas&amp;amp;ndash;Nebraska Act]] of 1854 effectively gutted the anti-slavery requirements of the Missouri Compromise.&amp;lt;ref&amp;gt;{{cite web |title=Milestone documents: Kansas&amp;amp;ndash;Missouri Act (1854) |date=July 12, 2021 |url=https://www.archives.gov/milestone-documents/kansas-nebraska-act |agency=National Archives (Washington, D.C.) |access-date=January 5, 2025}}&amp;lt;/ref&amp;gt; In its [[Dred Scott v. Sandford|Dred Scott decision]] of 1857, the Supreme Court ruled against a slave brought into non-slave territory, simultaneously declaring the entire Missouri Compromise to be unconstitutional. These and other [[Origins of the American Civil War|events exacerbated tensions between North and South]] that would culminate in the [[American Civil War]] (1861–1865).&amp;lt;ref&amp;gt;{{cite book |last=Murray |first=Stuart |url=https://books.google.com/books?id=bJ_sy7mmmxQC&amp;amp;pg=PA76 |title=Atlas of American Military History |publisher=Infobase Publishing |year=2004 |isbn=978-1-4381-3025-5 |page=76 |access-date=October 25, 2015}} {{cite book |last=Lewis |first=Harold T. |url=https://books.google.com/books?id=kr-xNru5vZkC&amp;amp;pg=PA53 |title=Christian Social Witness |publisher=Rowman &amp;amp; Littlefield |year=2001 |isbn=978-1-56101-188-9 |page=53}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Woods 2012 pp. 415–4392&amp;quot;&amp;gt;{{cite journal |last=Woods |first=Michael E. |year=2012 |title=What Twenty-First-Century Historians Have Said about the Causes of Disunion: A Civil War Sesquicentennial Review of the Recent Literature |journal=The Journal of American History |volume=99 |issue=2 |pages=415–439 |doi=10.1093/jahist/jas272 |issn=0021-8723 |jstor=44306803}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beginning with [[South Carolina]], 11 slave-state governments voted to [[Secession in the United States|secede from the United States]] in 1861, joining to create the [[Confederate States of America]]. All other state governments remained loyal to [[Union (American Civil War)|the Union]].{{efn|The Confederate States of America was formed by the following states, each state government of which formally declared its [[Secession in the United States|secession]] from the United States: [[South Carolina in the American Civil War|South Carolina]], [[Mississippi in the American Civil War|Mississippi]], [[Florida in the American Civil War|Florida]], [[Alabama in the American Civil War|Alabama]], [[Georgia in the American Civil War|Georgia]], [[Louisiana in the American Civil War|Louisiana]], [[Texas in the American Civil War|Texas]], [[Virginia in the American Civil War|Virginia]], [[Arkansas in the American Civil War|Arkansas]], [[Tennessee in the American Civil War|Tennessee]], and [[North Carolina in the American Civil War|North Carolina]].}}&amp;lt;ref name=&amp;quot;Silkenat 2019 p. 252&amp;quot;&amp;gt;{{cite book |last=Silkenat |first=D. |url=https://books.google.com/books?id=nHWKDwAAQBAJ&amp;amp;pg=PA25 |title=Raising the White Flag: How Surrender Defined the American Civil War |publisher=University of North Carolina Press |year=2019 |isbn=978-1-4696-4973-3 |series=Civil War America |page=25 |access-date=April 29, 2023}}&amp;lt;/ref&amp;gt;{{Sfn|McPherson|1988|p=236}} War broke out in April 1861 after the Confederacy [[Battle of Fort Sumter|bombarded Fort Sumter]].&amp;lt;ref&amp;gt;{{cite book |last=Vinovskis |first=Maris |title=Toward A Social History of the American Civil War: Exploratory Essays |date=1990 |publisher=Cambridge University Press |isbn=978-0-521-39559-5 |location=Cambridge; New York |page=4}}&amp;lt;/ref&amp;gt;{{Sfn|McPherson|1988|pp=273–274}} Following the [[Emancipation Proclamation]] on January 1, 1863, many freed slaves joined the [[Union army]].&amp;lt;ref&amp;gt;{{cite web |url=https://www.archives.gov/education/lessons/blacks-civil-war/ |title=The Fight for Equal Rights: Black Soldiers in the Civil War |work=[[National Archives and Records Administration|U.S. National Archives and Records Administration]] |date=August 15, 2016 |quote=By the end of the Civil War, roughly 179,000 black men (10% of the Union army) served as soldiers in the U.S. Army and another 19,000 served in the Navy.}}&amp;lt;/ref&amp;gt; The war [[Turning point of the American Civil War|began to turn in the Union&#039;s favor]] following the 1863 [[Siege of Vicksburg]] and [[Battle of Gettysburg]], and the Confederates surrendered in 1865 after the Union&#039;s victory in the [[Battle of Appomattox Court House]].&amp;lt;ref&amp;gt;Davis, Jefferson. [https://archive.org/stream/ashorthistoryco00davigoog#page/n544/mode/2up/search/surrender+at+Appomattox &#039;&#039;A Short History of the Confederate States of America&#039;&#039;], 1890, 2010. {{ISBN|978-1-175-82358-8}}. Available free online as an ebook. Chapter LXXXVIII, &amp;quot;Re-establishment of the Union by force&amp;quot;, p. 503. Retrieved March 14, 2012.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Reconstruction, Gilded Age, and Progressive Era (1863&amp;amp;ndash;1917) ===&lt;br /&gt;
{{Main|History of the United States (1865–1917)}}&lt;br /&gt;
[[File:Emigrants (i.e. immigrants) landing at Ellis Island -.webm|thumb|left|An [[Edison Studios]] film showing immigrants arriving at [[Ellis Island]] in [[New York Harbor]], a major point of entry for European [[Immigration to the United States|immigrants]] in the late 19th and early 20th centuries&amp;lt;ref name=&amp;quot;PriceBenton-Short2008&amp;quot;&amp;gt;{{cite book |first1=Marie |last1=Price |first2=Lisa |last2=Benton-Short |title=Migrants to the Metropolis: The Rise of Immigrant Gateway Cities |url=https://books.google.com/books?id=_Tb5HMB63xAC&amp;amp;pg=PA51 |year=2008 |publisher=Syracuse University Press |isbn=978-0-8156-3186-6 |page=51}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |date=March 4, 2020 |title=Overview + History {{!}} Ellis Island |url=https://www.statueofliberty.org/ellis-island/overview-history/ |access-date=September 10, 2021 |website=Statue of Liberty &amp;amp; Ellis Island |language=en}}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Efforts toward [[Reconstruction era|reconstruction in the secessionist South]] had begun as early as 1862,{{sfn|Dubois|1935|p=163}} but it was only after [[Assassination of Abraham Lincoln|President Lincoln&#039;s assassination]] that the three [[Reconstruction Amendments]] to the Constitution were ratified [[Civil rights movement (1865–1896)|to protect civil rights]]. The amendments codified nationally the abolition of slavery and involuntary servitude except as punishment for crimes, promised equal protection under the law for all persons, and prohibited discrimination on the basis of race or previous enslavement.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.senate.gov/artandhistory/history/common/generic/CivilWarAmendments.htm|title=U.S. Senate: Landmark Legislation: Thirteenth, Fourteenth, &amp;amp; Fifteenth Amendments|website=www.senate.gov|access-date=January 3, 2021|archive-date=December 30, 2020|archive-url=https://web.archive.org/web/20201230082340/https://www.senate.gov/artandhistory/history/common/generic/CivilWarAmendments.htm|url-status=dead}}&amp;lt;/ref&amp;gt;{{sfn|Foner|1988|p=66-7, 251-261, 446-449}}&amp;lt;ref&amp;gt;{{Cite web|url=https://constitutioncenter.org/interactive-constitution/amendment/amendment-xv|title=The 15th Amendment of the U.S. Constitution|website=National Constitution Center – The 15th Amendment of the U.S. Constitution|language=en|access-date=January 3, 2020|archive-date=December 30, 2020|archive-url=https://web.archive.org/web/20201230082444/https://constitutioncenter.org/interactive-constitution/amendment/amendment-xv|url-status=live}}&amp;lt;/ref&amp;gt; As a result, African Americans took an active political role in ex-Confederate states in the decade following the Civil War.{{sfn|Foner|1988|p=xxv}}{{sfn|Dubois|1935|p=381-727}} The former Confederate states were readmitted to the Union, beginning with Tennessee in 1866 and ending with Georgia in 1870.&amp;lt;ref&amp;gt;{{cite news |last1=Glass |first1=Andrew |title=Tenn. is readmitted to the Union July 24, 1866 |url=https://www.politico.com/story/2008/07/tenn-is-readmitted-to-the-union-july-24-1866-011990 |access-date=May 11, 2021 |work=Politico |date=July 24, 2008}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|last1=Glass |first1=Andrew |title=Georgia is readmitted to Union July 15, 1870|date=July 15, 2014|work=Politico|url=https://www.politico.com/story/2014/07/georgia-civil-war-108886|access-date=April 12, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
National infrastructure, including [[First transcontinental telegraph|transcontinental telegraph]] and [[First transcontinental railroad|railroads]], spurred growth in the [[American frontier]]. This was accelerated by the [[Homestead Acts]], through which nearly 10 percent of the total land area of the United States was given away free to some 1.6 million homesteaders.&amp;lt;ref name=&amp;quot;Black2011kj2&amp;quot;&amp;gt;{{cite book |last=Black |first=Jeremy |url=https://books.google.com/books?id=EIst_CSWOqIC&amp;amp;pg=PA275 |title=Fighting for America: The Struggle for Mastery in North America, 1519–1871 |publisher=Indiana University Press |year=2011 |isbn=978-0-253-35660-4 |page=275 |author-link=Jeremy Black (historian)}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[https://www.archives.gov/education/lessons/homestead-act/ &#039;&#039;The Homestead Act of 1862&#039;&#039;]; Archives.gov&amp;lt;/ref&amp;gt; From 1865 through 1917, an unprecedented stream of [[immigrants]] arrived in the United States, including 24.4 million from Europe.&amp;lt;ref&amp;gt;U.S. Bureau of the Census, &#039;&#039;Historical Statistics of the United States&#039;&#039; (1976) series C89–C119, pp.&amp;amp;nbsp;105–109&amp;lt;/ref&amp;gt; Most came through the [[Port of New York and New Jersey|port of New York City]], and New York City and other large cities on the [[East Coast of the United States|East Coast]] became home to large [[History of the Jews in the United States|Jewish]], [[Irish Americans|Irish]], and [[Italian Americans|Italian]] populations, while many [[German Americans|Germans]] and Central Europeans moved to the [[Midwestern United States|Midwest]]. At the same time, about one million [[French-Canadian Americans|French Canadians]] migrated from [[Quebec]] to [[New England]].&amp;lt;ref&amp;gt;Stephan Thernstrom, ed., &#039;&#039;Harvard Encyclopedia of American Ethnic Groups&#039;&#039; (1980) covers the history of all the main groups&amp;lt;/ref&amp;gt; During the [[Great Migration (African American)|Great Migration]], millions of African Americans [[Jim Crow economy|left the rural South]] for urban areas in the North.&amp;lt;ref&amp;gt;{{Cite web |date=May 20, 2021 |title=The Great Migration (1910–1970) |url=https://www.archives.gov/research/african-americans/migrations/great-migration |publisher=National Archives}}&amp;lt;/ref&amp;gt; [[Alaska Purchase|Alaska was purchased]] from [[Russian Empire|Russia]] in 1867.&amp;lt;ref&amp;gt;{{cite web |title=Purchase of Alaska, 1867 |url=https://history.state.gov/milestones/1866-1898/alaska-purchase |access-date=December 23, 2014 |website=Office of the Historian |publisher=U.S. Department of State}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Compromise of 1877]] is generally considered the end of the Reconstruction era, as it resolved the electoral crisis following the [[1876 United States presidential election|1876 presidential election]] and led President [[Rutherford B. Hayes]] to reduce the role of federal troops in the South.{{sfn|Foner|1988|p=xxvii, 575-587}} Immediately, the [[Redeemers]] began evicting the [[Carpetbaggers]] and quickly regained local control of Southern politics in the name of [[white supremacy]].&amp;lt;ref&amp;gt;{{cite book |last=Woodward |first=C. Vann |title=Reunion and Reaction: The Compromise of 1877 and the End of Reconstruction |date=1991 |publisher=Oxford University Press |location=United Kingdom |pages=237–246}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |author1=Drew Gilpin Faust |author-link=Drew Gilpin Faust |author2=Eric Foner |author2-link=Eric Foner |author3=Clarence E. Walker |author3-link=Clarence E. Walker |title=White Southern Responses to Black Emancipation |url=https://www.pbs.org/wgbh/americanexperience/features/reconstruction-white-southern-responses-black-emancipation/ |work=[[American Experience]]}}&amp;lt;/ref&amp;gt; African Americans endured a period of heightened, overt racism following Reconstruction, a time often called the [[nadir of American race relations]].&amp;lt;ref name=&amp;quot;ReferenceA2&amp;quot;&amp;gt;{{cite book |last=Trelease |first=Allen W. |title=White Terror: The Ku Klux Klan Conspiracy and Southern Reconstruction |publisher=Harper &amp;amp; Row |year=1979 |isbn=0-313-21168-X |location=New York}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |author=Shearer Davis Bowman |url=https://archive.org/details/masterslordsmid10000bowm |title=Masters and Lords: Mid-19th-Century U.S. Planters and Prussian Junkers |publisher=Oxford UP |year=1993 |isbn=978-0-19-536394-4 |page=[https://archive.org/details/masterslordsmid10000bowm/page/221 221] |url-access=registration}}&amp;lt;/ref&amp;gt; A series of Supreme Court decisions, including &#039;&#039;[[Plessy v. Ferguson]]&#039;&#039;, emptied the [[Fourteenth Amendment to the United States Constitution|Fourteenth]] and [[Fifteenth Amendment to the United States Constitution|Fifteenth Amendment]]s of their force, allowing [[Jim Crow laws]] in the South to remain unchecked, [[sundown town]]s in the Midwest, and [[Racial segregation in the United States|segregation in communities across the country]], which would be reinforced by the policy of [[redlining]] later adopted by the federal [[Home Owners&#039; Loan Corporation]].&amp;lt;ref&amp;gt;{{cite journal |title=Plessy&#039;s Legacy: The Government&#039;s Role in the Development and Perpetuation of Segregated Neighborhoods |last=Ware |first=Leland |journal=RSF: The Russell Sage Foundation Journal of the Social Sciences |date=February 2021 |pages=92–109 |volume=7 |issue=1 |doi=10.7758/rsf.2021.7.1.06 |s2cid=231929202|doi-access=free }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Second Industrial Revolution|An explosion of technological advancement]] accompanied by the exploitation of cheap immigrant labor&amp;lt;ref&amp;gt;{{cite journal |last1=Hirschman |first1=Charles |last2=Mogford |first2=Elizabeth |date=December 1, 2009 |title=Immigration and the American Industrial Revolution From 1880 to 1920 |journal=Social Science Research |volume=38 |issue=4 |pages=897–920 |doi=10.1016/j.ssresearch.2009.04.001 |issn=0049-089X |pmc=2760060 |pmid=20160966}}&amp;lt;/ref&amp;gt; led to [[Gilded Age|rapid economic expansion during the late 19th and early 20th centuries]], allowing the United States to outpace the economies of England, France, and Germany combined.&amp;lt;ref&amp;gt;{{cite book |last1=Carson |first1=Thomas |last2=Bonk |first2=Mary |title=Gale Encyclopedia of U.S. Economic History |date=1999 |publisher=Gale |chapter=Industrial Revolution}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |last1=Riggs |first1=Thomas |title=Gale Encyclopedia of U.S. Economic History Vol. 3 |date=2015 |publisher=Gale |page=1179 |edition=2}}&amp;lt;/ref&amp;gt; This fostered the amassing of power by [[Robber baron (industrialist)|a few prominent industrialists]], largely by their formation of [[Trust (business)|trusts]] and [[Monopoly|monopolies]] to prevent competition.&amp;lt;ref name=&amp;quot;Atlantic2&amp;quot;&amp;gt;{{Cite journal |last=Dole |first=Charles F. |year=1907 |title=The Ethics of Speculation |journal=[[The Atlantic Monthly]] |volume=C |issue=December 1907 |pages=812–818}}&amp;lt;/ref&amp;gt; [[Tycoon]]s led the nation&#039;s expansion in the [[History of rail transportation in the United States|railroad]], [[History of the petroleum industry in the United States|petroleum]], and [[History of the steel industry (1850–1970)|steel]] industries. The United States emerged as a pioneer of the [[Automotive industry in the United States|automotive industry]].&amp;lt;ref&amp;gt;{{cite web |author1=The Pit Boss |date=February 26, 2021 |title=The Pit Stop: The American Automotive Industry Is Packed With History |url=https://pitstop.rumbleon.com/american-automotive-history |access-date=December 5, 2021 |website=Rumble On |archive-date=April 25, 2021 |archive-url=https://web.archive.org/web/20210425053945/https://pitstop.rumbleon.com/american-automotive-history }}&amp;lt;/ref&amp;gt; These changes resulted in significant increases in [[economic inequality]], [[How the Other Half Lives|slum conditions]], and [[List of incidents of civil unrest in the United States|social unrest]], creating the environment for [[Labor history of the United States|labor unions]] and [[History of the socialist movement in the United States|socialist movements]] to begin to flourish.&amp;lt;ref&amp;gt;Tindall, George Brown and Shi, David E. (2012). &#039;&#039;America: A Narrative History (Brief Ninth Edition) (Vol. 2).&#039;&#039; [[W. W. Norton &amp;amp; Company]]. {{ISBN|978-0-393-91267-8}}, p. 589.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[[#Zinn|Zinn, 2005]], pp. 321–357&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Fraser2&amp;quot;&amp;gt;{{cite book |last=Fraser |first=Steve |title=The Age of Acquiescence: The Life and Death of American Resistance to Organized Wealth and Power |publisher=[[Little, Brown and Company]] |year=2015 |isbn=978-0-316-18543-1 |page=66}}&amp;lt;/ref&amp;gt; This period eventually ended with the advent of the [[Progressive Era]], which was characterized by significant reforms.&amp;lt;ref name=&amp;quot;Aldrich2&amp;quot;&amp;gt;Aldrich, Mark. &#039;&#039;Safety First: Technology, Labor and Business in the Building of Work Safety, 1870-1939.&#039;&#039; Baltimore: Johns Hopkins University Press, 1997. {{ISBN|0-8018-5405-9}}.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=Progressive Era to New Era, 1900-1929 {{!}} U.S. History Primary Source Timeline {{!}} Classroom Materials at the Library of Congress {{!}} Library of Congress |url=https://www.loc.gov/classroom-materials/united-states-history-primary-source-timeline/progressive-era-to-new-era-1900-1929/overview/ |access-date=November 11, 2023 |website=Library of Congress, Washington, D.C. 20540 USA}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pro-American elements in Hawaii [[Overthrow of the Hawaiian Kingdom|overthrew the Hawaiian monarchy]]; the islands [[Newlands Resolution|were annexed]] in 1898. That same year, [[Puerto Rico]], [[the Philippines]], and [[Guam]] were ceded to the U.S. by Spain after the latter&#039;s defeat in the [[Spanish–American War]]. (The Philippines was granted full independence from the U.S. on July 4, 1946, following World War II. Puerto Rico and Guam have remained U.S. territories.)&amp;lt;ref&amp;gt;{{cite web |title=The Spanish–American War, 1898 |url=https://history.state.gov/milestones/1866-1898/spanish-american-war |access-date=December 24, 2014 |website=Office of the Historian |publisher=U.S. Department of State}}&amp;lt;/ref&amp;gt; [[American Samoa]] was acquired by the United States in 1900 after the [[Second Samoan Civil War]].&amp;lt;ref&amp;gt;Ryden, George Herbert. &#039;&#039;The Foreign Policy of the United States in Relation to Samoa&#039;&#039;. New York: Octagon Books, 1975.&amp;lt;/ref&amp;gt; The [[United States Virgin Islands|U.S. Virgin Islands]] were purchased from [[Denmark]] in 1917.&amp;lt;ref&amp;gt;{{cite web |title=Virgin Islands History |url=https://www.vinow.com/general_usvi/history/ |access-date=January 5, 2018 |publisher=Vinow.com}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== World War I, Great Depression, and World War II (1917&amp;amp;ndash;1945) ===&lt;br /&gt;
{{Main|History of the United States (1917–1945)}}&lt;br /&gt;
[[File:Trinity shot color (4x3 cropped).jpg|thumb|upright|The 1945 American [[Trinity (nuclear test)|Trinity test]], the first-ever detonation of a [[nuclear weapon]]]]&lt;br /&gt;
&lt;br /&gt;
The United States [[American entry into World War I|entered World War I]] alongside the [[Allies of World War I|Allies]] in 1917 helping to turn the tide against the [[Central Powers]].&amp;lt;ref&amp;gt;McDuffie, Jerome; Piggrem, Gary Wayne; Woodworth, Steven E. (2005). &#039;&#039;U.S. History Super Review&#039;&#039;. Piscataway, NJ: Research &amp;amp; Education Association. p. 418. {{ISBN|978-0-7386-0070-3}}.&amp;lt;/ref&amp;gt; In 1920, [[Nineteenth Amendment to the United States Constitution|a constitutional amendment]] granted nationwide [[Women&#039;s suffrage in the United States|women&#039;s suffrage]].&amp;lt;ref&amp;gt;{{Cite journal |last1=Larson |first1=Elizabeth C. |last2=Meltvedt |first2=Kristi R. |year=2021 |title=Women&#039;s suffrage: fact sheet |url=https://crsreports.congress.gov/product/details?prodcode=R45805 |journal=CRS Reports (Library of Congress. Congressional Research Service) |series=Report / Congressional Research Service |access-date=August 9, 2023}}&amp;lt;/ref&amp;gt; During the 1920s and 1930s, radio for [[mass communication]] and early television transformed communications nationwide.{{sfn|Winchester|2013|pp=410–411}} The [[Wall Street Crash of 1929]] triggered the [[Great Depression in the United States|Great Depression]], to which President [[Franklin D. Roosevelt]] responded with the [[New Deal]] plan of &amp;quot;reform, recovery and relief&amp;quot;, a series of unprecedented and sweeping [[Alphabet agencies|recovery programs]] and [[Works Progress Administration|employment relief projects]] combined with [[Regulatory economics|financial reforms and regulations]].&amp;lt;ref&amp;gt;{{cite book |last1=Axinn |first1=June |title=Social Welfare: A History of the American Response to Need |last2=Stern |first2=Mark J. |publisher=Allyn &amp;amp; Bacon |year=2007 |isbn=978-0-205-52215-6 |edition=7th |location=Boston}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |author=James Noble Gregory |url=https://books.google.com/books?id=qNdtGwnXYrIC |title=American Exodus: The Dust Bowl Migration and Okie Culture in California |publisher=Oxford University Press |year=1991 |isbn=978-0-19-507136-8 |access-date=October 25, 2015}} {{cite web |author=&amp;lt;!-- Staff writer(s); no by-line. --&amp;gt; |year=2013 |title=Mass Exodus From the Plains |url=https://www.pbs.org/wgbh/americanexperience/features/surviving-the-dust-bowl-mass-exodus-plains/ |access-date=October 5, 2014 |website=American Experience |publisher=WGBH Educational Foundation}} {{cite web |last1=Fanslow |first1=Robin A. |date=April 6, 1997 |title=The Migrant Experience |url=https://memory.loc.gov/ammem/afctshtml/tsme.html |access-date=October 5, 2014 |website=American Folklore Center |publisher=Library of Congress}} {{cite book |last=Stein |first=Walter J. |url=https://books.google.com/books?id=hGuGAAAAIAAJ |title=California and the Dust Bowl Migration |publisher=Greenwood Press |year=1973 |isbn=978-0-8371-6267-6 |access-date=October 25, 2015}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[United States non-interventionism before entering World War II|Initially neutral]] during [[Military history of the United States during World War II|World War II]], the U.S. began [[Lend-Lease|supplying war materiel]] to the [[Allies of World War II]] in March 1941 and [[American entry into World War II|entered the war]] in December after the [[Empire of Japan]]&#039;s [[attack on Pearl Harbor]].&amp;lt;ref name=&amp;quot;Pearl Harbor2&amp;quot;&amp;gt;{{cite web |last1=Yamasaki |first1=Mitch |title=Pearl Harbor and America&#039;s Entry into World War II: A Documentary History |url=https://www.hawaiiinternment.org/static/ush_yamasaki_documentary_history.pdf |archive-url=https://web.archive.org/web/20141213122046/https://www.hawaiiinternment.org/static/ush_yamasaki_documentary_history.pdf |archive-date=December 13, 2014 |access-date=January 14, 2015 |publisher=World War II Internment in Hawaii}}&amp;lt;/ref&amp;gt; The U.S. [[Manhattan Project|developed the first nuclear weapons]] and [[Atomic bombings of Hiroshima and Nagasaki|used them against the Japanese cities of Hiroshima and Nagasaki]] in August 1945, ending the war.&amp;lt;ref&amp;gt;{{Cite news |title=Why did Japan surrender in World War II? |language=en |newspaper=The Japan Times |url=https://www.japantimes.co.jp/opinion/2016/08/06/commentary/japan-surrender-world-war-ii/ |access-date=February 8, 2017}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Pacific War Research Society (2006). &#039;&#039;Japan&#039;s Longest Day&#039;&#039;. New York: Oxford University Press. {{ISBN|978-4-7700-2887-7}}.&amp;lt;/ref&amp;gt; The United States was one of the &amp;quot;[[Four Policemen]]&amp;quot; who met to plan the [[Aftermath of World War II|post-war world]], alongside the [[United Kingdom]], the [[Soviet Union]], and [[Republic of China (1912–1949)|China]].{{sfn|Hoopes|Brinkley|1997|p=100}}{{sfn|Gaddis|1972|p=25}} The U.S. emerged relatively unscathed from the war, with even greater [[economic power]] and [[Sphere of influence|international political influence]].&amp;lt;ref&amp;gt;Kennedy, Paul (1989). &#039;&#039;The Rise and Fall of the Great Powers&#039;&#039;. New York: Vintage. p. 358. {{ISBN|978-0-679-72019-5}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Cold War and social revolution (1945&amp;amp;ndash;1991) ===&lt;br /&gt;
{{Main|History of the United States (1945&amp;amp;ndash;1964)|History of the United States (1964–1980)|History of the United States (1980–1991)}}&lt;br /&gt;
[[File:Civil Rights March on Washington, D.C. (Leaders marching from the Washington Monument to the Lincoln Memorial) - NARA - 542010.jpg|thumb|Civil rights activists during the [[March on Washington for Jobs and Freedom]] in [[Washington, D.C.]] in August 1963]]&lt;br /&gt;
[[File:Reagan and Gorbachev signing.jpg|thumb|Soviet leader [[Mikhail Gorbachev]] and President [[Ronald Reagan]] sign the [[Intermediate-Range Nuclear Forces Treaty]] at the [[White House]] in 1987.  |alt=Mikhail Gorbachev and Ronald Reagan sign the Intermediate-Range Nuclear Forces Treaty at the White House in 1987. Gorbachev was the final leader of the Soviet Union before its dissolution in 1991.]]&lt;br /&gt;
The end of [[World War II]] in 1945 left the U.S. and the Soviet Union as [[superpower]]s, each with its own political, military, and economic [[sphere of influence]]. Geopolitical tensions between the two superpowers soon led to the [[Cold War]].&amp;lt;ref name=&amp;quot;Blakemore-20192&amp;quot;&amp;gt;{{cite web |last=Blakemore |first=Erin |date=March 22, 2019 |title=What was the Cold War? |url=https://www.nationalgeographic.com/culture/topics/reference/cold-war/ |archive-url=https://web.archive.org/web/20190401192349/https://www.nationalgeographic.com/culture/topics/reference/cold-war/ |archive-date=April 1, 2019 |access-date=August 28, 2020 |website=National Geographic |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Mark Kramer, &amp;quot;The Soviet Bloc and the Cold War in Europe,&amp;quot; in {{Cite book |url=https://books.google.com/books?id=EyNcCwAAQBAJ&amp;amp;pg=PT174 |title=A Companion to Europe Since 1945 |publisher=Wiley |year=2014 |isbn=978-1-118-89024-0 |editor-last=Larresm |editor-first=Klaus |page=79}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Sempa |first=Francis |url=https://books.google.com/books?id=Px4uDwAAQBAJ |title=Geopolitics: From the Cold War to the 21st Century |date=July 12, 2017 |publisher=Routledge |isbn=978-1-351-51768-3}}&amp;lt;/ref&amp;gt; The U.S. utilized the policy of [[containment]] to limit the USSR&#039;s sphere of influence, engaged in [[United States involvement in regime change#1945–1991: Cold War|regime change]] against governments perceived to be aligned with Moscow, and prevailed in the [[Space Race]], which culminated with the [[Apollo 11|first crewed Moon landing]] in 1969.&amp;lt;ref&amp;gt;[[#Blakeley|Blakeley, 2009]], [https://books.google.com/books?id=rft8AgAAQBAJ&amp;amp;lpg=PA92&amp;amp;pg=PA85#v=onepage&amp;amp;q&amp;amp;f=false pp. 85-96]&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Proxy2&amp;quot;&amp;gt;{{cite book |last=Collins |first=Michael |url=https://archive.org/details/liftoff00coll |title=Liftoff: The Story of America&#039;s Adventure in Space |publisher=Grove Press |year=1988 |isbn=978-0-8021-1011-4 |location=New York |author-link=Michael Collins (astronaut) |url-access=registration}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Domestically, the U.S. [[Post–World War II economic expansion|experienced economic growth]], [[Urbanization in the United States|urbanization]], and [[Mid-20th century baby boom|population growth following World War II]].{{sfn|Winchester|2013|pp=305–308}} The [[civil rights movement]] emerged, with [[Martin Luther King Jr.]] becoming a prominent leader in the early 1960s.&amp;lt;ref&amp;gt;{{cite web |title=The Civil Rights Movement |url=https://www.pbs.org/wgbh/americanexperience/features/eyesontheprize-milestones-civil-rights-movement/ |access-date=January 5, 2019 |publisher=PBS}}&amp;lt;/ref&amp;gt; The [[Great Society]] plan of President [[Lyndon B. Johnson]]&#039;s administration resulted in groundbreaking and broad-reaching laws, policies and [[Twenty-fourth Amendment to the United States Constitution|a constitutional amendment]] to counteract some of the worst effects of lingering [[institutional racism]].&amp;lt;ref&amp;gt;{{cite book |first=Alan |last=Brinkley |chapter=Great Society |title=The Reader&#039;s Companion to American History |date=January 24, 1991 |editor1=Eric Foner |editor2=John Arthur Garraty |isbn=0-395-51372-3 |publisher=Houghton Mifflin Books |page=472}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Counterculture of the 1960s|counterculture movement]] in the U.S. brought significant social changes, including the liberalization of attitudes toward [[recreational drug use]] and [[Sexual revolution|sexuality]].&amp;lt;ref&amp;gt;{{Cite web |date=August 25, 2022 |title=Playboy: American Magazine |url=https://www.britannica.com/topic/Playboy |access-date=February 2, 2023 |website=[[Encyclopædia Britannica]] |quote=...the so-called sexual revolution in the United States in the 1960s, marked by greatly more permissive attitudes toward sexual interest and activity than had been prevalent in earlier generations.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |author=Svetlana Ter-Grigoryan |date=February 12, 2022 |title=The Sexual Revolution Origins and Impact |url=https://study.com/learn/lesson/sexual-liberation-movement-origin-timeline-impact-revolution.html |access-date=April 27, 2023 |website=study.com}}&amp;lt;/ref&amp;gt; It also encouraged [[Draft evasion in the Vietnam War|open defiance of the military draft]] (leading to the [[Conscription in the United States|end of conscription]] in 1973)&amp;lt;ref&amp;gt;{{Cite web |date=2016-08-15 |title=Selective Service Records |url=https://www.archives.gov/st-louis/selective-service |access-date=2025-06-15 |website=National Archives |language=en}}&amp;lt;/ref&amp;gt; and [[Opposition to United States involvement in the Vietnam War|wide opposition]] to [[United States in the Vietnam War|U.S. intervention in Vietnam]], with the U.S. totally withdrawing in 1975.&amp;lt;ref&amp;gt;{{cite magazine |last=Levy |first=Daniel |date=January 19, 2018 |title=Behind the Protests Against the Vietnam War in 1968 |url=https://time.com/5106608/protest-1968/?amp=true |magazine=[[Time (magazine)|Time]] |access-date=May 5, 2021}}&amp;lt;/ref&amp;gt; [[Women&#039;s liberation movement in the United States|A societal shift in the roles of women]] was significantly responsible for the large increase in female paid labor participation during the 1970s, and by 1985 the majority of American women aged 16 and older were employed.&amp;lt;ref&amp;gt;{{cite web |title=Women in the Labor Force: A Databook |url=https://www.bls.gov/cps/wlf-databook-2012.pdf |publisher=U.S. Bureau of Labor Statistics |access-date=March 21, 2014 |page=11 |year=2013}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Revolutions of 1989|Fall of Communism]] and the [[dissolution of the Soviet Union]] from 1989 to 1991 marked the [[end of the Cold War]] and [[Superpower#After the Cold War|left the United States as the world&#039;s sole superpower]].&amp;lt;ref name=&amp;quot;Gaidar2&amp;quot;&amp;gt;{{cite book |last=Gaĭdar |first=E.T. |url={{GBUrl|bDSfnxYjVwAC |pg=PA102}} |title=Collapse of an Empire: Lessons for Modern Russia |publisher=[[Brookings Institution#Publications|Brookings Institution Press]] |year=2007 |isbn=978-0-8157-3114-6 |location=Washington, D.C. |pages=190–205}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |last=Howell |first=Buddy Wayne |title=The Rhetoric of Presidential Summit Diplomacy: Ronald Reagan and the U.S.-Soviet Summits, 1985–1988 |publisher=Texas A&amp;amp;M University |year=2006 |isbn=978-0-549-41658-6 |page=352}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |last=Kissinger |first=Henry |url=https://books.google.com/books?id=0IZboamhb5EC&amp;amp;pg=PA731 |title=Diplomacy |publisher=Simon &amp;amp; Schuster |year=2011 |isbn=978-1-4391-2631-8 |pages=781–784 |author-link=Henry Kissinger |access-date=October 25, 2015}} {{cite book |last=Mann |first=James |url=https://books.google.com/books?id=BgZyXNIrvB4C&amp;amp;pg=PT12 |title=The Rebellion of Ronald Reagan: A History of the End of the Cold War |publisher=Penguin |year=2009 |isbn=978-1-4406-8639-9 |page=432}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[[#Hayes|Hayes, 2009]]&amp;lt;/ref&amp;gt; This cemented the United States&#039; global influence, reinforcing the concept of the &amp;quot;[[American Century]]&amp;quot; as the U.S. dominated international political, cultural, economic, and military affairs.&amp;lt;ref&amp;gt;{{Cite web |last=Frum |first=David |date=December 24, 2014 |title=The Real Story of How America Became an Economic Superpower |url=https://www.theatlantic.com/international/archive/2014/12/the-real-story-of-how-america-became-an-economic-superpower/384034/ |access-date=December 10, 2024 |website=The Atlantic |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|url=http://www.politifact.com/texas/statements/2014/jun/13/ken-paxton/us-army-was-smaller-army-portugal-world-war-ii/|title=U.S. army was smaller than the army for Portugal before World War II|work=Politifact|access-date=January 23, 2018}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Contemporary (1991&amp;amp;ndash;present) ===&lt;br /&gt;
{{Main|History of the United States (1991–2016)|History of the United States (2016–present)}}&lt;br /&gt;
[[File:Explosion following the plane impact into the South Tower (WTC 2) - B6019~11.jpg|thumb|The [[World Trade Center (1973–2001)|Twin Towers]] in New York City during the [[September 11 attacks]] in 2001]]&lt;br /&gt;
[[File:2021 storming of the United States Capitol DSC09254-2 (50820534063) (retouched).jpg|thumb|Supporters of then-[[Donald Trump|President Trump]] attempting to stop the counting of [[electoral votes]] on [[January 6, 2021]]]]&lt;br /&gt;
&lt;br /&gt;
The 1990s saw the [[1990s United States boom|longest recorded economic expansion in American history]], a dramatic [[Crime in the United States#Crime over time|decline in U.S. crime rates]], and [[Technological and industrial history of the United States#Computers and information networks|advances in technology]]. Throughout this decade, technological innovations such as the [[World Wide Web]], the evolution of the [[Pentium (original)|Pentium]] microprocessor in accordance with [[Moore&#039;s law]], rechargeable [[Lithium-ion battery|lithium-ion batteries]], the first [[gene therapy]] trial, and [[cloning]] either emerged in the U.S. or were improved upon there. The [[Human Genome Project]] was formally launched in 1990, while [[Nasdaq]] became the first stock market in the United States to trade online in 1998.&amp;lt;ref&amp;gt;{{Cite web |last=((CFI Team)) |title=NASDAQ |url=https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/nasdaq/ |url-status=live |archive-url=https://web.archive.org/web/20231211163114/https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/nasdaq/ |archive-date=December 11, 2023 |access-date=December 11, 2023 |website=Corporate Finance Institute |language=en-US}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
In the [[Gulf War]] of 1991, [[Coalition of the Gulf War|an American-led international coalition of states]] expelled an [[Ba&#039;athist Iraq|Iraqi]] invasion force that had occupied neighboring [[Kuwait]].&amp;lt;ref&amp;gt;{{cite book |last=Holsti |first=Ole R. |author-link=Ole R. Holsti |title=American Public Opinion on the Iraq War |page=20 |chapter=The United States and Iraq before the Iraq War |date=November 7, 2011 |publisher=[[University of Michigan Press]] |isbn=978-0-472-03480-2}}&amp;lt;/ref&amp;gt; The [[September 11 attacks]] on the United States in 2001 by the [[Pan-Islamism|pan-Islamist]] militant organization [[al-Qaeda]] led to the [[war on terror]] and subsequent [[War in Afghanistan (2001–2021)|military interventions in Afghanistan]] and [[Iraq War|in Iraq]].&amp;lt;ref&amp;gt;{{cite news |author=Walsh, Kenneth T. |date=December 9, 2008 |title=The &#039;War on Terror&#039; Is Critical to President George W. Bush&#039;s Legacy |newspaper=U.S. News &amp;amp; World Report |url=https://www.usnews.com/news/articles/2008/12/09/the-war-on-terror-is-critical-to-president-george-w-bushs-legacy |access-date=March 6, 2013}} {{cite book |last=Atkins |first=Stephen E. |author-link=Stephen E. Atkins |url=https://books.google.com/books?id=PDDIgWRN_HQC&amp;amp;pg=PA210 |title=The 9/11 Encyclopedia: Second Edition |publisher=ABC-CLIO |year=2011 |isbn=978-1-59884-921-9 |page=872 |access-date=October 25, 2015}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last=Wong |first=Edward |date=February 15, 2008 |title=Overview: The Iraq War |newspaper=The New York Times |url=https://www.nytimes.com/ref/timestopics/topics_iraq.html |access-date=March 7, 2013}} {{cite book |last=Johnson |first=James Turner |url=https://books.google.com/books?id=SF7U27JsLC4C&amp;amp;q=iraq+invasion+removes+hussein |title=The War to Oust Saddam Hussein: Just War and the New Face of Conflict |publisher=Rowman &amp;amp; Littlefield |year=2005 |isbn=978-0-7425-4956-2 |page=159 |access-date=October 25, 2015}} {{cite news |author=Durando, Jessica |author2=Green, Shannon Rae |date=December 21, 2011 |title=Timeline: Key moments in the Iraq War |newspaper=USA Today |agency=Associated Press |url=https://usatoday30.usatoday.com/news/world/iraq/story/2011-12-21/iraq-war-timeline/52147680/1 |access-date=March 7, 2013 |archive-url=https://web.archive.org/web/20200904084312/https://usatoday30.usatoday.com/news/world/iraq/story/2011-12-21/iraq-war-timeline/52147680/1 |archive-date=September 4, 2020}}&amp;lt;/ref&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
The [[2000s United States housing bubble|U.S. housing bubble]] culminated in 2007 with the [[Great Recession]], the largest economic contraction since the Great Depression.&amp;lt;ref&amp;gt;{{Cite news |last1=Hilsenrath |first1=Jon |last2=Ng |first2=Serena |last3=Paletta |first3=Damian |date=September 18, 2008 |title=Worst Crisis Since &#039;30s, With No End Yet in Sight |work=[[The Wall Street Journal]] |url=https://www.wsj.com/articles/SB122169431617549947 |url-status=live |url-access=subscription |access-date=July 28, 2023 |archive-url=https://web.archive.org/web/20141225040616/https://www.wsj.com/articles/SB122169431617549947 |archive-date=December 25, 2014 |issn=1042-9840 |oclc=781541372}}&amp;lt;/ref&amp;gt; In the 2010s and early 2020s, the United States has experienced increased [[Political polarization in the United States|political polarization]] and [[Democratic backsliding in the United States|democratic backsliding]].&amp;lt;ref&amp;gt;{{Cite web |last=Geiger |first=Abigail |date=June 12, 2014 |title=Political Polarization in the American Public |url=https://www.pewresearch.org/politics/2014/06/12/political-polarization-in-the-american-public/ |access-date=June 30, 2024 |website=Pew Research Center |language=en-US}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last1=Murray |first1=Mark |last2=Marquez |first2=Alexandra |date=June 15, 2023 |title=Here&#039;s what&#039;s driving America&#039;s increasing political polarization |url=https://www.nbcnews.com/meet-the-press/meetthepressblog/s-s-driving-americas-increasing-political-polarization-rcna89559 |access-date=June 30, 2024 |website=NBC News |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal|last1=Lührmann|first1=Anna|authorlink=Anna Lührmann|last2=Lindberg|first2=Staffan I.|author2-link=Staffan I. Lindberg|title=A third wave of autocratization is here: what is new about it?|journal=Democratization|date=2019|volume=26|issue=7|page=1097|doi=10.1080/13510347.2019.1582029|s2cid=150992660|doi-access=free|quote=Now evidence is mounting that a global reversal is challenging a series of established democracies, including the United States who were downgraded by both Freedom House and V-Dem in 2018.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal|author1-last=Grumbach|author1-first=Jacob M.|date=December 1, 2021|title=Laboratories of Democratic Backsliding|journal=[[American Political Science Review]]|publisher=Published by [[Cambridge University Press]] on behalf of the [[American Political Science Association]]|volume=117|issue=3|pages=967-984|doi=10.1017/S0003055422000934|doi-access=free|issn=0003-0554|quote=Prominent cross-national measures of democracy from the Varieties of Democracy Project (V-Dem), Bright Line Watch, and Freedom House, which had once ranked the country as a global leader, show a U.S. democracy slipping toward &amp;quot;mixed regime&amp;quot; or &amp;quot;illiberal democracy&amp;quot; status.}}&amp;lt;/ref&amp;gt; The country&#039;s polarization was violently reflected in the [[January 6 United States Capitol attack|January 2021 Capitol attack]],&amp;lt;ref name=&amp;quot;Kleinfeld-2023&amp;quot;&amp;gt;{{cite web |last1=Kleinfeld |first1=Rachel |title=Polarization, Democracy, and Political Violence in the United States: What the Research Says |url=https://carnegieendowment.org/research/2023/09/polarization-democracy-and-political-violence-in-the-united-states-what-the-research-says?lang=en |website=Carnegie Endowment for International Peace |access-date=September 13, 2024 |date=September 5, 2023}}&amp;lt;/ref&amp;gt; when a mob of insurrectionists&amp;lt;ref name=&amp;quot;Pape-2022&amp;quot;&amp;gt;{{cite web |last1=Pape |first1=Robert |author1-link=Robert Pape |title=American Face of Insurrection: Analysis of Individuals Charged for Storming the US Capitol on January 6, 2021 |url=https://cpost.uchicago.edu/publications/american_face_of_insurrection/ |website=cpost.uchicago.edu |publisher=University of Chicago, Chicago Project on Security and Threats |access-date=September 13, 2024 |date=January 5, 2022}}&amp;lt;/ref&amp;gt; entered the [[United States Capitol|U.S. Capitol]] and sought to prevent the peaceful transfer of power&amp;lt;ref&amp;gt;{{cite news |last1=Rutenberg |first1=Jim |last2=Becker |first2=Jo |last3=Lipton |first3=Eric |last4=Haberman |first4=Maggie |last5=Martin |first5=Jonathan |last6=Rosenberg |first6=Matthew |last7=Schmidt |first7=Michael S. |title=77 Days: Trump&#039;s Campaign to Subvert the Election |url=https://www.nytimes.com/2021/01/31/us/trump-election-lie.html |work=The New York Times |date=January 31, 2021 |archive-url=https://archive.today/20220618170015/https://www.nytimes.com/2021/01/31/us/trump-election-lie.html |archive-date=June 18, 2022 |url-status=live}}&amp;lt;/ref&amp;gt; in an [[Self-coup#Notable events described as attempted self-coups|attempted self-coup d&#039;état]].&amp;lt;ref name=&amp;quot;Multiple Sources&amp;quot;&amp;gt;{{multiref2|{{Cite book |last=Harvey |first=Michael |url=https://www.taylorfrancis.com/chapters/edit/10.4324/9781003110361-1/introduction-michael-harvey |title=Donald Trump in Historical Perspective |date=2022 |publisher=Routledge |isbn=978-1-003-11036-1 |editor-last=Harvey |editor-first=Michael |chapter=Introduction: History&#039;s Rhymes |doi=10.4324/9781003110361-1 |quote=As with the Beer Hall Putsch, a would-be leader tried to take advantage of an already scheduled event (in Hitler&#039;s case, Kahr&#039;s speech; in Trump&#039;s, Congress&#039;s tallying of the electoral votes) to create a dramatic moment with himself at the center of attention, calling for bold action to upend the political order. Unlike Hitler&#039;s coup attempt, Trump already held top of office, so he was attempting to hold onto power, not seize it (the precise term for Trump&#039;s intended action is a &#039;self-coup&#039; or &#039;autogolpe&#039;). Thus, Trump was able to plan for the event well in advance, and with much greater control, including developing the legal arguments that could be used to justify rejecting the election&#039;s results.}} (p. 3)|{{cite journal |last1=Pion-Berlin |first1=David |last2=Bruneau |first2=Thomas |last3=Goetze |first3=Richard B. Jr. |date=April 7, 2022 |title=The Trump self-coup attempt: comparisons and civil–military relations |journal=Government and Opposition |volume=58 |issue=4 |pages=789–806 |doi=10.1017/gov.2022.13 |s2cid=248033246 |doi-access=free}}|{{cite journal |author1-last=Castañeda |author1-first=Ernesto |author2-last=Jenks |author2-first=Daniel |date=April 17, 2023 |title=January 6th and De-Democratization in the United States |editor-last1=Costa |editor-first1=Bruno Ferreira |editor-last2=Parton |editor-first2=Nigel |journal=Social Sciences |publisher=[[MDPI]] |volume=12 |issue=4 |page=238 |doi=10.3390/socsci12040238 |doi-access=free |issn=2076-0760 |quote=What the United States went through on January 6th was an attempt at a self-coup, where Trump would use force to stay as head of state even if abandoning democratic practices in the U.S. Some advised Trump to declare martial law to create a state of emergency and use that as an excuse to stay in power.}}|{{Cite report |url=https://www.brookings.edu/research/trump-on-trial/ |title=Trump on Trial: A Guide to the January 6 Hearings and the Question of Criminality |last1=Eisen |first1=Norman |last2=Ayer |first2=Donald |date=June 6, 2022 |publisher=Brookings Institution |language=en-US |quote=[Trump] tried to delegitimize the election results by disseminating a series of far fetched and evidence-free claims of fraud. Meanwhile, with a ring of close confidants, Trump conceived and implemented unprecedented schemes to{{snd}}in his own words{{snd}}&amp;quot;overturn&amp;quot; the election outcome. Among the results of this &amp;quot;Big Lie&amp;quot; campaign were the terrible events of January 6, 2021{{snd}}an inflection point in what we now understand was nothing less than an attempted coup. |last3=Perry |first3=Joshua |last4=Bookbinder |first4=Noah |last5=Perry |first5=E. Danya |access-date=December 16, 2023}}|{{cite court |litigants=Eastman v Thompson, et al. |opinion=8:22-cv-00099-DOC-DFM Document 260 |pinpoint=44 |court=S.D. Cal. |date=May 28, 2022 |url=https://storage.courtlistener.com/recap/gov.uscourts.cacd.841840/gov.uscourts.cacd.841840.260.0.pdf |access-date=December 16, 2023 |quote=Dr. Eastman and President Trump launched a campaign to overturn a democratic election, an action unprecedented in American history. Their campaign was not confined to the ivory tower{{snd}}it was a coup in search of a legal theory. The plan spurred violent attacks on the seat of our nation&#039;s government, led to the deaths of several law enforcement officers, and deepened public distrust in our political process... If Dr. Eastman and President Trump&#039;s plan had worked, it would have permanently ended the peaceful transition of power, undermining American democracy and the Constitution. If the country does not commit to investigating and pursuing accountability for those responsible, the Court fears January 6 will repeat itself.}}|{{Cite web |last=Graham |first=David A. |date=January 6, 2021 |title=This Is a Coup |url=https://www.theatlantic.com/ideas/archive/2021/01/attempted-coup/617570/ |url-status=live |archive-url=https://web.archive.org/web/20210106224049/https://www.theatlantic.com/ideas/archive/2021/01/attempted-coup/617570/ |archive-date=January 6, 2021 |access-date=December 16, 2023 |website=[[The Atlantic]]}}|{{Cite web |last=Musgrave |first=Paul |date=January 6, 2021 |title=This Is a Coup. Why Were Experts So Reluctant to See It Coming? |url=https://foreignpolicy.com/2021/01/06/coup-america-capitol-electoral-college-2020-election/ |url-status=live |archive-url=https://web.archive.org/web/20210106235812/https://foreignpolicy.com/2021/01/06/coup-america-capitol-electoral-college-2020-election/ |archive-date=January 6, 2021 |access-date=December 16, 2023 |website=Foreign Policy}}|{{Cite web |last=Solnit |first=Rebecca |date=January 6, 2021 |title=Call it what it was: a coup attempt |url=https://www.theguardian.com/commentisfree/2021/jan/06/trump-mob-storm-capitol-washington-coup-attempt |url-status=live |archive-url=https://web.archive.org/web/20210107000436/https://www.theguardian.com/commentisfree/2021/jan/06/trump-mob-storm-capitol-washington-coup-attempt |archive-date=January 7, 2021 |access-date=December 16, 2023 |website=The Guardian}}|{{Cite web |last=Coleman |first=Justine |date=January 6, 2021 |title=GOP lawmaker on violence at Capitol: &#039;This is a coup attempt&#039; |url=https://thehill.com/homenews/house/532944-gop-lawmaker-on-violence-at-capitol-this-is-a-coup-attempt |url-status=live |archive-url=https://web.archive.org/web/20210106212600/https://thehill.com/homenews/house/532944-gop-lawmaker-on-violence-at-capitol-this-is-a-coup-attempt |archive-date=January 6, 2021 |access-date=December 16, 2023 |website=[[The Hill (newspaper)|The Hill]]}}|{{Cite web |last=Jacobson |first=Louis |date=January 6, 2021 |title=Is this a coup? Here&#039;s some history and context to help you decide |url=https://www.politifact.com/article/2021/jan/06/coup-heres-some-history-and-context-help-you-decid/ |access-date=January 7, 2021 |website=[[PolitiFact]] |quote=A good case can be made that the storming of the Capitol qualifies as a coup. It&#039;s especially so because the rioters entered at precisely the moment when the incumbent&#039;s loss was to be formally sealed, and they succeeded in stopping the count.}}|{{Cite news |last1=Barry |first1=Dan |last2=Frenkel |first2=Sheera |date=January 7, 2021 |title=&#039;Be There. Will Be Wild!&#039;: Trump All but Circled the Date |work=[[The New York Times]] |url=https://www.nytimes.com/2021/01/06/us/politics/capitol-mob-trump-supporters.html |archive-url=https://ghostarchive.org/archive/20211228/https://www.nytimes.com/2021/01/06/us/politics/capitol-mob-trump-supporters.html |archive-date=December 28, 2021 |url-access=registration |url-status=live |access-date=December 16, 2023}}|{{cite encyclopedia |last=Duignan |first=Brian |date=August 4, 2021 |title=January 6 U.S. Capitol attack |url=https://www.britannica.com/event/January-6-U-S-Capitol-attack |url-status=live |access-date=September 22, 2021 |encyclopedia=[[Encyclopædia Britannica]] |quote=Because its object was to prevent a legitimate president-elect from assuming office, the attack was widely regarded as an insurrection or attempted coup d&#039;état. |language=en |archive-url=https://web.archive.org/web/20230117232629/https://www.britannica.com/event/January-6-U-S-Capitol-attack |archive-date=January 17, 2023}}}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Geography ==&lt;br /&gt;
{{Main|Geography of the United States}}&lt;br /&gt;
[[File:Uspaintedrelief.png|thumb|A [[topographic map]] of the United States]]&lt;br /&gt;
&lt;br /&gt;
The United States is the world&#039;s [[List of countries and dependencies by area|third-largest country]] by total area behind Russia and Canada.{{efn|name=largestcountry}} The 48 [[Contiguous United States|contiguous states and the District of Columbia]] have a combined area of {{convert|3,119,885|sqmi|km2|abbr=}}.&amp;lt;ref name=&amp;quot;CensusGov2010HTML&amp;quot;/&amp;gt;&amp;lt;ref&amp;gt;{{cite web |url=https://www.cia.gov/library/publications/the-world-factbook/fields/279.html#as |work=The World Factbook |publisher=cia.gov |title=Field Listing: Area |access-date=April 21, 2020 |archive-date=July 7, 2020 |archive-url=https://web.archive.org/web/20200707180005/https://www.cia.gov/library/publications/the-world-factbook/fields/279.html#as }}&amp;lt;/ref&amp;gt; In 2021, the United States had 8% of the Earth&#039;s permanent meadows and pastures and 10% of its cropland.&amp;lt;ref name=&amp;quot;Food and Agriculture Organization of the United Nations-2023&amp;quot;&amp;gt;{{Cite book |title=World Food and Agriculture – Statistical Yearbook 2023 |publisher=Food and Agriculture Organization of the United Nations |url=https://www.fao.org/documents/card/en?details=cc8166en |access-date=December 13, 2023 |date=2023 |language=en |doi=10.4060/cc8166en |isbn=978-92-5-138262-2}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Starting in the east, [[Atlantic Plain|the coastal plain]] of the [[Atlantic Ocean|Atlantic]] seaboard gives way to inland forests and rolling hills in the [[Piedmont (United States)|Piedmont]] plateau region.&amp;lt;ref&amp;gt;{{cite web |title=Geographic Regions of Georgia |url=https://georgiainfo.galileo.usg.edu/topics/geography/article/geographic-regions-of-georgia |website=Georgia Info |publisher=Digital Library of Georgia |access-date=December 24, 2014}}&amp;lt;/ref&amp;gt; The [[Appalachian Mountains]] and the [[Adirondack Mountains|Adirondack Massif]] separate the [[East Coast of the United States|East Coast]] from the [[Great Lakes]] and the grasslands of [[Midwestern United States|the Midwest]].&amp;lt;ref name=&amp;quot;NAU&amp;quot;&amp;gt;{{cite web |last=Lew |first=Alan |title=PHYSICAL GEOGRAPHY OF THE US |url=https://www.geog.nau.edu/courses/alew/gsp220/text/chapters/ch2.html |archive-url=https://web.archive.org/web/20160409112252/https://www.geog.nau.edu/courses/alew/gsp220/text/chapters/ch2.html |archive-date=April 9, 2016 |website=GSP 220—Geography of the United States |publisher=North Arizona University |access-date=December 24, 2014}}&amp;lt;/ref&amp;gt; The [[Mississippi River System]], the world&#039;s [[List of rivers by length|fourth-longest river system]], runs predominantly north–south through the center of the country. The flat and fertile [[prairie]] of the [[Great Plains]] stretches to the west, interrupted by [[U.S. Interior Highlands|a highland region]] in the southeast.&amp;lt;ref name=&amp;quot;NAU&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Grand Canyon (52931490880).jpg|thumb|The [[Grand Canyon]] in Arizona]]&lt;br /&gt;
&lt;br /&gt;
The [[Rocky Mountains]], west of the Great Plains, extend north to south across the country, peaking at over {{convert|14000|ft}} in [[Colorado]].&amp;lt;ref&amp;gt;{{cite web |last=Harms |first=Nicole |title=Facts About the Rocky Mountain Range |url=https://traveltips.usatoday.com/rocky-mountain-range-11967.html |work=USA Today |access-date=December 24, 2014 |archive-date=February 12, 2022 |archive-url=https://web.archive.org/web/20220212094150/https://traveltips.usatoday.com/rocky-mountain-range-11967.html }}&amp;lt;/ref&amp;gt; The [[supervolcano]] underlying [[Yellowstone National Park]] in the Rocky Mountains, the [[Yellowstone Caldera]], is the continent&#039;s largest volcanic feature.&amp;lt;ref&amp;gt;{{cite web |last=O&#039;Hanlon |first=Larry |title=America&#039;s Explosive Park |url=https://dsc.discovery.com/convergence/supervolcano/under/under.html |date=March 14, 2005 |archive-url=https://web.archive.org/web/20050314034001/https://dsc.discovery.com/convergence/supervolcano/under/under.html |archive-date=March 14, 2005 |publisher=Discovery Channel |access-date=April 5, 2016}}&amp;lt;/ref&amp;gt; Farther west are the rocky [[Great Basin]] and the [[Chihuahuan Desert|Chihuahuan]], [[Sonoran Desert|Sonoran]], and [[Mojave Desert|Mojave]] deserts.&amp;lt;ref&amp;gt;{{cite journal |last=Tinkham |first=Ernest R. |title=Biological, Taxonomic and Faunistic Studies on the Shield-Back Katydids of the North American Deserts |jstor=2421073 |doi=10.2307/2421073 |journal=[[The American Midland Naturalist]] |volume=31 |number=2 |date=March 1944 |pages=257–328 |publisher=The [[University of Notre Dame]]}}&amp;lt;/ref&amp;gt; In the northwest corner of [[Arizona]], carved by the [[Colorado River]], is the [[Grand Canyon]], a steep-sided canyon and popular tourist destination&amp;lt;ref&amp;gt;&lt;br /&gt;
{{cite web |title=Executive Summary of Grand Canyon Tourism |publisher=Northern Arizona University |url=http://www.nau.edu/hrm/ahrrc/reports/G_C_EXEC_SUMMARY.pdf#search=grandcanyon |archive-url=https://web.archive.org/web/20100928184338/http://www.nau.edu/hrm/ahrrc/reports/G_C_EXEC_SUMMARY.pdf#search=grandcanyon |archive-date=September 28, 2010 |format=PDF |access-date=January 4, 2007}}&amp;lt;/ref&amp;gt; known for its overwhelming visual size and intricate, colorful landscape. The [[Cascade Range|Cascade]] and [[Sierra Nevada]] mountain ranges run close to the [[West Coast of the United States|Pacific coast]]. The [[Extreme points of the United States|lowest and highest points in the contiguous United States]] are in the State of California,&amp;lt;ref&amp;gt;{{cite web |title=Mount Whitney, California |url=https://www.peakbagger.com/peak.aspx?pid=2829 |publisher=Peakbagger |access-date=December 24, 2014}}&amp;lt;/ref&amp;gt; about {{convert|84|mi|km}} apart.&amp;lt;ref&amp;gt;{{cite web |title=Find Distance and Azimuths Between 2 Sets of Coordinates (Badwater 36-15-01-N, 116-49-33-W and Mount Whitney 36-34-43-N, 118-17-31-W) |url=https://transition.fcc.gov/fcc-bin/distance?dlat=36&amp;amp;mlat=15&amp;amp;slat=01&amp;amp;ns=1&amp;amp;dlon=116&amp;amp;mlon=49&amp;amp;slon=33&amp;amp;ew=1&amp;amp;dlat2=36&amp;amp;mlat2=34&amp;amp;slat2=43&amp;amp;sn=1&amp;amp;dlon2=118&amp;amp;mlon2=17&amp;amp;slon2=31&amp;amp;we=1&amp;amp;iselec=1 |publisher=Federal Communications Commission |access-date=December 24, 2014}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At an elevation of {{convert|20310|ft|1}}, Alaska&#039;s [[Denali]] (also called Mount McKinley) is the highest peak in the country and on the continent.&amp;lt;ref&amp;gt;{{cite web |last=Poppick |first=Laura |title=US Tallest Mountain&#039;s Surprising Location Explained |date=August 28, 2013 |url=https://www.livescience.com/39245-us-tallest-mountain-location-explained.html |publisher=LiveScience |access-date=May 2, 2015}}&amp;lt;/ref&amp;gt; Active [[List of volcanoes in the United States|volcanoes in the U.S.]] are common throughout Alaska&#039;s [[Alexander Archipelago|Alexander]] and [[Aleutian Islands]]. Located entirely outside North America, the archipelago of Hawaii consists of volcanic islands, [[Physical geography|physiographically]] and [[Ethnology|ethnologically]] part of the [[Polynesia]]n subregion of [[Oceania]].&amp;lt;ref&amp;gt;{{cite web |title=Is Hawaii a Part of Oceania or North America? |url=https://www.worldatlas.com/articles/is-hawaii-a-part-of-oceania-or-north-america.html |url-status=live |website=WorldAtlas |date=January 12, 2018 |access-date=June 24, 2019 |archive-url=https://web.archive.org/web/20190711143815/https://www.worldatlas.com/articles/is-hawaii-a-part-of-oceania-or-north-america.html |archive-date=July 11, 2019}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Climate ===&lt;br /&gt;
{{Main|Climate of the United States}}&lt;br /&gt;
[[File:Köppen Climate Types US 50.png|thumb|upright=1.4|The [[Köppen climate classification|Köppen climate types]] of the United States]]&lt;br /&gt;
With its large size and geographic variety, the United States includes most climate types. East of the [[100th meridian west|100th meridian]], the climate ranges from [[humid continental climate|humid continental]] in the north to [[humid subtropical climate|humid subtropical]] in the south.&amp;lt;ref&amp;gt;{{cite web |last=Boyden |first=Jennifer |title=Climate Regions of the United States |url=https://traveltips.usatoday.com/climate-regions-united-states-21570.html |work=USA Today |access-date=December 24, 2014 |archive-date=February 12, 2022 |archive-url=https://web.archive.org/web/20220212094152/https://traveltips.usatoday.com/climate-regions-united-states-21570.html }}&amp;lt;/ref&amp;gt; The western Great Plains are [[Semi-arid climate|semi-arid]].&amp;lt;ref&amp;gt;{{cite journal |author=McGranahan, Devan Allen |author2=Wonkka, Carissa L. |title=Pyrogeography of the Western Great Plains: A 40-Year History of Fire in Semi-Arid Rangelands |journal=Fire |volume=7 |issue=1 |page=32 |year=2024 |doi=10.3390/fire7010032 |doi-access=free |bibcode=2024Fire....7...32M}}&amp;lt;/ref&amp;gt; Many mountainous areas of the American West have an [[alpine climate]]. The climate is [[Desert climate|arid]] in the Southwest, [[Mediterranean climate|Mediterranean]] in [[coastal California]], and [[oceanic climate|oceanic]] in coastal [[Oregon]], [[Washington (state)|Washington]], and southern [[Alaska]]. Most of Alaska is [[Subarctic climate|subarctic]] or [[Polar climate|polar]]. [[Hawaii]], the [[South Florida|southern tip of Florida]] and U.S. territories in the [[Caribbean]] and [[Pacific Ocean|Pacific]] are [[Tropical climate|tropical]].&amp;lt;ref&amp;gt;{{cite web |title=World Map of Köppen–Geiger Climate Classification |url=https://koeppen-geiger.vu-wien.ac.at/pdf/kottek_et_al_2006_A4.pdf |access-date=August 19, 2015 |archive-date=January 26, 2022 |archive-url=https://web.archive.org/web/20220126115149/http://koeppen-geiger.vu-wien.ac.at/pdf/kottek_et_al_2006_A4.pdf }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The United States receives more high-impact [[extreme weather]] incidents than any other country.&amp;lt;ref&amp;gt;{{cite web |title=USA has the world&#039;s most extreme weather |url=https://www.usatoday.com/story/weather/2013/05/16/extreme-weather-north-america/2162501/ |last=Rice |first=Doyle |website=USA Today |language=en |access-date=May 17, 2020}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Borenstein |first=Seth |date=April 2, 2023 |title=Why the U.S. is leading the world in extreme weather catastrophes |url=https://www.pbs.org/newshour/science/why-the-u-s-is-leading-the-world-in-extreme-weather-catastrophes |access-date=June 25, 2024 |website=PBS News |language=en-us}}&amp;lt;/ref&amp;gt; States bordering the [[Gulf of Mexico]] are prone to hurricanes, and most of the world&#039;s tornadoes [[Tornadoes in the United States|occur in the country]], mainly in [[Tornado Alley]].&amp;lt;ref&amp;gt;{{cite news |author=Perkins, Sid |date=May 11, 2002 |title=Tornado Alley, USA |url=https://www.sciencenews.org/articles/20020511/bob9.asp |archive-url=https://web.archive.org/web/20070701131631/https://www.sciencenews.org/articles/20020511/bob9.asp |archive-date=July 1, 2007 |access-date=September 20, 2006 |work=Science News}}&amp;lt;/ref&amp;gt; Due to [[Climate change in the United States|climate change in the country]], extreme weather has become more frequent in the U.S. in the 21st century, with three times the number of reported [[heat waves]] compared to the 1960s.&amp;lt;ref&amp;gt;{{Cite web |last=US Environmental Protection Agency |date=26 March 2025 |title=Climate Change Indicators: Weather and Climate |url=https://www.epa.gov/climate-indicators/weather-climate |archive-url=https://web.archive.org/web/20250530120153/https://www.epa.gov/climate-indicators/weather-climate |archive-date=30 May 2025 |access-date=2025-06-09 |website=www.epa.gov |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=US Environmental Protection Agency |date=18 April 2025 |title=Climate Change Indicators: Heat Waves |url=https://www.epa.gov/climate-indicators/climate-change-indicators-heat-waves |access-date=2025-06-09 |website=www.epa.gov |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=US Global Change Research Program |title=Heat Waves |url=http://www.globalchange.gov/indicators/heat-waves |archive-url=https://web.archive.org/web/20250630043645/https://globalchange.gov/indicators/heat-waves |archive-date=June 30, 2025 |access-date=2025-06-09 |website=www.globalchange.gov |language=en |url-status=bot: unknown }}&amp;lt;/ref&amp;gt; Since the 1990s, droughts in the [[Southwestern United States|American Southwest]] have become more persistent and more severe.&amp;lt;ref&amp;gt;{{Cite web |last=US EPA |first=OAR |date=December 2024 |title=A Closer Look: Temperature and Drought in the Southwest |url=https://www.epa.gov/climate-indicators/southwest |access-date=2025-06-19 |website=www.epa.gov |language=en}}&amp;lt;/ref&amp;gt; The regions considered as the most attractive to the population are the most vulnerable.&amp;lt;ref&amp;gt;{{cite web |last1=Waldron |first1=Lucas |last2=Lustgarten |first2=Abrahm |title=Climate Change Will Make Parts of the U.S. Uninhabitable. Americans Are Still Moving There. |url=https://www.propublica.org/article/climate-change-will-make-parts-of-the-u-s-uninhabitable-americans-are-still-moving-there |website=Propublica |date=November 10, 2020 |publisher=Rhodium Group |access-date=November 25, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Biodiversity and conservation ===&lt;br /&gt;
{{Main|Fauna of the United States|Flora of the United States}}&lt;br /&gt;
{{Anchor|Wildlife and conservation}}&lt;br /&gt;
[[File:Bald eagle about to fly in Alaska (2016).jpg|alt=A bald eagle|thumb|The [[bald eagle]], the [[Bald eagle#National symbol of the United States|national emblem of the United States]] since 1782 and officially declared the national bird in 2024&amp;lt;ref&amp;gt;{{cite web |last=Koch |first=Alexandra |title=It&#039;s official: Biden signs new law, designates bald eagle as &#039;national bird&#039; |publisher=FOX 13 Seattle |date=December 25, 2024 |url=https://www.fox13seattle.com/news/its-official-biden-signs-new-law-designates-bald-eagle-national-bird |access-date=December 25, 2024}}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
The U.S. is one of 17 [[megadiverse countries]] containing large numbers of [[List of endangered animals of North America|endemic species]]: about 17,000 species of [[vascular plant]]s occur in the contiguous United States and Alaska, and over 1,800 species of [[flowering plant]]s are found in Hawaii, few of which occur on the mainland.&amp;lt;ref&amp;gt;{{cite web |author=Morin, Nancy |url=https://www.fungaljungal.org/papers/National_Biological_Service.pdf |archive-url=https://web.archive.org/web/20130724222726/https://www.fungaljungal.org/papers/National_Biological_Service.pdf |title=Vascular Plants of the United States |website=Plants |publisher=National Biological Service |access-date=October 27, 2008 |archive-date=July 24, 2013}}&amp;lt;/ref&amp;gt; The United States is home to 428 [[mammal]] species, 784 birds, 311 reptiles, 295 [[amphibian]]s,&amp;lt;ref name=&amp;quot;Current Results # of native species in the US&amp;quot;&amp;gt;{{cite web |last1=Osborn |first1=Liz |title=Number of Native Species in United States |url=https://www.currentresults.com/Environment-Facts/Plants-Animals/number-of-native-species-in-united-states.php |publisher=Current Results Nexus |access-date=January 15, 2015}}&amp;lt;/ref&amp;gt; and around 91,000 insect species.&amp;lt;ref&amp;gt;{{cite web |url=https://www.si.edu/Encyclopedia_SI/nmnh/buginfo/bugnos.htm |title=Numbers of Insects (Species and Individuals) |publisher=Smithsonian Institution |access-date=January 20, 2009}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are [[List of national parks of the United States|63 national parks]], and [[Federal lands|hundreds of other federally managed]] parks, forests, and [[National Wilderness Preservation System|wilderness areas]], administered by the [[National Park Service]] and other agencies.&amp;lt;ref&amp;gt;{{cite web |title=National Park FAQ |url=https://www.nps.gov/aboutus/national-park-system.htm/index.htm |website=nps |publisher=National Park Service |access-date=May 8, 2015}}&amp;lt;/ref&amp;gt; About 28% of the country&#039;s land is publicly owned and federally managed,&amp;lt;ref name=&amp;quot;NYTimes Federal Land&amp;quot;&amp;gt;{{cite news |last1=Lipton |first1=Eric |last2=Krauss |first2=Clifford |title=Giving Reins to the States Over Drilling |url=https://www.nytimes.com/2012/08/24/us/romney-would-give-reins-to-states-on-drilling-on-federal-lands.html?pagewanted=2&amp;amp;_r=0 |access-date=January 18, 2015 |newspaper=The New York Times |date=August 23, 2012}}&amp;lt;/ref&amp;gt; primarily in the [[Western United States|Western States]].&amp;lt;ref name=&amp;quot;AKLeg CRS Federal Land&amp;quot;&amp;gt;{{Cite report |url=https://www.akleg.gov/basis/get_documents.asp?session=31&amp;amp;docid=47224 |title=Federal Land Ownership: Overview and Data |publisher=Congressional Research Service |date=March 3, 2017 |access-date=June 18, 2020 |last1=Vincent |first1=Carol H. |last2=Hanson |first2=Laura A. |last3=Argueta |first3=Carla N. |page=2}}&amp;lt;/ref&amp;gt; [[Protected areas of the United States|Most of this land is protected]], though some is leased for commercial use, and less than one percent is used for military purposes.&amp;lt;ref name=&amp;quot;Federal Land Ownership&amp;quot;&amp;gt;{{cite web |last1=Gorte |first1=Ross W. |last2=Vincent |first2=Carol Hardy. |last3=Hanson |first3=Laura A. |last4=Marc R. |first4=Rosenblum |title=Federal Land Ownership: Overview and Data |url=https://fas.org/sgp/crs/misc/R42346.pdf |website=fas.org |publisher=Congressional Research Service |access-date=January 18, 2015}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Fed Land Uses&amp;quot;&amp;gt;{{cite web |title=Chapter 6: Federal Programs to Promote Resource Use, Extraction, and Development |url=https://www.doi.gov/pmb/oepc/wetlands2/v2ch6.cfm |website=doi.gov |archive-url=https://web.archive.org/web/20150318005744/https://www.doi.gov/pmb/oepc/wetlands2/v2ch6.cfm |publisher=U.S. Department of the Interior |access-date=January 19, 2015 |archive-date=March 18, 2015}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Environmental issues in the United States]] include debates on [[non-renewable resource]]s and [[Nuclear power debate|nuclear energy]], [[Pollution prevention in the US|air and water pollution]], [[biodiversity]], logging and [[Deforestation in the United States|deforestation]],&amp;lt;ref&amp;gt;{{cite web |author=The National Atlas of the United States of America |url=https://www.nationalatlas.gov/articles/biology/a_forest.html |title=Forest Resources of the United States |publisher=Nationalatlas.gov |date=January 14, 2013 |access-date=January 13, 2014 |archive-url=https://web.archive.org/web/20090507195541/https://www.nationalatlas.gov/articles/biology/a_forest.html |archive-date=May 7, 2009}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |url=https://www.fs.fed.us/pnw/pubs/gtr587.pdf |title=Land Use Changes Involving Forestry in the United States: 1952 to 1997, With Projections to 2050 |year=2003 |access-date=January 13, 2014}}&amp;lt;/ref&amp;gt; and [[Climate change in the United States|climate change]].&amp;lt;ref&amp;gt;[[#Daynes|Daynes &amp;amp; Sussman, 2010]], pp. 3, 72, 74–76, 78&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Hays, Samuel P. (2000). &#039;&#039;A History of Environmental Politics since 1945&#039;&#039;.&amp;lt;/ref&amp;gt; The [[United States Environmental Protection Agency|U.S. Environmental Protection Agency]] (EPA) is the federal agency charged with [[Environmental policy of the United States|addressing most environmental-related issues]].&amp;lt;ref name=&amp;quot;Collin2006&amp;quot;&amp;gt;{{cite book |last=Collin |first=Robert W. |title=The Environmental Protection Agency: Cleaning Up America&#039;s Act |url=https://books.google.com/books?id=OVPoqXeTYTwC&amp;amp;pg=PA1 |year=2006 |publisher=Greenwood Publishing Group |isbn=978-0-313-33341-5 |page=1 |access-date=October 25, 2015}}&amp;lt;/ref&amp;gt; The [[National Wilderness Preservation System|idea of wilderness]] has shaped the management of public lands since 1964, with the [[Wilderness Act]].&amp;lt;ref&amp;gt;Turner, James Morton (2012). &#039;&#039;The Promise of Wilderness&#039;&#039;, pp. 29&amp;amp;ndash;32&amp;lt;/ref&amp;gt; The [[Endangered Species Act of 1973]] provides a way to protect threatened and endangered species and their habitats. The [[United States Fish and Wildlife Service]] implements and enforces the Act.&amp;lt;ref name=&amp;quot;Office&amp;quot;&amp;gt;{{cite book |title=Endangered species Fish and Wildlife Service |url=https://books.google.com/books?id=a8BEuUPJb58C&amp;amp;pg=PA1 |publisher=General Accounting Office, Diane Publishing |isbn=978-1-4289-3997-4 |pages=1–3, 42 |access-date=October 25, 2015 |year=2003}}&amp;lt;/ref&amp;gt; In 2024, the U.S. ranked 35th among 180 countries in the [[Environmental Performance Index]].&amp;lt;ref&amp;gt;{{Cite web |date=July 10, 2024 |title=Environmental Performance Index |url=https://epi.yale.edu/measure/2024/EPI |access-date=July 10, 2024 |website=epi.yale.edu}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Government and politics ==&lt;br /&gt;
{{Main|Politics of the United States}}&lt;br /&gt;
{{multiple image&lt;br /&gt;
| align             = right&lt;br /&gt;
| direction = vertical&lt;br /&gt;
| total_width       = 225&lt;br /&gt;
| image1            = Capitol Washington October 2016-1.jpg&lt;br /&gt;
| caption1 = The [[United States Capitol|Capitol Building]], seat of legislative government, houses both chambers of [[U.S. Congress|Congress]].&lt;br /&gt;
| image2            = White House lawn (long tightly cropped).jpg&lt;br /&gt;
|caption2 = The [[White House]], residence and workplace of the president, includes offices for [[Executive Office of the President of the United States|the executive staff]].&lt;br /&gt;
|image3 = Panorama of United States Supreme Court Building at Dusk.jpg&lt;br /&gt;
|caption3= The [[United States Supreme Court Building|Supreme Court Building]] houses the [[Supreme Court of the United States|nation&#039;s highest court]].}}&lt;br /&gt;
&lt;br /&gt;
The United States is a [[federal republic]] of 50 [[U.S. state|states]] and a federal capital district, [[Washington, D.C.]] The U.S. asserts sovereignty over five [[Territories of the United States|unincorporated territories]] and [[United States Minor Outlying Islands|several uninhabited island possessions]].&amp;lt;ref name=&amp;quot;HRI-2012&amp;quot;&amp;gt;{{multiref2|{{Cite web |publisher=U.S. State Department |url=https://2009-2017.state.gov/j/drl/rls/179780.htm |title=Common Core Document to U.N. Committee on Human Rights |date=December 30, 2011 |at=Item 22, 27, 80 |access-date=April 6, 2016}}|{{Cite web |publisher=U.S. General Accounting Office Report |url=https://www.gao.gov/archive/1998/og98005.pdf |title=U.S. Insular Areas: application of the U.S. Constitution |archive-url=https://web.archive.org/web/20131103093032/https://www.gao.gov/archive/1998/og98005.pdf |archive-date=November 3, 2013 |date=November 1997 |pages=1, 6, 39n |access-date=April 6, 2016}}&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;{{sfn|Onuf|2010|p=xvii}} It is the world&#039;s oldest surviving federation,&amp;lt;ref&amp;gt;{{Cite web |last=Desjardins |first=Jeff |date=August 8, 2019 |title=Mapped: The world&#039;s oldest democracies |url=https://www.weforum.org/agenda/2019/08/countries-are-the-worlds-oldest-democracies/ |access-date=June 25, 2024 |website=[[World Economic Forum]]}}&amp;lt;/ref&amp;gt; and its [[presidential system]] of national government has been adopted, in whole or in part, by many newly independent states worldwide following their [[decolonization]].&amp;lt;ref&amp;gt;{{cite book |last1=Ryan |first1=David |editor-first1=David |editor-first2=Victor |editor-last1=Ryan |editor-last2=Pungong |title=The United States and Decolonization |year=2000 |publisher=Springer |doi=10.1057/9780333977958 |hdl=1887/72726 |isbn=978-1-349-40644-9 |url=https://link.springer.com/book/10.1057/9780333977958}}&amp;lt;/ref&amp;gt; The [[Constitution of the United States]] serves as [[Supremacy Clause|the country&#039;s supreme legal document]].&amp;lt;ref&amp;gt;{{cite book |last=Burnham |first=William |title=Introduction to the Law and Legal System of the United States |edition=4th |date=2006 |publisher=Thomson West |location=St. Paul, Minnesota |page=41 |isbn=978-0-314-06661-9 |url=https://archive.org/details/introductiontola0000burn}}&amp;lt;/ref&amp;gt; Most scholars describe the United States as a [[liberal democracy]].&amp;lt;ref name=&amp;quot;Scheb&amp;quot;&amp;gt;Scheb, John M.; Scheb, John M. II (2002). &#039;&#039;An Introduction to the American Legal System&#039;&#039;. Florence, Kentucky: Delmar, p. 6. {{ISBN|978-0-7668-2759-2}}.&amp;lt;/ref&amp;gt;{{efn|Some scholars have used descriptions such as [[Oligarchy#United States|oligarchy]] or [[Plutocracy#Post-World War II|plutocracy]] instead.&amp;lt;ref&amp;gt;[https://web.archive.org/web/20020604015016/http://www.pbs.org/now/transcript/transcript_phillips.html Transcript. Bill Moyers Interviews Kevin Phillips]. &#039;&#039;[[NOW with Bill Moyers]]&#039;&#039; 4.09.04 | PBS&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book|first1=Peter|last1=Viereck|title=Conservative thinkers: from John Adams to Winston Churchill|year=2006|publisher=Transaction Publishers|location=New Brunswick, New Jersey|isbn=978-1412805261|pages=[https://archive.org/details/conservativethin00pete/page/103 103]|url=https://archive.org/details/conservativethin00pete/page/103}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Kroll 2010-12-02&amp;quot;&amp;gt;{{cite news |first=Andy |last=Kroll |title=The New American Oligarchy |date=December 2, 2010 |publisher=[[Truthout]] |url=http://archive.truthout.org/andy-kroll-the-new-american-oligarchy65597 |work=TomDispatch |access-date=August 17, 2012 |url-status=dead |archive-url=https://web.archive.org/web/20120122032008/http://archive.truthout.org/andy-kroll-the-new-american-oligarchy65597 |archive-date=January 22, 2012 }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite magazine |url=http://www.tnr.com/article/magazine/books-and-arts/106430/money-politics-inequality-power-one-percent-move-on-effect |title=America on the Brink of Oligarchy |magazine=The New Republic |date=August 24, 2012 |last1=Starr |first1=Paul}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;TAI 11-12/2011&amp;quot;&amp;gt; {{cite journal |title=Oligarchy and Democracy |url=http://www.the-american-interest.com/articles/2011/09/28/oligarchy-and-democracy/ |journal=[[The American Interest]] |date=November–December 2011 |orig-year=September 28, 2011 |first=Jeffrey A. |last=Winters |volume=7 |issue=2 |access-date=August 17, 2012}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;NYT-19980719&amp;quot;&amp;gt;{{cite news |last=Herbert |first=Bob |author-link=Bob Herbert |title=The Donor Class |url=https://www.nytimes.com/1998/07/19/opinion/in-america-the-donor-class.html |date=July 19, 1998 |work=[[The New York Times]] |access-date=March 10, 2016}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;NYT-20151010&amp;quot;&amp;gt;{{cite news |last1=Confessore |first1=Nicholas |last2=Cohen |first2=Sarah |last3=Yourish |first3=Karen |title=The Families Funding the 2016 Presidential Election |url=https://www.nytimes.com/interactive/2015/10/11/us/politics/2016-presidential-election-super-pac-donors.html |date=October 10, 2015 |work=[[The New York Times]] |access-date=March 10, 2016}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;NYT-20151010-el&amp;quot;&amp;gt;{{cite news |last1=Lichtblau |first1=Eric |last2=Confessore |first2=Nicholas |title=From Fracking to Finance, a Torrent of Campaign Cash – Top Donors List |url=https://www.nytimes.com/2015/10/11/us/politics/wealthy-families-presidential-candidates.html#donors-list |date=October 10, 2015 |work=[[The New York Times]] |access-date=March 11, 2016}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;CS-20141226&amp;quot;&amp;gt;{{cite news |last=McCutcheon |first=Chuck |title=Why the &#039;donor class&#039; matters, especially in the GOP presidential scrum |url=http://www.csmonitor.com/USA/Politics/Politics-Voices/2014/1226/Why-the-donor-class-matters-especially-in-the-GOP-presidential-scrum |date=December 26, 2014 |work=&amp;quot;[[The Christian Science Monitor]] |access-date=March 10, 2016}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;[[Thomas Piketty|Piketty, Thomas]] (2014). &#039;&#039;[[Capital in the Twenty-First Century]].&#039;&#039; [[Belknap Press]]. {{ISBN|067443000X}} p. 514 &amp;quot;The risk of a drift towards oligarchy is real and gives little reason for optimism about where the United States is headed.&amp;quot;&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |author=&amp;lt;!-- not stated --&amp;gt;|date=January 17, 2025|title=Is the U.S. witnessing the rise of oligarchy?|url=https://www.oxfamamerica.org/explore/issues/economic-justice/is-the-us-witnessing-the-rise-of-oligarchy/|website= |location= |publisher=[[Oxfam]] |access-date=July 22, 2025|quote=}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== National government ===&lt;br /&gt;
{{Main|Federal government of the United States}}&lt;br /&gt;
Composed of three branches, all headquartered in Washington, D.C., the federal government is the national government of the United States. The [[U.S. Constitution]] establishes a [[separation of powers]] intended to provide a system of [[checks and balances]] to prevent any of the three branches from becoming supreme.&amp;lt;ref&amp;gt;{{cite web |author=Killian, Johnny H. Ed |title=Constitution of the United States |url=https://www.senate.gov/civics/constitution_item/constitution.htm |access-date=February 11, 2012 |publisher=The Office of the Secretary of the Senate}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* The [[United States Congress|U.S. Congress]] is a [[bicameral legislature]] made up of the [[United States Senate|Senate]] and the [[United States House of Representatives|House of Representatives]]. The Senate has 100 members&amp;amp;mdash;two from each state and elected by that state’s voters for a six-year term. The House of Representatives has 435 members, elected for a two-year term by the constituency of the [[List of United States congressional districts|congressional district]] where they reside. A state’s legislature decides the district boundaries, which are contiguous within the state. Every U.S. congressional district is of equivalent population and sends one representative to Congress.&amp;lt;ref&amp;gt;{{cite web |title=The Senate and the House of Representatives: lesson overview (article) |url=https://www.khanacademy.org/humanities/us-government-and-civics/us-gov-interactions-among-branches/us-gov-congress-the-senate-and-the-house-of-representatives/a/lesson-summary-the-senate-and-the-house-of-representatives |website=Khan Academy |language=en}}&amp;lt;/ref&amp;gt; Election years for senators are staggered so that only one-third of them will be up for election every two years.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.dw.com/en/us-midterm-election-what-you-need-to-know/a-63656210|title=US midterm election: What you need to know – DW – 11/07/2022|website=dw.com|access-date=February 16, 2024|archive-date=February 16, 2024|archive-url=https://web.archive.org/web/20240216134445/https://www.dw.com/en/us-midterm-election-what-you-need-to-know/a-63656210|url-status=live}}&amp;lt;/ref&amp;gt; U.S. representatives are all up for election at the same time every two years. The U.S. Congress makes [[federal law]], [[declaration of war|declares war]], approves treaties, has the [[power of the purse]],&amp;lt;ref&amp;gt;{{cite web |title=The Legislative Branch |publisher=United States Diplomatic Mission to Germany |url=https://usa.usembassy.de/government-legislative.htm |access-date=August 20, 2012 |archive-date=November 15, 2021 |archive-url=https://web.archive.org/web/20211115122604/https://usa.usembassy.de/government-legislative.htm |url-status=dead }}&amp;lt;/ref&amp;gt; and has [[Impeachment in the United States|the power of impeachment]].&amp;lt;ref&amp;gt;{{cite web |title=The Process for impeachment |publisher=ThinkQuest |url=https://library.thinkquest.org/25673/process.htm |access-date=August 20, 2012 |archive-date=April 8, 2013 |archive-url=https://web.archive.org/web/20130408102119/https://library.thinkquest.org/25673/process.htm }}&amp;lt;/ref&amp;gt; One of its foremost non-legislative functions is [[Congressional investigation|the power to investigate]] and oversee the executive branch.&amp;lt;ref name=&amp;quot;tws2010Sep11t11&amp;quot;&amp;gt;{{cite news |author=Broder |first=David S. |date=March 18, 2007 |title=Congress&#039;s Oversight Offensive |url=https://www.washingtonpost.com/wp-dyn/content/article/2007/03/16/AR2007031601989.html |url-status=live |archive-url=https://web.archive.org/web/20110501115602/http://www.washingtonpost.com/wp-dyn/content/article/2007/03/16/AR2007031601989.html |archive-date=May 1, 2011 |access-date=September 11, 2010 |newspaper=The Washington Post}}&amp;lt;/ref&amp;gt; [[Congressional oversight]] is usually delegated to committees and is facilitated by Congress’s subpoena power.&amp;lt;ref name=&amp;quot;tws2010Sep11t13&amp;quot;&amp;gt;{{cite news |author=Ferraro |first=Thomas |date=April 25, 2007 |title=House committee subpoenas Rice on Iraq |url=https://www.reuters.com/article/idUSN2518728220070425 |url-status=live |archive-url=https://web.archive.org/web/20210114214442/https://www.reuters.com/article/idUSN2518728220070425 |archive-date=January 14, 2021 |access-date=September 11, 2010 |work=Reuters}}&amp;lt;/ref&amp;gt; Much of the work of Congress is performed by [[United States congressional committee|a collection of committees]], each appointed for a specific purpose or function. Committee membership is by tradition and statute [[bipartisan]].&lt;br /&gt;
{{Multiple image&lt;br /&gt;
| direction         = horizontal&lt;br /&gt;
| align             = right&lt;br /&gt;
| caption_align     = center&lt;br /&gt;
| total_width       = 320&lt;br /&gt;
| image1            = Official Presidential Portrait of President Donald J. Trump (2025).jpg&lt;br /&gt;
| image2            = VancePortrait.jpg&lt;br /&gt;
| caption1          = [[Donald Trump]]&amp;lt;br /&amp;gt;&amp;lt;small&amp;gt;[[President of the United States]] &amp;lt;/small&amp;gt;&lt;br /&gt;
| caption2          = [[JD Vance]]&amp;lt;br /&amp;gt;&amp;lt;small&amp;gt;[[Vice President of the United States]] &amp;lt;/small&amp;gt;&lt;br /&gt;
| alt1              = &lt;br /&gt;
| alt2              = &lt;br /&gt;
}}&lt;br /&gt;
* The U.S. president is the [[head of state]], [[commander-in-chief]] of the military, chief executive of the federal government, and has the ability to veto [[bill (law)|legislative bills]] from the U.S. Congress before they become law. However, [[Veto power in the United States|presidential vetoes]] can be overridden by a two-thirds [[Supermajority#Use in governments around the world|supermajority]] vote in both chambers of Congress. The president appoints the [[Cabinet of the United States|members of the Cabinet]], subject to Senate approval, and names other officials who administer and enforce federal law and policy through [[List of federal agencies in the United States|their respective agencies]].&amp;lt;ref&amp;gt;{{cite web |title=The Executive Branch |url=https://bidenwhitehouse.archives.gov/about-the-white-house/our-government/the-executive-branch/ |website=The White House |access-date=February 11, 2017}}&amp;lt;/ref&amp;gt; The president also has clemency power for federal crimes and [[Federal pardons in the United States|can issue pardons]]. Finally, the president has the right to issue expansive &amp;quot;[[executive orders]]&amp;quot;, subject to [[Judicial review in the United States|judicial review]], in a number of policy areas. Candidates for president campaign with a vice-presidential [[running mate]]. Both candidates are elected together, or defeated together, in a presidential election. Unlike other votes in American politics, this is technically an [[indirect election]] in which the winner will be determined by the [[United States Electoral College|U.S. Electoral College]]. There, votes are officially cast by individual electors selected by [[State legislature (United States)|their state legislature]].&amp;lt;ref&amp;gt;{{cite web |title=Interpretation: Article II, Section 1, Clauses 2 and 3 {{!}} Constitution Center |url=https://constitutioncenter.org/the-constitution/articles/article-ii/clauses/350 |website=National Constitution Center – constitutioncenter.org |language=en}}&amp;lt;/ref&amp;gt; In practice, however, each of the 50 states chooses a group of presidential electors who are required by state law to confirm the winner of their state&#039;s popular vote. Each state is allocated two electors plus one additional elector for each congressional district in the state, which in effect combines to equal the number of elected officials that state sends to Congress. The District of Columbia, with no representatives or senators, is allocated three electoral votes. Both the president and the vice president serve a four-year term, and the president may be [[Twenty-second Amendment to the United States Constitution|reelected to the office only once]], for one additional four-year term.{{efn|Per the [[Twenty-third Amendment to the United States Constitution|U.S. Constitution, Amendment Twenty-three]], proposed by the U.S. Congress on June 16, 1960, and ratified by the States on March 29, 1961}}&lt;br /&gt;
* The [[Federal judiciary of the United States|U.S. federal judiciary]], whose judges are all appointed for life by the president with Senate approval, consists primarily of the [[Supreme Court of the United States|U.S. Supreme Court]], the [[United States courts of appeals|U.S. courts of appeals]], and the [[United States district court|U.S. district courts]]. The lowest level in the federal judiciary is the [[federal district court]], which decides all cases considered to be under &amp;quot;[[Original jurisdiction#Federal and state courts|original jurisdiction]]&amp;quot;, such as federal statutes, constitutional law, or [[international treaties]]. After a federal district court has decided a case, its decision may be contested and sent to a higher court, [[Appellate court|a federal court of appeals]]. The U.S. judicial system&#039;s 12 [[United States Courts of Appeals|federal circuit]]s divide the country into separate administrative regions for appeals decisions. The next and highest court in the system is the Supreme Court of the United States.&amp;lt;ref name=FedJud /&amp;gt; The U.S. Supreme Court interprets laws and [[judicial review|overturns those it finds unconstitutional]].&amp;lt;ref name=FedJud&amp;gt;{{multiref2&lt;br /&gt;
|{{cite book |first1=Kermit L. |last1=Hall |first2=Kevin T. |last2=McGuire |title=Institutions of American Democracy: The Judicial Branch |url=https://books.google.com/books?id=6rWCaMAdUzgC |year=2005 |publisher=Oxford University Press |isbn=978-0-19-988374-5}}&lt;br /&gt;
|{{cite book |author=U.S. Citizenship and Immigration Services |title=Learn about the United States: Quick Civics Lessons for the Naturalization Test |url=https://books.google.com/books?id=8X1CzvBXHksC&amp;amp;pg=PA4 |date=2013 |publisher=Government Printing Office |isbn=978-0-16-091708-0 |page=4}}&lt;br /&gt;
|{{cite book |first=Bryon |last=Giddens-White |title=The Supreme Court and the Judicial Branch |url=https://books.google.com/books?id=mbZw3bJsWtUC |year=2005 |publisher=Heinemann Library |isbn=978-1-4034-6608-2}}&lt;br /&gt;
|{{cite book |first=Charles L. |last=Zelden |title=The Judicial Branch of Federal Government: People, Process, and Politics |url=https://archive.org/details/judicialbranchof0000zeld |url-access=registration |year=2007 |publisher=ABC-CLIO |isbn=978-1-85109-702-9 |access-date=October 25, 2015}}&lt;br /&gt;
|{{cite web |url=https://www.uscourts.gov/FederalCourts.aspx |title=Federal Courts |author=&amp;lt;!-- Staff writer(s); no by-line. --&amp;gt; |publisher=United States Courts |access-date=October 19, 2014}} }}&amp;lt;/ref&amp;gt; On average, the Supreme Court receives about 7,000 appeals petitions for [[writs of certiorari]] each year, but only grants about 80.&amp;lt;ref&amp;gt;{{Cite web |title=Supreme Court Procedure |url=https://www.scotusblog.com/supreme-court-procedure/ |access-date=October 20, 2024 |website=SCOTUSblog |language=en-US}}&amp;lt;/ref&amp;gt; Consisting of nine members led by the [[Chief Justice of the United States]], the court judges each case before it by majority decision. As with all other federal judges, the members are appointed for life by the sitting president with Senate approval when a vacancy becomes available.&amp;lt;ref&amp;gt;{{cite news |title=Beyond politics: Why Supreme Court justices are appointed for life |first=Roger |last=Cossack |url=https://archives.cnn.com/2000/LAW/07/columns/cossack.scotus.07.12/ |publisher=CNN |date=July 13, 2000 |archive-url=https://web.archive.org/web/20120712085825/https://archives.cnn.com/2000/LAW/07/columns/cossack.scotus.07.12 |archive-date=July 12, 2012}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The three-branch system is known as the [[presidential system]], in contrast to the [[parliamentary system]] where the executive is part of the legislative body. Many countries around the world adopted this aspect of the 1789 Constitution of the United States, especially in the [[Postcolonialism|postcolonial]] Americas.&amp;lt;ref name=&amp;quot;Sundquist&amp;quot;&amp;gt;{{Cite book |last=Sundquist |first=James L. |title=Designs for Democratic Stability: Studies in Viable Constitutionalism |publisher=[[Routledge]] |year=1997 |isbn=0-7656-0052-8 |editor-last=Baaklini |editor-first=Abdo I. |pages=53–72 |language=en |chapter=The U.S. Presidential System as a Model for the World |editor-last2=Desfosses |editor-first2=Helen}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Subdivisions ===&lt;br /&gt;
{{Main|U.S. state|County (United States)|Indian country|Territories of the United States}}&lt;br /&gt;
{{further|List of states and territories of the United States|List of federally recognized tribes by state|Federally recognized tribe}}&lt;br /&gt;
[[File:United States (+overseas), administrative divisions - en - colored (zoom).svg|thumb|alt=Territories of the United States.|[[Territories of the United States]] include [[American Samoa]], [[Guam]], the [[Northern Mariana Islands]], [[Puerto Rico]], and the [[United States Virgin Islands|U.S. Virgin Islands]].|upright=1.3]]&lt;br /&gt;
In the [[Federalism in the United States|U.S. federal system]], sovereign powers are shared between three levels of government specified in the Constitution: the national government, the states, and Indian tribes.&amp;lt;ref name=3Sovereigns /&amp;gt;&amp;lt;ref name= FelixSCohen /&amp;gt; The U.S. also asserts sovereignty over five permanently inhabited territories: [[American Samoa]], [[Guam]], the [[Northern Mariana Islands]], [[Puerto Rico]], and the [[United States Virgin Islands|U.S. Virgin Islands]].&amp;lt;ref name=&amp;quot;HRI-2012&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Residents of the 50 states are governed by their elected state government, and by elected [[Local government in the United States|local governments]] that are administrative divisions of a state.&amp;lt;ref&amp;gt;{{cite web |last1=Levy |first1=Robert A. |title=Rights, Powers, Dual Sovereignty, and Federalism |url=https://www.cato.org/policy-report/september/october-2011/rights-powers-dual-sovereignty-federalism# |website=Cato Institute |access-date=January 13, 2024 |date=October 2011}}&amp;lt;/ref&amp;gt; States are subdivided into counties or county equivalents, and (except for Hawaii) [[Local government in the United States|further divided into municipalities]], each administered by elected representatives. The District of Columbia is [[Federal district of the United States|a federal district]] containing the U.S. capital, [[Washington, D.C.]]&amp;lt;ref&amp;gt;{{usc|8|1101}}(a)(36) and {{usc|8|1101}}(a)(38) U.S. Federal Code, Immigration and Nationality Act. {{USC|8|1101a}}&amp;lt;/ref&amp;gt; The federal district is an administrative division of the federal government.&amp;lt;ref&amp;gt;{{Cite journal |last=Feldstein |first=Martin |date=March 2017 |title=Why is Growth Better in the United States Than in Other Industrial Countries? |journal=[[National Bureau of Economic Research]] |location=Cambridge, Massachusetts |doi=10.3386/w23221}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Indian Reservations.png|thumb|Map of [[List of Indian reservations in the United States|326 Indian reservations]] in the United States; 231 recognized [[List of Alaska Native tribal entities|Alaska Native tribes]] are not shown.]]&lt;br /&gt;
&lt;br /&gt;
Indian country is made up of 574 [[federally recognized tribe]]s and [[List of Indian reservations in the United States|326 Indian reservations]]. They hold a government-to-government relationship with the U.S. federal government in Washington and are legally defined as [[domestic dependent nations]] with [[Tribal sovereignty in the United States|inherent tribal sovereignty rights]].&amp;lt;ref name=FelixSCohen&amp;gt;{{cite book   | last = Cohen  | first = Felix S.   | title = Handbook of federal Indian law: with reference tables and index   | publisher = GPO  | year = 1942  | location = Washington, D.C.  | url =https://archive.org/details/in.ernet.dli.2015.74149| lccn = 42038386 }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=3Sovereigns&amp;gt;{{cite journal |last=O&#039;Connor |first=Sandra Day |date=Fall 1997 |title=Lessons from the Third Sovereign: Indian Tribal Courts |url=https://digitalcommons.law.utulsa.edu/cgi/viewcontent.cgi?params=/context/tlr/article/2107/&amp;amp;path_info=11_33TulsaLJ1_1997_1998_.pdf |journal=Tulsa Law Journal |volume=33 |issue=1}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |title=What is a federal Indian reservation? |url=https://www.bia.gov/faqs/what-federal-indian-reservation#:~:text=There%20are%20approximately%20326%20Indian,%2C%20communities%2C%20etc.). |access-date=August 26, 2023 |website=bia.gov |date=August 19, 2017 |publisher=[[Bureau of Indian Affairs]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;www.justice.gov-2017&amp;quot;&amp;gt;{{Cite web |date=March 8, 2017 |title=Attorney General June 1, 1995 Memorandum on Indian Sovereignty |url=https://www.justice.gov/archives/ag/attorney-general-june-1-1995-memorandum-indian-sovereignty |access-date=May 9, 2024 |website=www.justice.gov |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In addition to the five major territories, the U.S. also asserts sovereignty over the [[United States Minor Outlying Islands]] in the [[Pacific Ocean]] and the [[Caribbean]].&amp;lt;ref name=&amp;quot;HRI-2012&amp;quot; /&amp;gt; The seven undisputed islands without permanent populations are [[Baker Island]], [[Howland Island]], [[Jarvis Island]], [[Johnston Atoll]], [[Kingman Reef]], [[Midway Atoll]], and [[Palmyra Atoll]]. U.S. sovereignty over the unpopulated [[Bajo Nuevo Bank]], [[Navassa Island]], [[Serranilla Bank]], and [[Wake Island]] is disputed.&amp;lt;ref name=&amp;quot;HRI-2012&amp;quot; /&amp;gt;&lt;br /&gt;
{{USA image map|center}}&lt;br /&gt;
&lt;br /&gt;
=== Political parties ===&lt;br /&gt;
{{main|Political parties in the United States}}{{further|List of political parties in the United States|Political party strength in U.S. states}}&lt;br /&gt;
[[File:US state Legislature and Governor Control.svg|thumb|States and territories by partisan control, as of February 2025:&lt;br /&gt;
{{legend|#33f|[[Democratic Party (United States)|Democratic Party]]}}&lt;br /&gt;
{{legend|#f33|[[Republican Party (United States)|Republican Party]]}}&lt;br /&gt;
{{legend|#161687|[[New Progressive Party (Puerto Rico)|New Progressive Party]]}}&lt;br /&gt;
{{legend|#829|Divided partisan control}}]]&lt;br /&gt;
&lt;br /&gt;
The Constitution is silent on political parties. However, they developed independently in the 18th century with the [[Federalist Party|Federalist]] and [[Anti-Federalist Party|Anti-Federalist]] parties.&amp;lt;ref name=&amp;quot;Hofstadter-1969-iv&amp;quot;&amp;gt;{{cite book |last1=Hofstadter |first1=Richard |title=The Idea of a Party System: The Rise of Legitimate Opposition in the United States, 1780-1840 |date=1969 |publisher=University of California Press |page=iv |isbn=978-0-520-01389-6 |url=https://books.google.com/books?id=wG5rCKm8SmAC&amp;amp;q=%E2%80%9Cdid+not+believe+in+parties+as+such,+scorned+those+that+they+were+conscious+of+as+historical+models%22 |access-date=October 5, 2022}}&amp;lt;/ref&amp;gt; Since then, the United States has operated as a &#039;&#039;de facto&#039;&#039; [[two-party system]], though the parties have changed over time.&amp;lt;ref name=&amp;quot;Blake-2021&amp;quot;&amp;gt;{{cite news |last1=Blake |first1=Aaron |date=November 25, 2021 |title=Why are there only two parties in American politics? |url=https://www.washingtonpost.com/news/the-fix/wp/2016/04/27/why-are-there-only-two-parties-in-american-politics/ |access-date=May 4, 2024 |newspaper=[[The Washington Post]]}}&amp;lt;/ref&amp;gt; Since the mid-19th century, the two main national parties have been the [[Democratic Party (United States)|Democratic Party]] and the [[Republican Party (United States)|Republican Party]]. The former is perceived as [[Modern liberalism in the United States|relatively liberal]] in [[Political positions of the Democratic Party (United States)|its political platform]] while the latter is perceived as [[Conservatism in the United States|relatively conservative]] in [[Political positions of the Republican Party (United States)|its platform]].&amp;lt;ref&amp;gt;{{Cite book |last=Levendusky |first=Matthew |author-link=Matthew Levendusky |title=The Partisan Sort: How Liberals Became Democrats and Conservatives Became Republicans |date=2009 |publisher=[[University of Chicago Press]]}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Foreign relations ===&lt;br /&gt;
{{Main|Foreign relations of the United States|Foreign policy of the United States}}&lt;br /&gt;
[[File:67º Período de Sesiones de la Asamblea General de Naciones Unidas (8020913157).jpg|thumb|The [[Headquarters of the United Nations|United Nations headquarters]] has been situated along the [[East River]] in [[Midtown Manhattan]] since 1952; in 1945, the United States was a [[Founding member of the United Nations|founding member of the UN]].|alt=see caption]]&lt;br /&gt;
&lt;br /&gt;
The United States has an established structure of foreign relations, with the world&#039;s [[List of countries by number of diplomatic missions|second-largest diplomatic corps]] {{As of|2024|lc=y}}. It is a [[Permanent members of the United Nations Security Council|permanent member of the United Nations Security Council]]&amp;lt;ref&amp;gt;{{cite web |url=https://www.un.org/securitycouncil/content/current-members |title=Current Members |work=[[United Nations Security Council]] |access-date=July 15, 2022}}&amp;lt;/ref&amp;gt; and home to the [[Headquarters of the United Nations|United Nations headquarters]].&amp;lt;ref&amp;gt;{{cite journal |title=United Nations Headquarters Agreement |journal=The American Journal of International Law |volume=42 |number=2 |date=April 1948 |pages=445–447 |publisher=[[Cambridge University Press]] |doi=10.2307/2193692 |jstor=2193692 |s2cid=246008694}}&amp;lt;/ref&amp;gt; The United States is a member of the [[G7]],&amp;lt;ref&amp;gt;{{cite web |url=https://www.cfr.org/backgrounder/where-g7-headed |title=Where is the G7 Headed? |work=[[Council on Foreign Relations]] |location=New York City |date=June 28, 2022}}&amp;lt;/ref&amp;gt; [[G20]],&amp;lt;ref&amp;gt;{{cite web |url=https://www.state.gov/the-united-states-and-g20-building-a-more-peaceful-stable-and-prosperous-world-together/ |title=The United States and G20: Building a More Peaceful, Stable, and Prosperous World Together |date=July 6, 2022 |work=[[United States Department of State]] |access-date=July 15, 2022}}&amp;lt;/ref&amp;gt; and [[OECD]] intergovernmental organizations.&amp;lt;ref&amp;gt;{{cite web |url=https://www.oecd.org/about/members-and-partners/ |title=Our global reach |work=[[OECD]] |access-date=July 15, 2022}}&amp;lt;/ref&amp;gt; [[List of diplomatic missions in the United States|Almost all countries have embassies]] and many have [[consul (representative)|consulates]] (official representatives) in the country. Likewise, nearly all countries host formal [[diplomatic mission]]s with the United States, except [[Iran–United States relations|Iran]],&amp;lt;ref&amp;gt;{{cite report |last1=Fialho |first1=Livia Pontes |last2=Wallin |first2=Matthew |title=Reaching for an Audience: U.S. Public Diplomacy Towards Iran |date=August 1, 2013 |publisher=American Security Project |jstor=resrep06070}}&amp;lt;/ref&amp;gt; [[North Korea–United States relations|North Korea]],&amp;lt;ref&amp;gt;{{cite news |url=https://www.bbc.com/news/world-asia-42351336 |title=Which are the countries still talking to North Korea? |newspaper=[[BBC News]] |location=London |date=December 19, 2017 |access-date=July 15, 2022 |last1=Oliver |first1=Alex |last2=Graham |first2=Euan}}&amp;lt;/ref&amp;gt; and [[Foreign relations of Bhutan#Other countries|Bhutan]].&amp;lt;ref&amp;gt;{{cite news |url=https://thediplomat.com/2014/12/the-case-for-a-stronger-bhutanese-american-relationship/ |title=The Case for Stronger Bhutanese-American Ties |newspaper=[[The Diplomat (magazine)|The Diplomat]] |date=December 22, 2014 |last=Ferraro |first=Matthew F. |access-date=July 15, 2022}}&amp;lt;/ref&amp;gt; Though [[Taiwan–United States relations|Taiwan]] does not have formal diplomatic relations with the U.S., it maintains close unofficial relations.&amp;lt;ref&amp;gt;{{Cite web |date=September 28, 2022 |title=US will continue to strengthen &#039;unofficial ties&#039; with Taiwan, says Harris |url=https://www.scmp.com/news/china/diplomacy/article/3194126/us-will-continue-strengthen-unofficial-ties-taiwan-vice |access-date=September 28, 2022 |website=South China Morning Post |language=en}}&amp;lt;/ref&amp;gt; The United States regularly [[Six Assurances|supplies Taiwan with military equipment]] to deter potential Chinese aggression.&amp;lt;ref&amp;gt;{{cite news |url=https://www.npr.org/2020/09/22/915818283/formal-ties-with-u-s-not-for-now-says-taiwan-foreign-minister |title=Formal Ties With U.S.? Not For Now, Says Taiwan Foreign Minister |publisher=[[NPR]] |date=September 22, 2020 |last=Ruwitch |first=John |access-date=July 15, 2022}}&amp;lt;/ref&amp;gt; Its geopolitical attention also turned to the [[Indo-Pacific]] when the United States joined the [[Quadrilateral Security Dialogue]] with Australia, India, and Japan.&amp;lt;ref name=&amp;quot;kobara&amp;quot;&amp;gt;{{cite news |last1=Kobara |first1=Junnosuke |last2=Moriyasu |first2=Ken |date=March 27, 2021 |title=Japan will turn to Quad in &#039;nealsow Cold War&#039;: Defense Ministry think tank |url=https://asia.nikkei.com/Politics/International-relations/Japan-will-turn-to-Quad-in-new-Cold-War-Defense-Ministry-think-tank |access-date=April 13, 2021 |work=Nikkei Asia}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The United States has a &amp;quot;[[Special Relationship]]&amp;quot; [[United Kingdom–United States relations|with the United Kingdom]]&amp;lt;ref&amp;gt;{{cite book |url=https://books.google.com/books?id=jLy-NKnQitIC&amp;amp;q=uk+us+special+relationship&amp;amp;pg=PA45 |title=America&#039;s &#039;Special Relationships&#039;: Foreign and Domestic Aspects of the Politics of Alliance |page=45 |first1=John |first2=Axel |last2=Schäfer |last1=Dumbrell |year=2009 |publisher=Taylor &amp;amp; Francis |isbn=978-0-203-87270-3 |access-date=October 25, 2015}}&amp;lt;/ref&amp;gt; and strong ties [[Canada–United States relations|with Canada]],&amp;lt;ref&amp;gt;{{cite web |url=https://fas.org/sgp/crs/row/96-397.pdf |title=Canada–U.S. Relations |author1=Ek, Carl |first2=Ian F. |last2=Fergusson |name-list-style=amp |publisher=Congressional Research Service |date=September 3, 2010 |access-date=August 28, 2011}}&amp;lt;/ref&amp;gt; [[Australia–United States relations|Australia]],&amp;lt;ref&amp;gt;{{cite book |title=Australia: Background and U.S. Relations |author=Vaughn, Bruce |publisher=Congressional Research Service |date=August 8, 2008 |oclc=70208969}}&amp;lt;/ref&amp;gt; [[New Zealand–United States relations|New Zealand]],&amp;lt;ref&amp;gt;{{cite web |url=https://fas.org/sgp/crs/row/RL32876.pdf |title=New Zealand: Background and Bilateral Relations with the United States |author=Vaughn, Bruce |publisher=Congressional Research Service |date=May 27, 2011 |access-date=August 28, 2011}}&amp;lt;/ref&amp;gt; [[Philippines–United States relations|the Philippines]],&amp;lt;ref&amp;gt;{{cite web |url=https://fas.org/sgp/crs/row/RL33233.pdf |title=The Republic of the Philippines and U.S. Interests |author=Lum, Thomas |publisher=Congressional Research Service |date=January 3, 2011 |access-date=August 3, 2011}}&amp;lt;/ref&amp;gt; [[Japan–United States relations|Japan]],&amp;lt;ref&amp;gt;{{cite web |url=https://fas.org/sgp/crs/row/RL33436.pdf |title=Japan-U.S. Relations: Issues for Congress |author=Chanlett-Avery, Emma |publisher=Congressional Research Service |date=June 8, 2011 |access-date=August 28, 2011 |display-authors=etal}}&amp;lt;/ref&amp;gt; [[South Korea–United States relations|South Korea]],&amp;lt;ref&amp;gt;{{cite web |url=https://fas.org/sgp/crs/row/R41481.pdf |title=U.S.–South Korea Relations: Issues for Congress |first1=Mark E. |last1=Manyin |first2=Emma |last2=Chanlett-Avery |first3=Mary Beth |last3=Nikitin |publisher=Congressional Research Service |date=July 8, 2011 |access-date=August 28, 2011}}&amp;lt;/ref&amp;gt; [[Israel–United States relations|Israel]],&amp;lt;ref&amp;gt;{{cite web |url=https://fas.org/sgp/crs/mideast/RL33476.pdf |title=Israel: Background and U.S. Relations |author=Zanotti, Jim |publisher=Congressional Research Service |date=July 31, 2014 |access-date=September 12, 2014}}&amp;lt;/ref&amp;gt; and several [[Member state of the European Union|European Union countries]] such as [[France–United States relations|France]], [[Italy–United States relations|Italy]], [[Germany–United States relations|Germany]], [[Spain–United States relations|Spain]], and [[Poland–United States relations|Poland]].&amp;lt;ref&amp;gt;{{Cite web |date=January 20, 2021 |url=https://www.state.gov/u-s-relations-with-poland/ |title=U.S. Relations With Poland |website=State.gov |access-date=June 19, 2023}}&amp;lt;/ref&amp;gt; The U.S. works closely with its [[NATO]] allies on military and [[national security]] issues, and with countries in the Americas through the [[Organization of American States]] and the [[United States–Mexico–Canada Agreement|United States–Mexico–Canada Free Trade Agreement]]. In South America, [[Colombia]] is traditionally considered to be the closest ally of the United States.&amp;lt;ref&amp;gt;{{cite news |title=The Untapped Potential of the US-Colombia Partnership |url=https://www.atlanticcouncil.org/in-depth-research-reports/report/untapped-potential-us-colombia-partnership/ |date=September 26, 2019 |website=Atlantic Council |language=en |access-date=May 30, 2020 |last1=Kimer |first1=James}}&amp;lt;/ref&amp;gt; The U.S. exercises full international defense authority and responsibility for [[Federated States of Micronesia|Micronesia]], the [[Marshall Islands]], and [[Palau]] through the [[Compact of Free Association]].&amp;lt;ref name=FedJud/&amp;gt; It has increasingly conducted strategic cooperation [[India–United States relations|with India]],&amp;lt;ref&amp;gt;{{cite web |title=INDO- PACIFIC STRATEGY OF THE UNITED STATES |url=https://bidenwhitehouse.archives.gov/wp-content/uploads/2022/02/U.S.-Indo-Pacific-Strategy.pdf |publisher=White House |access-date=February 3, 2022}}&amp;lt;/ref&amp;gt; while [[China–United States relations|its ties with China]] have steadily deteriorated.&amp;lt;ref&amp;gt;{{cite report |last=Meidan |first=Michal |title=US-China: The Great Decoupling |date=July 1, 2019 |publisher=[[Oxford Institute for Energy Studies]] |jstor=resrep33982}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Bala |first=Sumathi |title=U.S.-China relations are going downhill with &#039;no trust&#039; on either side, Stephen Roach says |url=https://www.cnbc.com/2023/03/28/us-china-ties-on-dangerous-path-with-no-trust-on-both-sides-roach-cohen.html |access-date=May 7, 2023 |publisher=CNBC |date=March 28, 2023 |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beginning in 2014, the U.S. had become [[Ukraine–United States relations|a key ally of Ukraine]].&amp;lt;ref&amp;gt;{{cite news |last1=Rumer |first1=Eugene |last2=Sokolsky |first2=Richard |url=https://carnegieendowment.org/research/2019/06/thirty-years-of-us-policy-toward-russia-can-the-vicious-circle-be-broken?lang=en |title=Thirty Years of U.S. Policy Toward Russia: Can the Vicious Circle Be Broken? |newspaper=[[Carnegie Endowment for International Peace]] |location=Washington, D.C. |date=June 20, 2019 |access-date=July 14, 2022}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Macias |first=Amanda |date=June 17, 2022 |title=Here&#039;s a look at the $5.6 billion in firepower the U.S. has committed to Ukraine in its fight against Russia |url=https://www.cnbc.com/2022/06/17/russia-ukraine-war-summary-of-weapons-us-has-given-to-ukraine.html |access-date=September 28, 2022 |publisher=CNBC |language=en}}&amp;lt;/ref&amp;gt; After [[Donald Trump]] was elected U.S. president in 2024, he sought to negotiate an end to the [[Russo-Ukrainian War]]. He paused all military aid to Ukraine in March 2025,&amp;lt;ref&amp;gt;{{Cite news |last1=Roth |first1=Andrew |last2=Holmes |first2=Oliver |date=4 March 2025 |title=US suspends all military aid to Ukraine in wake of Trump-Zelenskyy row |url=https://www.theguardian.com/world/2025/mar/04/us-military-aid-ukraine-pause-trump-zelenskyy-updates |access-date=12 March 2025 |work=The Guardian |language=en-GB |issn=0261-3077}}&amp;lt;/ref&amp;gt; although the aid resumed later.&amp;lt;ref&amp;gt;{{cite web |last1=Kottasová |first1=Ivana |title=Why has Trump halted military aid to Ukraine and what will it mean for the war? Here&#039;s what to know |url=https://edition.cnn.com/2025/03/04/europe/explainer-trump-suspends-ukraine-military-aid-intl-latam |website=[[CNN]] |date=4 March 2025}}&amp;lt;/ref&amp;gt; Trump also ended U.S. intelligence sharing with the country,&amp;lt;ref name=&amp;quot;:5&amp;quot;&amp;gt;{{Cite news |last1=Miller |first1=Christopher |last2=Foy |first2=Henry |last3=Fisher |first3=Lucy |last4=Hall |first4=Ben |date=5 March 2025 |title=US cuts off intelligence sharing with Ukraine |url=https://www.ft.com/content/c58fccea-00c4-4fad-bc0a-0185b7415579 |access-date=5 March 2025 |work=Financial Times}}&amp;lt;/ref&amp;gt; but this too was eventually restored.&amp;lt;ref&amp;gt;{{cite news |last=Sarotte |first=M. E. |magazine=Foreign Affairs |title=Why they fight: What&#039;s at stake in the blame game over Ukraine |page=160 |date=May–June 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Military ===&lt;br /&gt;
{{Main|United States Armed Forces}}&lt;br /&gt;
[[File:Aerial view of the Pentagon, Arlington, VA (38285035892).jpg|thumb|[[The Pentagon]], the headquarters of the [[United States Department of Defense|U.S. Department of Defense]] in [[Arlington County, Virginia]], is one of the world&#039;s largest office buildings with over {{convert|6.5|e6ft2|m2}} of [[floor space]].]]&lt;br /&gt;
The president is the [[Commander-in-Chief of the United States|commander-in-chief]] of the United States Armed Forces and appoints its leaders, the [[United States Secretary of Defense|secretary of defense]] and the [[Joint Chiefs of Staff]]. The [[United States Department of Defense|Department of Defense]], which is headquartered at [[the Pentagon]] near Washington, D.C., administers five of the six service branches, which are made up of the [[United States Army|U.S. Army]], [[United States Marine Corps|Marine Corps]], [[United States Navy|Navy]], [[United States Air Force|Air Force]], and [[United States Space Force|Space Force]].&amp;lt;ref&amp;gt;{{cite web |url=https://www.defense.gov/about/our-forces |title=Our Forces |publisher=[[United States Department of Defense]] |access-date=July 12, 2024}}&amp;lt;/ref&amp;gt; The [[United States Coast Guard|Coast Guard]] is administered by the [[United States Department of Homeland Security|Department of Homeland Security]] in peacetime and can be transferred to the [[United States Department of the Navy|Department of the Navy]] in wartime.&amp;lt;ref&amp;gt;{{cite web |url=https://www.cfr.org/blog/happy-231st-birthday-united-states-coast-guard |title=Happy 231st Birthday to the United States Coast Guard! |last=Lindsay |first=James M. |publisher=[[Council on Foreign Relations]] |location=New York City |date=August 4, 2021 |access-date=July 16, 2022 |quote=During peacetime it is part of the Department of Homeland Security. During wartime, or when the president or Congress so direct, it becomes part of the Department of Defense and is included in the Department of the Navy.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The United States [[Military budget of the United States|spent $997 billion on its military]] in 2024, which is by far the [[List of countries with highest military expenditures|largest amount of any country]], making up 37% of global military spending and accounting for 3.4% of the country&#039;s GDP.&#039;&#039;&#039;&#039;&#039;&amp;lt;ref name=&amp;quot;SIPRI-20202&amp;quot;&amp;gt;{{Cite web |date=April 2025 |title=Trends in Military Expenditure 2024 |url=https://www.sipri.org/sites/default/files/2025-04/2504_fs_milex_2024.pdf#page=2 |access-date=28 April 2025 |publisher=[[Stockholm International Peace Research Institute]]}}&amp;lt;/ref&amp;gt;&#039;&#039;&#039;&#039;&#039; The [[Nuclear weapons of the United States|U.S. possesses]] 42% of the world&#039;s nuclear weapons—the second-largest stockpile after [[Russia and weapons of mass destruction|that of Russia]].&amp;lt;ref name=&amp;quot;Stockholm International Peace Research Institute-2024&amp;quot;&amp;gt;{{Cite web |date=June 17, 2024 |title=Role of nuclear weapons grows as geopolitical relations deteriorate—new SIPRI Yearbook out now {{!}} SIPRI |url=https://www.sipri.org/media/press-release/2024/role-nuclear-weapons-grows-geopolitical-relations-deteriorate-new-sipri-yearbook-out-now |access-date=June 18, 2024 |website=Stockholm International Peace Research Institute |language=en}}&amp;lt;/ref&amp;gt; The U.S. military is widely regarded as the most powerful and advanced in the world.&amp;lt;ref&amp;gt;{{Cite news |date=2012-01-27 |title=United States country profile |url=https://www.bbc.com/news/world-us-canada-16761057 |access-date=2025-07-06 |work=BBC News |language=en-GB}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last=Ryan |first=Missy |last2=Jeong |first2=Andrew |last3=Masih |first3=Niha |last4=Sands |first4=Leo |last5=Somasundaram |first5=Praveena |last6=Wu |first6=Daniel |last7=Haspel |first7=Tamar |last8=Dougherty |first8=Jesse |last9=Nusbaum |first9=Spencer |date=2021-04-01 |title=The U.S. system created the world’s most advanced military. Can it maintain an edge? |url=https://www.washingtonpost.com/national-security/china-us-military-technology/2021/03/31/acc2d9f4-866c-11eb-8a67-f314e5fcf88d_story.html |access-date=2025-07-06 |work=The Washington Post |language=en-US |issn=0190-8286}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The United States has the [[List of countries by number of military and paramilitary personnel|third-largest combined armed forces]] in the world, behind the [[People&#039;s Liberation Army|Chinese People&#039;s Liberation Army]] and [[Indian Armed Forces]].&amp;lt;ref&amp;gt;{{cite book |last1=Hackett |first1=James |title=The military balance. 2023 |date=2023 |publisher=Routledge |location=London |isbn=978-1-032-50895-5}}&amp;lt;/ref&amp;gt; The military operates about 800 bases and facilities abroad,&amp;lt;ref&amp;gt;{{cite web |url=https://www.vox.com/2015/5/18/8600659/military-bases-united-states |title=Why does the US have 800 military bases around the world? |last=Harris |first=Johnny |date=May 18, 2015 |website=Vox |access-date=September 23, 2020 |archive-date=September 24, 2020 |archive-url=https://web.archive.org/web/20200924114313/https://www.vox.com/2015/5/18/8600659/military-bases-united-states}}&amp;lt;/ref&amp;gt; and maintains [[United States military deployments|deployments greater than 100 active duty personnel]] in 25 foreign countries.&amp;lt;ref&amp;gt;{{cite web |url=https://siadapp.dmdc.osd.mil/personnel/MILITARY/history/hst1003.pdf |archive-url=https://web.archive.org/web/20130724211511/https://siadapp.dmdc.osd.mil/personnel/MILITARY/history/hst1003.pdf |title=Active Duty Military Personnel Strengths by Regional Area and by Country (309A) |publisher=Department of Defense |date=March 31, 2010 |access-date=October 7, 2010 |archive-date=July 24, 2013}}&amp;lt;/ref&amp;gt; The United States has engaged in over 400 military interventions since its founding in 1776, with over half of these occurring between 1950 and 2019 and 25% occurring in the post-Cold War era.&amp;lt;ref&amp;gt;{{Cite journal |last1=Kushi |first1=Sidita |last2=Toft |first2=Monica Duffy |date=April 1, 2023 |title=Introducing the Military Intervention Project: A New Dataset on US Military Interventions, 1776–2019 |url=https://journals.sagepub.com/doi/10.1177/00220027221117546 |journal=Journal of Conflict Resolution |language=EN |volume=67 |issue=4 |pages=752–779 |doi=10.1177/00220027221117546 |issn=0022-0027|url-access=subscription }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[State defense forces]] (SDFs) are military units that operate under the sole authority of a state government. SDFs are authorized by state and federal law but are under the command of [[Governor (United States)|the state&#039;s governor]].&amp;lt;ref&amp;gt;{{Cite web |url=https://statedefenseforce.com/ |title=StateDefenseForce.com |date=September 17, 2024 |website=StateDefenseForce.com}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |url=https://sgaus.org/ |title=State Guard Association of the United States – Supporting the State Defense Forces of the United States |website=sgaus.org}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |url=https://www.law.cornell.edu/uscode/text/32/109 |title=32 U.S. Code § 109 - Maintenance of other troops |website=LII / Legal Information Institute}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
They are distinct from the state&#039;s [[National Guard (United States)|National Guard]] units in that they cannot become federalized entities. A state&#039;s National Guard personnel, however, may be federalized under the [[National Defense Act of 1916#National Defense Act Amendments of 1933|National Defense Act Amendments of 1933]], which created the Guard and provides for the integration of [[Army National Guard]] units and personnel into the U.S. Army and (since 1947) the U.S. Air Force.&amp;lt;ref&amp;gt;{{cite web |url=http://www.arng.army.mil/aboutus/history/Pages/ConstitutionalCharteroftheGuard.aspx |title=Legal Basis of the National Guard |publisher=Army National Guard |year=2013 |access-date=May 17, 2013 |archive-url=https://web.archive.org/web/20130521130934/http://www.arng.army.mil/aboutus/history/Pages/ConstitutionalCharteroftheGuard.aspx |archive-date=May 21, 2013}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Law enforcement and criminal justice ===&lt;br /&gt;
{{Main|Law of the United States|Law enforcement in the United States|Crime in the United States}}&lt;br /&gt;
[[File:Washington DC, FBI - panoramio.jpg|thumb|[[J. Edgar Hoover Building]], the headquarters of the [[Federal Bureau of Investigation]] (FBI), in [[Washington, D.C.]]]]&lt;br /&gt;
There are about 18,000 U.S. police agencies from local to national level in the United States.&amp;lt;ref&amp;gt;{{Cite journal |last1=Banks |first1=Duren |last2=Hendrix |first2=Joshua |last3=Hickman |first3=Mathhew |date=October 4, 2016 |title=National Sources of Law Enforcement Employment Data |url=https://bjs.ojp.gov/content/pub/pdf/nsleed.pdf |journal=[[U.S. Department of Justice]] |page=1}}&amp;lt;/ref&amp;gt; Law in the United States is mainly enforced by local police departments and [[Sheriffs in the United States|sheriff departments]] in their municipal or county jurisdictions. [[State police (United States)|The state police]] departments [[Police power (United States constitutional law)|have authority in their respective state]], and [[Federal law enforcement in the United States|federal agencies]] such as the [[Federal Bureau of Investigation]] (FBI) and the [[United States Marshals Service|U.S. Marshals Service]] have national jurisdiction and specialized duties, such as protecting [[civil rights]], [[National security of the United States|national security]], enforcing [[U.S. federal courts]]&#039; rulings and federal laws, and interstate criminal activity.&amp;lt;ref&amp;gt;{{cite web |title=U.S. Federal Law Enforcement Agencies, Who Governs &amp;amp; What They Do |publisher=Chiff.com |url=https://www.chiff.com/police/federal-police-agencies.htm |access-date=November 10, 2021 |archive-url=https://web.archive.org/web/20140210040432/https://www.chiff.com/police/federal-police-agencies.htm |archive-date=February 10, 2014 }}&amp;lt;/ref&amp;gt; [[State court (United States)|State courts]] conduct almost all civil and criminal trials,&amp;lt;ref&amp;gt;{{cite book |last1=Manweller |first1=Mathew |editor1-last=Hogan |editor1-first=Sean O. |title=The Judicial Branch of State Government: People, Process, and Politics |date=2006 |publisher=[[ABC-Clio]] |location=[[Santa Barbara, California]] |isbn=978-1-85109-751-7 |pages=37–96 |chapter-url=https://books.google.com/books?id=ong5k8n97P4C&amp;amp;pg=PA55 |access-date=October 5, 2020 |chapter=Chapter 2, The Roles, Functions, and Powers of State Courts}}&amp;lt;/ref&amp;gt; while federal courts [[Subject-matter jurisdiction|adjudicate the much smaller number of civil and criminal cases that relate to federal law]].&amp;lt;ref&amp;gt;{{cite web |url=https://www.justice.gov/usao/justice-101/federal-courts |title=Introduction To The Federal Court System |work=[[United States Attorney]] |date=November 7, 2014 |publisher=[[United States Department of Justice]] |access-date=July 14, 2022 |location=Washington, D.C.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is no unified &amp;quot;criminal justice system&amp;quot; in the United States. The [[Incarceration in the United States|American prison system]] is largely heterogenous, with thousands of relatively independent systems operating across federal, state, local, and tribal levels. In 2025, &amp;quot;these systems hold [[Incarceration in the United States|nearly 2 million people]] in 1,566 state prisons, 98 federal prisons, 3,116 local jails, 1,277 juvenile correctional facilities, 133 immigration detention facilities, and 80 Indian country jails, as well as in military prisons, civil commitment centers, state psychiatric hospitals, and prisons in the U.S. territories.&amp;quot;&amp;lt;ref name=&amp;quot;Sawyer-2025&amp;quot;&amp;gt;{{Cite web |last1=Sawyer |first1=Wendy |last2=Wagner |first2=Peter |title=Mass Incarceration: The Whole Pie 2025 |url=https://www.prisonpolicy.org/reports/pie2025.html|date=March 11, 2025 |access-date=May 19, 2025 |website=Prison Policy Initiative |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Despite disparate systems of confinement, four main institutions dominate: [[List of United States federal prisons|federal prisons]], [[Lists of United States state prisons|state prisons]], local jails, and [[American juvenile justice system|juvenile correctional facilities]].&amp;lt;ref name=&amp;quot;National Academies Press-2014&amp;quot;&amp;gt;{{Cite book |url=http://www.nap.edu/catalog/18613 |title=The Growth of Incarceration in the United States: Exploring Causes and Consequences |date=April 24, 2014 |publisher=National Academies Press |isbn=978-0-309-29801-8 |location=Washington, D.C. |doi=10.17226/18613}}&amp;lt;/ref&amp;gt; Federal prisons are run by the [[Federal Bureau of Prisons]] and hold pretrial detainees as well as people who have been convicted of federal crimes.&amp;lt;ref name=&amp;quot;National Academies Press-2014&amp;quot; /&amp;gt; State prisons, run by the department of corrections of each state, hold people sentenced and serving prison time (usually longer than one year) for felony offenses.&amp;lt;ref name=&amp;quot;National Academies Press-2014&amp;quot; /&amp;gt; Local jails are county or municipal facilities that incarcerate defendants prior to trial; they also hold those serving short sentences (typically under a year).&amp;lt;ref name=&amp;quot;National Academies Press-2014&amp;quot; /&amp;gt; Juvenile correctional facilities are operated by local or state governments and serve as longer-term placements for any [[Juvenile delinquency|minor adjudicated as  delinquent]] and ordered by a judge to be confined.&amp;lt;ref&amp;gt;{{Cite web |last=Foundation |first=The Annie E. Casey |date=November 14, 2020 |title=Juvenile Detention Explained |url=https://www.aecf.org/blog/what-is-juvenile-detention |access-date=July 6, 2023 |website=The Annie E. Casey Foundation |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In January 2023, the United States had the [[List of countries by incarceration rate|sixth-highest per capita incarceration rate]] in the world&amp;amp;mdash;531 people per 100,000 inhabitants&amp;amp;mdash;and the largest prison and jail population in the world, with more than 1.9 million people incarcerated.&amp;lt;ref name=&amp;quot;Sawyer-2025&amp;quot;/&amp;gt;&amp;lt;ref&amp;gt;[http://www.prisonstudies.org/country/united-states-america United States of America]. [[World Prison Brief]].&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;WorldPrisonBrief&amp;quot;&amp;gt;[http://www.prisonstudies.org/highest-to-lowest Highest to Lowest]. [[World Prison Brief]] (WPB). Use the dropdown menu to choose lists of countries by region or the whole world. Use the menu to select highest-to-lowest lists of prison population totals, prison population rates, percentage of pre-trial detainees/remand prisoners, percentage of female prisoners, percentage of foreign prisoners, and occupancy rate. Column headings in WPB tables can be clicked to reorder columns lowest to highest, or alphabetically. For detailed information for each country click on any country name in lists. See the [http://www.prisonstudies.org/world-prison-brief-data WPB main data page] and click on the map links or the sidebar links to get to the region and country desired.&amp;lt;/ref&amp;gt; An analysis of the [[World Health Organization]] Mortality Database from 2010 showed U.S. homicide rates &amp;quot;were 7 times higher than in other high-income countries, driven by [[Gun deaths in the United States|a gun homicide rate]] that was 25 times higher&amp;quot;.&amp;lt;ref&amp;gt;{{Cite journal |last1=Grinshteyn |first1=Erin |last2=Hemenway |first2=David |date=March 2016 |title=Violent Death Rates: The US Compared with Other High-income OECD Countries, 2010 |url=https://www.amjmed.com/article/S0002-9343(15)01030-X/fulltext |journal=[[The American Journal of Medicine]] |volume=129 |issue=3 |pages=226–273 |doi=10.1016/j.amjmed.2015.10.025 |pmid=26551975 |access-date=June 18, 2017 |doi-access=free}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Economy ==&lt;br /&gt;
{{Main|Economy of the United States}}&lt;br /&gt;
[[File:US one dollar bill, obverse, series 2009.jpg|thumb|alt=see caption|The [[United States dollar|U.S. dollar]] is the most-used currency [[International use of the U.S. dollar|in international transactions]] and the world&#039;s foremost [[reserve currency]].&amp;lt;ref name=&amp;quot;federalreserve.gov&amp;quot;&amp;gt;{{cite web |title=The Implementation of Monetary Policy – The Federal Reserve in the International Sphere |url=http://www.federalreserve.gov/pf/pdf/pf_4.pdf |access-date=August 24, 2010}}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
The U.S. has a highly developed [[mixed economy]]&amp;lt;ref&amp;gt;{{Cite web |last=Moffatt |first=Mike |date=2020-01-27 |title=Why the US Is Said to Have a Mixed Economy |url=https://www.thoughtco.com/overview-of-a-mixed-economy-1147547 |access-date=2025-05-30 |website=ThoughtCo |language=en}}&amp;lt;/ref&amp;gt; that has been the world&#039;s largest nominally [[List of countries by largest historical GDP|since about 1890]].&amp;lt;ref&amp;gt;{{Cite journal |last=Fordham |first=Benjamin |date=October 2017 |title=Protectionist Empire: Trade, Tariffs, and United States Foreign Policy, 1890–1914 |journal=Studies in American Political Development |volume=31 |issue=2 |pages=170–192 |doi=10.1017/s0898588x17000116 |s2cid=148917255 |issn=0898-588X}}&amp;lt;/ref&amp;gt; Its 2024 [[gross domestic product]] (GDP){{Efn|U.S. nominal and PPP-adjusted GDP are the same as the U.S. is the reference country for PPP calculations.|name=PPP}} of more than $29 trillion&amp;lt;ref&amp;gt;{{Cite web |title=United States Datasets |url=https://www.imf.org/external/datamapper/profile/USA |access-date=February 10, 2025 |website=www.imf.org}}&amp;lt;/ref&amp;gt; constituted over 25% of nominal [[Gross world product|global economic output]], or 15% at [[purchasing power parity]] (PPP). From 1983 to 2008, U.S. real compounded annual GDP growth was 3.3%, compared to a 2.3% weighted average for the rest of the [[G7]].&amp;lt;ref name=&amp;quot;Hagopian&amp;quot;&amp;gt;{{cite journal |author=Hagopian |first1=Kip |last2=Ohanian |first2=Lee |date=August 1, 2012 |title=The Mismeasure of Inequality |url=https://www.hoover.org/publications/policy-review/article/123566 |journal=Policy Review |issue=174 |archive-url=https://web.archive.org/web/20131203012353/https://www.hoover.org/publications/policy-review/article/123566 |archive-date=December 3, 2013 |access-date=January 23, 2020}}&amp;lt;/ref&amp;gt; The country ranks [[List of countries by GDP (nominal)|first in the world by nominal GDP]],&amp;lt;ref&amp;gt;{{cite web |url=https://www.bea.gov/news/2023/gross-domestic-product-fourth-quarter-and-year-2022-third-estimate-gdp-industry-and |title=Gross Domestic Product, Fourth Quarter and Year 2022 (Third Estimate), GDP by Industry, and Corporate Profits |publisher=[[United States Department of Commerce|U.S. Department of Commerce]]}}&amp;lt;/ref&amp;gt; [[List of countries by GDP (PPP)|second when adjusted for purchasing power parities]] (PPP),&amp;lt;ref name=&amp;quot;IMFWEO.US&amp;quot; /&amp;gt; and [[List of countries by GDP (PPP) per capita|ninth by PPP-adjusted GDP per capita]].&amp;lt;ref name=&amp;quot;IMFWEO.US&amp;quot; /&amp;gt; In February 2024, the total [[National debt of the United States|U.S. federal government debt]] was $34.4 trillion.&amp;lt;ref&amp;gt;{{cite news |last=Fox |first=Michelle |date=March 1, 2024 |title=The U.S. national debt is rising by $1 trillion about every 100 days |publisher=CNBC |url=https://www.cnbc.com/2024/03/01/the-us-national-debt-is-rising-by-1-trillion-about-every-100-days.html}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
[[File:Aerial Microsoft West Campus August 2009.jpg|thumb|[[Microsoft]], one of the world&#039;s [[List of public corporations by market capitalization|largest companies by market capitalization]] in 2024,&amp;lt;ref&amp;gt;{{Cite web |date=June 21, 2024 |title=Microsoft back as most valuable listed company as Nvidia slips |url=https://www.bbc.com/news/articles/c8884389l35o |access-date=August 6, 2024 |website=[[BBC]] |language=en-GB}}&amp;lt;/ref&amp;gt; has its global headquarters in [[Redmond, Washington]].]]&lt;br /&gt;
Of the world&#039;s [[Fortune Global 500|500 largest companies by revenue]], [[List of largest companies in the United States by revenue|136 were headquartered in the U.S.]] in 2023,&amp;lt;ref name=&amp;quot;Fortune-2022&amp;quot;&amp;gt;{{Cite web |title=Global 500 |url=https://fortune.com/ranking/global500/ |access-date=August 3, 2023 |website=[[Fortune Global 500]] |language=en}}&amp;lt;/ref&amp;gt; which is the highest number of any country.&amp;lt;ref&amp;gt;{{Cite web |last=Hyam |first=Benji |date=November 29, 2023 |title=Most Profitable Companies: U.S. vs. Rest of the World, 2023 |url=https://www.growandconvert.com/research/most-profitable-fortune-500-companies-in-2023/ |access-date=July 16, 2024 |website=www.growandconvert.com |language=en-US}}&amp;lt;/ref&amp;gt; The [[United States dollar|U.S. dollar]] is the currency most used [[International use of the U.S. dollar|in international transactions]] and the world&#039;s foremost [[reserve currency]], backed by the country&#039;s dominant economy, [[United States Armed Forces|its military]], the [[petrodollar]] system, its large [[U.S. Treasury|U.S. treasuries market]], and its linked [[eurodollar]].&amp;lt;ref name=&amp;quot;federalreserve.gov&amp;quot; /&amp;gt; [[United States dollar#Countries that use US dollar|Several countries use it as their official currency]], and in others it is the [[de facto currency|&#039;&#039;de facto&#039;&#039; currency]].&amp;lt;ref name=&amp;quot;Benjamin J. Cohen 2006, p. 17&amp;quot;&amp;gt;Benjamin J. Cohen, &#039;&#039;The Future of Money&#039;&#039;, Princeton University Press, 2006, {{ISBN|0-691-11666-0}}; &#039;&#039;cf&#039;&#039;. &amp;quot;the dollar is the de facto currency in Cambodia&amp;quot;, Charles Agar, &#039;&#039;[[Frommer&#039;s]] Vietnam&#039;&#039;, 2006, {{ISBN|0-471-79816-9}}, p. 17.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |date=March 31, 2014 |title=US GDP Growth Rate by Year |url=http://www.multpl.com/us-gdp-growth-rate/table/by-year |access-date=June 18, 2014 |website=multpl.com |publisher=US Bureau of Economic Analysis}}&amp;lt;/ref&amp;gt; The U.S. has [[free trade agreements]] with [[Free trade agreements of the United States|several countries]], including the [[United States–Mexico–Canada Agreement|USMCA]].&amp;lt;ref&amp;gt;{{cite web |title=United States free trade agreements |url=https://ustr.gov/trade-agreements/free-trade-agreements |access-date=May 31, 2019 |work=[[Office of the United States Trade Representative]]}}&amp;lt;/ref&amp;gt; Although the United States has reached a [[Post-industrial economy|post-industrial level of economic development]]&amp;lt;ref name=&amp;quot;Collins-2023&amp;quot;&amp;gt;{{Cite web |last=Collins |first=Michael |date=August 11, 2023 |title=The Post-Industrial Service Economy Isn&#039;t Working for the Middle Class |url=https://www.industryweek.com/the-economy/data-and-statistics/article/21271497/the-post-industrial-service-economy-isnt-working |access-date=August 10, 2024 |website=[[IndustryWeek]] |language=en}}&amp;lt;/ref&amp;gt; and is often described as having a [[service economy]],&amp;lt;ref name=&amp;quot;Collins-2023&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Econ&amp;quot;&amp;gt;{{cite web |title=USA Economy in Brief |url=https://usinfo.state.gov/products/pubs/economy-in-brief/page3.html |archive-url=https://web.archive.org/web/20080312123609/https://usinfo.state.gov/products/pubs/economy-in-brief/page3.html |archive-date=March 12, 2008 |publisher=U.S. Dept. of State, International Information Programs}}&amp;lt;/ref&amp;gt; it remains a major industrial power;&amp;lt;ref&amp;gt;{{cite web |date=July 2010 |title=The State of Manufacturing in the United States |url=http://trade.gov/manufactureamerica/facts/tg_mana_003019.asp |archive-url=https://web.archive.org/web/20130226011512/http://trade.gov/manufactureamerica/facts/tg_mana_003019.asp |archive-date=February 26, 2013 |access-date=March 10, 2013 |publisher=International Trade Administration}}&amp;lt;/ref&amp;gt; in 2021, the [[U.S. manufacturing sector]] was the world&#039;s [[List of countries by manufacturing output|second-largest]] after [[Manufacturing in China|China&#039;s]].&amp;lt;ref&amp;gt;{{Cite web |title=Manufacturing, Value Added (Current US$) |url=https://data.worldbank.org/indicator/NV.IND.MANF.CD?most_recent_value_desc=true |url-status=live |archive-url=https://web.archive.org/web/20200107135049/https://data.worldbank.org/indicator/NV.IND.MANF.CD?most_recent_value_desc=true |archive-date=January 7, 2020 |access-date=July 14, 2021 |publisher=[[World Bank]]}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
[[File:Gaming-Wall-Street BTS Prodigium-266.jpg|thumb|The [[New York Stock Exchange]] on [[Wall Street]], the world&#039;s [[List of stock exchanges#Major stock exchanges|largest stock exchange by market capitalization]]&amp;lt;ref name=NYSEhighestcap&amp;gt;{{cite web |url=https://www.forbes.com/advisor/investing/nyse-new-york-stock-exchange/ |title=NYSE: What Is The New York Stock Exchange |author=Kat Tretina and Benjamin Curry |work=Forbes |date=April 9, 2021 |access-date=July 24, 2022}}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
[[New York City]] is the world&#039;s principal [[financial center]]&amp;lt;ref&amp;gt;{{cite news |last1=Jones |first1=Huw |date=March 24, 2022 |title=New York widens lead over London in top finance centres index |url=https://www.reuters.com/business/new-york-widens-lead-over-london-top-finance-centres-index-2022-03-24/ |access-date=July 29, 2022 |website=[[Reuters]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=NYCFintechAndFinancialCapitalWorld&amp;gt;{{cite web |url=https://www.longfinance.net/publications/long-finance-reports/the-global-financial-centres-index-35/ |title=The Global Financial Centres Index 35 |date=March 21, 2024 |publisher=Long Finance |access-date=May 1, 2024}}&amp;lt;/ref&amp;gt; and the center of the world&#039;s [[list of cities by GDP|largest metropolitan economy]].&amp;lt;ref name=&amp;quot;NYCEpicenterUSMetroEconomy&amp;quot;&amp;gt;{{cite web |author=Ghosh |first=Iman |date=September 24, 2020 |title=This 3D map shows the U.S. cities with the highest economic output |url=https://www.weforum.org/agenda/2020/09/united-states-america-economic-output-new-york-la/ |access-date=March 5, 2023 |publisher=World Economic Forum |quote=The New York metro area dwarfs all other cities for economic output by a large margin.}}&amp;lt;/ref&amp;gt; The [[New York Stock Exchange]] and [[Nasdaq]], both located in New York City, are the world&#039;s two [[List of stock exchanges|largest stock exchanges]] by [[market capitalization]] and [[trade volume]].&amp;lt;ref&amp;gt;{{cite web |title=Monthly Reports – World Federation of Exchanges |url=https://www.world-exchanges.org/our-work/statistics |publisher=WFE}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;sfc.hk&amp;quot;&amp;gt;[http://www.sfc.hk/web/doc/EN/research/stat/a01.pdf Table A – Market Capitalization of the World&#039;s Top Stock Exchanges (As at end of June 2012)]. Securities and Exchange Commission (China).&amp;lt;/ref&amp;gt; The United States is at the forefront of [[Science and technology in the United States|technological advancement]] and [[innovation]] in many economic fields, especially in [[artificial intelligence]]; [[electronics]] and [[computer]]s; [[pharmaceuticals]]; and medical, [[aerospace]] and [[military equipment]].&amp;lt;ref name=&amp;quot;CIA-2018&amp;quot; /&amp;gt; The country&#039;s economy is fueled by abundant [[natural resource]]s, a well-developed [[Infrastructure policy of the United States|infrastructure]], and [[List of countries by labour productivity|high productivity]].&amp;lt;ref name=&amp;quot;Wright, Gavin 2007 p. 185&amp;quot;&amp;gt;Wright, Gavin, and Jesse Czelusta, &amp;quot;Resource-Based Growth Past and Present&amp;quot;, in &#039;&#039;Natural Resources: Neither Curse Nor Destiny&#039;&#039;, ed. Daniel Lederman and William Maloney (World Bank, 2007), p. 185. {{ISBN|0-8213-6545-2}}.&amp;lt;/ref&amp;gt; The [[List of the largest trading partners of the United States|largest trading partners of the United States]] are the [[European Union]], Mexico, Canada, China, Japan, South Korea, the United Kingdom, Vietnam, India, and Taiwan.&amp;lt;ref&amp;gt;{{cite web |date=October 2022 |title=Top Trading Partners – October 2022 |url=https://www.census.gov/foreign-trade/statistics/highlights/top/top1612yr.html |access-date=May 12, 2023 |publisher=U.S. Census Bureau}}&amp;lt;/ref&amp;gt; The United States is the world&#039;s [[List of countries by imports|largest importer]] and [[List of countries by exports|second-largest exporter]].{{efn|A country&#039;s total exports are usually understood to be goods and services. Based on this, the U.S. is the world&#039;s second-largest exporter, after China.&amp;lt;ref&amp;gt;{{cite web |title=World Trade Statistical Review 2019 |url=https://www.wto.org/english/res_e/statis_e/wts2019_e/wts2019_e.pdf |access-date=May 31, 2019 |work=[[World Trade Organization]] |page=100}}&amp;lt;/ref&amp;gt; However, if primary income is included, the U.S. is the world&#039;s largest exporter.&amp;lt;ref&amp;gt;{{Cite web |title=Exports of goods, services and primary income (BoP, current US$) |url=https://data.worldbank.org/indicator/BX.GSR.TOTL.CD?most_recent_value_desc=true |access-date=May 24, 2024 |website=data.worldbank.org}}&amp;lt;/ref&amp;gt;}} It is by far the world&#039;s [[List of countries by service exports|largest exporter of services]].&amp;lt;ref&amp;gt;{{Cite web |title=Service exports (BoP, current US$) |url=https://data.worldbank.org/indicator/BX.GSR.NFSV.CD?most_recent_value_desc=true&amp;amp;year_high_desc=false |access-date=August 4, 2023 |publisher=World Bank}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Americans have the highest average [[Household income|household]]&amp;lt;ref&amp;gt;{{cite web |title=Income |url=http://www.oecdbetterlifeindex.org/topics/income/ |access-date=September 28, 2019 |work=Better Life Index |publisher=OECD |quote=In the United States, the average household net adjusted disposable income per capita is USD 45 284 a year, much higher than the OECD average of USD 33 604 and the highest figure in the OECD.}}&amp;lt;/ref&amp;gt; and [[List of countries by average wage|employee income]] among OECD member states, and the fourth-highest [[Median income|median household income]] in 2023,&amp;lt;ref&amp;gt;{{Cite web |title=Median Income by Country 2023 |url=https://wisevoter.com/country-rankings/median-income-by-country/ |access-date=July 28, 2023 |website=Wisevoter |language=en-US}}&amp;lt;/ref&amp;gt; up from sixth-highest in 2013.&amp;lt;ref name=&amp;quot;Household Income&amp;quot;&amp;gt;{{cite journal |date=March 18, 2014 |url=http://www.oecd-ilibrary.org/social-issues-migration-health/society-at-a-glance-2014_soc_glance-2014-en |journal=Society at a Glance 2014: OECD Social Indicators |publisher=OECD Publishing |doi=10.1787/soc_glance-2014-en |isbn=978-92-64-20072-2 |access-date=May 29, 2014 |doi-access=free |title=Society at a Glance 2014}}&amp;lt;/ref&amp;gt; With personal [[Consumer spending|consumption expenditures]] of over $18.5 trillion in 2023,&amp;lt;ref&amp;gt;{{Cite web |date=March 28, 2024 |title=Personal Consumption Expenditures |url=https://fred.stlouisfed.org/series/PCECA |access-date=July 24, 2024 |website=fred.stlouisfed.org |language=en}}&amp;lt;/ref&amp;gt; the U.S. has a heavily [[Consumer economy|consumer-driven economy]] and is the world&#039;s [[List of largest consumer markets|largest consumer market]].&amp;lt;ref&amp;gt;{{cite journal|first1=Jan-Benedict E. M.|last1=Steenkamp|title=What is holding private label back in the United States and in emerging markets?|url=https://www.sciencedirect.com/science/article/abs/pii/S0022435923000568|journal=Journal of Retailing|date=March 1, 2024|issn=0022-4359|pages=56–69|volume=100|issue=1|doi=10.1016/j.jretai.2023.11.002|url-access=subscription}}&amp;lt;/ref&amp;gt; The U.S. [[List of countries by number of billionaires|ranked first in the number of dollar billionaires]] and [[List of countries by number of millionaires|millionaires]] in 2023, with 735 billionaires and nearly 22 million millionaires.&amp;lt;ref&amp;gt;{{Cite web |last=Napoletano |first=E. |date=October 20, 2023 |title=Here&#039;s How Many Billionaires And Millionaires Live In The U.S. – Forbes Advisor |url=https://www.forbes.com/advisor/retirement/how-many-billionaires-and-millionaires-live-in-the-u-s/#:~:text=As%20of%202023,%20there%20are,your%20own%20definition%20of%20wealth. |access-date=November 20, 2023 |website=Forbes}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Wealth in the United States]] is highly concentrated; in 2011, the richest 10% of the adult population owned 72% of the country&#039;s household wealth, while the bottom 50% owned just 2%.&amp;lt;ref&amp;gt;{{cite book |last1=Piketty |first1=Thomas |author-link1=Thomas Piketty |title=Capital in the Twenty-First Century |title-link=Capital in the Twenty-First Century |date=2014 |publisher=Belknap Press |page=[https://archive.org/details/isbn_9780674430006/page/257 257]}} {{ISBN|978-0-674-43000-6}}.&amp;lt;/ref&amp;gt; [[Wealth inequality in the United States|U.S. wealth inequality]] increased substantially since the late 1980s,&amp;lt;ref name=&amp;quot;Smith-2022&amp;quot;&amp;gt;{{Cite journal |last1=Smith |first1=Matthew |last2=Zidar |first2=Owen |last3=Zwick |first3=Eric |date=2022 |title=Top Wealth in America: New Estimates under Heterogeneous Returns |journal=The Quarterly Journal of Economics |volume=138 |pages=515–573 |doi=10.1093/qje/qjac033 |issn=0033-5533}}&amp;lt;/ref&amp;gt; and [[Income inequality in the United States|income inequality in the U.S.]] reached a record high in 2019.&amp;lt;ref&amp;gt;{{Cite news |url=https://www.washingtonpost.com/business/2019/09/26/income-inequality-america-highest-its-been-since-census-started-tracking-it-data-show/ |title=Income inequality in America is the highest it&#039;s been since Census Bureau started tracking it, data shows |newspaper=[[The Washington Post]] |access-date=July 27, 2020}}&amp;lt;/ref&amp;gt; In 2024, the country had some of the highest wealth and income inequality levels among [[OECD]] countries.&amp;lt;ref&amp;gt;{{Cite web |url=https://www.oecd.org/en/publications/society-at-a-glance-2024_918d8db3-en/full-report/income-and-wealth-inequalities_7ac4178f.html |website=OECD |date=June 20, 2024 |title=Society at a glance 2024: OECD social indicators |access-date=April 12, 2025}}&amp;lt;/ref&amp;gt; Since the 1970s, there has been a decoupling of U.S. wage gains from worker productivity.&amp;lt;ref name=&amp;quot;Hopkin&amp;quot;/&amp;gt; In 2016, the top fifth of earners took home more than half of all income,&amp;lt;ref&amp;gt;{{Cite news |last=Long |first=Heather |date=September 12, 2017 |title=U.S. middle-class incomes reached highest-ever level in 2016, Census Bureau says |newspaper=The Washington Post |url=https://www.washingtonpost.com/business/economy/us-middle-class-incomes-reached-highest-ever-level-in-2016-census-bureau-says/2017/09/12/7226905e-97de-11e7-b569-3360011663b4_story.html |access-date=November 11, 2019}}&amp;lt;/ref&amp;gt; giving the U.S. one of the widest income distributions among OECD countries.&amp;lt;ref name=&amp;quot;Sme&amp;quot;&amp;gt;{{cite journal |last1=Smeeding |first1=T. M. |year=2005 |title=Public Policy: Economic Inequality and Poverty: The United States in Comparative Perspective |journal=Social Science Quarterly |volume=86 |pages=955–983 |doi=10.1111/j.0038-4941.2005.00331.x |s2cid=154642286}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Hopkin&amp;quot;&amp;gt;{{cite book |last=Hopkin |first=Jonathan |author-link=Jonathan Hopkin |date=2020 |title=Anti-System Politics: The Crisis of Market Liberalism in Rich Democracies |chapter=American Nightmare: How Neoliberalism Broke US Democracy |url= |chapter-url=https://books.google.com/books?id=IyXTDwAAQBAJ&amp;amp;pg=PA87 |location= |publisher=[[Oxford University Press]] |pages=87–92 |isbn=978-0-19-069976-5 |doi=10.1093/oso/9780190699765.003.0004}}&amp;lt;/ref&amp;gt; There were about 771,480 [[Homelessness in the United States|homeless persons in the U.S.]] in 2024.&amp;lt;ref&amp;gt;{{cite news |last=Singh|first=Kanishka |date=December 27, 2024|title=US homelessness rose by record 18% in latest annual data|url=https://www.reuters.com/world/us/us-homelessness-rose-by-record-18-latest-annual-data-2024-12-27/|work=[[Reuters]] |location= |publisher= |access-date=February 13, 2025}}&amp;lt;/ref&amp;gt; In 2022, 6.4 million children experienced food insecurity.&amp;lt;ref name=&amp;quot;ers.usda.gov&amp;quot;&amp;gt;{{Cite web |url=http://www.ers.usda.gov/topics/food-nutrition-assistance/food-security-in-the-us/key-statistics-graphics |title=USDA ERS – Key Statistics &amp;amp; Graphics |website=ers.usda.gov |access-date=December 4, 2019 |archive-date=January 19, 2020 |url-status=live |archive-url=https://web.archive.org/web/20200119024909/https://www.ers.usda.gov/topics/food-nutrition-assistance/food-security-in-the-us/key-statistics-graphics.aspx }}&amp;lt;/ref&amp;gt; [[Feeding America]] estimates that around one in five, or approximately 13 million, [[Hunger in the United States#Children|children experience hunger in the U.S.]] and do not know where they will get their next meal or when.&amp;lt;ref name=&amp;quot;FactsAbout&amp;quot;&amp;gt;{{Cite web |title=Facts About Child Hunger in America {{!}} Feeding America |url=https://www.feedingamerica.org/hunger-in-america/child-hunger-facts |access-date=December 4, 2019 |website=feedingamerica.org}}&amp;lt;/ref&amp;gt; Also in 2022, about 37.9 million people, or 11.5% of the U.S. population, were [[Poverty in the United States|living in poverty]].&amp;lt;ref&amp;gt;{{Cite web |last= |first= |title=National Poverty in America Awareness Month: January 2023 |url=https://www.census.gov/newsroom/stories/poverty-awareness-month.html |website=Census.gov}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The United States has a smaller [[welfare state]] and redistributes less income through government action than most other [[World Bank high-income economy|high-income countries]].&amp;lt;ref&amp;gt;{{cite web |first1=Isabelle |last1=Joumard |first2=Mauro |last2=Pisu |first3=Debbie |last3=Bloch |title=Tackling income inequality The role of taxes and transfers |url=https://www.oecd.org/eco/public-finance/TacklingincomeinequalityTheroleoftaxesandtransfers.pdf |publisher=OECD |access-date=May 21, 2015 |year=2012}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |last=Rank |first=Mark Robert |author-link=Mark Robert Rank |date=2023 |title=The Poverty Paradox: Understanding Economic Hardship Amid American Prosperity |url=https://books.google.com/books?id=hGewEAAAQBAJ&amp;amp;pg=PA116 |location= |publisher=[[Oxford University Press]] |pages=116–117 |isbn=978-0-19-021263-6}}&amp;lt;/ref&amp;gt; It is the only [[advanced economy]] that does not [[List of statutory minimum employment leave by country|guarantee its workers paid vacation]] nationally&amp;lt;ref&amp;gt;{{cite news |last=Min |first=Sarah |date=May 24, 2019 |title=1 in 4 workers in U.S. don&#039;t get any paid vacation time or holidays |url=https://www.cbsnews.com/news/one-in-four-workers-in-us-dont-get-any-paid-vacation-time-or-holidays/ |publisher=CBS News |access-date=July 15, 2022 |quote=The United States is the only advanced economy that does not federally mandate any paid vacation days or holidays.}}&amp;lt;/ref&amp;gt; and one of a few countries in the world without federal [[Parental leave in the United States|paid family leave]] as a legal right.&amp;lt;ref&amp;gt;{{cite news |last=Bernard |first=Tara Siegel |date=February 22, 2013 |title=In Paid Family Leave, U.S. Trails Most of the Globe |newspaper=The New York Times |url=https://www.nytimes.com/2013/02/23/your-money/us-trails-much-of-the-world-in-providing-paid-family-leave.html |access-date=August 27, 2013}}&amp;lt;/ref&amp;gt; The United States has a higher percentage of low-income [[Working class in the United States|workers]] than almost any other developed country, largely because of a weak [[collective bargaining]] system and lack of government support for at-risk workers.&amp;lt;ref&amp;gt;{{cite news |last=Van Dam |first=Andrew |date=July 4, 2018 |title=Is it great to be a worker in the U.S.? Not compared with the rest of the developed world. |newspaper=The Washington Post |url=https://www.washingtonpost.com/news/wonk/wp/2018/07/04/is-it-great-to-be-a-worker-in-the-u-s-not-compared-to-the-rest-of-the-developed-world/?noredirect=on |access-date=July 12, 2018}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Science and technology ===&lt;br /&gt;
&lt;br /&gt;
{{Main|Science and technology in the United States}}&lt;br /&gt;
The United States [[Technological and industrial history of the United States|has been a leader in technological innovation since the late 19th century]] and scientific research since the mid-20th century.&amp;lt;ref&amp;gt;{{Cite web |last=Mowery |first=David |title=Technological Change and the Evolution of the U.S. &amp;quot;National Innovation System&amp;quot;, 1880-1990 |url=https://www.bbvaopenmind.com/en/articles/technological-change-and-the-evolution-of-the-u-s-national-innovation-system-1880-1990/ |archive-url=https://web.archive.org/web/20220127224449/https://www.bbvaopenmind.com/en/articles/technological-change-and-the-evolution-of-the-u-s-national-innovation-system-1880-1990/ |archive-date=2022-01-27 |access-date=July 10, 2024 |website=OpenMind |language=en-US}}&amp;lt;/ref&amp;gt; Methods for producing [[interchangeable parts]] and the establishment of a [[machine tool]] industry enabled [[American system of manufacturing|the large-scale manufacturing]] of U.S. consumer products in the late 19th century.&amp;lt;ref&amp;gt;{{Cite journal |last1=Goodfriend |first1=Marvin |last2=McDermott |first2=John |date=February 24, 2021 |title=The American System of economic growth |url= |journal=Journal of Economic Growth |language=en |volume=26 |issue=1 |pages=31–75 |doi=10.1007/s10887-021-09186-x |issn=1573-7020 |pmc=7902180 |pmid=33642936}}&amp;lt;/ref&amp;gt; By the early 20th century, factory [[electrification]], the introduction of the [[assembly line]], and other [[automation|labor-saving techniques]] created the system of [[mass production]].&amp;lt;ref&amp;gt;{{Hounshell1984}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the 21st century, the United States continues to be one of the world&#039;s foremost scientific powers,&amp;lt;ref&amp;gt;{{Cite journal |last1=Tollefson |first1=Jeff |last2=Van Noorden |first2=Richard |date=October 23, 2024 |title=The US is the world&#039;s science superpower — but for how long? |url=https://www.nature.com/articles/d41586-024-03403-4 |journal=Nature |language=en |volume=634 |issue=8035 |pages=770–774 |doi=10.1038/d41586-024-03403-4|pmid=39443789 |bibcode=2024Natur.634..770T |url-access=subscription }}&amp;lt;/ref&amp;gt; though China has emerged as a major competitor in many fields.&amp;lt;ref&amp;gt;{{Cite web |title=U.S. science no longer leads the world. Here&#039;s how top advisers say the nation should respond |url=https://www.science.org/content/article/u-s-science-no-longer-leads-world-here-s-how-top-advisers-say-nation-should-respond |access-date=February 10, 2025 |website=www.science.org |language=en}}&amp;lt;/ref&amp;gt; The U.S. has the [[List of sovereign states by research and development spending|highest research and development expenditures of any country]]&amp;lt;ref&amp;gt;{{Cite web |last=Desjardins |first=Jeff |date=December 18, 2018 |title=Innovators wanted: these countries spend the most on R&amp;amp;D |url=https://www.weforum.org/agenda/2018/12/how-much-countries-spend-on-r-d/ |access-date=May 22, 2024 |website=www.weforum.org}}&amp;lt;/ref&amp;gt; and ranks ninth as a percentage of GDP.&amp;lt;ref&amp;gt;{{Cite web |last=Fleming |first=Sean |date=November 16, 2020 |title=These countries spend the most on research and development |url=https://www.weforum.org/agenda/2020/11/countries-spending-research-development-gdp/ |access-date=May 22, 2024 |website=www.weforum.org}}&amp;lt;/ref&amp;gt; In 2022, the United States was (after China) the country with the [[List of countries by number of scientific and technical journal articles|second-highest number of published scientific papers]].&amp;lt;ref&amp;gt;{{Cite web |title=SJR – International Science Ranking |url=https://www.scimagojr.com/countryrank.php?order=itp&amp;amp;ord=desc&amp;amp;year=2020 |access-date=February 5, 2022 |website=Scimagojr.com |language=en-uk}}&amp;lt;/ref&amp;gt; In 2021, the U.S. ranked second (also after China) by the number of patent applications, and third by trademark and industrial design applications (after China and Germany), according to [[World Intellectual Property Indicators]].&amp;lt;ref&amp;gt;{{cite book |author1=World Intellectual Property Organization. |url=https://www.wipo.int/publications/en/details.jsp?id=4571&amp;amp;plang=EN |title=World Intellectual Property Indicators 2021 |publisher=World Intellectual Property Organization (WIPO) |year=2021 |isbn=978-92-805-3329-3 |series=World IP Indicators (WIPI) |language=en |doi=10.34667/tind.44461 |access-date=April 27, 2022}}&amp;lt;/ref&amp;gt; In 2023&amp;lt;ref&amp;gt;{{Cite book |last=WIPO |url=https://www.wipo.int/global_innovation_index/en/2023/index.html |title=Global Innovation Index 2023, 15th Edition |date=December 28, 2023 |publisher=World Intellectual Property Organization |isbn=978-92-805-3432-0 |language=en |doi=10.34667/tind.46596 |access-date=October 17, 2023}}&amp;lt;/ref&amp;gt; and 2024,&amp;lt;ref&amp;gt;{{Cite web |title=Global Innovation Index 2024: Unlocking the Promise of Social Entrepreneurship |url=https://www.wipo.int/web-publications/global-innovation-index-2024/en/ |access-date=November 29, 2024 |website=www.wipo.int |language=en}}&amp;lt;/ref&amp;gt; the United States ranked third (after Switzerland and Sweden) in the [[Global Innovation Index]]. The United States is considered to be the leading country in the development of [[artificial intelligence]] technology.&amp;lt;ref&amp;gt;{{Cite web |date=November 21, 2024 |title=Global AI Power Rankings: Stanford HAI Tool Ranks 36 Countries in AI |url=https://hai.stanford.edu/news/global-ai-power-rankings-stanford-hai-tool-ranks-36-countries-ai |access-date=January 1, 2025 |website=hai.stanford.edu |language=en}}&amp;lt;/ref&amp;gt; In 2023, the United States was ranked the second most technologically advanced country in the world (after South Korea) by &#039;&#039;[[Global Finance (magazine)|Global Finance]]&#039;&#039; magazine.&amp;lt;ref&amp;gt;{{Cite web |last=Getzoff |first=Marc |date=December 1, 2023 |title=Most Technologically Advanced Countries In The World 2023 |url=https://gfmag.com/data/non-economic-data/most-advanced-countries-in-the-world/ |access-date=July 29, 2024 |website=Global Finance Magazine |language=en-US}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Spaceflight ====&lt;br /&gt;
{{Main|Space policy of the United States}}&lt;br /&gt;
[[File:A Man on the Moon, AS11-40-5903 (cropped).jpg|thumb|Astronauts [[Buzz Aldrin]] and [[Neil Armstrong]] during the 1969 [[Apollo 11]] mission, the first crewed [[Moon landing]]. Armstrong is seen in Aldrin&#039;s visor reflection along with [[Earth]], the [[Lunar Module Eagle|Lunar Module &#039;&#039;Eagle&#039;&#039;]], and the [[Flag of the United States|American flag]]. The United States is the only country to have landed humans on the Moon.]]&lt;br /&gt;
The United States has maintained a space program since the late 1950s, beginning with the establishment of the [[NASA|National Aeronautics and Space Administration]] (NASA) in 1958.&amp;lt;ref&amp;gt;{{Cite web |date=July 26, 2023 |title=65 Years Ago: The National Aeronautics and Space Act of 1958 Creates NASA – NASA |url=https://www.nasa.gov/history/65-years-ago-the-national-aeronautics-and-space-act-of-1958-creates-nasa/#:~:text=President%20Eisenhower%20signed%20the%20National,of%20the%20International%20Geophysical%20Year. |access-date=September 6, 2024 |language=en-US}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |date=September 4, 2024 |title=National Aeronautics and Space Administration {{!}} US Space Agency &amp;amp; Exploration Achievements {{!}} Britannica |url=https://www.britannica.com/topic/NASA |access-date=September 5, 2024 |website=www.britannica.com |language=en}}&amp;lt;/ref&amp;gt; NASA&#039;s [[Apollo program]] (1961&amp;amp;ndash;1972) achieved the first crewed [[Moon landing]] with the 1969 [[Apollo 11]] mission; it remains one of the agency&#039;s most significant milestones.&amp;lt;ref&amp;gt;{{Cite web |date=August 29, 2024 |title=Apollo {{!}} History, Missions, Significance, &amp;amp; Facts {{!}} Britannica |url=https://www.britannica.com/science/Apollo-space-program |access-date=September 5, 2024 |website=www.britannica.com |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |date=July 4, 2019 |title=The Apollo Missions |url=https://www.ibm.com/thought-leadership/the-apollo-missions/ |access-date=September 5, 2024 |website=The Apollo Missions |language=en-US}}&amp;lt;/ref&amp;gt; Other major endeavors by NASA include the [[Space Shuttle program]] (1981–2011),&amp;lt;ref&amp;gt;{{Cite web |title=Space Shuttle – NASA |url=https://www.nasa.gov/space-shuttle/ |access-date=September 5, 2024 |language=en-US}}&amp;lt;/ref&amp;gt; the [[Voyager program]] (1972&amp;amp;ndash;present), the [[Hubble Space Telescope|Hubble]] and [[James Webb Space Telescope|James Webb]] [[space telescope]]s (launched in 1990 and 2021, respectively),&amp;lt;ref&amp;gt;{{Cite web |title=Quick Facts |url=https://hubblesite.org/quick-facts |access-date=September 5, 2024 |website=HubbleSite |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |title=Quick Facts |url=https://webbtelescope.org/quick-facts |access-date=September 5, 2024 |website=Webb |language=en}}&amp;lt;/ref&amp;gt; and the multi-mission [[Mars Exploration Program]] (&#039;&#039;[[Mars Exploration Rover|Spirit]]&#039;&#039; and &#039;&#039;[[Opportunity (rover)|Opportunity]]&#039;&#039;, &#039;&#039;[[Curiosity (rover)|Curiosity]],&#039;&#039; and &#039;&#039;[[Perseverance (rover)|Perseverance]]&#039;&#039;).&amp;lt;ref&amp;gt;{{Cite web |title=Mars Exploration – NASA Science |url=https://science.nasa.gov/planetary-science/programs/mars-exploration/ |access-date=September 5, 2024 |website=science.nasa.gov |date=February 27, 2008 |language=en-US}}&amp;lt;/ref&amp;gt; NASA is one of five agencies collaborating on the [[International Space Station]] (ISS);&amp;lt;ref&amp;gt;{{Cite web |title=International Space Station Facts and Figures – NASA |url=https://www.nasa.gov/international-space-station/space-station-facts-and-figures/ |access-date=September 5, 2024 |language=en-US}}&amp;lt;/ref&amp;gt; U.S. contributions to the ISS include several modules, including &#039;&#039;[[Destiny (ISS module)|Destiny]]&#039;&#039; (2001), &#039;&#039;[[Harmony (ISS module)|Harmony]]&#039;&#039; (2007), and &#039;&#039;[[Tranquility (ISS module)|Tranquility]]&#039;&#039; (2010), as well as ongoing logistical and operational support.&amp;lt;ref&amp;gt;{{Cite web |last=Howell |first=Elizabeth |date=August 24, 2022 |title=International Space Station: Facts, History &amp;amp; Tracking |url=https://www.space.com/16748-international-space-station.html |access-date=September 5, 2024 |website=Space.com |language=en |edition=updated, last}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The United States [[private sector]] dominates the global [[Private spaceflight|commercial spaceflight industry]].&amp;lt;ref&amp;gt;{{Cite news |date=January 11, 2022 |title=Analysis {{!}} Companies are commercializing outer space. Do government programs still matter? |url=https://www.washingtonpost.com/politics/2022/01/11/companies-are-commercializing-outer-space-do-government-programs-still-matter/ |access-date=September 5, 2024 |newspaper=Washington Post |language=en-US |issn=0190-8286}}&amp;lt;/ref&amp;gt; Prominent American spaceflight contractors include [[Blue Origin]], [[Boeing]], [[Lockheed Martin]], [[Northrop Grumman]], and [[SpaceX]]. NASA programs such as the [[Commercial Crew Program]], [[Commercial Resupply Services]], [[Commercial Lunar Payload Services]], and [[Next Space Technologies for Exploration Partnerships|NextSTEP]] have facilitated growing private-sector involvement in American spaceflight.&amp;lt;ref&amp;gt;{{Cite web |title=Commercial Space – NASA |url=https://www.nasa.gov/humans-in-space/commercial-space/ |access-date=September 5, 2024 |language=en-US}}&amp;lt;/ref&amp;gt;&amp;lt;!-- Info is needed about the Artemis program as it is a major component of contemporary American space policy. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Energy ===&lt;br /&gt;
{{Main|Energy in the United States}}&lt;br /&gt;
&lt;br /&gt;
In 2023, the United States received approximately 84% of its energy from fossil fuel, and its largest source of energy was [[Petroleum in the United States|petroleum]] (38%), followed by [[Natural gas in the United States|natural gas]] (36%), [[Renewable energy in the United States|renewable sources]] (9%), [[Coal in the United States|coal]] (9%), and [[Nuclear power in the United States|nuclear power]] (9%).&amp;lt;ref&amp;gt;{{Cite web |title=U.S. energy facts explained – consumption and production – U.S. Energy Information Administration (EIA) |url=https://www.eia.gov/energyexplained/us-energy-facts/ |access-date=November 21, 2023 |website=eia.gov}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;visu&amp;quot;&amp;gt;{{cite web |date=March 2022 |title=Energy Flow Charts: Charting the Complex Relationships among Energy, Water, and Carbon |url=https://flowcharts.llnl.gov/ |access-date=May 16, 2023 |publisher=Lawrence Livermore National Laboratory}}&amp;lt;/ref&amp;gt;&amp;lt;!--Numbers do not add up to 100 due to rounding errors. --&amp;gt; In 2022, the United States constituted about 4% of the [[world population|world&#039;s population]], but consumed around 16% of the [[World energy consumption|world&#039;s energy]].&amp;lt;ref&amp;gt;{{cite news |date=November 5, 2021 |title=What is the United States&#039; share of world energy consumption? |work=[[Energy Information Administration|U.S. Energy Information Administration]] |url=https://www.eia.gov/tools/faqs/faq.php?id=87&amp;amp;t=1}}&amp;lt;/ref&amp;gt; The U.S. ranks as the [[List of countries by greenhouse gas emissions|second-highest emitter of greenhouse gases]] behind China.&amp;lt;ref&amp;gt;{{cite web |last=US Environmental Protection Agency |first=OAR |date=February 8, 2017 |title=Inventory of U.S. Greenhouse Gas Emissions and Sinks |url=https://www.epa.gov/ghgemissions/inventory-us-greenhouse-gas-emissions-and-sinks |access-date=December 3, 2020 |website=US EPA |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The U.S. is the world&#039;s [[Nuclear power by country|largest producer of nuclear power]], generating around 30% of the world&#039;s nuclear electricity.&amp;lt;ref&amp;gt;{{Cite web |title=Nuclear Power in the USA - World Nuclear Association |url=https://world-nuclear.org/information-library/country-profiles/countries-t-z/usa-nuclear-power |access-date=March 1, 2025 |website=world-nuclear.org}}&amp;lt;/ref&amp;gt; It also has the highest number of nuclear power reactors of any country.&amp;lt;ref&amp;gt;{{Cite web |last=Rouse |first=Sabina |date=November 5, 2019 |title=Where are the world&#039;s 449 nuclear reactors? |url=https://www.weforum.org/stories/2019/11/countries-that-have-the-most-nuclear-power-alternative-energy-electricity-climate-change/ |archive-url=https://web.archive.org/web/20250214075151/https://www.weforum.org/stories/2019/11/countries-that-have-the-most-nuclear-power-alternative-energy-electricity-climate-change/ |archive-date=February 14, 2025 |access-date=March 1, 2025 |website=World Economic Forum |language=en |url-status=live }}&amp;lt;/ref&amp;gt; From 2024, the U.S. plans to triple its nuclear power capacity by 2050.&amp;lt;ref&amp;gt;{{Cite web |date=November 12, 2024 |title=U.S. Sets Targets to Triple Nuclear Energy Capacity by 2050 |url=https://www.energy.gov/ne/articles/us-sets-targets-triple-nuclear-energy-capacity-2050 |access-date=March 1, 2025 |website=Energy.gov |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Transportation ===&lt;br /&gt;
{{Main|Transportation in the United States}}&lt;br /&gt;
[[File:45intoI-10_2.jpg|thumb|right|Interchange between [[Interstate 10]] and [[Interstate 45]] in [[Houston]], Texas]]&lt;br /&gt;
The {{convert|4|e6mi|abbr=off|sp=us}} road network, owned almost entirely by state and local governments, is the [[List of countries by road network size|longest]] in the world.&amp;lt;ref&amp;gt;{{Cite web |title=Roadways – The World Factbook |url=https://www.cia.gov/the-world-factbook/field/roadways/country-comparison |url-status=live |archive-url=https://web.archive.org/web/20210712201909/https://www.cia.gov/the-world-factbook/field/roadways/country-comparison |archive-date=July 12, 2021 |access-date=July 15, 2021 |website=Cia.gov}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=Public Road and Street Mileage in the United States by Type of Surface |url=https://www.rita.dot.gov/bts/sites/rita.dot.gov.bts/files/publications/national_transportation_statistics/html/table_01_04.html |website=United States Department of Transportation |access-date=January 13, 2015 |archive-date=January 2, 2015 |archive-url=https://web.archive.org/web/20150102141414/https://www.rita.dot.gov/bts/sites/rita.dot.gov.bts/files/publications/national_transportation_statistics/html/table_01_04.html }}&amp;lt;/ref&amp;gt; The extensive [[Interstate Highway System]] that connects all major cities is funded mostly by the federal government but maintained by [[List of U.S. state and insular area departments of transportation|state departments of transportation]], supplemented by state expressways and some private [[toll road]]s.&lt;br /&gt;
&lt;br /&gt;
The U.S. is among the top ten countries with the [[List of countries by vehicles per capita|highest vehicle ownership per capita]] (850 vehicles per 1,000 people) in 2022. A 2022 study found that 76% of U.S. commuters drive alone and 14% ride a bicycle, including bike owners and users of [[bike-sharing]] networks. About 11% use some form of public transportation.&amp;lt;ref&amp;gt;{{Cite web |date=May 19, 2022 |title=Cars still dominate the American commute |url=https://www.weforum.org/agenda/2022/05/commute-america-sustainability-cars/ |access-date=May 21, 2023 |website=World Economic Forum |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Humes |first=Edward |date=April 12, 2016 |title=The Absurd Primacy of the Automobile in American Life |url=https://www.theatlantic.com/business/archive/2016/04/absurd-primacy-of-the-car-in-american-life/476346/ |access-date=July 12, 2023 |website=The Atlantic |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Public transportation in the United States]] is well developed in the largest urban areas, notably New York City, San Francisco, Washington, D.C., Boston, and Chicago; otherwise, coverage is generally less extensive than in most other developed countries. The U.S. also has many relatively [[car-dependent]] localities.&amp;lt;ref&amp;gt;{{Cite book |title=Urban mass transportation planning |author=Black, Alan |date=1995 |publisher=McGraw-Hill |isbn=978-0-07-005557-5 |location=New York |oclc=31045097}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Long-distance intercity travel is provided primarily by airlines, but travel by rail is more common along the [[Northeast Corridor]], the only [[high-speed rail in the United States|high-speed rail in the U.S.]] that meets international standards. [[Amtrak]], the country&#039;s government-sponsored national passenger rail company, has a relatively sparse network compared to that of Western European countries. Service is concentrated in the Northeast, California, the Midwest, the Pacific Northwest, and Virginia/Southeast.&lt;br /&gt;
&lt;br /&gt;
[[File:Atlanta Hartsfield-Jackson (cropped).jpg|thumb|[[Hartsfield–Jackson Atlanta International Airport]], serving the [[Atlanta metropolitan area]], is the world&#039;s [[List of busiest airports by passenger traffic|busiest airport by passenger traffic]] with over 75 million passengers as of 2021.&amp;lt;ref name=&amp;quot;BusyAirport&amp;quot;&amp;gt;{{cite web |url=https://www.cnn.com/travel/article/worlds-busiest-airports-2021/index.html |title=This US airport has reclaimed its title as the world&#039;s busiest |publisher=CNN |first=Marnie |last=Hunter |date=April 11, 2022}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |url=https://www.aci.aero/News/Releases/Most-Recent/2014/03/31/Preliminary-World-Airport-Traffic-and-Rankings-2013--High-Growth-Dubai-Moves-Up-to-7th-Busiest-Airport- |title=Preliminary World Airport Traffic and Rankings 2013—High Growth Dubai Moves Up to 7th Busiest Airport |archive-url=https://web.archive.org/web/20140401052319/https://www.aci.aero/News/Releases/Most-Recent/2014/03/31/Preliminary-World-Airport-Traffic-and-Rankings-2013--High-Growth-Dubai-Moves-Up-to-7th-Busiest-Airport- |archive-date=April 1, 2014 |date=March 31, 2014 |access-date=May 17, 2014}}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
The United States has an extensive air transportation network. [[List of airlines of the United States|U.S. civilian airlines]] are all privately owned. The three largest airlines in the world, by total number of passengers carried, are U.S.-based; [[American Airlines]] became the global leader after its 2013 merger with [[US Airways]].&amp;lt;ref&amp;gt;{{cite web|url=https://www.iata.org/publications/pages/wats-passenger-carried.aspx|title=Scheduled Passengers Carried|publisher=International Air Transport Association (IATA)|year=2011|access-date=February 17, 2012|archive-url=https://web.archive.org/web/20150102034843/https://www.iata.org/publications/pages/wats-passenger-carried.aspx|archive-date=January 2, 2015}}&amp;lt;/ref&amp;gt; Of the 50 busiest airports in the world, 16 are in the United States, as well as five of the top 10.&amp;lt;ref name=&amp;quot;PANYNJ 2021 report&amp;quot;&amp;gt;{{cite web|url=https://www.panynj.gov/content/dam/airports/statistics/statistics-general-info/annual-atr/ATR_2021.pdf|title=2021 Airport Traffic Report|work=Port Authority of New York and New Jersey|date=April 2022|page=32}}&amp;lt;/ref&amp;gt; The world&#039;s busiest airport by passenger volume is [[Hartsfield–Jackson Atlanta International Airport|Hartsfield–Jackson Atlanta International]] in [[Atlanta|Atlanta, Georgia]].&amp;lt;ref name=&amp;quot;BusyAirport&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;PANYNJ 2021 report&amp;quot; /&amp;gt; In 2022, most of the [[List of airports in the United States|19,969 U.S. airports]]&amp;lt;ref&amp;gt;{{cite web |title=Number of U.S. Airports |url=https://www.bts.gov/content/number-us-airportsa |publisher=Bureau of Transportation Statistics |access-date=December 15, 2023}}&amp;lt;/ref&amp;gt; were owned and operated by local government authorities, and there are also some private airports. Some 5,193 are designated as &amp;quot;public use&amp;quot;, including for [[general aviation]]. The [[Transportation Security Administration]] (TSA) has provided security at most major airports since 2001.&lt;br /&gt;
&lt;br /&gt;
[[Rail transport in the United States|The country&#039;s rail transport network]], the [[List of countries by rail transport network size|longest]] in the world at {{cvt|293564.2|km|order=flip}},&amp;lt;ref&amp;gt;{{cite web |url=https://www.cia.gov/the-world-factbook/field/railways/country-comparison |title=Railways – The World Factbook |work=[[The World Factbook]] |publisher=[[Central Intelligence Agency]] |access-date=July 14, 2022 |archive-date=November 24, 2018 |archive-url=https://web.archive.org/web/20181124012056/https://www.cia.gov/library/publications/the-world-factbook/rankorder/2121rank.html |url-status=dead }}&amp;lt;/ref&amp;gt; handles mostly [[Freight transport|freight]]&amp;lt;ref&amp;gt;{{cite web |url=https://www.transtats.bts.gov/osea/seasonaladjustment/?PageVar=RAIL_PM |title=Seasonally Adjusted Transportation Data |publisher=Bureau of Transportation Statistics |location=Washington, D.C. |year=2021 |access-date=February 16, 2021 |archive-date=April 22, 2021 |archive-url=https://web.archive.org/web/20210422132507/https://www.transtats.bts.gov/osea/seasonaladjustment/?PageVar=RAIL_PM }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last=Fitzsimmons |first=Emma G. |date=April 24, 2017 |title=Amtrak at a Junction: Invest in Improvements, or Risk Worsening Problems |url=https://www.nytimes.com/2017/04/24/nyregion/amtrak-infrastructure-crisis.html |newspaper=The New York Times |access-date=April 16, 2023}}&amp;lt;/ref&amp;gt; (in contrast to more passenger-centered rail in Europe&amp;lt;ref&amp;gt;{{cite web |url=https://ti.org/antiplanner/?p=11847 |title=Comparing European and American Transport |author=The Antiplanner |date=May 13, 2016}}&amp;lt;/ref&amp;gt;). Because they are often privately owned operations, U.S. railroads lag behind those of the rest of the world in terms of electrification.&amp;lt;ref&amp;gt;{{Cite journal|url=https://brownpoliticalreview.org/us-railroads-lag-behind-the-world-in-railroad-electrification-and-the-reason-is-private-ownership/|website=[[Brown Political Review]]|title=US Railroads Lag Behind the World in Railroad Electrification, and the Reason is Private Ownership|first=Maddock|last=Thomas|date=March 7, 2023|access-date=March 9, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Inland waterways of the United States|The country&#039;s inland waterways]] are the world&#039;s [[List of countries by waterways length|fifth-longest]], totaling {{convert|41009|km|0|abbr=on}}.&amp;lt;ref&amp;gt;{{cite web |url=https://www.cia.gov/the-world-factbook/field/waterways/country-comparison |title=Waterways – The World Factbook |work=[[The World Factbook]] |publisher=[[Central Intelligence Agency]] |access-date=July 14, 2022 |archive-date=April 12, 2022 |archive-url=https://web.archive.org/web/20220412005407/https://www.cia.gov/the-world-factbook/field/waterways/country-comparison |url-status=dead }}&amp;lt;/ref&amp;gt; They are used extensively for freight, recreation, and a small amount of passenger traffic. Of the world&#039;s [[List of busiest container ports|50 busiest container ports]], four are located in the United States, with the busiest in the U.S. being the [[Port of Los Angeles]].&amp;lt;ref&amp;gt;{{cite web |url=https://www.worldshipping.org/top-50-ports |title=The Top 50 Container Ports |work=[[World Shipping Council]] |location=Washington, D.C. |access-date=July 14, 2022}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Demographics ==&lt;br /&gt;
{{Main|Demographics of the United States}}&lt;br /&gt;
&lt;br /&gt;
=== Population ===&lt;br /&gt;
&amp;lt;!--As prose text is preferred, overly detailed statistical charts and diagrams such as economic trends, weather boxes, historical population charts, past elections results, etc. should be reserved for main sub articles on the topic as per WP:DETAIL as outlined at WP:NOTSTATS.--&amp;gt;&lt;br /&gt;
{{Main|Americans|Race and ethnicity in the United States}}&lt;br /&gt;
{{See also|List of U.S. states by population}}&lt;br /&gt;
{{Bar chart&lt;br /&gt;
| float       = right&lt;br /&gt;
| title       = The 10 most populous U.S. states &amp;lt;br /&amp;gt; (2024 estimates)&amp;lt;ref name=&amp;quot;CensusEst2024&amp;quot;&amp;gt;{{cite web |title=Annual and cumulative estimates of residential population change for the United States, regions, states, District of Columbia, Puerto Rico |url=https://www.census.gov/newsroom/press-kits/2024/national-state-population-estimates.html |website=U.S. Census Bureau |access-date=December 20, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| label_type  = State&lt;br /&gt;
| data_type   = Population (millions)&lt;br /&gt;
| bar_width   = 10&lt;br /&gt;
| width_units = em&lt;br /&gt;
| data_max    = 40&lt;br /&gt;
| label1   = [[California]]&lt;br /&gt;
| data1    = 39.4&lt;br /&gt;
| label2   = [[Texas]]&lt;br /&gt;
| data2    = 31.3&lt;br /&gt;
| label3   = [[Florida]]&lt;br /&gt;
| data3    = 23.4&lt;br /&gt;
| label4   = [[New York (state)|New York]]&lt;br /&gt;
| data4    = 19.9&lt;br /&gt;
| label5   = [[Pennsylvania]]&lt;br /&gt;
| data5    = 13.1&lt;br /&gt;
| label6   = [[Illinois]]&lt;br /&gt;
| data6    = 12.7&lt;br /&gt;
| label7   = [[Ohio]]&lt;br /&gt;
| data7    = 11.9&lt;br /&gt;
| label8   = [[Georgia (U.S. state)|Georgia]]&lt;br /&gt;
| data8    = 11.2&lt;br /&gt;
| label9   = [[North Carolina]]&lt;br /&gt;
| data9    = 11.0&lt;br /&gt;
| label10   = [[Michigan]]&lt;br /&gt;
| data10    = 10.1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The [[United States Census Bureau|U.S. Census Bureau]] reported 331,449,281 residents on April 1, 2020,{{efn|This figure, like most official data for the United States as a whole, excludes the five unincorporated territories ([[Puerto Rico]], [[Guam]], the [[U.S. Virgin Islands]], [[American Samoa]], and the [[Northern Mariana Islands]]) and minor island possessions.}}&amp;lt;ref name=2020CENSUS&amp;gt;{{cite web |url=https://www.census.gov/newsroom/press-releases/2021/2020-census-apportionment-results.htmlpid=2020CENSUS&amp;amp;src=pt |title=Census Bureau&#039;s 2020 Population Count |work=[[United States Census]] |access-date=April 26, 2021}}&amp;lt;/ref&amp;gt; making the United States the [[List of countries and dependencies by population|third-most-populous country]] in the world, after China and India.&amp;lt;ref name=&amp;quot;CIA-2018&amp;quot;&amp;gt;{{cite web |title=The World Factbook: United States |url=https://www.cia.gov/the-world-factbook/countries/united-states/ |access-date=November 10, 2018 |publisher=Central Intelligence Agency}}&amp;lt;/ref&amp;gt; The Census Bureau&#039;s official 2024 population estimate was 340,110,988, an increase of 2.6% since the 2020 census.&amp;lt;ref name=&amp;quot;Vintage2024&amp;quot; /&amp;gt; According to the Bureau&#039;s [[U.S. and World Population Clock|U.S. Population Clock]], on July 1, 2024, the U.S. population had a net gain of one person every 16 seconds, or about 5400 people per day.&amp;lt;ref&amp;gt;{{cite web |title=Population Clock |url=https://www.census.gov/popclock/ |website=Census.gov}}&amp;lt;/ref&amp;gt; In 2023, 51% of Americans age 15 and over were married, 6% were [[widowed]], 10% were divorced, and 34% had never been married.&amp;lt;ref&amp;gt;{{cite web |title=Table MS-1. Marital Status of the Population 15 Years Old and Over, by Sex, Race and Hispanic Origin: 1950 to Present |url=https://www.census.gov/data/tables/time-series/demo/families/marital.html |access-date=September 11, 2019 |website=Historical Marital Status Tables |publisher=U.S. Census Bureau}}&amp;lt;/ref&amp;gt; In 2023, the [[total fertility rate]] for the U.S. stood at 1.6 children per woman,&amp;lt;ref&amp;gt;{{Cite web |last=Saric |first=Ivana |date=April 25, 2024 |title=Births dropped in 2023, ending pandemic baby boom |url=https://www.axios.com/2024/04/25/us-births-drop-2023 |access-date=July 1, 2024 |publisher=Axios |language=en}}&amp;lt;/ref&amp;gt; and, at 23%, it had the world&#039;s highest rate of children living in [[Single parents in the United States|single-parent]] households in 2019.&amp;lt;ref&amp;gt;{{cite web |title=U.S. has world&#039;s highest rate of children living in single-parent households |url=https://www.pewresearch.org/fact-tank/2019/12/12/u-s-children-more-likely-than-children-in-other-countries-to-live-with-just-one-parent/ |access-date=March 17, 2020 |website=Pew Research Center |date=December 12, 2019 |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The United States has a diverse population; 37 [[American ancestries|ancestry groups]] have more than one million members.&amp;lt;ref name=&amp;quot;An2000&amp;quot;&amp;gt;{{cite web |title=Ancestry 2000 |url=https://www.census.gov/prod/2004pubs/c2kbr-35.pdf |date=June 2004 |publisher=U.S. Census Bureau |url-status=live |archive-url=http://webarchive.loc.gov/all/20041204015245/https://www.census.gov/prod/2004pubs/c2kbr-35.pdf |archive-date=December 4, 2004 |access-date=December 2, 2016}}&amp;lt;/ref&amp;gt; [[Non-Hispanic whites|White Americans]] with ancestry from Europe, the Middle East, or North Africa form the largest [[race (human classification)|racial]] and [[ethnic group]] at 57.8% of the United States population.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.census.gov/library/stories/2021/08/2020-united-states-population-more-racially-ethnically-diverse-than-2010.html|title=The Chance That Two People Chosen at Random Are of Different Race or Ethnicity Groups Has Increased Since 2010|publisher=U.S. Census Bureau|website=Census.gov}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=Table 52. Population by Selected Ancestry Group and Region: 2009 |url=https://www.census.gov/compendia/statab/2012/tables/12s0052.pdf |year=2009 |publisher=U.S. Census Bureau |archive-url=https://web.archive.org/web/20121225031832/https://www.census.gov/compendia/statab/2012/tables/12s0052.pdf |archive-date=December 25, 2012 |access-date=February 11, 2017}}&amp;lt;/ref&amp;gt; [[Hispanic and Latino Americans]] form the second-largest group and are 18.7% of the United States population. [[African Americans]] constitute the country&#039;s third-largest ancestry group and are 12.1% of the total U.S. population.&amp;lt;ref name=&amp;quot;An2000&amp;quot; /&amp;gt; Asian Americans are the country&#039;s fourth-largest group, composing 5.9% of the United States population. The country&#039;s 3.7 million Native Americans account for about 1%,&amp;lt;ref name=&amp;quot;An2000&amp;quot; /&amp;gt; and some 574 native tribes are recognized by the federal government.&amp;lt;ref&amp;gt;{{Cite web |title=Federally recognized American Indian tribes and Alaska Native entities {{!}} USAGov |url=https://www.usa.gov/indian-tribes-alaska-native |access-date=April 5, 2024 |website=www.usa.gov |language=en}}&amp;lt;/ref&amp;gt; In 2024, the [[median age]] of the United States population was 39.1 years.&amp;lt;ref&amp;gt;{{Cite web |last=Wilder |first=Kristie |last2=Mackun |first2=Paul |title=Median Age in 192 Metro Areas Higher Than National Median of 39.1 |url=https://www.census.gov/library/stories/2025/06/metro-areas-median-age.html |access-date=2025-07-04 |website=Census.gov |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Language ===&lt;br /&gt;
{{Main|Languages of the United States}}&lt;br /&gt;
[[File:Languages cp-02.svg|thumb|Most spoken languages in the U.S.]]&lt;br /&gt;
While many languages are spoken in the United States, [[American English|English]] is by far the most commonly spoken and written.&amp;lt;ref&amp;gt;{{Cite web |last=Kaur |first=Harmeet |date=May 20, 2018 |title=FYI: English isn&#039;t the official language of the United States |url=https://www.cnn.com/2018/05/20/us/english-us-official-language-trnd/index.html |access-date=May 11, 2023 |publisher=CNN |language=en}}&amp;lt;/ref&amp;gt; In 2025, [[Executive Order 14224]] declared English the [[official language]] of the United States, and federal agencies recognize English as the official language under the order.&amp;lt;ref name=&amp;quot;EOWP&amp;quot; /&amp;gt; However, Congress has never passed a bill to designate English as the official language of all three federal branches. Some laws, such as [[Naturalized citizen of the United States|U.S. naturalization requirements]], nonetheless standardize English. Twenty-eight states and the [[United States Virgin Islands]] have laws that designate English as the sole official language; 19 states and the [[District of Columbia]] have no official language.&amp;lt;ref&amp;gt;{{cite news |date=August 12, 2014 |title=States Where English Is the Official Language |url=https://www.washingtonpost.com/blogs/govbeat/wp/2014/08/12/states-where-english-is-the-official-language/ |access-date=September 12, 2020 |newspaper=The Washington Post}}&amp;lt;/ref&amp;gt; Three states and four U.S. territories have recognized local or indigenous languages in addition to English: Hawaii ([[Hawaiian language|Hawaiian]]),&amp;lt;ref&amp;gt;{{cite web |date=November 7, 1978 |title=The Constitution of the State of Hawaii, Article XV, Section 4 |url=https://www.hawaii.gov/lrb/con/conart15.html |archive-url=https://web.archive.org/web/20130724231656/https://hawaii.gov/lrb/con/conart15.html |archive-date=July 24, 2013 |access-date=June 19, 2007 |publisher=Hawaii Legislative Reference Bureau}}&amp;lt;/ref&amp;gt; Alaska ([[Alaska Native languages|twenty Native languages]]),{{efn|[[Inupiaq language|Inupiaq]], [[Central Siberian Yupik language|Siberian Yupik]], [[Central Alaskan Yup&#039;ik language|Central Alaskan Yup&#039;ik]], [[Alutiiq language|Alutiiq]], [[Aleut language|Unanga]] (Aleut), [[Denaʼina language|Denaʼina]], [[Deg Xinag language|Deg Xinag]], [[Holikachuk language|Holikachuk]], [[Koyukon language|Koyukon]], [[Upper Kuskokwim language|Upper Kuskokwim]], [[Gwichʼin language|Gwichʼin]], [[Lower Tanana language|Tanana]], [[Upper Tanana language|Upper Tanana]], [[Tanacross language|Tanacross]], [[Hän language|Hän]], [[Ahtna language|Ahtna]], [[Eyak language|Eyak]], [[Tlingit language|Tlingit]], [[Haida language|Haida]], and [[Coast Tsimshian dialect|Tsimshian]]}}&amp;lt;ref&amp;gt;{{cite news |last1=Chapel |first1=Bill |date=April 21, 2014 |title=Alaska OKs Bill Making Native Languages Official |url=https://www.npr.org/sections/thetwo-way/2014/04/21/305688602/alaska-oks-bill-making-native-languages-official |publisher=NPR}}&amp;lt;/ref&amp;gt; South Dakota ([[Sioux language|Sioux]]),&amp;lt;ref name=&amp;quot;LakotaCommon&amp;quot;&amp;gt;{{cite web |title=South Dakota recognizes official indigenous language |url=https://eu.argusleader.com/story/news/politics/2019/03/22/south-dakota-recognizes-official-indigenous-language-governor-noem/3245113002/ |access-date=March 26, 2019 |publisher=[[Argus Leader]]}}&amp;lt;/ref&amp;gt; American Samoa ([[Samoan language|Samoan]]), Puerto Rico ([[Spanish language in the United States|Spanish]]), Guam ([[Chamorro language|Chamorro]]), and the Northern Mariana Islands ([[Carolinian language|Carolinian]] and Chamorro). In total, 169 Native American languages are spoken in the United States.&amp;lt;ref&amp;gt;{{Cite web |last1=Siebens |first1=Julie |last2=Julian |first2=Tiffany |date=December 2011 |title=Native North American Languages Spoken at Home in the United States and Puerto Rico: 2006–2010 |url=https://www2.census.gov/library/publications/2011/acs/acsbr10-10.pdf |access-date=April 5, 2024 |website=United States Census Bureau}}&amp;lt;/ref&amp;gt; In Puerto Rico, Spanish is more widely spoken than English.&amp;lt;ref name=&amp;quot;PuertoRicoTranslation&amp;quot;&amp;gt;{{cite web |title=Translation in Puerto Rico |url=https://www.puertorico.com/translation/ |access-date=December 29, 2013 |website=Puerto Rico Channel |archive-date=December 30, 2013 |archive-url=https://web.archive.org/web/20131230233259/http://www.puertorico.com/translation/ }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to the [[American Community Survey]] (2020),&amp;lt;ref name=&amp;quot;ACS2021&amp;quot;&amp;gt;{{cite web |title=ACS B16001 |url=https://data.census.gov/table?q=B16001:+LANGUAGE+SPOKEN+AT+HOME+BY+ABILITY+TO+SPEAK+ENGLISH+FOR+THE+POPULATION+5+YEARS+AND+OVER&amp;amp;g=0100000US&amp;amp;tid=ACSDT1Y2021.B16001&amp;amp;moe=true |website=ACS B16001 |publisher=U.S. Census Bureau |access-date=December 26, 2022}}&amp;lt;/ref&amp;gt; some 245.4 million people in the U.S. age five and older spoke only English at home. About 41.2 million spoke Spanish at home, making it the second most commonly used language. Other languages spoken at home by one million people or more include [[Chinese language in the United States|Chinese]] (3.40 million), [[Tagalog language in the United States|Tagalog]] (1.71 million), [[Vietnamese language in the United States|Vietnamese]] (1.52 million), [[Arabic language in the United States|Arabic]] (1.39 million), [[French language in the United States|French]] (1.18 million), [[Korean language in the United States|Korean]] (1.07 million), and [[Russian language in the United States|Russian]] (1.04 million). [[German language in the United States|German]], spoken by 1 million people at home in 2010, fell to 857,000 total speakers in 2020.&amp;lt;ref&amp;gt;{{cite web |last= |first= |title=American FactFinder—Results |url=https://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_10_1YR_B16001&amp;amp;prodType=table |archive-url=https://archive.today/20200212213140/https://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=ACS_10_1YR_B16001&amp;amp;prodType=table |archive-date=February 12, 2020 |access-date=May 29, 2017}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Immigration ===&lt;br /&gt;
{{Main|Immigration to the United States}}&lt;br /&gt;
[[File:Border USA Mexico.jpg|thumb|The [[Mexico–United States border wall]] between [[San Diego]] (left) and [[Tijuana]] (right)]]&lt;br /&gt;
America&#039;s immigrant population is by far the world&#039;s [[List of sovereign states and dependent territories by immigrant population|largest in absolute terms]].&amp;lt;ref name=&amp;quot;UNdef&amp;quot;&amp;gt;{{Cite web |author=((United Nations, Department of Economic and Social Affairs, Population Division)) |title=International Migrant Stock 2019 Documentation |url=https://www.un.org/en/development/desa/population/migration/data/estimates2/docs/MigrationStockDocumentation_2019.pdf |date=August 2019 |publisher=United Nations |access-date=June 19, 2023}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |url=https://www.un.org/en/development/desa/population/migration/data/estimates2/data/UN_MigrantStockTotal_2019.xlsx |title=UN Migrant Stock Total 2019 |publisher=United Nations |access-date=June 19, 2023}}&amp;lt;/ref&amp;gt; In 2022, there were 87.7 million immigrants and [[Second-generation immigrants in the United States|U.S.-born children of immigrants]] in the United States, accounting for nearly 27% of the overall U.S. population.&amp;lt;ref&amp;gt;{{cite news |date=March 14, 2019 |title=Frequently Requested Statistics on Immigrants and Immigration in the United States |work=[[Migration Policy Institute]] |url=https://www.migrationpolicy.org/article/frequently-requested-statistics-immigrants-and-immigration-united-states}}&amp;lt;/ref&amp;gt; In 2017, out of the U.S. foreign-born population, some 45% (20.7&amp;amp;nbsp;million) were naturalized citizens, 27% (12.3&amp;amp;nbsp;million) were lawful permanent residents, 6% (2.2&amp;amp;nbsp;million) were temporary lawful residents, and 23% (10.5&amp;amp;nbsp;million) were [[Undocumented immigrant population of the United States|unauthorized immigrants]].&amp;lt;ref name=&amp;quot;KeyFindings&amp;quot;&amp;gt;{{cite web |date=June 17, 2019 |title=Key findings about U.S. immigrants |url=https://www.pewresearch.org/fact-tank/2019/06/17/key-findings-about-u-s-immigrants/ |publisher=Pew Research Center}}&amp;lt;/ref&amp;gt; In 2019, the top countries of origin for immigrants were Mexico (24% of immigrants), India (6%), China (5%), the Philippines (4.5%), and El Salvador (3%).&amp;lt;ref&amp;gt;{{Cite web |date=September 21, 2021 |title=Immigrants in the United States |url=https://www.americanimmigrationcouncil.org/sites/default/files/research/immigrants_in_the_united_states_0.pdf |access-date=August 18, 2023 |website=americanimmigrationcouncil.org}}&amp;lt;/ref&amp;gt; In fiscal year 2022, over one million immigrants (most of whom entered through [[Chain migration#Legislation|family reunification]]) were granted [[Permanent residence (United States)|legal residence]].&amp;lt;ref&amp;gt;{{cite news |title=Who Are America&#039;s Immigrants? |url=https://www.prb.org/articles/who-are-americas-immigrants/ |work=[[Population Reference Bureau]] |date=May 22, 2024}}&amp;lt;/ref&amp;gt; In fiscal year 2024 alone, according to the [[Migration Policy Institute]], the United States resettled 100,034 refugees, which &amp;quot;re-cements the United States&#039; role as the top global resettlement destination, far surpassing other major resettlement countries in Europe and Canada&amp;quot;.&amp;lt;ref&amp;gt;{{cite web |title=How the rebuilt U.S. system resettled the most refugees in 30 years |last1=Chisti |first1=Muzaffar |last2=Bush-Joseph |first2=Kathleen |last3=Greene |first3=Madeleine |url=https://www.migrationpolicy.org/article/rebuilt-us-refugee-resettlement-biden |agency=Migration Policy Institute |date=October 30, 2024 |access-date=January 3, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Religion ===&lt;br /&gt;
{{Main|Religion in the United States}}&lt;br /&gt;
{{Pie chart&lt;br /&gt;
| thumb = right&lt;br /&gt;
| caption = Religious affiliation in the U.S., according to a 2023 [[Gallup, Inc.|Gallup]] poll:&amp;lt;ref name=&amp;quot;Staff-2007&amp;quot;/&amp;gt;&lt;br /&gt;
| label1 = [[Protestantism in the United States|Protestantism]]&lt;br /&gt;
| value1 = 33&lt;br /&gt;
| color1 = DarkBlue&lt;br /&gt;
| label2 = [[Catholicism in the United States|Catholicism]]&lt;br /&gt;
| value2 = 22&lt;br /&gt;
| color2 = Blue&lt;br /&gt;
| label3 = [[Christianity in the United States|Non-specific Christian]]&lt;br /&gt;
| value3 = 11&lt;br /&gt;
| color3 = SkyBlue&lt;br /&gt;
| label4 = [[Judaism in the United States|Judaism]]&lt;br /&gt;
| value4 = 2&lt;br /&gt;
| color4 = Pink&lt;br /&gt;
| label5 = [[Mormonism in the United States|Mormonism]]&lt;br /&gt;
| value5 = 1&lt;br /&gt;
| color5 = #468fEA&lt;br /&gt;
| label6 = Other religion&lt;br /&gt;
| value6 = 6&lt;br /&gt;
| color6 = Green&lt;br /&gt;
| label7 = [[Irreligion in the United States|Unaffiliated]]&lt;br /&gt;
| value7 = 22&lt;br /&gt;
| color7 = White&lt;br /&gt;
| label8 = Unanswered&lt;br /&gt;
| value8 = 3&lt;br /&gt;
| color8 = Black&lt;br /&gt;
}}&lt;br /&gt;
The [[First Amendment to the United States Constitution|First Amendment]] guarantees the [[Free Exercise Clause|free exercise of religion in the country]] and forbids Congress from passing laws respecting [[Establishment Clause|its establishment]].&amp;lt;ref name=&amp;quot;Donadio-2021&amp;quot;&amp;gt;{{Cite web |last=Donadio |first=Rachel |date=November 22, 2021 |title=Why Is France So Afraid of God? |url=https://www.theatlantic.com/magazine/archive/2021/12/france-god-religion-secularism/620528/ |access-date=March 25, 2023 |website=The Atlantic |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=First Amendment |url=https://constitution.congress.gov/constitution/amendment-1/#:~:text=Congress%20shall%20make%20no%20law,for%20a%20redress%20of%20grievances. |work=Constitution Annotated |publisher=[[United States Congress]]}}&amp;lt;/ref&amp;gt; Religious practice is widespread, among the [[List of countries by ethnic and cultural diversity level|most diverse]] in the world,&amp;lt;ref name=&amp;quot;alesina1&amp;quot;&amp;gt;{{cite journal |last=Alesina |first=Alberto |display-authors=etal |year=2003 |title=Fractionalization |url=http://www.economics.harvard.edu/faculty/alesina/files/fractionalization.pdf |journal=Journal of Economic Growth |volume=8 |issue=2 |pages=155–194 |doi=10.1023/a:1024471506938 |s2cid=260685524 |archive-url=https://web.archive.org/web/20120831221230/http://www.economics.harvard.edu/faculty/alesina/files/fractionalization.pdf |archive-date=August 31, 2012 |access-date=September 13, 2012}}&amp;lt;/ref&amp;gt; and profoundly vibrant.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;pewreligion&amp;quot;&amp;gt;{{cite web |last=Fahmy |first=Dalia |date=July 31, 2018 |title=Americans are far more religious than adults in other wealthy nations |url=https://www.pewresearch.org/fact-tank/2018/07/31/americans-are-far-more-religious-than-adults-in-other-wealthy-nations/ |url-status=live |archive-url=https://web.archive.org/web/20200109160911/https://www.pewresearch.org/fact-tank/2018/07/31/americans-are-far-more-religious-than-adults-in-other-wealthy-nations/ |archive-date=January 9, 2020 |access-date=January 23, 2020 |work=Pew Research Center}}&amp;lt;/ref&amp;gt; The country has the world&#039;s [[Christianity by country|largest Christian population]], which includes the [[Catholic Church by country|fourth-largest population of Roman Catholics]].&amp;lt;ref name=&amp;quot;Global Christianity&amp;quot;&amp;gt;{{cite web |author=ANALYSIS |url=https://www.pewforum.org/Christian/Global-Christianity-exec.aspx |title=Global Christianity |publisher=Pewforum.org |date=December 19, 2011 |access-date=August 17, 2012 |archive-date=July 30, 2013 |archive-url=https://web.archive.org/web/20130730062627/http://www.pewforum.org/christian/global-christianity-exec.aspx}}&amp;lt;/ref&amp;gt; Other notable faiths include [[Judaism]], [[Buddhism]], [[Hinduism]], [[Islam]], [[New Age]], and [[Native American religions]].&amp;lt;ref&amp;gt;{{Cite book |last=Sewell |first=Elizabeth |title=The Oxford Handbook of Church and State in the United States |publisher=[[University of Oxford]] |year=2010 |isbn=978-0-19-989222-8 |editor-last=Davis |editor-first=Derek |pages=249–275 |chapter=Religious Liberty and Religious Minorities in the United States}}&amp;lt;/ref&amp;gt; Religious practice varies significantly by region.&amp;lt;ref name=&amp;quot;Williams-2023&amp;quot;&amp;gt;{{Cite web |last=Williams |first=Daniel |date=March 1, 2023 |title=&#039;Christian America&#039; Isn&#039;t Dying. It&#039;s Dividing. |url=https://www.christianitytoday.com/ct/2023/february-web-only/christianity-america-pew-research-statistics-minority.html |access-date=March 25, 2023 |website=[[Christianity Today]] |language=en}}&amp;lt;/ref&amp;gt; &amp;quot;[[Ceremonial deism]]&amp;quot; is common in American culture.&amp;lt;ref&amp;gt;{{Cite web |last1=Merriam |first1=Jesse |last2=Lupu |first2=Ira |last3=Elwood |first3=F |last4=Davis |first4=Eleanor |date=August 28, 2008 |title=On Ceremonial Occasions, May the Government Invoke a Deity? |url=https://www.pewresearch.org/religion/2008/08/28/on-ceremonial-occasions-may-the-government-invoke-a-deity/ |access-date=March 31, 2023 |website=Pew Research Center&#039;s Religion &amp;amp; Public Life Project |language=en-US}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The overwhelming majority of [[Americans]] believe in a [[Higher Power|higher power]] or spiritual force, engage in [[spiritual practice]]s such as prayer, and consider themselves religious or [[Spirituality|spiritual]].&amp;lt;ref name=&amp;quot;Kallo-2023&amp;quot;&amp;gt;{{Cite web |last=Kallo |display-authors=etal |first=Becka |date=December 7, 2023 |title=Spirituality Among Americans |url=https://www.pewresearch.org/religion/2023/12/07/spirituality-among-americans/ |access-date=December 8, 2023 |website=Pew Research Center&#039;s Religion &amp;amp; Public Life Project |language=en-US}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal |last1=Froese |first1=Paul |last2=Uecker |first2=Jeremy E. |date=September 2022 |title=Prayer in America: A Detailed Analysis of the Various Dimensions of Prayer |journal=Journal for the Scientific Study of Religion |language=en |volume=61 |issue=3–4 |pages=663–689 |doi=10.1111/jssr.12810 |s2cid=253439298 |issn=0021-8294|doi-access=free }}&amp;lt;/ref&amp;gt; In the Southern United States&#039; &amp;quot;[[Bible Belt]]&amp;quot;, [[Evangelicalism|evangelical Protestantism]] plays a significant role culturally; [[New England]] and the Western United States [[Unchurched Belt|tend to be more secular]].&amp;lt;ref name=&amp;quot;Williams-2023&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Fahmy |first=Dalia |first2=Gregory A.|last2= Smith|first3= Alan|last3= Cooperman|first4= Becka A. |last4=Alper|first5= Besheer|last5= Mohamed|first6= Chip |last6=Rotolo|first7= Patricia |last7=Tevington|first8= Justin |last8=Nortey|first9= Asta |last9=Kallo|first10= Jeff |last10=Diamant  |date=February 26, 2025 |title=Decline of Christianity in the U.S. Has Slowed, May Have Leveled Off |url=https://www.pewresearch.org/religion/2025/02/26/decline-of-christianity-in-the-us-has-slowed-may-have-leveled-off/ |access-date=April 22, 2025 |website=Pew Research Center |language=en-US}}&amp;lt;/ref&amp;gt; [[Mormonism]], a [[Restorationism|Restorationist]] movement founded in the U.S. in 1847,{{sfn|Howe|2008|pp=727–728}} is the predominant religion in Utah and a major religion in Idaho.&lt;br /&gt;
&lt;br /&gt;
=== Urbanization ===&lt;br /&gt;
{{Main|Urbanization in the United States|List of United States cities by population}}&lt;br /&gt;
About 82% of Americans live in [[United States urban area|urban areas]], including suburbs;&amp;lt;ref name=&amp;quot;CIA-2018&amp;quot; /&amp;gt; about half of those reside in cities with populations over 50,000.&amp;lt;ref&amp;gt;{{cite web |url=https://factfinder.census.gov/servlet/GCTTable?_bm=y&amp;amp;-state=gct&amp;amp;-ds_name=DEC_2000_SF1_U&amp;amp;-_box_head_nbr=GCT-P1&amp;amp;-mt_name=&amp;amp;-_caller=geoselect&amp;amp;-geo_id=&amp;amp;-format=US-1&amp;amp;-_lang=en |title=United States—Urban/Rural and Inside/Outside Metropolitan Area |publisher=U.S. Census Bureau |archive-url=http://webarchive.loc.gov/all/20090403024532/https://factfinder.census.gov/servlet/GCTTable?_bm=y&amp;amp;-state=gct&amp;amp;-ds_name=DEC_2000_SF1_U&amp;amp;-_box_head_nbr=GCT-P1&amp;amp;-mt_name=&amp;amp;-_caller=geoselect&amp;amp;-geo_id=&amp;amp;-format=US-1&amp;amp;-_lang=en |archive-date=April 3, 2009 |access-date=September 23, 2008 }}&amp;lt;/ref&amp;gt; In 2022, 333 [[List of United States cities by population|incorporated municipalities]] had populations over 100,000, nine cities had more than one million residents, and four cities—[[New York City]], [[Los Angeles]], [[Chicago]], and [[Houston]]—had populations exceeding two million.&amp;lt;ref&amp;gt;{{Cite web |title=City and Town Population Totals: 2020-2022 |url=https://www.census.gov/data/tables/time-series/demo/popest/2020s-total-cities-and-towns.html |access-date=November 26, 2023 |website=Census.gov}}&amp;lt;/ref&amp;gt; Many U.S. metropolitan populations are growing rapidly, particularly in the South and West.&amp;lt;ref&amp;gt;{{cite web |date=April 18, 2019 |title=Counties in South and West Lead Nation in Population Growth |url=https://www.census.gov/newsroom/press-releases/2019/estimates-county-metro.html |access-date=August 29, 2020 |website=The United States Census Bureau |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
{{Largest metropolitan areas of the United States}}&lt;br /&gt;
&lt;br /&gt;
=== Health ===&lt;br /&gt;
{{Main|Healthcare in the United States|Healthcare reform in the United States|Health insurance in the United States}}&lt;br /&gt;
[[File:Texas medical center.jpg|thumb|The [[Texas Medical Center]] in [[Houston]] is the largest medical complex in the world.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.tmc.edu/about-tmc/|title=About Us}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |url=https://www.newsweek.com/texas-medical-center-largest-medical-complex-world-reaches-98-percent-icu-capacity-1526180 |title=Texas Medical Center, largest medical complex in the world, reaches 98 percent ICU capacity |website=[[Newsweek]] |date=August 19, 2020}}&amp;lt;/ref&amp;gt; In 2018, it employed 120,000 people and treated 10 million patients.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.tmc.edu/wp-content/uploads/2018/07/TMC_FactsFiguresOnePager_07052018-1.pdf|title=TMC Facts &amp;amp; Figures}}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
According to the [[Centers for Disease Control and Prevention]] (CDC), average American life expectancy at birth was 78.4 years in 2023 (75.8 years for men and 81.1 years for women). This was a gain of 0.9 year from 77.5 years in 2022, and the CDC noted that the new average was largely driven by &amp;quot;decreases in mortality due to COVID-19, heart disease, unintentional injuries, cancer and diabetes&amp;quot;.&amp;lt;ref&amp;gt;{{cite journal |url=https://www.cdc.gov/nchs/products/databriefs/db521.htm |last1=Murphy |first1=Sherry |last2=Kochanek |first2=Kenneth D. |last3=Xu |first3=Jiaquan |last4=Arias |first4=Elizabeth |title=Mortality in the United States, 2023 |journal=NCHS Data Brief |date=December 19, 2024 |issue=521 |pmid=39819663 |pmc=11770397 |access-date=January 7, 2025}}&amp;lt;/ref&amp;gt; Starting in 1998, life expectancy in the U.S. fell [[List of countries by life expectancy|behind that of other wealthy industrialized countries]], and Americans&#039; &amp;quot;health disadvantage&amp;quot; gap has been increasing ever since.&amp;lt;ref&amp;gt;{{cite news |last=Achenbach |first=Joel |date=November 26, 2019 |title=&#039;There&#039;s something terribly wrong&#039;: Americans are dying young at alarming rates |url=https://www.washingtonpost.com/health/theres-something-terribly-wrong-americans-are-dying-young-at-alarming-rates/2019/11/25/d88b28ec-0d6a-11ea-8397-a955cd542d00_story.html |newspaper=[[The Washington Post]] |access-date=December 19, 2019}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Commonwealth Fund reported in 2020 that the U.S. had the [[List of countries by suicide rate|highest suicide rate]] among [[high-income countries]].&amp;lt;ref&amp;gt;{{cite web |date=January 30, 2020 |title=New International Report on Health Care: U.S. Suicide Rate Highest Among Wealthy Nations {{!}} Commonwealth Fund |url=https://www.commonwealthfund.org/press-release/2020/new-international-report-health-care-us-suicide-rate-highest-among-wealthy |access-date=March 17, 2020 |website=Commonwealthfund.org |language=en}}&amp;lt;/ref&amp;gt; [[Obesity in the United States|Approximately one-third of the U.S. adult population is obese]] and another third is overweight.&amp;lt;ref&amp;gt;{{cite web |title=Prevalence of Overweight and Obesity Among Adults: United States, 2003–2004 |url=https://www.cdc.gov/nchs/products/pubs/pubd/hestats/overweight/overwght_adult_03.htm |access-date=June 5, 2007 |publisher=Centers for Disease Control and Prevention, National Center for Health Statistics}}&amp;lt;/ref&amp;gt; The U.S. healthcare system far [[List of countries by total health expenditure (PPP) per capita|outspends that of any other country]], measured both in per capita spending and as a percentage of GDP, but attains worse healthcare outcomes when compared to peer countries for reasons that are debated.&amp;lt;ref&amp;gt;{{cite web |year=2001 |title=The U.S. Healthcare System: The Best in the World or Just the Most Expensive? |url=https://dll.umaine.edu/ble/U.S.+HCweb.pdf |archive-url=https://web.archive.org/20070309142240/https://dll.umaine.edu:80/ble/U.S.%20HCweb.pdf |archive-date=March 9, 2007 |access-date=November 29, 2006 |publisher=University of Maine}}{{cbignore}}&amp;lt;/ref&amp;gt; The United States is the only developed country [[Healthcare reform in the United States|without a system of universal healthcare]], and [[Health insurance coverage in the United States|a significant proportion of the population that does not carry health insurance]].&amp;lt;ref&amp;gt;{{cite journal |last=Vladeck |first=Bruce |title=Universal Health Insurance in the United States: Reflections on the Past, the Present, and the Future |date=January 2003 |volume=93 |number=1 |pages=16–19 |pmid=12511377 |doi=10.2105/ajph.93.1.16 |journal=[[American Journal of Public Health]] |pmc=1447684}}&amp;lt;/ref&amp;gt; Government-funded healthcare coverage for the poor ([[Medicaid]]) and for those age 65 and older ([[Medicare (United States)|Medicare]]) is available to Americans who meet the programs&#039; income or age qualifications. In 2010, then-President Obama passed the [[Patient Protection and Affordable Care Act]].{{efn|Also known less formally as Obamacare}}&amp;lt;ref&amp;gt;{{Cite journal |last=Oberlander |first=Jonathan |date=June 1, 2010 |title=Long Time Coming: Why Health Reform Finally Passed |journal=Health Affairs |language=en |volume=29 |issue=6 |pages=1112–1116 |doi=10.1377/hlthaff.2010.0447 |pmid=20530339 |issn=0278-2715 |doi-access=free}}&amp;lt;/ref&amp;gt; [[Abortion in the United States]] is not federally protected, and is illegal or restricted in 17 states.&amp;lt;ref&amp;gt;{{Cite web |last1=Glenza |first1=Jessica |last2=Noor |first2=Poppy |title=Tracking abortion laws across the United States |url=https://www.theguardian.com/us-news/ng-interactive/2024/jul/29/abortion-laws-bans-by-state |access-date=August 14, 2024 |website=The Guardian |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Education ===&lt;br /&gt;
{{Main|Education in the United States}}&lt;br /&gt;
[[File:University-of-Virginia-Rotunda.jpg|thumb|Some 77% of American college students attend public institutions&amp;lt;ref&amp;gt;[[National Center for Education Statistics]]. &amp;quot;[https://nces.ed.gov/programs/coe/indicator/cha U.S. Undergraduate Enrollment]&amp;quot;. Accessed July 29, 2024.&amp;lt;/ref&amp;gt; such as the [[University of Virginia]], founded by [[Thomas Jefferson]] in 1819.|alt=Photograph of the University of Virginia]]&lt;br /&gt;
American primary and secondary education (known in the U.S. as [[K–12 education in the United States|K–12]], &amp;quot;kindergarten through 12th grade&amp;quot;) is decentralized. School systems are operated by state, territorial, and sometimes municipal governments and regulated by the [[United States Department of Education|U.S. Department of Education]]. In general, children are required to attend school or [[Homeschooling in the United States|an approved homeschool]] from the age of five or six ([[kindergarten]] or [[first grade]]) until they are 18 years old. This often brings students through the [[twelfth grade|12th grade]], the final year of a U.S. high school, but some states and territories allow them to leave school earlier, at age 16 or 17.&amp;lt;ref&amp;gt;{{cite web |url=https://nces.ed.gov/programs/digest/d02/dt150.asp |title=Ages for Compulsory School Attendance ... |access-date=June 10, 2007 |publisher=U.S. Dept. of Education, National Center for Education Statistics}}&amp;lt;/ref&amp;gt; The U.S. spends more on education per student than any other country,&amp;lt;ref&amp;gt;{{Cite news |last=Rushe |first=Dominic |date=September 7, 2018 |title=The US spends more on education than other countries. Why is it falling behind? |language=en-GB |work=The Guardian |url=https://www.theguardian.com/us-news/2018/sep/07/us-education-spending-finland-south-korea |access-date=August 29, 2020 |issn=0261-3077}}&amp;lt;/ref&amp;gt; an average of $18,614 per year per public elementary and secondary school student in 2020–2021.&amp;lt;ref&amp;gt;{{cite web |date=April 2020 |title=Fast Facts: Expenditures |url=https://nces.ed.gov/fastfacts/display.asp?id=66 |access-date=August 29, 2020 |website=nces.ed.gov |language=EN}}&amp;lt;/ref&amp;gt; Among Americans age 25 and older, 92.2% graduated from high school, 62.7% attended some college, 37.7% earned a [[bachelor&#039;s degree]], and 14.2% earned a graduate degree.&amp;lt;ref&amp;gt;{{cite web |title=Educational Attainment in the United States: 2022 |url=https://www.census.gov/data/tables/2022/demo/educational-attainment/cps-detailed-tables.html |access-date=July 20, 2024 |publisher=U.S. Census Bureau}}&amp;lt;/ref&amp;gt; The [[Literacy in the United States|U.S. literacy rate]] is near-universal.&amp;lt;ref name=&amp;quot;CIA-2018&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;For more detail on U.S. literacy, see [https://nces.ed.gov/NAAL/PDF/2006470.PDF A First Look at the Literacy of America&#039;s Adults in the 21st century], U.S. Department of Education (2003).&amp;lt;/ref&amp;gt; The U.S. has produced the [[List of Nobel laureates by country|most Nobel Prize winners of any country]], with [[List of American Nobel laureates|411]] (having won 413 awards).&amp;lt;ref&amp;gt;{{Cite web |title=All Nobel Prizes |url=https://www.nobelprize.org/prizes/lists/all-nobel-prizes |publisher=Nobel Foundation}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=2022–2023 Best Global Universities Rankings |url=https://www.usnews.com/education/best-global-universities/rankings |access-date=April 27, 2023 |website=[[U.S. News &amp;amp; World Report]]}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Higher education in the United States|U.S. tertiary or higher education]] has earned a global reputation. Many of the world&#039;s top universities, as listed by various ranking organizations, are in the United States, including 19 of the top 25.&amp;lt;ref&amp;gt;{{Cite web |last=Fink |first=Jenni |date=October 22, 2019 |title=U.S. Schools Take 8 of 10 Top Spots on U.S. News&#039; Best Global Universities |url=https://www.newsweek.com/us-news-best-global-universities-american-schools-dominate-top-10-1466768 |access-date=April 18, 2023 |website=Newsweek |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |date=April 19, 2023 |title=Best Countries for Education: North American and European countries are seen as offering the best opportunities for education. |url=https://www.usnews.com/news/best-countries/best-countries-for-education |website=U.S. News &amp;amp; World Report}}&amp;lt;/ref&amp;gt; American higher education is dominated by [[state university system]]s, although [[Private universities in the United States|the country&#039;s many private universities and colleges]] enroll about 20% of all American students. Local [[community college]]s generally offer coursework and degree programs covering the first two years of college study. They often have more open admission policies, shorter academic programs, and lower tuition.&amp;lt;ref&amp;gt;{{cite web |last1=Pannoni |first1=Alexandra |last2=Kerr |first2=Emma |url=https://www.usnews.com/education/community-colleges/articles/2015/02/06/frequently-asked-questions-community-college |title=Everything You Need to Know About Community Colleges: FAQ |work=[[U.S. News &amp;amp; World Report]] |date=July 14, 2020 |access-date=July 9, 2022}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As for [[public expenditure]]s on higher education, the U.S. spends more per student than the [[OECD]] average, and Americans spend more than all nations in combined public and private spending.&amp;lt;ref name=&amp;quot;education spending&amp;quot;&amp;gt;{{cite news |date=June 25, 2013 |title=U.S. education spending tops global list, study shows |publisher=CBS |agency=Associated Press |url=https://www.cbsnews.com/news/us-education-spending-tops-global-list-study-shows/ |access-date=October 5, 2013 |archive-date=July 26, 2013 |archive-url=https://web.archive.org/web/20130726002619/http://www.cbsnews.com/8301-202_162-57590921/u.s-education-spending-tops-global-list-study-shows |url-status=live}}&amp;lt;/ref&amp;gt; Colleges and universities directly funded by the federal government do not charge tuition and are limited to military personnel and government employees, including: the [[United States service academies|U.S. service academies]], the [[Naval Postgraduate School]], and [[US military staff colleges|military staff colleges]]. Despite some student [[loan forgiveness]] programs in place,&amp;lt;ref&amp;gt;{{Cite web |title=The Biden administration cancelled $9.5B in student loan debt. Here&#039;s who it affects. |url=https://usafacts.org/articles/the-biden-administration-cancelled-95b-in-student-loan-debt-heres-who-it-affects/ |access-date=July 15, 2022 |website=USAFacts |language=en}}&amp;lt;/ref&amp;gt; [[Student debt|student loan debt]] increased by 102% between 2010 and 2020,&amp;lt;ref&amp;gt;{{cite news |last=Hess |first=Abigail Johnson |date=December 22, 2020 |title=U.S. student debt has increased by more than 100% over the past 10 years |publisher=CNBC |url=https://www.cnbc.com/2020/12/22/us-student-debt-has-increased-by-more-than-100percent-over-past-10-years.html |access-date=January 8, 2022}}&amp;lt;/ref&amp;gt; and exceeded $1.7&amp;amp;nbsp;trillion in 2022.&amp;lt;ref&amp;gt;{{cite news |last1=Dickler |first1=Jessica |last2=Nova |first2=Annie |date=May 6, 2022 |title=This is how student loan debt became a $1.7 trillion crisis |url=https://www.cnbc.com/2022/05/06/this-is-how-student-loan-debt-became-a-1point7-trillion-crisis.html |publisher=CNBC |access-date=July 8, 2022}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Culture and society ==&lt;br /&gt;
{{Main|Culture of the United States|Society of the United States}}{{See also|Human rights in the United States}}&lt;br /&gt;
[[File:Liberty02.jpg|thumb|The [[Statue of Liberty]] (&#039;&#039;Liberty Enlightening the World&#039;&#039;) on [[Liberty Island]] in [[New York Harbor]] was an 1866 gift from France that has become an iconic symbol of the [[American Dream]].&amp;lt;ref&amp;gt;{{cite web |title=Statue of Liberty |website=World Heritage |publisher=UNESCO |url=https://whc.unesco.org/en/list/307 |access-date=January 4, 2022}}&amp;lt;/ref&amp;gt;|alt=The Statue of Liberty, a large teal bronze sculpture on a stone pedestal]]&lt;br /&gt;
&lt;br /&gt;
The United States is home to [[Multiculturalism in the United States|a wide variety of ethnic groups, traditions, and values]].&amp;lt;ref&amp;gt;{{Cite news |last=Volokh |first=Eugene |date=January 17, 2015 |title=The American tradition of multiculturalism |url=https://www.washingtonpost.com/news/volokh-conspiracy/wp/2015/01/27/the-american-tradition-of-multiculturalism/ |access-date=July 30, 2024 |newspaper=[[The Washington Post]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Jackson |first=Lucas |date=August 22, 2014 |title=America&#039;s Tipping Point: Most Of U.S. Now Multicultural, Says Group |url=https://www.nbcnews.com/news/latino/americas-tipping-point-most-u-s-now-multicultural-says-group-n186206 |access-date=July 30, 2024 |website=[[NBC News]] |language=en}}&amp;lt;/ref&amp;gt; The country has been described as having [[Americanism (ideology)|the values]] of [[individualism]] and [[Left-libertarianism|personal autonomy]],&amp;lt;ref&amp;gt;{{cite journal |last1=Grabb |first1=Edward |last2=Baer |first2=Douglas |last3=Curtis |first3=James |year=1999 |title=The Origins of American Individualism: Reconsidering the Historical Evidence |journal=[[Canadian Journal of Sociology]] |publisher=[[University of Alberta]] |volume=24 |pages=511–533 |doi=10.2307/3341789 |issn=0318-6431 |jstor=3341789 |number=4}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last=Marsh |first=Abigail |date=May 26, 2021 |title=Everyone Thinks Americans Are Selfish. They&#039;re Wrong. |language=en-US |work=The New York Times |url=https://www.nytimes.com/2021/05/26/opinion/individualism-united-states-altruism.html |access-date=July 16, 2023 |issn=0362-4331}}&amp;lt;/ref&amp;gt; as well as a strong [[work ethic]]&amp;lt;ref&amp;gt;{{cite journal |last=Porter |first=Gayle |date=November 2010 |title=Work Ethic and Ethical Work: Distortions in the American Dream |journal=[[Journal of Business Ethics]] |publisher=[[Springer Science+Business Media|Springer]] |volume=96 |pages=535–550 |doi=10.1007/s10551-010-0481-6 |jstor=29789736 |s2cid=143991044 |number=4}}&amp;lt;/ref&amp;gt; and [[Competition|competitiveness]].&amp;lt;ref&amp;gt;{{cite journal |last=Stephens |first=R. H. |date=September 1952 |title=The Role Of Competition In American Life |journal=[[The Australian Quarterly]] |publisher=[[Australian Institute of Policy and Science]] |volume=24 |pages=9–14 |jstor=41317686 |number=3}}&amp;lt;/ref&amp;gt; Voluntary [[altruism]] towards others also plays a major role;&amp;lt;ref&amp;gt;{{cite web |date=September 9, 2022 |url=https://good2give.ngo/wp-content/uploads/2022/09/2022-CAF-World-Giving-Index.pdf |title=World Giving Index 2022 |website=[[Charities Aid Foundation]] |access-date=April 27, 2023}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |title=Country-level estimates of altruism |url=https://ourworldindata.org/grapher/cross-country-variation-in-altruism |access-date=March 14, 2023 |website=Our World in Data}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Marsh |first=Abigail |date=February 5, 2018 |title=Could A More Individualistic World Also Be A More Altruistic One? |url=https://www.npr.org/sections/13.7/2018/02/05/581873428/could-a-more-individualistic-world-also-be-a-more-altruistic-one |access-date=March 14, 2023 |publisher=[[NPR]]}}&amp;lt;/ref&amp;gt; according to a 2016 study by the [[Charities Aid Foundation]], Americans donated 1.44% of total GDP to charity—the [[List of countries by charitable donation|highest rate]] in the world by a large margin.&amp;lt;ref&amp;gt;{{cite web |date=January 2016 |title=GROSS DOMESTIC PHILANTHROPY: An international analysis of GDP, tax and giving |url=https://www.cafonline.org/docs/default-source/about-us-policy-and-campaigns/gross-domestic-philanthropy-feb-2016.pdf |access-date=July 18, 2022 |publisher=[[Charities Aid Foundation]]}}&amp;lt;/ref&amp;gt; Americans have traditionally [[Stereotypes of Americans|been characterized]] by a unifying political belief in an &amp;quot;[[American Creed]]&amp;quot; emphasizing [[consent of the governed]], [[liberty]], [[equality under the law]], [[democracy]], [[social equality]], [[property rights]], and a preference for [[limited government]].&amp;lt;ref&amp;gt;{{cite book |last=Huntington |first=Samuel P. |author-link=Samuel P. Huntington |url=https://archive.org/details/whoarewechalleng00hunt |title=Who are We?: The Challenges to America&#039;s National Identity |publisher=Simon &amp;amp; Schuster |year=2004 |isbn=978-0-684-87053-3 |chapter=Chapters 2–4 |access-date=October 25, 2015 |chapter-url=https://books.google.com/books?id=6xiYiybkE8kC&amp;amp;q=core}}: see [[American Creed]], written by [[William Tyler Page]] and adopted by Congress in 1918.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Hoeveler, J. David, &#039;&#039;Creating the American Mind: Intellect and Politics in the Colonial Colleges&#039;&#039;, Rowman &amp;amp; Littlefield, {{ISBN|978-0-7425-4839-8}}, 2007, p. xi.&amp;lt;/ref&amp;gt; The U.S. has acquired significant [[Hard power|hard]] and [[soft power]] through [[Foreign relations of the United States|its diplomatic influence]], [[economic power]], [[military alliance]]s, and [[cultural exports]] such as [[Cinema of the United States|American movies]], [[Music of the United States|music]], [[Video games in the United States|video games]], [[Sports in the United States|sports]], and [[American cuisine|food]].&amp;lt;ref&amp;gt;{{Cite magazine |last1=Fergie |first1=Dexter |date=March 24, 2022 |title=How American Culture Ate the World |url=https://newrepublic.com/article/165836/american-culture-ate-world-righteous-smokescreen-globalization-review |access-date=July 3, 2022 |magazine=The New Republic |issn=0028-6583}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last=Shah |first=Ritula |date=November 19, 2014 |title=Is US monopoly on the use of soft power at an end? |url=https://www.bbc.com/news/world-29536648 |access-date=February 14, 2025 |work=BBC News |language=en-GB}}&amp;lt;/ref&amp;gt; The influence that the United States exerts on other countries through soft power is referred to as [[Americanization]].&amp;lt;ref&amp;gt;{{Cite journal |last=Berghahn |first=Volker R. |date=February 1, 2010 |title=The debate on &#039;Americanization&#039; among economic and cultural historians |journal=Cold War History |volume=10 |issue=1 |pages=107–130 |doi=10.1080/14682740903388566 |issn=1468-2745 |s2cid=144459911}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nearly all present Americans or their ancestors came from [[Afro-Eurasia|Europe, Africa, or Asia]] (the &amp;quot;[[Old World]]&amp;quot;) within the past five centuries.&amp;lt;ref&amp;gt;{{cite book |last1=Fiorina |first1=Morris P. |author-link1=Morris P. Fiorina |last2=Peterson |first2=Paul E. |title=The New American democracy |date=2010 |publisher=Longman |location=London |isbn=978-0-205-78016-7 |page=97 |edition=7th}}&amp;lt;/ref&amp;gt; [[wikt:mainstream|Mainstream]] American culture is a [[Western culture]] largely derived from the [[European American#Culture|traditions of European immigrants]] with influences from many other sources, such as [[African-American culture|traditions brought by slaves from Africa]].&amp;lt;ref&amp;gt;{{multiref2&lt;br /&gt;
|{{cite book |last1=Holloway |first1=Joseph E. |title=Africanisms in American culture |date=2005 |publisher=Indiana University Press |location=Bloomington |isbn=978-0-253-21749-3 |pages=18–38 |edition=2nd}}&lt;br /&gt;
|{{cite book |last1=Johnson |first1=Fern L. |title=Speaking culturally: language diversity in the United States |publisher=Sage Publications |isbn=978-0-8039-5912-5 |page=116 |year=2000}} }}&amp;lt;/ref&amp;gt; More recent immigration from [[Asian American|Asia]] and especially [[Latin American culture|Latin America]] has added to a cultural mix that has been described as a homogenizing [[melting pot]], and a heterogeneous [[salad bowl (cultural idea)|salad bowl]], with immigrants contributing to, and often [[Assimilation (phonology)|assimilating]] into, mainstream American culture.&lt;br /&gt;
&lt;br /&gt;
The [[American Dream]], or the perception that Americans enjoy high levels of [[Socio-economic mobility in the United States|social mobility]], plays a key role in attracting immigrants.&amp;lt;ref&amp;gt;{{cite web |url=https://www.gallup.com/poll/161435/100-million-worldwide-dream-life.aspx |title=More Than 100 Million Worldwide Dream of a Life in the U.S. More than 25% in Liberia, Sierra Leone, Dominican Republic want to move to the U.S. |last=Clifton |first=Jon |date=March 21, 2013 |publisher=Gallup |access-date=January 10, 2014}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Kulkarni |first=Jay |date=January 12, 2022 |title=Attracting Immigrant Talent With A New American Dream |url=https://www.forbes.com/sites/forbesbusinesscouncil/2022/01/12/attracting-immigrant-talent-with-a-new-american-dream/ |access-date=July 24, 2024 |website=[[Forbes]] |language=en}}&amp;lt;/ref&amp;gt; Whether this perception is accurate has been a topic of debate.&amp;lt;ref name=&amp;quot;socialmobility&amp;quot;&amp;gt;{{cite web |url=https://www.oecd.org/tax/public-finance/chapter%205%20gfg%202010.pdf |title=A Family Affair: Intergenerational Social Mobility across OECD Countries |website=Economic Policy Reforms: Going for Growth |publisher=OECD |year=2010 |access-date=September 20, 2010}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;CAP&amp;quot;&amp;gt;{{cite web |title=Understanding Mobility in America |url=https://www.americanprogress.org/issues/economy/news/2006/04/26/1917/understanding-mobility-in-america/ |website=Center for American Progress |date=April 26, 2006}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last1=Gould |first1=Elise |title=U.S. lags behind peer countries in mobility |url=https://www.epi.org/publication/usa-lags-peer-countries-mobility/ |website=[[Economic Policy Institute]] |access-date=July 15, 2013 |date=October 10, 2012}}&amp;lt;/ref&amp;gt; While mainstream culture holds that the United States is a [[classless society]],&amp;lt;ref&amp;gt;{{cite book |last=Gutfeld |first=Amon |year=2002 |title=American Exceptionalism: The Effects of Plenty on the American Experience |publisher=Sussex Academic Press |location=Brighton and Portland |page=65 |isbn=978-1-903900-08-6}}&amp;lt;/ref&amp;gt; scholars identify significant differences between [[Social class in the United States|the country&#039;s social classes]], affecting [[socialization]], language, and values.&amp;lt;ref&amp;gt;{{cite book |last=Zweig |first=Michael |year=2004 |title=What&#039;s Class Got To Do With It, American Society in the Twenty-First Century |publisher=Cornell University Press |location=Ithaca, NY |isbn=978-0-8014-8899-3}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite report |last=Hoff-Ginsberg |first=Erika |date=April 1989 |title=Effects of Social Class and Interactive Setting on Maternal Speech |publication-place=Bethesda, MD |publisher=National Institute of Child Health and Human Development (NIH) |via=Education Resource Information Center |url=https://eric.ed.gov/?id=ED309843}} Republished with revisions as {{cite journal |last=Hoff-Ginsberg |first=Erika |title=Mother-Child Conversation in Different Social Classes and Communicative Settings |journal=Child Development |volume=62 |issue=4 |date=1991 |issn=0009-3920 |doi=10.1111/j.1467-8624.1991.tb01569.x |pages=782–796 |pmid=1935343}}&amp;lt;/ref&amp;gt; Americans tend to greatly value [[socioeconomics|socioeconomic]] achievement, but [[Average Joe|being ordinary or average]] is promoted by some as a noble condition as well.&amp;lt;ref&amp;gt;{{cite book |last=O&#039;Keefe |first=Kevin |year=2005 |title=The Average American |publisher=PublicAffairs |location=New York |isbn=978-1-58648-270-1 |url=https://archive.org/details/averageamericant00okee}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[National Foundation on the Arts and the Humanities]] is an agency of the United States federal government that was established in 1965 with the purpose to &amp;quot;develop and promote a broadly conceived national policy of support for the humanities and the arts in the United States, and for institutions which preserve the cultural heritage of the United States.&amp;quot;&amp;lt;ref&amp;gt;{{cite web |url=https://www.federalregister.gov/agencies/national-foundation-on-the-arts-and-the-humanities |title=National Foundation on the Arts and the Humanities |work=Federal Register |access-date=October 1, 2022}}&amp;lt;/ref&amp;gt; It is composed of four sub-agencies:&lt;br /&gt;
*[[National Endowment for the Arts]]&lt;br /&gt;
*[[National Endowment for the Humanities]]&lt;br /&gt;
*[[Institute of Museum and Library Services]]&lt;br /&gt;
*[[Federal Council on the Arts and the Humanities]]&lt;br /&gt;
&lt;br /&gt;
Under the [[First Amendment to the United States Constitution|First Amendment to the Constitution]], the United States is considered to have the [[Freedom of speech in the United States|strongest protections of free speech of any country]].&amp;lt;ref name=&amp;quot;Coleman-2013&amp;quot;&amp;gt;{{Cite book |last=Coleman |first=Gabriella |title=Coding Freedom |publisher=[[Princeton University Press]] |year=2013 |isbn=978-0-691-14461-0 |pages=10, 201 |author-link=Gabriella Coleman}}&amp;lt;/ref&amp;gt; [[Flag desecration in the United States|Flag desecration]], [[Hate speech in the United States|hate speech]], [[Blasphemy law in the United States|blasphemy]], and [[Lèse-majesté|lese majesty]] are all forms of protected expression.&amp;lt;ref&amp;gt;{{Cite web |date=September 19, 2012 |title=Held Dear In U.S., Free Speech Perplexing Abroad |url=https://www.npr.org/2012/09/19/161439562/held-dear-in-u-s-free-speech-perplexing-abroad |access-date=March 4, 2023 |publisher=[[NPR]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last=Liptak |first=Adam |date=June 11, 2008 |title=Hate speech or free speech? What much of West bans is protected in U.S. |url=https://www.nytimes.com/2008/06/11/world/americas/11iht-hate.4.13645369.html |url-access=limited |access-date=February 21, 2023 |work=[[The New York Times]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Durkee |first=Alison |date=April 25, 2018 |title=What if we didn&#039;t... have the First Amendment? |url=https://www.mic.com/articles/188402/what-if-we-didnt-have-the-first-amendment |access-date=February 6, 2023 |website=Mic |language=en}}&amp;lt;/ref&amp;gt; A 2016 [[Pew Research Center]] poll found that Americans were the most supportive of free expression of any polity measured.&amp;lt;ref&amp;gt;{{Cite web |last=Wike |first=Richard |title=Americans more tolerant of offensive speech than others in the world |url=https://www.pewresearch.org/fact-tank/2016/10/12/americans-more-tolerant-of-offensive-speech-than-others-in-the-world/ |access-date=February 6, 2023 |website=Pew Research Center |date=October 12, 2016 |language=en-US}}&amp;lt;/ref&amp;gt; Additionally, they are the &amp;quot;most supportive of [[Freedom of the press in the United States|freedom of the press]] and the [[Right to Internet access|right to use the Internet]] without government censorship&amp;quot;.&amp;lt;ref&amp;gt;{{Cite web |last=Gray |first=Alex |date=November 8, 2016 |title=Freedom of speech: which country has the most? |url=https://www.weforum.org/agenda/2016/11/freedom-of-speech-country-comparison/ |access-date=February 6, 2023 |website=World Economic Forum |language=en}}&amp;lt;/ref&amp;gt; The U.S. is a [[Cultural liberalism|socially progressive]] country&amp;lt;ref&amp;gt;{{Cite journal |last=Norris |first=Pippa |author-link=Pippa Norris |date=February 2023 |title=Cancel Culture: Myth or Reality? |url=http://journals.sagepub.com/doi/10.1177/00323217211037023 |journal=Political Studies |language=en |volume=71 |issue=1 |pages=145–174 |doi=10.1177/00323217211037023 |s2cid=238647612 |issn=0032-3217 |quote=As predicted, in post-industrial societies, characterized by predominately liberal social cultures, like the US, Sweden, and UK...|url-access=subscription }}&amp;lt;/ref&amp;gt; with [[Permissive society|permissive]] attitudes surrounding [[human sexuality]].&amp;lt;ref name=&amp;quot;Derks-2020&amp;quot;&amp;gt;{{Cite book |last1=Derks |first1=Marco |title=Public Discourses About Homosexuality and Religion in Europe and Beyond |last2=van den Berg |first2=Mariecke |publisher=[[Springer International Publishing]] |year=2020 |isbn=978-3-030-56326-4 |page=338 |quote=...(the United States and [Western] Europe) as &amp;quot;already in crisis&amp;quot; for their permissive attitudes toward nonnormative sexualities...}}&amp;lt;/ref&amp;gt; [[LGBT rights in the United States]] are among the most advanced by global standards.&amp;lt;ref name=&amp;quot;Derks-2020&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Leveille |first=Dan |date=December 4, 2009 |title=LGBT Equality Index: The most LGBT-friendly countries in the world |url=https://www.equaldex.com/equality-index |access-date=January 26, 2023 |website=[[Equaldex]] |quote=13.) United States}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Garretson |first=Jeremiah |title=The Path to Gay Rights: How Activism and Coming Out Changed Public Opinion |publisher=[[New York University Press]] |year=2018 |isbn=978-1-4798-5007-5 |page= |chapter=A Transformed Society: LGBT Rights in the United States |quote=In the late 1980s and early 1990s, a dramatic wave began to form in the waters of public opinion: American attitudes involving homosexuality began to change... The transformation of America&#039;s response to homosexuality has been — and continues to be — one of the most rapid and sustained shifts in mass attitudes since the start of public polling.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Literature ===&lt;br /&gt;
{{Main|American literature|American philosophy}}&lt;br /&gt;
[[File:Mark Twain by AF Bradley.jpg|thumb|upright|[[Mark Twain]], whom [[William Faulkner]] called &amp;quot;the father of American literature&amp;quot;&amp;lt;ref name=&amp;quot;faulkner&amp;quot;&amp;gt;{{cite book |last=Jelliffe |first=Robert A. |title=Faulkner at Nagano |year=1956 |publisher=Kenkyusha, Ltd |location=Tokyo}}&amp;lt;/ref&amp;gt;|alt=Photograph of Mark Twain]]&lt;br /&gt;
&lt;br /&gt;
Colonial American authors were influenced by [[John Locke]] and other [[Age of Enlightenment|Enlightenment]] philosophers.{{sfn|Baym|Levine|2013|pp=157-159}}{{sfn|Lauter|1994a|pp=503-509}} The [[American Revolution|American Revolutionary Period]] (1765–1783) is notable for the political writings of [[Benjamin Franklin]], [[Alexander Hamilton]], [[Thomas Paine]], and [[Thomas Jefferson]]. Shortly before and after the [[American Revolutionary War|Revolutionary War]], the newspaper rose to prominence, filling a demand for anti-British national literature.{{sfn|Baym|Levine|2013|p=163}}&amp;lt;ref&amp;gt;Mulford, Carla. [https://archive.org/details/heathanthologyof00v1unse_e3d7/page/705/mode/1up &amp;quot;Enlightenment Voices, Revolutionary Visions.&amp;quot;] In {{harvnb|Lauter|1994a|pp=705–707}}.&amp;lt;/ref&amp;gt; An early novel is [[William Hill Brown]]&#039;s &#039;&#039;[[The Power of Sympathy]]&#039;&#039;, published in 1791. Writer and critic [[John Neal]] in the early- to mid-19th century helped advance America toward a unique literature and culture by criticizing predecessors such as [[Washington Irving]] for imitating their British counterparts, and by influencing writers such as [[Edgar Allan Poe]],&amp;lt;ref&amp;gt;{{Cite book |publisher=University of Chicago Press |isbn=0-226-46969-7 |last=Lease |first=Benjamin |title=That Wild Fellow John Neal and the American Literary Revolution |location=Chicago, Illinois |year=1972 |page=80}}&amp;lt;/ref&amp;gt; who took American poetry and short fiction in new directions. [[Ralph Waldo Emerson]] and [[Margaret Fuller]] pioneered the influential [[Transcendentalism]] movement;&amp;lt;ref&amp;gt;{{cite web |last1=Finseth |first1=Ian Frederick |title=The Emergence of Transcendentalism |url=http://xroads.virginia.edu/~ma95/finseth/trans.html |website=American Studies @ The University of Virginia |publisher=[[The University of Virginia]] |access-date=November 9, 2014 |archive-url=https://web.archive.org/web/20230718205554/http://xroads.virginia.edu/~MA95/finseth/trans.html |archive-date=July 18, 2023}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=Coviello&amp;gt;{{cite book |last=Coviello |first=Peter |chapter=Transcendentalism |title=The Oxford Encyclopedia of American Literature |publisher=Oxford University Press |date=2005 |via=Oxford Reference Online |access-date=October 23, 2011 |url=https://www.oxfordreference.com/display/10.1093/acref/9780195156539.001.0001/acref-9780195156539-e-0294?rskey=lw57LH&amp;amp;result=1 |isbn=978-0-19-530772-6}}&amp;lt;/ref&amp;gt; [[Henry David Thoreau]], author of &#039;&#039;[[Walden]]&#039;&#039;, was influenced by this movement.&lt;br /&gt;
&lt;br /&gt;
The conflict surrounding [[Abolitionism in the United States|abolitionism]] inspired writers, like [[Harriet Beecher Stowe]], and authors of slave narratives, such as [[Frederick Douglass]]. [[Nathaniel Hawthorne]]&#039;s &#039;&#039;[[The Scarlet Letter]]&#039;&#039; (1850) explored the dark side of American history, as did [[Herman Melville]]&#039;s &#039;&#039;[[Moby-Dick]]&#039;&#039; (1851). Major American poets of the 19th century [[American Renaissance (literature)|American Renaissance]] include [[Walt Whitman]], Melville, and [[Emily Dickinson]].{{sfn|Baym|Levine|2013|pp=444-447}}{{sfn|Lauter|1994a|pp=1228, 1233, 1260}} [[Mark Twain]] was the first major American writer to be born in the West. [[Henry James]] achieved international recognition with novels like &#039;&#039;[[The Portrait of a Lady]]&#039;&#039; (1881). As literacy rates rose, periodicals published more stories centered around industrial workers, women, and the rural poor.{{sfn|Baym|Levine|2013|pp=1269-1270}}{{sfn|Lauter|1994b|pp=8-10}} [[Naturalism (literature)|Naturalism]], [[American literary regionalism|regionalism]], and [[Literary realism#UnitedStates|realism]] were the major literary movements of the period.{{sfn|Baym|Levine|2013|pp=1271-1273}}{{sfn|Lauter|1994b|p=12}}&lt;br /&gt;
&lt;br /&gt;
While [[Literary modernism|modernism]] generally took on an international character, modernist authors working within the United States more often rooted their work in specific regions, peoples, and cultures.{{sfn|Baym|Levine|2013|pp=1850-1851}} Following the Great Migration to northern cities, African-American and black [[West Indian Americans|West Indian]] authors of the [[Harlem Renaissance]] developed an independent tradition of literature that rebuked a history of inequality and celebrated black culture. An important cultural export during the [[Jazz Age]], these writings were a key influence on &#039;&#039;[[Négritude]]&#039;&#039;, a philosophy emerging in the 1930s among francophone writers of the [[African diaspora]].&amp;lt;ref&amp;gt;[[Hortense Spillers|Spillers, Hortense]]. [https://archive.org/details/heathanthologyof02laut/page/1579 &amp;quot;The New Negro Renaissance.&amp;quot;] In {{harvnb|Lauter|1994b|pp=1579–1585}}.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal |last=Philipson |first=Robert |title=The Harlem Renaissance as Postcolonial Phenomenon |journal=African American Review |volume=40 |issue=1 |year=2006 |pages=145–160 |jstor=40027037}}&amp;lt;/ref&amp;gt; In the 1950s, an ideal of homogeneity led many authors to attempt to write the [[Great American Novel]],{{sfn|Baym|Levine|2013|pp=2260-2261}} while the [[Beat Generation]] rejected this conformity, using styles that elevated the impact of the [[spoken word]] over mechanics to describe drug use, sexuality, and the failings of society.{{sfn|Baym|Levine|2013|p=2262}}&amp;lt;ref&amp;gt;{{harvnb|Lauter|1994b|pp=1975–1977}}. &amp;quot;[https://archive.org/details/heathanthologyof02laut/page/1972 Literature of the Cold War]&amp;quot;.&amp;lt;/ref&amp;gt; Contemporary literature is more pluralistic than in previous eras, with the closest thing to a unifying feature being a trend toward self-conscious [[Experimental literature|experiments with language]].{{sfn|Baym|Levine|2013|pp=2266-2267}} Twelve American laureates have won the [[Nobel Prize in Literature]].&amp;lt;ref&amp;gt;{{cite web |url=https://www.nobelprize.org/prizes/lists/all-nobel-prizes-in-literature/all/ |title=All Nobel Prizes in Literature |author=&amp;lt;!--Not stated--&amp;gt; |date= |website=The Nobel Prize |publisher=Nobel Prize Outreach AB 2024 |access-date=August 6, 2024 |quote=}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mass media ===&lt;br /&gt;
{{Main|Mass media in the United States}}&lt;br /&gt;
{{See also|Newspapers in the United States|Television in the United States|Broadcasting in the United States|Public broadcasting in the United States|Internet in the United States|Radio in the United States|Video games in the United States}}&lt;br /&gt;
[[File:Comcastcenter vertical.jpg|upright|thumb|[[Comcast Center]] in [[Philadelphia]], headquarters of [[Comcast]], one of the world&#039;s [[List of telecommunications companies|largest telecommunications companies]] and media conglomerates]]&lt;br /&gt;
&lt;br /&gt;
Media in the United States is [[Censorship in the United States|broadly uncensored]], with the [[First Amendment to the United States Constitution|First Amendment]] providing significant protections, as reiterated in &#039;&#039;[[New York Times Co. v. United States]]&#039;&#039;.&amp;lt;ref name=&amp;quot;Coleman-2013&amp;quot; /&amp;gt; The four major broadcasters in the U.S. are the [[National Broadcasting Company]] (NBC), [[Columbia Broadcasting System]] (CBS), [[American Broadcasting Company]] (ABC), and [[Fox Broadcasting Company]] (FOX). The four major broadcast television networks are all commercial entities. The [[Cable television in the United States|U.S. cable television system]] offers hundreds of channels catering to a variety of niches.&amp;lt;ref&amp;gt;{{cite news |title=Streaming TV Services: What They Cost, What You Get |url=https://www.nytimes.com/aponline/2015/10/12/business/ap-us-streaming-tv-options.html |access-date=October 12, 2015 |work=[[The New York Times]] |agency=Associated Press |date=October 12, 2015 |archive-url=https://web.archive.org/web/20151015023520/https://www.nytimes.com/aponline/2015/10/12/business/ap-us-streaming-tv-options.html |archive-date=October 15, 2015}}&amp;lt;/ref&amp;gt; In 2021, about 83% of Americans over age 12 listened to [[radio broadcasting|broadcast radio]], while about 40% listened to [[podcast]]s.&amp;lt;ref&amp;gt;{{cite web |url=https://www.pewresearch.org/journalism/fact-sheet/audio-and-podcasting/ |title=Audio and Podcasting Fact Sheet |publisher=[[Pew Research Center]] |location=Washington, D.C. |date=June 29, 2021 |access-date=July 3, 2022}}&amp;lt;/ref&amp;gt; In the prior year, there were 15,460 licensed full-power radio stations in the U.S. according to the [[Federal Communications Commission]] (FCC).&amp;lt;ref&amp;gt;{{Cite web|url=https://docs.fcc.gov/public/attachments/DOC-367270A1.pdf|title=BROADCAST STATION TOTALS AS OF SEPTEMBER 30, 2020|website=docs.fcc.gov}}&amp;lt;/ref&amp;gt; Much of the public radio broadcasting is supplied by [[NPR]], incorporated in February 1970 under the [[Public Broadcasting Act of 1967]].&amp;lt;ref&amp;gt;{{Cite news |date=June 20, 2013 |title=History: NPR |publisher=NPR |url=https://www.npr.org/about-npr/192827079/overview-and-history |access-date=May 5, 2021}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
U.S. newspapers with a global reach and reputation include &#039;&#039;[[The Wall Street Journal]]&#039;&#039;, &#039;&#039;[[The New York Times]]&#039;&#039;, &#039;&#039;[[The Washington Post]]&#039;&#039;, and &#039;&#039;[[USA Today]]&#039;&#039;.&amp;lt;ref name=&amp;quot;Shaffer2006&amp;quot;&amp;gt;{{cite book |first=Brenda |last=Shaffer |title=The Limits of Culture: Islam and Foreign Policy |url=https://books.google.com/books?id=uEOd-cDWVwQC&amp;amp;pg=PA116 |year=2006 |publisher=MIT Press |isbn=978-0-262-19529-4 |page=116}}&amp;lt;/ref&amp;gt; [[List of Spanish-language newspapers published in the United States|About 800 publications]] are produced in Spanish.&amp;lt;ref&amp;gt;{{cite web |title=Spanish Newspapers in United States |url=https://www.w3newspapers.com/usa/spanish |access-date=August 5, 2014 |publisher=W3newspapers}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=Spanish Language Newspapers in the USA: Hispanic Newspapers: Periódiscos en Español en los EE.UU |url=https://www.onlinenewspapers.com/usstate/spanish-language-newspapers-usa.htm |archive-url=https://web.archive.org/web/20140626114455/https://www.onlinenewspapers.com/usstate/spanish-language-newspapers-usa.htm |archive-date=June 26, 2014 |access-date=August 5, 2014 |publisher=Onlinenewspapers.com}}&amp;lt;/ref&amp;gt; With few exceptions, newspapers are privately owned, either by large chains such as [[Gannett Company|Gannett]] or [[The McClatchy Company|McClatchy]], which own dozens or even hundreds of newspapers; by small chains that own a handful of papers; or, in an increasingly rare situation, by individuals or families. Major cities often have [[alternative newspaper]]s to complement the mainstream daily papers, such as &#039;&#039;[[The Village Voice]]&#039;&#039; in New York City and &#039;&#039;[[LA Weekly]]&#039;&#039; in Los Angeles. The five most popular websites used in the U.S. are [[Google Search|Google]], [[YouTube]], [[Facebook]], [[Amazon (website)|Amazon]], and [[Reddit]]&amp;amp;mdash;all of them American-owned.&amp;lt;ref name=&amp;quot;alexa-topsitesus&amp;quot;&amp;gt;{{cite web |year=2021 |title=Top Sites in United States |url=https://www.alexa.com/topsites/countries/US |access-date=October 6, 2021 |publisher=Alexa |archive-date=June 21, 2020 |archive-url=https://web.archive.org/web/20200621221154/https://www.alexa.com/topsites/countries/US }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In 2022, the video game market of the United States was the world&#039;s [[List of video games markets by country|largest by revenue]].&amp;lt;ref&amp;gt;{{cite web |title=Top countries and markets by video game revenues |url=https://newzoo.com/resources/rankings/top-10-countries-by-game-revenues |url-status=live |archive-url=https://web.archive.org/web/20230326135814/https://newzoo.com/resources/rankings/top-10-countries-by-game-revenues |archive-date=March 26, 2023 |access-date=October 6, 2023 |website=Newzoo}}&amp;lt;/ref&amp;gt; In 2015, the U.S. video game industry consisted of 2,457 companies that employed around 220,000 jobs and generated $30.4 billion in revenue.&amp;lt;ref name=&amp;quot;:0&amp;quot;&amp;gt;{{Cite web |last=Takahashi |first=Dean |date=2017-02-15 |title=The U.S. game industry has 2,457 companies supporting 220,000 jobs |url=https://gamesbeat.com/the-u-s-game-industry-has-2457-companies-supporting-220000-jobs/ |access-date=2025-07-04 |website=GamesBeat |language=en-US}}&amp;lt;/ref&amp;gt; There are 444 publishers, developers, and hardware companies in California alone.&amp;lt;ref&amp;gt;{{Cite web |title=California (CA) |url=https://www.theesa.com/video-game-impact-map/state/california/ |access-date=December 14, 2022 |website=ESA Impact Map |date=July 20, 2017 |language=en-US}}&amp;lt;/ref&amp;gt; According to the [[Game Developers Conference]] (GDC), the U.S. is the top location for [[video game development]], with 58% of [[Video game developer|game developers]] based in the country in 2025.&amp;lt;ref&amp;gt;{{Cite web |date=2025-03-25 |title=Number of Devs Aged 45 or Older Has Tripled Since 2015 |url=https://80.lv/articles/number-of-devs-aged-45-or-older-has-tripled-since-2015 |access-date=2025-07-04 |website=80.lv |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Theater ===&lt;br /&gt;
{{Main|Theater in the United States}}&lt;br /&gt;
[[File:Broadway Theaters 45th Street Night.jpg|thumb|upright|[[Broadway theater]]s in [[Theater District, Manhattan]]]]&lt;br /&gt;
&lt;br /&gt;
The United States is well known for its theater. Mainstream theater in the United States derives from the old European theatrical tradition and has been heavily influenced by the [[Theatre of the United Kingdom|British theater]].&amp;lt;ref name=&amp;quot;Saxon2011&amp;quot;&amp;gt;{{cite book |first=Theresa |last=Saxon |date=October 11, 2011 |title=American Theatre: History, Context, Form |publisher=Edinburgh University Press |pages=7– |isbn=978-0-7486-3127-8 |oclc=1162047055 |url=https://books.google.com/books?id=2-AkDQAAQBAJ&amp;amp;pg=PA7}}&amp;lt;/ref&amp;gt; By the middle of the 19th century, America had created new distinct dramatic forms in the [[Tom Shows]], the [[showboat|showboat theater]] and the [[minstrel show]].&amp;lt;ref&amp;gt;Meserve, Walter J. An Outline History of American Drama, New York: Feedback/Prospero, 1994.&amp;lt;/ref&amp;gt; The central hub of the American theater scene is the [[Theater District, Manhattan|Theater District in Manhattan]], with its divisions of [[Broadway theatre|Broadway]], [[off-Broadway]], and [[off-off-Broadway]].&amp;lt;ref name=&amp;quot;LondréWatermeier1998&amp;quot;&amp;gt;{{cite book |first1=Felicia Hardison |last1=Londré |first2=Daniel J. |last2=Watermeier |date=1998 |title=The History of North American Theater: From Pre-Columbian Times to the Present |publisher=Continuum |pages= |isbn=978-0-8264-1079-5 |oclc=1024855967}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many movie and television [[Celebrity|celebrities]] have gotten their big break working in New York productions. Outside New York City, many cities have professional [[Regional theater in the United States|regional or resident theater companies]] that produce their own seasons. The biggest-budget theatrical productions are musicals. U.S. theater has an active [[community theater]] culture.&amp;lt;ref&amp;gt;Stephen Watt, and Gary A. Richardson, &#039;&#039;American Drama: Colonial to Contemporary&#039;&#039; (1994).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Tony Awards]] recognizes excellence in live Broadway theater and are presented at an annual ceremony in [[Manhattan]]. The awards are given for Broadway productions and performances. One is also given for [[Regional theatre in the United States|regional theater]]. Several discretionary non-competitive awards are given as well, including a [[Special Tony Award]], the [[Tony Honors for Excellence in Theatre]], and the [[Isabelle Stevenson Award]].&amp;lt;ref&amp;gt;Staff (undated). [http://www.tonyawards.com/en_US/about/index.html &amp;quot;Who&#039;s Who&amp;quot;]. {{Webarchive|url=https://web.archive.org/web/20161223002914/http://www.tonyawards.com/en_US/about/index.html|date=December 23, 2016}}. tonyawards.com. Retrieved September 13, 2013.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Visual arts ===&lt;br /&gt;
{{Main|Visual art of the United States|Architecture of the United States}}&lt;br /&gt;
[[File:Grant Wood - American Gothic - Google Art Project.jpg|thumb|upright|&#039;&#039;[[American Gothic]]&#039;&#039; (1930) by [[Grant Wood]] is one of the most famous [[Visual art of the United States|American paintings]] and is widely [[parody|parodied]].&amp;lt;ref name=BBC&amp;gt;{{cite web |url=http://www.bbc.com/culture/story/20170208-how-american-gothic-became-an-icon |title=How American Gothic became an icon |first=Fisun |last=Güner |date=February 8, 2017 |publisher=BBC |access-date=March 2, 2017}}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
[[Folk art of the United States|Folk art]] in [[Colonial america|colonial America]] grew out of artisanal [[Workmanship|craftsmanship]] in communities that allowed commonly trained people to individually express themselves. It was distinct from Europe&#039;s tradition of [[High culture|high art]], which was less accessible and generally less relevant to early American settlers.&amp;lt;ref&amp;gt;American folk art the art of the common man in America, 1750-1900. New York, N.Y.: The Museum of Modern Art. 1932.&amp;lt;/ref&amp;gt; Cultural movements in art and craftsmanship in colonial America generally lagged behind those of Western Europe. For example, the prevailing medieval style of [[woodworking]] and primitive [[Sculpture of the United States|sculpture]] became integral to early American folk art, despite the emergence of [[Renaissance art|Renaissance styles]] in England in the late 16th and early 17th centuries. The new English styles would have been early enough to make a considerable impact on American folk art, but American styles and forms had already been firmly adopted. Not only did styles change slowly in early America, but there was a tendency for rural artisans there to continue their traditional forms longer than their urban counterparts did&amp;amp;mdash;and far longer than those in Western Europe.&amp;lt;ref name=&amp;quot;Coleman-2013&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Hudson River School]] was a mid-19th-century movement in the visual arts tradition of European [[Realism (arts)|naturalism]]. The 1913 [[Armory Show]] in New York City, an exhibition of European [[modern art|modernist art]], shocked the public and transformed the U.S. art scene.&amp;lt;ref&amp;gt;{{cite book |last1=Brown |first1=Milton W. |title=The Story of the Armory Show |date=1988 |publisher=Abbeville Press |location=New York |isbn=0896597954 |edition=2nd |url=https://archive.org/details/storyofarmorysho00brow}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[American Realism]] and [[American Regionalism]] sought to reflect and give America new ways of looking at itself. [[Georgia O&#039;Keeffe]], [[Marsden Hartley]], and others experimented with new and individualistic styles, which would become known as [[American modernism]]. Major artistic movements such as the [[abstract expressionism]] of [[Jackson Pollock]] and [[Willem de Kooning]] and the [[pop art]] of [[Andy Warhol]] and [[Roy Lichtenstein]] developed largely in the United States. Major photographers include [[Alfred Stieglitz]], [[Edward Steichen]], [[Dorothea Lange]], [[Edward Weston]], [[James Van Der Zee]], [[Ansel Adams]], and [[Gordon Parks]].&amp;lt;ref name=&amp;quot;Davenport1991&amp;quot;&amp;gt;{{cite book |last=Davenport |first=Alma |title=The History of Photography: An Overview |url=https://books.google.com/books?id=hca5H_rJZnUC&amp;amp;pg=PA67 |year=1991 |publisher=UNM Press |isbn=978-0-8263-2076-6 |page=67}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tide of [[modernism]] and then [[postmodernism]] has brought global fame to American architects, including [[Frank Lloyd Wright]], [[Philip Johnson]], and [[Frank Gehry]].&amp;lt;ref name=&amp;quot;JansonJanson2003&amp;quot;&amp;gt;{{cite book |last1=Janson |first1=Horst Woldemar |last2=Janson |first2=Anthony F. |title=History of Art: The Western Tradition |url=https://books.google.com/books?id=MMYHuvhWBH4C&amp;amp;pg=PT955 |year=2003 |publisher=Prentice Hall Professional |isbn=978-0-13-182895-7 |page=955}}&amp;lt;/ref&amp;gt; The [[Metropolitan Museum of Art]] in [[Manhattan]] is the largest [[art museum]] in the United States&amp;lt;ref name=&amp;quot;METLargestArtMuseum&amp;quot;&amp;gt;{{cite news |author=Lester |first=Alfred |date=December 6, 1993 |title=Letter: The Louvre: tourism on the grand scale |url=https://www.independent.co.uk/voices/letter-the-louvre-tourism-on-the-grand-scale-1465736.html |access-date=December 2, 2023 |newspaper=[[The Independent]]}}&amp;lt;/ref&amp;gt; and the [[List of largest art museums|fourth-largest]] in the world.&amp;lt;ref&amp;gt;{{cite web |title=The Largest Art Museums In The World |url=https://www.worldatlas.com/articles/the-largest-art-museums-in-the-world.html |website=WorldAtlas |date=May 30, 2017}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Music ===&lt;br /&gt;
&amp;lt;!---Wikipedia:WikiProject Countries. Caution should be taken to ensure that the section is not simply a listing of names or mini biographies.--&amp;gt;&lt;br /&gt;
{{Main|Music of the United States}}&lt;br /&gt;
&lt;br /&gt;
[[File:Country music hall of fame2.jpg|thumb|The [[Country Music Hall of Fame and Museum]] in [[Nashville, Tennessee]]]]&lt;br /&gt;
[[American folk music]] encompasses numerous music genres, variously known as traditional music, traditional [[folk music]], contemporary folk music, or roots music. Many traditional songs have been sung within the same family or folk group for generations, and sometimes trace back to such origins as the [[British Isles]], [[mainland Europe]], or [[African-American music|Africa]].&amp;lt;ref name=afc&amp;gt;{{Cite web |url=https://www.loc.gov/folklife/guide/folkmusicandsong.html |title=Folk Music and Song: American Folklife Center: An Illustrated Guide (Library of Congress) |website=Loc.gov}}&amp;lt;/ref&amp;gt; The rhythmic and lyrical styles of African-American music in particular have influenced American music.&amp;lt;ref&amp;gt;{{cite web |date=September 22, 2016 |title=Musical Crossroads: African American Influence on American Music |url=https://music.si.edu/story/musical-crossroads |access-date=April 14, 2023 |website=Smithsonian}}&amp;lt;/ref&amp;gt; [[Banjo]]s were brought to America through the slave trade. [[Minstrel show]]s incorporating the instrument into their acts led to its increased popularity and widespread production in the 19th century.&amp;lt;ref&amp;gt;{{cite journal |title=The Folk, the Stage, and the Five-String Banjo in the Nineteenth Century |first=Robert B. |last=Winans |journal=The Journal of American Folklore |year=1976 |volume=89 |issue=354 |pages=407–437 |publisher=American Folklore Society |doi=10.2307/539294 |jstor=539294}}&amp;lt;/ref&amp;gt;{{sfn|Shi|2016|p=378}} The [[electric guitar]], first invented in the 1930s, and mass-produced by the 1940s, had an enormous influence on popular music, in particular due to the development of [[rock and roll]].&amp;lt;ref name=&amp;quot;axe&amp;quot;&amp;gt;{{cite web |title=The Invention of the Electric Guitar |date=April 18, 2014 |url=https://invention.si.edu/invention-electric-guitar |website=Lemelson Center Studies in Invention and Innovation |publisher=Smithsonian Institution}}&amp;lt;/ref&amp;gt; The [[synthesizer]], [[turntablism]], and [[electronic music]] were also largely developed in the U.S.&lt;br /&gt;
&lt;br /&gt;
Elements from folk idioms such as the [[blues]] and [[old-time music]] were adopted and transformed into [[popular music|popular genres]] with global audiences. [[Jazz]] grew from blues and [[ragtime]] in the early 20th century, developing from the innovations and recordings of composers such as [[W.C. Handy]] and [[Jelly Roll Morton]]. [[Louis Armstrong]] and [[Duke Ellington]] increased its popularity early in the 20th century.&amp;lt;ref name=&amp;quot;Biddle-2001&amp;quot;&amp;gt;{{cite book |last1=Biddle |first1=Julian |title=What Was Hot!: Five Decades of Pop Culture in America |date=2001 |publisher=Citadel |location=New York |isbn=978-0-8065-2311-8 |page=[https://archive.org/details/whatwashotroller00bidd/page/ ix] |url=https://archive.org/details/whatwashotroller00bidd/page/}}&amp;lt;/ref&amp;gt; [[Country music]] developed in the 1920s,&amp;lt;ref&amp;gt;{{Cite web |website=OUP blog |title=Early blues and country music |last=Stoia |first=Nicholas |date=October 21, 2014 |url=https://blog.oup.com/2014/10/early-blues-country-music/ |publisher=Oxford University Press}}&amp;lt;/ref&amp;gt; [[bluegrass music|bluegrass]]&amp;lt;ref&amp;gt;{{cite web |title=Bluegrass music |url=https://www.britannica.com/art/bluegrass-music |website=Encyclopædia Britannica |access-date=June 19, 2020 |language=en}}&amp;lt;/ref&amp;gt; and [[rhythm and blues]] in the 1940s,{{sfn|OpenStax|2014|loc=§ [https://openstax.org/books/us-history/pages/28-4-popular-culture-and-mass-media 28.4]}} and rock and roll in the 1950s.&amp;lt;ref name=&amp;quot;axe&amp;quot; /&amp;gt; In the 1960s, [[Bob Dylan]] emerged from the [[American folk music revival|folk revival]] to become one of the country&#039;s most celebrated songwriters.&amp;lt;ref&amp;gt;{{cite magazine |date=April 10, 2020 |title=No. 1 Bob Dylan |url=https://www.rollingstone.com/interactive/lists-100-greatest-songwriters/#bob-dylan |magazine=Rolling Stone |access-date=January 29, 2021}}&amp;lt;/ref&amp;gt; The musical forms of [[Punk rock|punk]] and [[hip hop]] both originated in the United States in the 1970s.&amp;lt;ref&amp;gt;{{cite book |author=Funk |first=Clayton |url=https://ohiostate.pressbooks.pub/artandmusicbiographies/chapter/reading-9-neo-expressionism-and-music-reaching-into-the-1980s/ |title=A Quick and Dirty Guide to Art, Music, and Culture |date=August 16, 2016 |publisher=The Ohio State University |chapter=9. Neo-Expressionism, Punk, and Hip Hop Emerge}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The United States has the world&#039;s [[List of largest recorded music markets|largest music market]], with a total retail value of $15.9 billion in 2022.&amp;lt;ref&amp;gt;{{Cite web |title=2022 Year-End Music Industry Revenue Report |url=https://www.riaa.com/reports/2022-year-end-music-industry-revenue-report-riaa/ |access-date=November 26, 2023 |publisher=Record Industry Association of America |language=en-US}}&amp;lt;/ref&amp;gt; Most of the world&#039;s [[Record label#Major labels|major record companies]] are based in the U.S.; they are represented by the [[Recording Industry Association of America]] (RIAA).&amp;lt;ref&amp;gt;{{cite web |author=Hennessy |first=Eoin |date=March 27, 2014 |title=How American Music Took Over the World |url=https://universitytimes.ie/2014/03/how-american-music-took-over-the-world/ |access-date=April 28, 2023 |website=[[The University Times]]}}&amp;lt;/ref&amp;gt; Mid-20th-century American pop stars, such as [[Frank Sinatra]]&amp;lt;ref&amp;gt;{{cite web |date=December 8, 2015 |title=10 ways that Frank Sinatra changed the world |url=https://www.usatoday.com/story/life/music/2015/12/08/10-ways-frank-sinatra-changed-world/76381754/ |access-date=June 24, 2021 |website=USA Today}}&amp;lt;/ref&amp;gt; and [[Elvis Presley]],&amp;lt;ref&amp;gt;{{cite news |url=https://www.reuters.com/article/us-universal-music-elvis-idCAKCN2M40UH |title=Universal Music can&#039;t help falling for Elvis Presley, to manage song catalog |date=April 12, 2022 |work=[[Reuters]] |access-date=April 12, 2022}}&amp;lt;/ref&amp;gt; became [[Superstar|global celebrities]] and [[List of best-selling music artists|best-selling music artists]],&amp;lt;ref name=&amp;quot;Biddle-2001&amp;quot; /&amp;gt; as have artists of the late 20th century, such as [[Michael Jackson]],&amp;lt;ref name=&amp;quot;RIAA&amp;quot;&amp;gt;{{cite web |title=Michael Jackson&#039;s &#039;Thriller&#039; First Ever 30X Multi-Platinum RIAA Certification |date=December 16, 2015 |access-date=December 17, 2021 |publisher=Recording Industry Association of America |url=https://www.riaa.com/michael-jacksons-thriller-first-ever-30x-multi-platinum-riaa-certification/}}&amp;lt;/ref&amp;gt; [[Madonna]],&amp;lt;ref&amp;gt;{{cite news |url=https://english.elpais.com/culture/2022-08-17/madonna-has-been-scandalizing-people-for-40-years-and-nobodys-going-to-stop-her.html |title=Madonna has been scandalizing people for 40 years, and nobody&#039;s going to stop her |date=August 17, 2022 |first=Carlos |last=Marcos |work=[[El País]] |access-date=August 17, 2022}}&amp;lt;/ref&amp;gt; [[Whitney Houston]],&amp;lt;ref name=&amp;quot;Rolling Stone-2023&amp;quot;&amp;gt;{{cite magazine |date=January 1, 2023 |title=The 200 Greatest Singers of All Time |url=https://www.rollingstone.com/music/music-lists/best-singers-all-time-1234642307/whitney-houston-11-1234643211/ |magazine=Rolling Stone |access-date=January 2, 2023}}&amp;lt;/ref&amp;gt; and [[Mariah Carey]],&amp;lt;ref&amp;gt;{{Cite web |title=Mariah Carey To Receive Global Impact Award At Recording Academy Honors Presented By The Black Music Collective |url=https://grammy.com/news/mariah-carey-global-impact-award-recording-academy-honors-black-music-collective |access-date=February 2, 2024 |publisher=Grammy Awards |archive-date=February 2, 2024 |archive-url=https://web.archive.org/web/20240202011657/https://www.grammy.com/news/mariah-carey-global-impact-award-recording-academy-honors-black-music-collective |url-status=live}}&amp;lt;/ref&amp;gt; and of the early 21st century, such as [[Eminem]],&amp;lt;ref&amp;gt;{{cite web |url=http://www.southpawer.com/2017/09/12/eminem-guinness-world-records |archive-url=https://web.archive.org/web/20170914224707/http://www.southpawer.com/2017/09/12/eminem-guinness-world-records/ |url-status=usurped |archive-date=September 14, 2017 |title=11 Guinness World Records Eminem Still Holds |date=September 12, 2017}}&amp;lt;/ref&amp;gt; [[Britney Spears]],{{sfn|Edmondson|2013|p=490}} [[Lady Gaga]],{{sfn|Edmondson|2013|p=490}} [[Katy Perry]],{{sfn|Edmondson|2013|p=490}} [[Taylor Swift]] and [[Beyoncé]].&amp;lt;ref&amp;gt;{{cite news |url=https://news.sky.com/story/taylor-swift-and-beyonce-reporters-wanted-by-biggest-newspaper-chain-in-us-12960828 |title=Taylor Swift and Beyoncé reporters wanted by biggest newspaper chain in US |publisher=[[Sky News]] |date=September 14, 2023 |access-date=November 8, 2023 |archive-date=November 9, 2023 |archive-url=https://web.archive.org/web/20231109015600/https://news.sky.com/story/taylor-swift-and-beyonce-reporters-wanted-by-biggest-newspaper-chain-in-us-12960828 |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fashion ===&lt;br /&gt;
{{main|Fashion in the United States}}&lt;br /&gt;
[[File:Carolina Herrera AW14 12.jpg|thumb|&#039;&#039;[[Haute couture]]&#039;&#039; [[fashion model]]s on the [[catwalk]] during [[New York Fashion Week]]]]&lt;br /&gt;
The United States has the world&#039;s largest [[apparel]] market by revenue.&amp;lt;ref&amp;gt;{{Cite web |date=June 19, 2024 |title=Global Apparel Industry Statistics (2024) |url=https://www.uniformmarket.com/statistics/global-apparel-industry-statistics |access-date=August 25, 2024 |website=uniformmarket.com |language=en-US}}&amp;lt;/ref&amp;gt; Apart from professional [[business attire]], American fashion is eclectic and predominantly informal. Americans&#039; diverse cultural roots are reflected in their clothing; however, [[sneaker]]s, [[jeans]], [[T-shirts]], and [[baseball cap]]s are emblematic of American styles.&amp;lt;ref name=&amp;quot;AmericanClassicFashion&amp;quot;&amp;gt;{{cite web |url=https://www.cnn.com/interactive/2019/01/style/american-style-classics/ |title=American Classics How seven everyday clothing items became American style staples. |publisher=[[CNN]] |access-date=December 4, 2023}}&amp;lt;/ref&amp;gt; New York, with [[New York Fashion Week|its Fashion Week]], is considered to be one of the &amp;quot;Big Four&amp;quot; global [[fashion capital]]s, along with [[Paris Fashion Week|Paris]], [[Milan Fashion Week|Milan]], and [[London Fashion Week|London]]. A study demonstrated that general proximity to [[Garment District, Manhattan|Manhattan&#039;s Garment District]] has been synonymous with American fashion since its inception in the early 20th century.&amp;lt;ref name=&amp;quot;GarmentDistrictNYCFashionSymbolUS&amp;quot;&amp;gt;{{cite web |author=Caplin |first=John |date=September 1, 2021 |title=Made In New York: The Future Of New York City&#039;s Historic Garment District |url=https://www.forbes.com/sites/johncaplan/2021/09/01/made-in-new-york-the-future-of-new-york-citys-historic-garment-district/ |access-date=December 5, 2023 |work=[[Forbes]] |quote=Spanning just about 20 square blocks between [[Times Square]] and [[Penn Station (New York)|Penn Station]] along [[Seventh Avenue (Manhattan)|Seventh Avenue]] (also known as &amp;quot;Fashion Avenue&amp;quot;), the vibrant and always-busy neighborhood has a long and rich history that has become synonymous with American fashion since its inception more than a century ago.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A number of well-known [[designer label]]s, among them [[Tommy Hilfiger (company)|Tommy Hilfiger]], [[Ralph Lauren Corporation|Ralph Lauren]], [[Tom Ford (brand)|Tom Ford]] and [[Calvin Klein (fashion house)|Calvin Klein]], are headquartered in [[Manhattan]].&amp;lt;ref&amp;gt;{{cite web|url=https://www.calvinklein.us/en/about-us.html|title=About Calvin Klein, Inc.|website=calvinklein.us|access-date=June 8, 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://corporate.ralphlauren.com/our-company|title=About US – Polo Ralph Lauren|website=[[Ralph Lauren Corporation]]|access-date=June 8, 2025}}&amp;lt;/ref&amp;gt; Labels cater to [[niche market]]s, such as preteens. [[New York Fashion Week]] is one of the most influential fashion shows in the world, and is held twice each year in Manhattan;&amp;lt;ref name=&amp;quot;USNYCFashionWeekGlobalIndustryTonesetter&amp;quot;&amp;gt;{{cite news |author=Juarez |first=Diana |date=October 4, 2023 |title=The Economic Impact of New York Fashion Week |url=https://thefordhamram.com/93053/news/fashion-week/ |access-date=December 5, 2023 |newspaper=The Fordham Ram}}&amp;lt;/ref&amp;gt; the annual [[Met Gala]], also in Manhattan, has been called the fashion world&#039;s &amp;quot;biggest night&amp;quot;.&amp;lt;ref name=&amp;quot;MetGalaFashion&#039;sBiggestNight1&amp;quot;&amp;gt;{{cite web |author=Bauman |first=Ali |date=May 1, 2023 |title=Met Gala 2023: Fashion&#039;s biggest night honors Karl Lagerfeld |url=https://www.cbsnews.com/newyork/news/met-gala-2023-red-carpet/ |access-date=April 30, 2024 |publisher=[[CBS News]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;MetGalaFashion&#039;sBiggestNight2&amp;quot;&amp;gt;{{cite web |url=https://www.glamour.com/story/met-gala-2024-how-to-watch |title=Met Gala 2024: How to Watch Fashion&#039;s Biggest Night |publisher=[[Glamour (magazine)|Glamour]] |date=April 29, 2024 |access-date=April 30, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Cinema ===&lt;br /&gt;
{{Main|Cinema of the United States}}&lt;br /&gt;
[[File:Hollywood Sign (Zuschnitt).jpg|thumb|The [[Hollywood Sign]] in the [[Hollywood Hills]], often regarded as the symbol of the [[American film industry]]]]&lt;br /&gt;
&lt;br /&gt;
The U.S. film industry has [[Global Hollywood|a worldwide influence and following]]. [[Hollywood, Los Angeles|Hollywood]], a district in northern Los Angeles, the nation&#039;s second-most populous city, is also [[metonymous]] for the American filmmaking industry.&amp;lt;ref&amp;gt;{{cite book |title=Annual Report of the Controller of the City of Los Angeles, California |url=https://books.google.com/books?id=1VbOAAAAMAAJ&amp;amp;q=Hollywood+merged+with+City+of+Los+Angeles+in+1910&amp;amp;pg=PA193 |publisher=By[[Office controller|Office of Controller]] Los Angeles, CA (1914) |access-date=February 22, 2014 |year=1914}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |title=Report of the Auditor of the City of Los Angeles California of the Financial Affairs of the Corporation in Its Capacity as a City for the Fiscal Year |url=https://books.google.com/books?id=cPo2AQAAMAAJ&amp;amp;q=Hollywood+merged+with+City+of+Los+Angeles+in+1910&amp;amp;pg=PA173 |publisher=By [[State auditor|Auditor&#039;s Office]] of Los Angeles, CA (1913) |access-date=February 22, 2014 |year=1913}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite press release |url=https://www.un.org/apps/news/story.asp?NewsID=30707 |title=Nigeria surpasses Hollywood as world&#039;s second-largest film producer |publisher=United Nations |date=May 5, 2009 |access-date=February 17, 2013}}&amp;lt;/ref&amp;gt; The [[major film studios]] of the United States are the primary source of the [[List of highest-grossing films|most commercially successful]] movies selling the most tickets in the world.&amp;lt;ref name=&amp;quot;Kerrigan_Page_18&amp;quot;&amp;gt;{{cite book |last1=Kerrigan |first1=Finola |title=Film Marketing |date=2010 |publisher=Butterworth-Heinemann |location=Oxford |isbn=978-0-7506-8683-9 |page=18 |url=https://books.google.com/books?id=ufMdvuuTQ7MC&amp;amp;pg=PA18 |access-date=February 4, 2022}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Davis&amp;quot;&amp;gt;{{cite book |last1=Davis |first1=Glyn |last2=Dickinson |first2=Kay |last3=Patti |first3=Lisa |last4=Villarejo |first4=Amy |title=Film Studies: A Global Introduction |date=2015 |publisher=Routledge |location=Abingdon |isbn=978-1-317-62338-0 |page=299 |url=https://books.google.com/books?id=dnXABgAAQBAJ&amp;amp;pg=PA299 |access-date=August 24, 2020}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Largely centered in the New York City region from its beginnings in the late 19th century through the first decades of the 20th century,&amp;lt;ref&amp;gt;{{cite web|url=https://www.nytimes.com/1998/10/04/nyregion/getting-big-picture-film-industry-started-here-left-now-it-s-back-state-says.html|author=Kannapell, Andrea|title=Getting the Big Picture; The Film Industry Started Here and Left. Now It&#039;s Back, and the State Says the Sequel Is Huge.|newspaper=[[The New York Times]]|language=en-US|url-status=live|date=October 4, 1998|access-date=January 19, 2023|archive-date=December 19, 2019|archive-url=https://web.archive.org/web/20191219034718/https://www.nytimes.com/1998/10/04/nyregion/getting-big-picture-film-industry-started-here-left-now-it-s-back-state-says.html}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=Market Data |url=https://www.the-numbers.com/market/ |website=The Numbers |access-date=July 11, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://j-entonline.com/before-hollywood-there-was-fort-lee-n-j-early-movie-making-in-new-jersey-a-j-ent-dvd-review/|author=Amith, Dennis|title=Before Hollywood There Was Fort Lee, N.J.: Early Movie Making in New Jersey (a J!-ENT DVD Review)|publisher=J!-ENT|language=en-US|url-status=live|date=January 1, 2011|access-date=January 19, 2023|archive-date=December 22, 2019|archive-url=https://web.archive.org/web/20191222043615/http://j-entonline.com/blu-ray-dvd-reviews/dvd-reviews-film-tv/before-hollywood-there-was-fort-lee-n-j-early-movie-making-in-new-jersey-a-j-ent-dvd-review/|quote=When Hollywood, California, was mostly orange groves, Fort Lee, New Jersey, was a center of American film production.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=http://www.nj.com/news/index.ssf/2012/04/100_years_ago_fort_lee_was_the.html|author=Rose, Lisa|title=100 years ago, Fort Lee was the first town to bask in movie magic|publisher=[[NJ.com]]|language=en-US|url-status=live|date=April 29, 2012|access-date=January 19, 2023|archive-date=September 29, 2018|archive-url=https://web.archive.org/web/20180929115649/https://www.nj.com/news/index.ssf/2012/04/100_years_ago_fort_lee_was_the.html|quote=Back in 1912, when Hollywood had more cattle than cameras, Fort Lee was the center of the cinematic universe. Icons from the silent era like Mary Pickford, Lionel Barrymore, and Lillian Gish crossed the Hudson River via ferry to emote on Fort Lee back lots.}}&amp;lt;/ref&amp;gt; the U.S. film industry has since been primarily based in and around Hollywood. Nonetheless, American film companies have been subject to the forces of [[globalization]] in the 21st century, and an increasing number of films are made elsewhere.&amp;lt;ref&amp;gt;{{cite magazine |url=https://www.hollywoodreporter.com/news/john-landis-rails-studios-theyre-659222 |title=John Landis Rails Against Studios: &#039;They&#039;re Not in the Movie Business Anymore&#039; |magazine=The Hollywood Reporter |access-date=January 24, 2015}}&amp;lt;/ref&amp;gt; The [[Academy Awards]], popularly known as the Oscars, have been held annually by the [[Academy of Motion Picture Arts and Sciences]] since 1929,&amp;lt;ref name=&amp;quot;DrowneHuber2004&amp;quot;&amp;gt;{{cite book |last1=Drowne |first1=Kathleen Morgan |url=https://books.google.com/books?id=CecCHiI95dYC&amp;amp;pg=PA236 |title=The 1920s |last2=Huber |first2=Patrick |publisher=Greenwood Publishing Group |year=2004 |isbn=978-0-313-32013-2 |page=236}}&amp;lt;/ref&amp;gt; and the [[Golden Globe Award]]s have been held annually since January 1944.&amp;lt;ref name=&amp;quot;Kroon2014&amp;quot;&amp;gt;{{cite book |last=Kroon |first=Richard W. |url=https://books.google.com/books?id=HjmNAgAAQBAJ&amp;amp;pg=PA338 |title=A/V A to Z: An Encyclopedic Dictionary of Media, Entertainment and Other Audiovisual Terms |publisher=McFarland |year=2014 |isbn=978-0-7864-5740-3 |page=338}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The industry peaked in what is commonly referred to as the &amp;quot;[[Classical Hollywood cinema|Golden Age of Hollywood]]&amp;quot;, from the early sound period until the early 1960s,&amp;lt;ref&amp;gt;{{cite news |last1=Matthews |first1=Charles |title=Book explores Hollywood &#039;Golden Age&#039; of the 1960s-&#039;70s |url=https://www.washingtonpost.com/entertainment/books/book-explores-hollywood-golden-age-of-the-1960s-70s/2011/02/10/AGh5xJIH_story.html |newspaper=The Washington Post |access-date=August 6, 2015 |date=June 3, 2011}}&amp;lt;/ref&amp;gt; with screen actors such as [[John Wayne]] and [[Marilyn Monroe]] becoming iconic figures.&amp;lt;ref&amp;gt;{{cite news |last1=Banner |first1=Lois |title=Marilyn Monroe, the eternal shape shifter |url=https://www.latimes.com/opinion/la-xpm-2012-aug-05-la-oe-0805-banner-marilyn-monroe-icon-biography-20120805-story.html |newspaper=Los Angeles Times |access-date=August 6, 2015 |date=August 5, 2012}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last1=Rick |first1=Jewell |title=John Wayne, an American Icon |url=https://www.usc.edu/uscnews/stories/15465.html |archive-url=https://web.archive.org/web/20080822102812/https://www.usc.edu/uscnews/stories/15465.html |archive-date=August 22, 2008 |publisher=University of Southern California |access-date=August 6, 2015 |date=August 8, 2008}}&amp;lt;/ref&amp;gt; In the 1970s, &amp;quot;[[New Hollywood]]&amp;quot;, or the &amp;quot;Hollywood Renaissance&amp;quot;,&amp;lt;ref name=&amp;quot;Greven2013&amp;quot;&amp;gt;{{cite book |last=Greven |first=David |title=Psycho-Sexual: Male Desire in Hitchcock, De Palma, Scorsese, and Friedkin |url=https://books.google.com/books?id=QIyNBQAAQBAJ&amp;amp;pg=PT23 |year=2013 |publisher=University of Texas Press |isbn=978-0-292-74204-8 |page=23}}&amp;lt;/ref&amp;gt; was defined by grittier films influenced by French and Italian realist pictures of the [[Aftermath of World War II|post-war period]].&amp;lt;ref name=&amp;quot;Morrison1998&amp;quot;&amp;gt;{{cite book |last=Morrison |first=James |title=Passport to Hollywood: Hollywood Films, European Directors |url=https://books.google.com/books?id=dWRif68I3igC&amp;amp;pg=PA11 |year=1998 |publisher=SUNY Press |isbn=978-0-7914-3938-8 |page=11}}&amp;lt;/ref&amp;gt; The 21st century has been marked by the rise of American [[streaming platform]]s, which came to rival traditional cinema.&amp;lt;ref name=&amp;quot;RE&amp;quot;&amp;gt;{{cite news |last=Seitz |first=Matt Zoller |author-link=Matt Zoller Seitz |title=What&#039;s Next: Avengers, MCU, Game of Thrones, and the Content Endgame |url=https://www.rogerebert.com/mzs/avengers-mcu-and-the-content-endgame |access-date=July 21, 2021 |work=[[RogerEbert.com]] |publisher=Ebert Digital LLC |date=April 29, 2019}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |author=Avery |first=Hannah |date=January 18, 2023 |title=US streaming market growth continues, despite changes in the industry |url=https://www.kantar.com/inspiration/technology/us-streaming-market-growth-continues-despite-changes-in-the-industry |access-date=April 29, 2023 |website=[[Kantar Group]]}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Cuisine ===&lt;br /&gt;
{{Main|American cuisine}}&lt;br /&gt;
[[File:2019-11-28 14 46 15 A single serving of Thanksgiving Dinner in the Parkway Village section of Ewing Township, Mercer County, New Jersey.jpg|thumb|A [[Thanksgiving dinner]] with [[roast turkey]], [[mashed potatoes]], [[pickled cucumber|pickles]], [[corn]], [[candied yams]], [[cranberry jelly]], [[Shrimp and prawn as food|shrimps]], [[stuffing]], [[green peas]], [[deviled eggs]], [[green salad]], and [[apple sauce]]]]&lt;br /&gt;
&lt;br /&gt;
Early settlers were introduced by Native Americans to foods such as [[Turkey as food|turkey]], [[sweet potato]]es, [[maize|corn]], [[Cucurbita|squash]], and [[maple syrup]]. Of the most enduring and pervasive examples are variations of the native dish called [[succotash]]. Early settlers and later immigrants combined these with foods they were familiar with, such as [[wheat flour]],&amp;lt;ref name=&amp;quot;Wheat&amp;quot;&amp;gt;{{cite web |title=Wheat Info |url=https://www.wheatworld.org/wheat-info/fast-facts/ |archive-url=https://web.archive.org/web/20091011012758/https://www.wheatworld.org/wheat-info/fast-facts/ |archive-date=October 11, 2009 |website=Wheatworld.org |access-date=January 15, 2015}}&amp;lt;/ref&amp;gt; beef, and milk, to create a distinctive American cuisine.&amp;lt;ref&amp;gt;{{cite web |title=Traditional Indigenous Recipes |url=https://aihd.ku.edu/recipes/index.html |publisher=American Indian Health and Diet Project |access-date=September 15, 2014}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |last=Akenuwa |first=Ambrose |title=Is the United States Still the Land of the Free and Home to the Brave? |url=https://books.apple.com/us/book/is-the-united-states-still-the-land-of-the/id1017814038 |date=July 1, 2015 |pages=92–94 |publisher=Lulu Press |isbn=978-1-329-26112-9 |access-date=November 20, 2020}}&amp;lt;/ref&amp;gt; [[New World crops]], especially [[pumpkin]], corn, [[potatoes]], and turkey as the main course are part of a shared national menu on [[Thanksgiving (United States)|Thanksgiving]], when many Americans prepare or purchase traditional dishes to celebrate the occasion.&amp;lt;ref name=&amp;quot;Mintz1996&amp;quot;&amp;gt;{{cite book |author=Mintz |first=Sidney Wilfred |url=https://archive.org/details/tastingfoodtasti00mint_0 |title=Tasting Food, Tasting Freedom: Excursions Into Eating, Culture, and the Past |publisher=Beacon Press |year=1996 |isbn=978-0-8070-4629-6 |pages=[https://archive.org/details/tastingfoodtasti00mint_0/page/134 134]– |access-date=October 25, 2015 |url-access=registration}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Characteristic American dishes such as [[apple pie]], [[fried chicken]], [[doughnut]]s, [[french fries]], [[macaroni and cheese]], [[ice cream]], [[hamburger]]s, [[hot dog]]s, and [[Pizza in the United States|American pizza]] derive from the recipes of various immigrant groups.&amp;lt;ref&amp;gt;{{cite book |first=Hasia |last=Diner |title=Hungering for America: Italian, Irish, and Jewish Foodways in the Age of Migration |publisher=Harvard University Press |place=Cambridge |date=2001 |page=1}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |last=Poe |first=Tracy N. |date=February 1999 |title=The Origins of Soul Food in Black Urban Identity: Chicago, 1915–1947 |journal=American Studies International |volume=37 |issue=1 |page=5}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |url=https://www.bizjournals.com/louisville/news/2020/12/31/consumer-spending-data-kfc-is-the-most-popular.html |title=KFC is America&#039;s favorite fried chicken, data suggests |last=Cawthon |first=Haley |date=December 31, 2020 |website=The Business Journals |access-date=May 8, 2021}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |url=https://www.pastemagazine.com/food/america/the-history-of-the-pizza/ |title=How Pizza Became America&#039;s Favorite Food |last=Russell |first=Joan |date=May 23, 2016 |website=Paste |access-date=May 8, 2021}}&amp;lt;/ref&amp;gt; [[Mexican-American cuisine|Mexican dishes]] such as [[burritos]] and [[tacos]] preexisted the United States in areas later annexed from Mexico, and [[American Chinese cuisine|adaptations of Chinese cuisine]] as well as [[Italian-American cuisine|pasta dishes freely adapted from Italian sources]] are all widely consumed.&amp;lt;ref name=&amp;quot;IFT&amp;quot;&amp;gt;{{cite web |url=https://www.newswise.com/articles/what-when-and-where-americans-eat-in-2003 |author=Klapthor, James N. |title=What, When, and Where Americans Eat in 2003 |publisher=Newswise/Institute of Food Technologists |date=August 23, 2003 |access-date=June 19, 2007}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
American [[chef]]s have had a significant impact on society both domestically and internationally. In 1946, the [[Culinary Institute of America]] was founded by [[Katharine Cramer Angell|Katharine Angell]] and [[Frances Roth]]. This would become the United States&#039; most prestigious culinary school, where many of the most talented American chefs would study prior to successful careers.&amp;lt;ref&amp;gt;{{Cite web |title=Our Story: CIA History {{!}} Culinary Institute of America |url=https://www.ciachef.edu/our-story/ |access-date=October 11, 2022 |website=ciachef.edu |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;FTfbs&amp;quot;&amp;gt;{{cite news |last=Averbuch |first=Bonnie |title=Attention Food Entrepreneurs: School&#039;s Back in Business |publisher=[[Food Tank]] |url=https://foodtank.com/news/2015/09/attention-food-entrepreneurs-its-time-to-head-back-to-school/ |date=September 2015 |access-date=June 19, 2017}}&amp;lt;/ref&amp;gt; The [[United States restaurant industry]] was projected at $899 billion in sales for 2020,&amp;lt;ref name=&amp;quot;Brownfield-2020&amp;quot;&amp;gt;{{Cite web |url=https://www.bizjournals.com/cincinnati/news/2020/03/20/cincinnati-restaurants-ask-feds-for-coronavirus.html |title=Cincinnati restaurants ask feds for coronavirus bailout |last=Brownfield |first=Andy |date=March 20, 2020 |website=login.research.cincinnatilibrary.org |access-date=March 22, 2020}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Ramirez&amp;quot;&amp;gt;{{Cite web |url=https://www.forbes.com/sites/elvaramirez/2020/03/19/the-restaurant-industry-needs-a-coronavirus-bailout-will-they-get-it/ |title=The Restaurant Industry Needs A Coronavirus Bailout. Will They Get It? |last=Ramirez |first=Elva |website=[[Forbes]] |language=en |access-date=March 22, 2020}}&amp;lt;/ref&amp;gt; and employed more than 15 million people, representing 10% of the nation&#039;s workforce directly.&amp;lt;ref name=&amp;quot;Brownfield-2020&amp;quot; /&amp;gt; It is the country&#039;s second-largest private employer and the third-largest employer overall.&amp;lt;ref name=&amp;quot;Noguchi-2020&amp;quot;&amp;gt;{{Cite web |url=https://www.npr.org/2020/03/22/819189939/closed-all-at-once-restaurant-industry-faces-collapse |title=Closed All At Once: Restaurant Industry Faces Collapse |last=Noguchi |first=Yuki |date=March 22, 2020 |publisher=[[NPR]] |language=en |access-date=March 22, 2020}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |url=https://www.msnbc.com/stephanie-ruhle/watch/restaurant-industry-reeling-from-coronavirus-80967237571 |title=Restaurant industry reeling from coronavirus |publisher=[[MSNBC]] |language=en |access-date=March 22, 2020}}&amp;lt;/ref&amp;gt; The United States is home to over 220 [[Michelin star]]-rated restaurants, 70 of which are in New York City alone.&amp;lt;ref&amp;gt;{{Cite web |title=Restaurants |url=https://guide.michelin.com/en/us/new-york-state/new-york/restaurants/1-star-michelin/2-stars-michelin/3-stars-michelin |access-date=August 30, 2023 |website=Michelin Guide |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[American wine|Wine]] has been produced in what is now the United States since the 1500s, with the [[New Mexico wine|first widespread production beginning in what is now New Mexico]] in 1628.&amp;lt;ref&amp;gt;United States Department of Agriculture &amp;quot;[http://www.fas.usda.gov/agx/ISMG/Global%20Wine%20Report%20Final%20Aug2006.pdf Global Wine Report August 2006] {{webarchive |url=https://web.archive.org/web/20080408235146/http://www.fas.usda.gov/agx/ISMG/Global%20Wine%20Report%20Final%20Aug2006.pdf |date=April 8, 2008 }}&amp;quot;, pp. 7-9.&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Birchell Steel 2013 p.&amp;quot;&amp;gt;{{cite book |last1=Birchell |first1=D.B. |last2=Steel |first2=G. |title=New Mexico Wine: An Enchanting History |publisher=American Palate |series=American Palate Series |year=2013 |isbn=978-1-60949-643-2 |url=https://books.google.com/books?id=5f0kvgAACAAJ |language=it |access-date=November 15, 2019}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;New Mexico. Office of Cultural Affairs 1995 p.&amp;quot;&amp;gt;{{cite book |author=New Mexico. Office of Cultural Affairs |title=Enchanted Lifeways: The History, Museums, Arts &amp;amp; Festivals of New Mexico |publisher=New Mexico Magazine |year=1995 |isbn=978-0-937206-39-3 |url=https://books.google.com/books?id=nvoRAQAAIAAJ |access-date=November 15, 2019}}&amp;lt;/ref&amp;gt; In the modern U.S., wine production is undertaken in all fifty states, with [[California wine|California producing 84 percent of all U.S. wine]]. With more than {{convert|1100000|acre|km2}} under vine, the United States is the [[List of countries by wine production|fourth-largest wine-producing country]] in the world, after [[Italian wine|Italy]], [[Spanish wine|Spain]], and [[French wine|France]].&amp;lt;ref name=&amp;quot;Sotheby, p. 462&amp;quot;&amp;gt;T. Stevenson, &#039;&#039;The Sotheby&#039;s Wine Encyclopedia&#039;&#039; Fourth Edition, p. 462, Dorling Kindersly, 2005, {{ISBN|0-7566-1324-8}}.&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Oxford, p. 719&amp;quot;&amp;gt;J. Robinson, ed. &#039;&#039;The Oxford Companion to Wine&#039;&#039;, Third Edition, p. 719; Oxford University Press, 2006, {{ISBN|0-19-860990-6}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[diner|classic American diner]], a casual restaurant type originally intended for the working class, emerged during the 19th century from converted railroad [[dining car]]s made stationary. The diner soon evolved into purpose-built structures whose number expanded greatly in the 20th century.&amp;lt;ref&amp;gt;{{cite web|date=2016-09-05|title=The History of the American Diner|url=https://www.pastemagazine.com/food/the-history-of-the-american-diner/|access-date=2021-11-30|website=pastemagazine.com|language=en}}&amp;lt;/ref&amp;gt; The American [[fast-food]] industry developed alongside the nation&#039;s [[car culture]].&amp;lt;ref&amp;gt;{{cite web |title=America&#039;s Love Of Drive-thrus |url=https://www.npr.org/2023/12/11/1198909271/1a-draft-12-11-2023 |website=NPR |access-date=May 4, 2024 |date=December 11, 2023}}&amp;lt;/ref&amp;gt; American restaurants developed the [[drive-in]] format in the 1920s, which they began to replace with the [[drive-through]] format by the 1940s.&amp;lt;ref name=&amp;quot;drivethru&amp;quot;&amp;gt;{{cite web |title=When Was the First Drive-Thru Restaurant Created? |url=https://www.wisegeek.org/when-was-the-first-drive-thru-restaurant-created.htm |website=Wisegeek.org |access-date=January 15, 2015}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last1=Sheldon |first1=Andrew |title=The History of the Drive-Thru in America |url=https://magazine.northeast.aaa.com/daily/life/cars-trucks/auto-history/history-of-the-drive-thru/ |website=Your AAA Network |date=July 23, 2020}}&amp;lt;/ref&amp;gt; American [[fast-food restaurant]] chains, such as [[McDonald&#039;s]], [[Burger King]], [[Chick-fil-A]], [[Kentucky Fried Chicken]], [[Dunkin&#039; Donuts]] and [[List of fast food restaurant chains#United States|many others]], have numerous outlets around the world.&amp;lt;ref name=&amp;quot;Pavlova-2019&amp;quot;&amp;gt;{{cite magazine |last=Pavlova |first=Rada |title=Globalization of American Fast-Food Chains: the Pinnacle of Effective Management and Adaptability – The Yale Globalist |url=https://globalist.yale.edu/in-the-magazine/globalization-of-american-fast-food-chains-the-pinnacle-of-effective-management-and-adaptability/ |access-date=May 4, 2024 |date=April 8, 2019 |magazine=The Yale Globalist}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sports ===&lt;br /&gt;
{{Main|Sports in the United States|United States at the Olympics}}&lt;br /&gt;
[[File:Delhomme goes deep.jpg|thumb|[[American football]] is the most popular sport in the United States; in this 2009 [[National Football League]] game, [[Carolina Panthers]] quarterback [[Jake Delhomme]] (number 17) throws a forward pass against the [[Dallas Cowboys]].]]&lt;br /&gt;
&lt;br /&gt;
The most popular spectator sports in the U.S. are [[American football in the United States|American football]], [[Basketball in the United States|basketball]], [[Baseball in the United States|baseball]], [[Soccer in the United States|soccer]], and [[Ice hockey in the United States|ice hockey]].&amp;lt;ref&amp;gt;{{cite web |date=September 25, 2007 |title=Sports |url=https://news.gallup.com/poll/4735/sports.aspx |access-date=April 16, 2023 |publisher=Gallup, Incorporated}}&amp;lt;/ref&amp;gt; While most major U.S. sports such as baseball and American football have evolved out of European practices, basketball, [[Volleyball in the United States|volleyball]], [[skateboarding]], and [[snowboarding]] are American inventions, many of which have become popular worldwide.&amp;lt;ref&amp;gt;{{Cite news |last=Krasnoff |first=Lindsay Sarah |date=December 26, 2017 |title=How the NBA went global |newspaper=[[The Washington Post]] |url=https://www.washingtonpost.com/news/made-by-history/wp/2017/12/26/how-the-nba-went-global/ |url-status=live |url-access=subscription |access-date=September 14, 2023 |archive-url=https://web.archive.org/web/20171226153302/https://www.washingtonpost.com/news/made-by-history/wp/2017/12/26/how-the-nba-went-global/ |archive-date=December 26, 2017 |issn=0190-8286 |oclc=2269358}}&amp;lt;/ref&amp;gt; [[Lacrosse in the United States|Lacrosse]] and [[Surfing in the United States|surfing]] arose from Native American and Native Hawaiian activities that predate European contact.&amp;lt;ref name=&amp;quot;liss&amp;quot;&amp;gt;Liss, Howard. &#039;&#039;Lacrosse&#039;&#039; (Funk &amp;amp; Wagnalls, 1970), p. 13.&amp;lt;/ref&amp;gt; The [[Professional sports market in the United States|market for professional sports in the United States]] was approximately $69&amp;amp;nbsp;billion in July 2013, roughly 50% larger than that of Europe, the Middle East, and Africa combined.&amp;lt;ref&amp;gt;{{cite web |date=June 18, 2008 |title=Global sports market to hit $141 billion in 2012 |url=https://www.reuters.com/article/us-pwcstudy-idUSN1738075220080618 |access-date=July 24, 2013 |work=Reuters}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
American football is by several measures the most popular spectator sport in the United States;&amp;lt;ref&amp;gt;{{cite web |author=Krane, David K. |title=Professional Football Widens Its Lead Over Baseball as Nation&#039;s Favorite Sport |url=https://www.harrisinteractive.com/Insights/HarrisVault8482.aspx?PID=337 |publisher=Harris Interactive |date=October 30, 2002 |access-date=September 14, 2007 |archive-url=https://web.archive.org/web/20100709111448/https://www.harrisinteractive.com/Insights/HarrisVault8482.aspx?PID=337 |archive-date=July 9, 2010}} MacCambridge, Michael (2004). &#039;&#039;America&#039;s Game: The Epic Story of How Pro Football Captured a Nation&#039;&#039;. New York: Random House. {{ISBN|978-0-375-50454-9}}.&amp;lt;/ref&amp;gt; the [[National Football League]] has the highest average attendance of any sports league in the world, and the [[Super Bowl]] is watched by tens of millions globally.&amp;lt;ref&amp;gt;{{cite web |url=https://www.espn.com/nfl/story/_/id/27321898/how-nfl-took-america-100-years |title=How the NFL took over America in 100 years |last=Guliza |first=Anthony |date=August 14, 2019 |publisher=[[ESPN]] |access-date=May 8, 2021}}&amp;lt;/ref&amp;gt; However, baseball has been regarded as the U.S. &amp;quot;[[national sport]]&amp;quot; since the late 19th century. After American football, the next four most popular professional team sports are basketball, baseball, soccer, and ice hockey. Their premier leagues are, respectively, the [[National Basketball Association]],&amp;lt;ref&amp;gt;{{cite web|url=https://careers.nba.com/history/|title=History of the NBA|website=NBA.com|access-date=June 8, 2025}}&amp;lt;/ref&amp;gt; [[Major League Baseball]],&amp;lt;ref&amp;gt;{{cite web|url=https://www.mlb.com/official-information/about-mlb|title=About MLB|publisher=[[MLB Advanced Media]]|access-date=June 8, 2025}}&amp;lt;/ref&amp;gt; [[Major League Soccer]],&amp;lt;ref&amp;gt;{{cite web|url=https://www.mlssoccer.com/about/|title=About MLS Soccer|website=mlssoccer.com|access-date=June 8, 2025}}&amp;lt;/ref&amp;gt; and the [[National Hockey League]].&amp;lt;ref&amp;gt;{{cite web|url=https://www.nhl.com/info/about-the-nhl|title=About the NHL|website=NHL.com|access-date=June 8, 2025}}&amp;lt;/ref&amp;gt; The most-watched [[individual sport]]s in the U.S. are [[Golf in the United States|golf]] and [[auto racing]], particularly [[NASCAR]] and [[IndyCar]].&amp;lt;ref&amp;gt;{{cite web |date=January 16, 2014 |title=As American as Mom, Apple Pie and Football? Football continues to trump baseball as America&#039;s Favorite Sport |url=https://www.harrisinteractive.com/vault/Harris%20Poll%205%20-%202014%20Fave%20Sport_1.16.14.pdf |archive-url=https://web.archive.org/web/20140309053431/https://www.harrisinteractive.com/vault/Harris%20Poll%205%20-%202014%20Fave%20Sport_1.16.14.pdf |archive-date=March 9, 2014 |access-date=July 2, 2014 |website=Harris Interactive}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |author1=Cowen, Tyler |author2=Grier, Kevin |date=February 9, 2012 |title=What Would the End of Football Look Like? |url=https://www.grantland.com/story/_/id/7559458/cte-concussion-crisis-economic-look-end-football |access-date=February 12, 2012 |publisher=Grantland/ESPN}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the [[College athletics in the United States|collegiate level]], earnings for the member institutions exceed $1 billion annually,&amp;lt;ref name=&amp;quot;si&amp;quot;&amp;gt;{{Cite news |url=https://www.si.com/college-basketball/2018/03/07/ncaa-1-billion-revenue |title=Sports Illustrated: NCAA Reports $1.1 Billion in Revenues |newspaper=Sports Illustrated |date=March 7, 2018}}&amp;lt;/ref&amp;gt; and [[college football]] and [[College basketball|basketball]] attract large audiences, as the [[NCAA Division I men&#039;s basketball tournament|NCAA March Madness tournament]] and the [[College Football Playoff]] are some of the most watched national sporting events.&amp;lt;ref&amp;gt;{{cite web |date=March 19, 2013 |title=Passion for College Football Remains Robust |url=https://www.footballfoundation.org/tabid/567/Article/53380/Passion-for-College-Football-Remains-Robust.aspx |archive-url=https://web.archive.org/web/20140407075223/https://www.footballfoundation.org/tabid/567/Article/53380/Passion-for-College-Football-Remains-Robust.aspx |archive-date=April 7, 2014 |access-date=April 1, 2014 |publisher=National Football Foundation}}&amp;lt;/ref&amp;gt; In the U.S., the intercollegiate sports level serves as the main feeder system for professional and Olympic sports, with significant exceptions such as [[Minor League Baseball]]. This differs greatly from practices in nearly all other countries, where publicly and privately funded sports organizations serve this function.&amp;lt;ref&amp;gt;{{cite journal |last=Rosandich |first=Thomas |title=Collegiate Sports Programs: A Comparative Analysis |page=471 |journal=Education |year=2002 |volume=122 |issue=3 |publisher=Project Innovation Austin LLC.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eight [[Olympic Games]] have taken place in the United States. The [[1904 Summer Olympics]] in [[St. Louis, Missouri]], were the first-ever Olympic Games held outside of Europe.&amp;lt;ref&amp;gt;{{cite book |last1=Schaus |first1=Gerald P. |last2=Wenn |first2=Stephen R. |title=Onward to the Olympics: Historical Perspectives on the Olympic Games |date=February 9, 2007 |publisher=[[Wilfrid Laurier University Press]] |page=224 |isbn=978-0-88920-505-5}}&amp;lt;/ref&amp;gt; The Olympic Games will be held in the U.S. for a ninth time when Los Angeles hosts the [[2028 Summer Olympics]]. [[United States at the Olympics|U.S. athletes]] have won a total of 2,968 medals (1,179 gold) at the Olympic Games, the most of any country.&amp;lt;ref&amp;gt;{{cite web |url=https://greatestsportingnation.com/ |title=Greatest Sporting Nation |website=greatestsportingnation.com}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |url=https://www.washingtonpost.com/graphics/sports/olympics/the-1000-medals-of-the-united-states/ |title=1,000 times gold – The thousand medals of Team USA – Washington Post |newspaper=[[The Washington Post]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |title=The 10 most fascinating facts about the all-time Winter Olympics medal standings |first=Chris |last=Chase |date=February 7, 2014 |work=USA Today |url=https://ftw.usatoday.com/2014/02/winter-olympics-medal-count-sochi-all-time-facts/ |access-date=February 28, 2014}} {{cite news |title=With Sochi Olympics approaching, a history of Winter Olympic medals |date=February 6, 2014 |first=Dan |last=Loumena |work=Los Angeles Times |url=https://www.latimes.com/la-sp-a-history-of-the-winter-olympic-medals-20140206-story.html |access-date=February 28, 2014}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In other international competition, the United States is the home of a number of prestigious events, including the [[Americas Cup]], [[World Baseball Classic]], the [[U.S. Open (tennis)|U.S. Open]], and the [[Masters Tournament]]. The [[United States men&#039;s national soccer team|U.S. men&#039;s national soccer team]] has qualified for [[United States at the FIFA World Cup|eleven World Cups]], while the [[United States women&#039;s national soccer team|women&#039;s national team]] has [[United States at the FIFA Women&#039;s World Cup|won]] the [[FIFA Women&#039;s World Cup]] and [[Football at the Summer Olympics|Olympic soccer tournament]] four times each.&amp;lt;ref&amp;gt;{{cite web |last=Carlisle |first=Jeff |date=April 6, 2020 |title=MLS Year One, 25 seasons ago: The Wild West of training, travel, hockey shootouts and American soccer |url=https://www.espn.com/soccer/major-league-soccer/story/4082408/mls-year-one25-seasons-ago-the-wild-west-of-trainingtravelhockey-shootouts-and-american-soccer |access-date=May 5, 2021 |publisher=[[ESPN]]}}&amp;lt;/ref&amp;gt; The United States hosted the [[1994 FIFA World Cup]] and will co-host, along with Canada and Mexico, the [[2026 FIFA World Cup]].&amp;lt;ref&amp;gt;{{cite news |last=Wamsley |first=Laurel |date=June 16, 2022 |title=The U.S. cities hosting the 2026 World Cup are announced |url=https://www.npr.org/2022/06/16/1105562734/us-cities-hosting-2026-world-cup-announcement |publisher=[[NPR]] |access-date=April 16, 2023}}&amp;lt;/ref&amp;gt; The [[1999 FIFA Women&#039;s World Cup]] was also hosted by the United States. [[1999 FIFA Women&#039;s World Cup final|Its final match]] was attended by 90,185, setting the world record for largest women&#039;s sporting event crowd at the time.&amp;lt;ref&amp;gt;{{cite news |last=Gerson |first=Aria |date=July 10, 2020 |title=Impact of 1999 Women&#039;s World Cup went far beyond Brandi Chastain&#039;s iconic goal |url=https://www.usatoday.com/story/sports/soccer/2020/07/10/1999-womens-world-cup-uswnt-iconic-moments-brandi-chastain/5405459002/ |work=USA Today |access-date=February 14, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Lists of U.S. state topics]]&lt;br /&gt;
* [[Outline of the United States]]&lt;br /&gt;
* [[List of online encyclopedias of U.S. states]], typically maintained by state historical societies, universities, or humanities councils&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
{{notelist&lt;br /&gt;
| colwidth =&lt;br /&gt;
| notes =&lt;br /&gt;
{{efn&lt;br /&gt;
| name = pop&lt;br /&gt;
| This figure excludes [[Puerto Rico]] and the other [[Unincorporated territories of the United States|unincorporated islands]] because they are counted separately in [[U.S. census]] statistics.&lt;br /&gt;
 }}&lt;br /&gt;
{{efn&lt;br /&gt;
| name = time&lt;br /&gt;
| See [[Time in the United States]] for details about laws governing time zones in the United States.&lt;br /&gt;
 }}&lt;br /&gt;
{{efn&lt;br /&gt;
| name = drive&lt;br /&gt;
| The [[U.S. Virgin Islands]] use left-hand traffic.&lt;br /&gt;
 }}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
=== Sources ===&lt;br /&gt;
{{refbegin|30em}}&lt;br /&gt;
* {{cite book |editor1-last=Baym |editor1-first=Nina |editor2-last=Levine |editor2-first=Robert S. |date=2013 |title=The Norton Anthology of American Literature |publisher=W.W. Norton |location=New York, New York |isbn=978-0-393-91885-4 |edition=Shorter eighth}}&lt;br /&gt;
* {{cite journal |last1=Bianchine |first1=Peter J. |last2=Russo |first2=Thomas A. |year=1992 |title=The Role of Epidemic Infectious Diseases in the Discovery of America |volume=13 |issue=5 |pages=225–232 |ref=Bianchine |doi=10.2500/108854192778817040 |pmid=1483570 |journal=Allergy and Asthma Proceedings}}&lt;br /&gt;
* {{cite book |last1=Blackhawk |first1=Ned |author1-link=Ned Blackhawk |chapter=&#039;The Centrality of Dispossession&#039;: Native American Genocide and Settler Colonialism |year=2023 |pages=23–45 |doi=10.1017/9781108765480.002 |editor1-last=Blackhawk |editor1-first=Ned |editor2-last=Kiernan |editor2-first=Ben |editor2-link=Ben Kiernan |editor3-last=Madley |editor3-first=Benjamin |editor4-last=Taylor |editor4-first=Rebe |editor4-link=Rebe Taylor |title=The Cambridge World History of Genocide |volume=2: Genocide in the Indigenous, Early Modern and Imperial Worlds, from c.1535 to World War One |publisher=[[Cambridge University Press]]}}&lt;br /&gt;
* {{cite book |last=Blakeley |first=Ruth |date=2009 |title=State Terrorism and Neoliberalism: The North in the South |url=https://www.routledge.com/books/details/9780415462402/ |publisher=Routledge |isbn=978-0-415-68617-4 |ref=Blakeley}}&lt;br /&gt;
* {{cite book |last1=Boyer |first1=Paul S. |last2=Clark Jr. |first2=Clifford E. |last3=Kett |first3=Joseph F. |last4=Salisbury |first4=Neal |last5=Sitkoff |first5=Harvard |last6=Woloch |first6=Nancy |title=The Enduring Vision: A History of the American People |ref=Boyer |year=2007 |volume=1 |url=https://books.google.com/books?id=9KT3lI76-0cC |publisher=Cengage Learning |page=588 |isbn=978-0-618-80161-9}}&lt;br /&gt;
* {{cite book |first=Colin G. |last=Calloway |title=New Worlds for All: Indians, Europeans, and the Remaking of Early America |url=https://books.google.com/books?id=edYbAZ7ECEoC |publisher=[[Johns Hopkins University Press|JHU Press]] |ref=Calloway 1998 |page=229 |isbn=978-0-8018-5959-5 |year=1998}}&lt;br /&gt;
* {{cite magazine |last=Cohen |first=Eliot A. |ref=Cohen |location=Washington, D.C. |url=https://www.foreignaffairs.com/articles/59919/eliot-a-cohen/history-and-the-hyperpower |title=History and the Hyperpower |website=Foreign Affairs |date=July–August 2004 |access-date=July 14, 2006}}&lt;br /&gt;
* {{cite book |ref={{sfnref|OpenStax2014}} |first1=P. Scott |last1=Corbett |first2=Volker |last2=Janssen |first3=John M. |last3=Lund |first4=Todd |last4=Pfannestiel |first5=Sylvie |last5=Waskiewicz |first6=Paul |last6=Vickery |publisher=OpenStax at Rice University |date=2014 |title=U.S. History |location=Houston, Texas |url=https://openstax.org/books/us-history/pages/1-introduction}}&lt;br /&gt;
* {{cite news |url=https://news.bbc.co.uk/2/hi/americas/country_profiles/1217752.stm |title=Country Profile: United States of America |ref=BBC18may |work=BBC News |location=London |date=April 22, 2008 |access-date=May 18, 2008}}&lt;br /&gt;
* {{cite book |last=Davis |first=Kenneth C. |title=Don&#039;t know much about the Civil War |ref=Davis96 |publisher=William Marrow and Company |location=New York |year=1996 |url=https://archive.org/details/dontknowmuchabou00davi_1/page/518 |isbn=978-0-688-11814-3 |page=[https://archive.org/details/dontknowmuchabou00davi_1/page/518 518]}}&lt;br /&gt;
* {{cite book |last1=Daynes |first1=Byron W. |last2=Sussman |first2=Glen |title=White House Politics and the Environment: Franklin D. Roosevelt to George W. Bush |ref=Daynes |publisher=[[Texas A&amp;amp;M University Press]] |year=2010 |page=320 |url=https://archive.org/details/whitehousepoliti0000dayn |url-access=registration |isbn=978-1-60344-254-1 |oclc=670419432 |quote=Presidential environmental policies, 1933–2009}}&lt;br /&gt;
* {{cite book|last=Dubois |first=W. E. B. |title=Black Reconstruction: an essay toward a history of the part which black folk played in the attempt to reconstruct democracy in America, 1860-1880 |date=1935 |publisher=Harcourt, Brace and Co. |location=New York |url=https://archive.org/details/blackreconstruct00duborich}}&lt;br /&gt;
* {{cite book |last=Edmondson |first=Jacqueline |url=https://books.google.com/books?id=dRfOEAAAQBAJ&amp;amp;pg=PA556 |title=Music in American Life: An Encyclopedia of the Songs, Styles, Stars, and Stories that Shaped our Culture &amp;amp;#91;4 volumes&amp;amp;#93;: An Encyclopedia of the Songs, Styles, Stars, and Stories That Shaped Our Culture |date=2013 |publisher=ABC-CLIO |isbn=978-0-313-39348-8 |url-access=registration}}&lt;br /&gt;
* {{cite book |first1=Jon M. |last1=Erlandson |first2=Torben C. |last2=Rick |first3=Rene L. |last3=Vellanoweth |title=A Canyon Through Time: Archaeology, History, and Ecology of the Tecolote Canyon Area, Santa Barbara County |location=California |url=https://books.google.com/books?id=GeTv2lmb79UC&amp;amp;pg=PA19 |year=2008 |publisher=University of Utah Press |isbn=978-0-87480-879-7}}&lt;br /&gt;
* {{cite book |first1=Sylvan G. |last1=Feldstein |first2=Frank J. |last2=Fabozzi |title=The Handbook of Municipal Bonds |ref=Feldstein |publisher=[[John Wiley &amp;amp; Sons]] |year=2011 |page=1376 |url=https://books.google.com/books?id=Juc4fb1Fx1cC |isbn=978-1-118-04494-0}}&lt;br /&gt;
* {{cite book |first=Tim |last=Flannery |title=The Eternal Frontier: An Ecological History of North America and Its Peoples |url=https://books.google.com/books?id=mkkyBgAAQBAJ |date=2015 |publisher=Open Road + Grove/Atlantic |isbn=978-0-8021-9109-0}}&lt;br /&gt;
* {{cite book |last=Foner |first=Eric |title=Give Me Liberty: An American History |date=2020 |publisher=W.W. Norton |location=New York, New York; London, England |isbn=978-0-393-44123-9 |edition=6th |volume=1 |url=https://archive.org/details/give-me-liberty-an-american-history-eric-foner-z-lib.org_20220819}} Ebook.&lt;br /&gt;
* {{cite book |last=Foner |first=Eric |title=Recontruction: America&#039;s Unfinished Revolution 1863-1877 |date=1988 |publisher=Harper &amp;amp; Row |location = New York |isbn=978-0-06-235451-8 |oclc=915826909 |url=https://archive.org/details/reconstructionam0000fone_q8w6/page/n9/mode/2up}}&lt;br /&gt;
* {{cite book |last1=Fraser |first1=Steve |first2=Gary |last2=Gerstle |author-link2=Gary Gerstle |ref=Fraser |title=The Rise and Fall of the New Deal Order: 1930–1980 |series=American History: Political science |url=https://books.google.com/books?id=yd4GqkP5XYgC&amp;amp;pg=PA229 |year=1989 |publisher=Princeton University Press |isbn=978-0-691-00607-9 |page=311}}&lt;br /&gt;
* {{cite book |last=Gaddis |first=John Lewis |title=The United States and the Origins of the Cold War, 1941–1947 |year=1972 |publisher=Columbia University Press |isbn=978-0-231-12239-9}}&lt;br /&gt;
* {{cite book |last=Gordon |first=John Steele |author-link=John Steele Gordon |ref=Gordon |title=An Empire of Wealth: The Epic History of American Economic Power |year=2004 |publisher=HarperCollins |url=https://archive.org/details/empireofwealthth00gord |url-access=registration |isbn=978-0-06-009362-4}}&lt;br /&gt;
* {{cite book |first1=Michael Robert |last1=Haines |first2=Michael R. |last2=Haines |first3=Richard H. |last3=Steckel |title=A Population History of North America |url=https://books.google.com/books?id=BPdgiysIVcgC&amp;amp;pg=PA12 |date=2000 |publisher=Cambridge University Press |isbn=978-0-521-49666-7}}&lt;br /&gt;
* {{cite news |title=Looking back 20 years: Who deserves credit for ending the Cold War? |first=Nick |last=Hayes |ref=Hayes |url=https://www.minnpost.com/politics-policy/2009/11/looking-back-20-years-who-deserves-credit-ending-cold-war |newspaper=MinnPost |date=November 6, 2009 |access-date=March 11, 2013}}&lt;br /&gt;
* {{cite book |last1=Hoopes |first1=Townsend |last2=Brinkley |first2=Douglas |title=FDR and the Creation of the U.N |url=https://archive.org/details/fdrcreationofun00hoop |url-access=registration |year=1997 |publisher=Yale University Press |isbn=978-0-300-08553-2}}&lt;br /&gt;
* {{cite book |last=Howe |first=Daniel Walker |title=What Hath God Wrought: The Transformation of America, 1815–1848 |date=2008 |location=New York |publisher=Oxford University Press |isbn=978-0-19-507894-7 |url=https://archive.org/details/whathathgodwroug00howe |url-access=registration}}&lt;br /&gt;
* {{cite book |last=Johnson |first=Paul |title=A History of the American People |year=1997 |publisher=HarperCollins |url=https://books.google.com/books?id=RXSVQjz1_tMC |isbn=978-0-06-195213-5}}&lt;br /&gt;
* {{cite book |first=Paul |last=Joseph |title=The Sage Encyclopedia of War: Social Science Perspectives |url=https://books.google.com/books?id=idw0DQAAQBAJ&amp;amp;pg=PA590 |date=2016 |publisher=Sage Publications |isbn=978-1-4833-5988-5}}&lt;br /&gt;
* {{cite book |editor-last=Lauter |editor-first=Paul |year=1994a |volume=1 |edition=2nd |url=https://archive.org/details/heathanthologyof00v1unse_e3d7 |title=The Heath Anthology of American Literature |publisher=D.C. Heath and Company |location=Lexington, Massachusetts |isbn=0-669-32972-X}}&lt;br /&gt;
* {{cite book |editor-last=Lauter |editor-first=Paul |year=1994b |volume=2 |edition=2nd |url=https://archive.org/details/heathanthologyof02laut/page/n2/mode/1up |title=The Heath Anthology of American Literature |publisher=D.C. Heath and Company |location=Lexington, Massachusetts |isbn=0-669-32973-8}}&lt;br /&gt;
* {{cite book |first=Craig |last=Lockard |title=Societies, Networks, and Transitions, Volume B: From 600 to 1750 |url=https://books.google.com/books?id=k91sCgAAQBAJ&amp;amp;pg=PA315 |year=2010 |publisher=Cengage Learning |isbn=978-1-111-79083-7}}&lt;br /&gt;
* {{cite book |last=Lien |first=Arnold Johnson |title=Studies in History, Economics, and Public Law |volume=54 |ref=Lien |publisher=Columbia University |location=New York |year=1913 |page=604 |url=https://books.google.com/books?id=UYpVAAAAYAAJ}}&lt;br /&gt;
* {{cite book |last1=Meyer |first1=M. |last2=Snow |first2=D. |last3=Snow |first3=D. |last4=Cohen |first4=C. |last5=Meyer |first5=M. |last6=Thornton |first6=R. |last7=Grinde |first7=D. |last8=Dilworth |first8=L. |year=2001 |chapter=Indian History and Culture |chapter-url=https://www.oxfordreference.com/view/10.1093/acref/9780195082098.001.0001/acref-9780195082098-e-0758 |editor-last1=Boyer |editor-first1=Paul S. |title=The Oxford Companion to United States History |publisher=[[Oxford University Press]] |editor-link1=Paul Boyer (historian) |doi=10.1093/acref/9780195082098.001.0001 |isbn=978-0-19-508209-8}}&lt;br /&gt;
* {{cite book |first=Peter S. |last=Onuf |title=The Origins of the Federal Republic: Jurisdictional Controversies in the United States, 1775–1787 |url=https://books.google.com/books?id=WcUgLPqmfuYC |year=2010 |publisher=University of Pennsylvania Press |isbn=978-0-8122-0038-6}}&lt;br /&gt;
* {{cite book |first1=Theda |last1=Perdue |first2=Michael D. |last2=Green |title=The Columbia Guide to American Indians of the Southeast |url=https://books.google.com/books?id=-RBJCyp2bFIC&amp;amp;pg=PA40 |date=2005 |publisher=Columbia University Press |isbn=978-0-231-50602-1}}&lt;br /&gt;
* {{cite book |last=Quirk |first=Joel |title=The Anti-Slavery Project: From the Slave Trade to Human Trafficking |ref=Quirk |year=2011 |publisher=University of Pennsylvania Press |url=https://books.google.com/books?id=qqxK4KlqKYMC |isbn=978-0-8122-4333-8 |page=344}}&lt;br /&gt;
* {{cite book |last=Remini |first=Robert V. |title=The House: The History of the House of Representatives |url=https://books.google.com/books?id=CAM6J6IoQFQC |year=2007 |publisher=HarperCollins |isbn=978-0-06-134111-3}}&lt;br /&gt;
* {{cite book |last=Ripper |first=Jason |title=American Stories: To 1877 |year=2008 |ref=Ripper2008 |publisher=M.E. Sharpe |url=https://books.google.com/books?id=vX-fYvoAeHwC |page=299 |isbn=978-0-7656-2903-6}}&lt;br /&gt;
* {{Cite book |last=Rodriguez |first=Junius |title=Encyclopedia of Emancipation and Abolition in the Transatlantic World |publisher=[[Routledge]] ([[Taylor &amp;amp; Francis]]) |year=2015 |isbn=978-1-317-47180-6 |edition=Illustrated |pages=}}&lt;br /&gt;
* {{cite book |first=Candace |last=Savage |title=Prairie: A Natural History |url=https://books.google.com/books?id=X1u9BwAAQBAJ&amp;amp;pg=PA55 |date=2011 |publisher=Greystone Books |isbn=978-1-55365-899-3}}&lt;br /&gt;
* {{cite book |last=Schultz |first=David Andrew |title=Encyclopedia of the United States Constitution |ref=Schultz |year=2009 |publisher=Infobase Publishing |url=https://books.google.com/books?id=f7m713xwK58C |page=904 |isbn=978-1-4381-2677-7}}&lt;br /&gt;
* {{cite book |last=Shi |first=David Emory |title=America: A Narrative History |date=2016 |location=New York |publisher=W.W. Norton |volume=1 |edition=Brief 10th |isbn=978-0-393-26594-1 |url=https://archive.org/details/americanarrative0001shid}}&lt;br /&gt;
* {{cite book |last1=Smithers |first1=Gregory D. |author-link=Gregory D. Smithers |chapter=Rethinking Genocide in North America |year=2012 |pages=322–342 |doi=10.1093/oxfordhb/9780199232116.013.0017 |editor-last1=Bloxham |editor-first1=Donald |editor-link1=Donald Bloxham |editor2-last=Moses |editor2-first=A. Dirk |editor-link2=A. Dirk Moses |title=The Oxford Handbook of Genocide Studies |publisher=[[Oxford University Press]]}}&lt;br /&gt;
* {{cite book |last=Soss |first=Joe |editor-last=Hacker |editor-first=Jacob S. |editor2-last=Mettler |editor2-first=Suzanne |ref=Soss |title=Remaking America: Democracy and Public Policy in an Age of Inequality |year=2010 |publisher=Russell Sage Foundation |url=https://books.google.com/books?id=JttyjBoyb3AC |isbn=978-1-61044-694-5}}&lt;br /&gt;
* {{cite book |ref=Stannard |last=Stannard |first=David E. |author-link=David Stannard |title=American Holocaust: The Conquest of the New World |year=1993 |publisher=Oxford University Press |location=New York |url=https://archive.org/details/americanholocaus00stan |isbn=978-0-19-508557-0}}&lt;br /&gt;
* {{cite book |title=The New York Times Guide to Essential Knowledge: A Desk Reference for the Curious Mind |edition=2nd |url=https://archive.org/details/newyorktimesguid00 |year=2007 |publisher=St. Martin&#039;s Press |isbn=978-0-312-37659-8}}&lt;br /&gt;
* {{cite book |first=Russell |last=Thornton |title=Studying Native America: Problems and Prospects |url=https://books.google.com/books?id=_EA-UwvN_HUC&amp;amp;pg=PA34 |year=1998 |publisher=Univ of Wisconsin Press |isbn=978-0-299-16064-7}}&lt;br /&gt;
* {{Cite book |last=Walker Howe |first=Daniel |title=[[What Hath God Wrought: The Transformation of America, 1815–1848]] |publisher=[[Oxford University Press]] |year=2007 |isbn=978-0-19-972657-8 |author-link=Daniel Walker Howe}}&lt;br /&gt;
* {{cite book |last1=Walton |first1=Gary M. |last2=Rockoff |first2=Hugh |title=History of the American Economy |year=2009 |ref=Walton |publisher=Cengage Learning |url=https://books.google.com/books?id=lyhI1q_E4G0C |isbn=978-0-324-78662-0}}&lt;br /&gt;
* {{cite journal |last1=Waters |first1=M. R. |last2=Stafford |first2=T. W. |title=Redefining the Age of Clovis: Implications for the Peopling of the Americas |journal=Science |volume=315 |issue=5815 |year=2007 |pages=1122–1126 |issn=0036-8075 |doi=10.1126/science.1137166 |pmid=17322060 |bibcode=2007Sci...315.1122W |s2cid=23205379}}&lt;br /&gt;
* {{cite book |last=Winchester |first=Simon |title=The men who United the States |url=https://archive.org/details/isbn_9780062079602 |url-access=registration |year=2013 |publisher=Harper Collins |isbn=978-0-06-207960-2 |pages=[https://archive.org/details/isbn_9780062079602/page/198 198], 216, 251, 253}}&lt;br /&gt;
* {{Cite journal |last=Wright |first=Gavin |year=2022 |title=Slavery and the Rise of the Nineteenth-Century American Economy |journal=[[Journal of Economic Perspectives]] |volume=36 |issue=2 |pages=123–148 |doi=10.1257/jep.36.2.123 |s2cid=248716718|doi-access=free }}&lt;br /&gt;
* {{cite book |last=Zinn |first=Howard |author-link=Howard Zinn |title=A People&#039;s History of the United States |ref=Zinn |year=2005 |publisher=[[Harper Perennial]] Modern Classics |isbn=978-0-06-083865-2 |title-link=A People&#039;s History of the United States}}&lt;br /&gt;
*{{Cite book |last=McPherson |first=James M. |author-link=James M. McPherson |title=Battle Cry of Freedom: The Civil War Era |title-link=Battle Cry of Freedom: The Civil War Era |publisher=[[Oxford University Press]] |year=1988 |isbn=978-0-19-503863-7 |location=Oxford, England; New York, New York}}&lt;br /&gt;
*{{Free-content attribution&lt;br /&gt;
| title = World Food and Agriculture – Statistical Yearbook 2023&lt;br /&gt;
| author = FAO&lt;br /&gt;
| publisher = FAO&lt;br /&gt;
| documentURL = https://www.fao.org/documents/card/en?details=cc8166en&lt;br /&gt;
| license statement URL = https://commons.wikimedia.org/whttps://commons.wikimedia.org/wiki/File:World_Food_and_Agriculture_-_Statistical_Yearbook_2023.pdf&lt;br /&gt;
| license = CC BY-SA IGO 3.0&lt;br /&gt;
}}{{refend}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
{{Library resources box}}&lt;br /&gt;
&amp;lt;!-- Please:&lt;br /&gt;
1) Follow the [[WP:EL]] guideline and discuss on the talk page. The MediaWiki software that powers Wikipedia has parameters that limit the complexity of a page, thus limiting the number of templates that can be included.&lt;br /&gt;
2) Do not turn these bullets into headers! They expand the TOC too much. --&amp;gt;&lt;br /&gt;
* [https://www.ifs.du.edu/ifs/frm_CountryProfile.aspx?Country=US Key Development Forecasts for the United States] from [[International Futures]]&lt;br /&gt;
&lt;br /&gt;
=== Government ===&lt;br /&gt;
* [https://www.usa.gov/ Official U.S. Government web portal] – gateway to government sites&lt;br /&gt;
* [https://www.house.gov/ House] – official website of the United States House of Representatives&lt;br /&gt;
* [https://www.senate.gov/ Senate] – official website of the United States Senate&lt;br /&gt;
* [https://www.whitehouse.gov/ White House] – official website of the president of the United States&lt;br /&gt;
* [{{SCOTUS URL}} Supreme Court] – official website of the Supreme Court of the United States&lt;br /&gt;
&lt;br /&gt;
=== History ===&lt;br /&gt;
* [https://web.archive.org/web/20080314143240/https://www.nationalcenter.org/HistoricalDocuments.html &amp;quot;Historical Documents&amp;quot;] – website from the [[National Center for Public Policy Research]]&lt;br /&gt;
* [https://www.historicalstatistics.org/index2.html &amp;quot;Historical Statistics&amp;quot;] – links to U.S. historical data&lt;br /&gt;
&lt;br /&gt;
=== Maps ===&lt;br /&gt;
* [https://web.archive.org/web/20091021182322/https://www.nationalatlas.gov/ &amp;quot;National Atlas of the United States&amp;quot;] – official maps from the [[United States Department of the Interior|U.S. Department of the Interior]]&lt;br /&gt;
* {{wikiatlas|the United States}}&lt;br /&gt;
* {{osmrelation-inline|148838}}&lt;br /&gt;
* [https://www.measureofamerica.org/maps/ &amp;quot;Measure of America&amp;quot;] – a variety of mapped information relating to health, education, income, safety and demographics in the United States&lt;br /&gt;
&lt;br /&gt;
{{Anchor|Related information}} &amp;lt;!-- Target for Navbox link at See also section --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{United States topics}}&lt;br /&gt;
{{United States political divisions}}&lt;br /&gt;
{{North America topic}}&lt;br /&gt;
{{Authority control}}&lt;br /&gt;
{{Subject bar|United States|North America|Countries|auto=yes|voy=United States}}&lt;br /&gt;
{{Coord|40|-100|dim:10000000_region:region:US_type:country|name=United States of America|display=title}}&lt;br /&gt;
&lt;br /&gt;
[[Category:United States| ]]&lt;br /&gt;
[[Category:Countries in North America]]&lt;br /&gt;
[[Category:Countries and territories where English is an official language]]&lt;br /&gt;
[[Category:Federal constitutional republics]]&lt;br /&gt;
[[Category:Former British colonies and protectorates in the Americas]]&lt;br /&gt;
[[Category:Former confederations]]&lt;br /&gt;
[[Category:G20 members]]&lt;br /&gt;
[[Category:Member states of NATO]]&lt;br /&gt;
[[Category:Member states of the United Nations]]&lt;br /&gt;
[[Category:States and territories established in 1776]]&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:SDcat&amp;diff=92</id>
		<title>Module:SDcat</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:SDcat&amp;diff=92"/>
		<updated>2025-08-04T18:26:49Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;-- SDcat Module to check whether local short description matches that on Wikidata --  local p = {}  ------------------------------------------------------------------------------- --[[ setCat has the qid of a Wikidata entity passed as |qid= (it defaults to the associated qid of the current article if omitted) and the local short description passed as |sd= It returns a category if there is an associated Wikidata entity. It returns one of the following tracking categor...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--[[&lt;br /&gt;
SDcat&lt;br /&gt;
Module to check whether local short description matches that on Wikidata&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------&lt;br /&gt;
--[[&lt;br /&gt;
setCat has the qid of a Wikidata entity passed as |qid=&lt;br /&gt;
(it defaults to the associated qid of the current article if omitted)&lt;br /&gt;
and the local short description passed as |sd=&lt;br /&gt;
It returns a category if there is an associated Wikidata entity.&lt;br /&gt;
It returns one of the following tracking categories, as appropriate:&lt;br /&gt;
* Category:Short description matches Wikidata (case-insensitive)&lt;br /&gt;
* Category:Short description is different from Wikidata&lt;br /&gt;
* Category:Short description with empty Wikidata description&lt;br /&gt;
For testing purposes, a link prefix |lp= may be set to &amp;quot;:&amp;quot; to make the categories visible.&lt;br /&gt;
--]]&lt;br /&gt;
&lt;br /&gt;
-- function exported for use in other modules&lt;br /&gt;
-- (local short description, Wikidata entity-ID, link prefix)&lt;br /&gt;
p._setCat = function(sdesc, itemID, lp)&lt;br /&gt;
	if not mw.wikibase then return nil end&lt;br /&gt;
	if itemID == &amp;quot;&amp;quot; then itemID = nil end&lt;br /&gt;
	-- Wikidata description field&lt;br /&gt;
	local wdesc = (mw.wikibase.getDescription(itemID) or &amp;quot;&amp;quot;):lower()&lt;br /&gt;
	if wdesc == &amp;quot;&amp;quot; then&lt;br /&gt;
		return &amp;quot;[[&amp;quot; .. lp .. &amp;quot;Category:Short description with empty Wikidata description]]&amp;quot;&lt;br /&gt;
	elseif wdesc == sdesc then&lt;br /&gt;
		return &amp;quot;[[&amp;quot; .. lp .. &amp;quot;Category:Short description matches Wikidata]]&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		return &amp;quot;[[&amp;quot; .. lp .. &amp;quot;Category:Short description is different from Wikidata]]&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- function exported for call from #invoke&lt;br /&gt;
p.setCat = function(frame)&lt;br /&gt;
	local args&lt;br /&gt;
	if frame.args.sd then&lt;br /&gt;
		args = frame.args&lt;br /&gt;
	else&lt;br /&gt;
		args = frame:getParent().args&lt;br /&gt;
	end&lt;br /&gt;
	-- local short description&lt;br /&gt;
	local sdesc = mw.text.trim(args.sd or &amp;quot;&amp;quot;):lower()&lt;br /&gt;
	-- Wikidata entity-ID&lt;br /&gt;
	local itemID = mw.text.trim(args.qid or &amp;quot;&amp;quot;)&lt;br /&gt;
	-- link prefix, strip quotes&lt;br /&gt;
	local lp = mw.text.trim(args.lp or &amp;quot;&amp;quot;):gsub(&#039;&amp;quot;&#039;, &#039;&#039;)&lt;br /&gt;
	return p._setCat(sdesc, itemID, lp)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Template:Short_description/lowercasecheck&amp;diff=91</id>
		<title>Template:Short description/lowercasecheck</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Template:Short_description/lowercasecheck&amp;diff=91"/>
		<updated>2025-08-04T18:26:26Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;{{#ifeq:&amp;lt;!--test first character for lower-case letter--&amp;gt;{{#invoke:string|find|1={{{1|}}}|2=^%l|plain=false}}|1 |&amp;lt;!-- first character is a lower case letter; test against whitelist --&amp;gt;{{#switch: {{First word|{{{1|}}}}}&amp;lt;!--begin whitelist--&amp;gt; |c. &amp;lt;!--for circa--&amp;gt; |gTLD |iMac |iOS |iOS, |iPad |iPhone |iTunes |macOS |none |pH |pH-dependent=&amp;lt;!-- end whitelist; short description starts with an allowed lower-case string; whitelist matched; do nothing --&amp;gt;  |#default=&amp;lt;!-- apply c...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#ifeq:&amp;lt;!--test first character for lower-case letter--&amp;gt;{{#invoke:string|find|1={{{1|}}}|2=^%l|plain=false}}|1&lt;br /&gt;
|&amp;lt;!-- first character is a lower case letter; test against whitelist&lt;br /&gt;
--&amp;gt;{{#switch: {{First word|{{{1|}}}}}&amp;lt;!--begin whitelist--&amp;gt;&lt;br /&gt;
|c. &amp;lt;!--for circa--&amp;gt;&lt;br /&gt;
|gTLD&lt;br /&gt;
|iMac&lt;br /&gt;
|iOS&lt;br /&gt;
|iOS,&lt;br /&gt;
|iPad&lt;br /&gt;
|iPhone&lt;br /&gt;
|iTunes&lt;br /&gt;
|macOS&lt;br /&gt;
|none&lt;br /&gt;
|pH&lt;br /&gt;
|pH-dependent=&amp;lt;!-- end whitelist; short description starts with an allowed lower-case string; whitelist matched; do nothing --&amp;gt; &lt;br /&gt;
|#default=&amp;lt;!-- apply category to track lower-case short descriptions --&amp;gt;{{main other|[[Category:Pages with lower-case short description|{{trim|{{{1|}}}}}]]}}{{Testcases other|{{red|CATEGORY APPLIED}}}}&amp;lt;!-- end whitelist test --&amp;gt;}}&lt;br /&gt;
|&amp;lt;!-- short description does not start with lower-case letter; do nothing; end lower-case test --&amp;gt;&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Template:Short_description&amp;diff=90</id>
		<title>Template:Short description</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Template:Short_description&amp;diff=90"/>
		<updated>2025-08-04T18:26:04Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;{{#ifeq:{{lc:{{{1|}}}}}|none|{{SHORTDESC:}}&amp;lt;nowiki/&amp;gt;&amp;lt;!--Prevents whitespace issues when used with adjacent newlines--&amp;gt;|&amp;lt;div class=&amp;quot;shortdescription nomobile noexcerpt noprint searchaux&amp;quot; style=&amp;quot;display:none&amp;quot;&amp;gt;{{{1|}}}{{SHORTDESC:{{{1|}}}|{{{2|}}}}}&amp;lt;/div&amp;gt;}}&amp;lt;includeonly&amp;gt;{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:{{pagetype |defaultns = all |user=exclude}}|exclude||{{#ifeq:{{#switch: {{NAMESPACENUMBER}} | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 1...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{#ifeq:{{lc:{{{1|}}}}}|none|{{SHORTDESC:}}&amp;lt;nowiki/&amp;gt;&amp;lt;!--Prevents whitespace issues when used with adjacent newlines--&amp;gt;|&amp;lt;div class=&amp;quot;shortdescription nomobile noexcerpt noprint searchaux&amp;quot; style=&amp;quot;display:none&amp;quot;&amp;gt;{{{1|}}}{{SHORTDESC:{{{1|}}}|{{{2|}}}}}&amp;lt;/div&amp;gt;}}&amp;lt;includeonly&amp;gt;{{#ifeq:{{{pagetype}}}|Disambiguation pages||{{#ifeq:{{pagetype |defaultns = all |user=exclude}}|exclude||{{#ifeq:{{#switch: {{NAMESPACENUMBER}} | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 100 | 101 | 118 | 119 | 828 | 829 | = exclude|#default=}}|exclude||[[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with short description]]}}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;!-- Start tracking&lt;br /&gt;
--&amp;gt;{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using short description with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Short description]] with unknown parameter &amp;quot;_VALUE_&amp;quot;|ignoreblank=y| 1 | 2 | pagetype | bot |plural }}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#ifexpr: {{#invoke:String|len|{{{1|}}}}}&amp;gt;100 | [[Category:{{{pagetype|{{pagetype |defaultns = extended |plural=y}}}}} with long short description]]}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;includeonly&amp;gt;{{#if:{{{1|}}}||[[Category:Pages with empty short description]]}}&amp;lt;/includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{Short description/lowercasecheck|{{{1|}}}}}&amp;lt;!-- &lt;br /&gt;
--&amp;gt;{{Main other |{{SDcat |sd={{{1|}}} }} }}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Shortcut/styles.css&amp;diff=89</id>
		<title>Module:Shortcut/styles.css</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Shortcut/styles.css&amp;diff=89"/>
		<updated>2025-08-04T18:25:23Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;/* {{pp-template}} */ .module-shortcutboxplain { 	float: right; 	margin: 0 0 0 1em; 	border: 1px solid var(--border-color-base, #a2a9b1); 	background-color: var(--background-color-base, #fff); 	padding: 0.3em 0.6em 0.2em 0.6em; 	text-align: center; 	font-size: 85%; }  .module-shortcutboxleft { 	float: left; 	margin: 0 1em 0 0; }  .module-shortcutlist { 	display: inline-block; 	border-bottom: 1px solid var(--border-color-base, #a2a9b1); 	margin-bottom: 0.2em; }  .module-s...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/* {{pp-template}} */&lt;br /&gt;
.module-shortcutboxplain {&lt;br /&gt;
	float: right;&lt;br /&gt;
	margin: 0 0 0 1em;&lt;br /&gt;
	border: 1px solid var(--border-color-base, #a2a9b1);&lt;br /&gt;
	background-color: var(--background-color-base, #fff);&lt;br /&gt;
	padding: 0.3em 0.6em 0.2em 0.6em;&lt;br /&gt;
	text-align: center;&lt;br /&gt;
	font-size: 85%;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.module-shortcutboxleft {&lt;br /&gt;
	float: left;&lt;br /&gt;
	margin: 0 1em 0 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.module-shortcutlist {&lt;br /&gt;
	display: inline-block;&lt;br /&gt;
	border-bottom: 1px solid var(--border-color-base, #a2a9b1);&lt;br /&gt;
	margin-bottom: 0.2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.module-shortcutboxplain ul {&lt;br /&gt;
	font-weight: bold;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.module-shortcutanchordiv {&lt;br /&gt;
	position: relative;&lt;br /&gt;
	top: -3em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li .module-shortcutanchordiv {&lt;br /&gt;
	float: right; /* IE/Edge in list items */&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mbox-imageright .module-shortcutboxplain {&lt;br /&gt;
	padding: 0.4em 1em 0.4em 1em;&lt;br /&gt;
	line-height: 1.3;&lt;br /&gt;
	margin: 0;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:List&amp;diff=88</id>
		<title>Module:List</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:List&amp;diff=88"/>
		<updated>2025-08-04T18:24:51Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;local libUtil = require(&amp;#039;libraryUtil&amp;#039;) local checkType = libUtil.checkType local mTableTools = require(&amp;#039;Module:TableTools&amp;#039;)  local p = {}  local listTypes = { 	[&amp;#039;bulleted&amp;#039;] = true, 	[&amp;#039;unbulleted&amp;#039;] = true, 	[&amp;#039;horizontal&amp;#039;] = true, 	[&amp;#039;ordered&amp;#039;] = true, 	[&amp;#039;horizontal_ordered&amp;#039;] = true }  function p.makeListData(listType, args) 	-- Constructs a data table to be passed to p.renderList. 	local data = {}  	-- Classes and TemplateStyles 	data.classes = {} 	data.templatestyles = &amp;#039;&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local libUtil = require(&#039;libraryUtil&#039;)&lt;br /&gt;
local checkType = libUtil.checkType&lt;br /&gt;
local mTableTools = require(&#039;Module:TableTools&#039;)&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local listTypes = {&lt;br /&gt;
	[&#039;bulleted&#039;] = true,&lt;br /&gt;
	[&#039;unbulleted&#039;] = true,&lt;br /&gt;
	[&#039;horizontal&#039;] = true,&lt;br /&gt;
	[&#039;ordered&#039;] = true,&lt;br /&gt;
	[&#039;horizontal_ordered&#039;] = true&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function p.makeListData(listType, args)&lt;br /&gt;
	-- Constructs a data table to be passed to p.renderList.&lt;br /&gt;
	local data = {}&lt;br /&gt;
&lt;br /&gt;
	-- Classes and TemplateStyles&lt;br /&gt;
	data.classes = {}&lt;br /&gt;
	data.templatestyles = &#039;&#039;&lt;br /&gt;
	if listType == &#039;horizontal&#039; or listType == &#039;horizontal_ordered&#039; then&lt;br /&gt;
		table.insert(data.classes, &#039;hlist&#039;)&lt;br /&gt;
		data.templatestyles = mw.getCurrentFrame():extensionTag{&lt;br /&gt;
			name = &#039;templatestyles&#039;, args = { src = &#039;Hlist/styles.css&#039; }&lt;br /&gt;
		}&lt;br /&gt;
	elseif listType == &#039;unbulleted&#039; then&lt;br /&gt;
		table.insert(data.classes, &#039;plainlist&#039;)&lt;br /&gt;
		data.templatestyles = mw.getCurrentFrame():extensionTag{&lt;br /&gt;
			name = &#039;templatestyles&#039;, args = { src = &#039;Plainlist/styles.css&#039; }&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
	table.insert(data.classes, args.class)&lt;br /&gt;
&lt;br /&gt;
	-- Main div style&lt;br /&gt;
	data.style = args.style&lt;br /&gt;
&lt;br /&gt;
	-- Indent for horizontal lists&lt;br /&gt;
	if listType == &#039;horizontal&#039; or listType == &#039;horizontal_ordered&#039; then&lt;br /&gt;
		local indent = tonumber(args.indent)&lt;br /&gt;
		indent = indent and indent * 1.6 or 0&lt;br /&gt;
		if indent &amp;gt; 0 then&lt;br /&gt;
			data.marginLeft = indent .. &#039;em&#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- List style types for ordered lists&lt;br /&gt;
	-- This could be &amp;quot;1, 2, 3&amp;quot;, &amp;quot;a, b, c&amp;quot;, or a number of others. The list style&lt;br /&gt;
	-- type is either set by the &amp;quot;type&amp;quot; attribute or the &amp;quot;list-style-type&amp;quot; CSS&lt;br /&gt;
	-- property.&lt;br /&gt;
	if listType == &#039;ordered&#039; or listType == &#039;horizontal_ordered&#039; then &lt;br /&gt;
		data.listStyleType = args.list_style_type or args[&#039;list-style-type&#039;]&lt;br /&gt;
		data.type = args[&#039;type&#039;]&lt;br /&gt;
&lt;br /&gt;
		-- Detect invalid type attributes and attempt to convert them to&lt;br /&gt;
		-- list-style-type CSS properties.&lt;br /&gt;
		if data.type &lt;br /&gt;
			and not data.listStyleType&lt;br /&gt;
			and not tostring(data.type):find(&#039;^%s*[1AaIi]%s*$&#039;)&lt;br /&gt;
		then&lt;br /&gt;
			data.listStyleType = data.type&lt;br /&gt;
			data.type = nil&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- List tag type&lt;br /&gt;
	if listType == &#039;ordered&#039; or listType == &#039;horizontal_ordered&#039; then&lt;br /&gt;
		data.listTag = &#039;ol&#039;&lt;br /&gt;
	else&lt;br /&gt;
		data.listTag = &#039;ul&#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Start number for ordered lists&lt;br /&gt;
	data.start = args.start&lt;br /&gt;
	if listType == &#039;horizontal_ordered&#039; then&lt;br /&gt;
		-- Apply fix to get start numbers working with horizontal ordered lists.&lt;br /&gt;
		local startNum = tonumber(data.start)&lt;br /&gt;
		if startNum then&lt;br /&gt;
			data.counterReset = &#039;listitem &#039; .. tostring(startNum - 1)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- List style&lt;br /&gt;
	 -- ul_style and ol_style are included for backwards compatibility. No&lt;br /&gt;
	 -- distinction is made for ordered or unordered lists.&lt;br /&gt;
	data.listStyle = args.list_style&lt;br /&gt;
&lt;br /&gt;
	-- List items&lt;br /&gt;
	-- li_style is included for backwards compatibility. item_style was included&lt;br /&gt;
	-- to be easier to understand for non-coders.&lt;br /&gt;
	data.itemStyle = args.item_style or args.li_style&lt;br /&gt;
	data.items = {}&lt;br /&gt;
	for _, num in ipairs(mTableTools.numKeys(args)) do&lt;br /&gt;
		local item = {}&lt;br /&gt;
		item.content = args[num]&lt;br /&gt;
		item.style = args[&#039;item&#039; .. tostring(num) .. &#039;_style&#039;]&lt;br /&gt;
			or args[&#039;item_style&#039; .. tostring(num)]&lt;br /&gt;
		item.value = args[&#039;item&#039; .. tostring(num) .. &#039;_value&#039;]&lt;br /&gt;
			or args[&#039;item_value&#039; .. tostring(num)]&lt;br /&gt;
		table.insert(data.items, item)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return data&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.renderList(data)&lt;br /&gt;
	-- Renders the list HTML.&lt;br /&gt;
	&lt;br /&gt;
	-- Return the blank string if there are no list items.&lt;br /&gt;
	if type(data.items) ~= &#039;table&#039; or #data.items &amp;lt; 1 then&lt;br /&gt;
		return &#039;&#039;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Render the main div tag.&lt;br /&gt;
	local root = mw.html.create(&#039;div&#039;)&lt;br /&gt;
	for _, class in ipairs(data.classes or {}) do&lt;br /&gt;
		root:addClass(class)&lt;br /&gt;
	end&lt;br /&gt;
	root:css{[&#039;margin-left&#039;] = data.marginLeft}&lt;br /&gt;
	if data.style then&lt;br /&gt;
		root:cssText(data.style)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Render the list tag.&lt;br /&gt;
	local list = root:tag(data.listTag or &#039;ul&#039;)&lt;br /&gt;
	list&lt;br /&gt;
		:attr{start = data.start, type = data.type}&lt;br /&gt;
		:css{&lt;br /&gt;
			[&#039;counter-reset&#039;] = data.counterReset,&lt;br /&gt;
			[&#039;list-style-type&#039;] = data.listStyleType&lt;br /&gt;
		}&lt;br /&gt;
	if data.listStyle then&lt;br /&gt;
		list:cssText(data.listStyle)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Render the list items&lt;br /&gt;
	for _, t in ipairs(data.items or {}) do&lt;br /&gt;
		local item = list:tag(&#039;li&#039;)&lt;br /&gt;
		if data.itemStyle then&lt;br /&gt;
			item:cssText(data.itemStyle)&lt;br /&gt;
		end&lt;br /&gt;
		if t.style then&lt;br /&gt;
			item:cssText(t.style)&lt;br /&gt;
		end&lt;br /&gt;
		item&lt;br /&gt;
			:attr{value = t.value}&lt;br /&gt;
			:wikitext(t.content)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return data.templatestyles .. tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.renderTrackingCategories(args)&lt;br /&gt;
	local isDeprecated = false -- Tracks deprecated parameters.&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		k = tostring(k)&lt;br /&gt;
		if k:find(&#039;^item_style%d+$&#039;) or k:find(&#039;^item_value%d+$&#039;) then&lt;br /&gt;
			isDeprecated = true&lt;br /&gt;
			break&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	local ret = &#039;&#039;&lt;br /&gt;
	if isDeprecated then&lt;br /&gt;
		ret = ret .. &#039;[[Category:List templates with deprecated parameters]]&#039;&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeList(listType, args)&lt;br /&gt;
	if not listType or not listTypes[listType] then&lt;br /&gt;
		error(string.format(&lt;br /&gt;
			&amp;quot;bad argument #1 to &#039;makeList&#039; (&#039;%s&#039; is not a valid list type)&amp;quot;,&lt;br /&gt;
			tostring(listType)&lt;br /&gt;
		), 2)&lt;br /&gt;
	end&lt;br /&gt;
	checkType(&#039;makeList&#039;, 2, args, &#039;table&#039;)&lt;br /&gt;
	local data = p.makeListData(listType, args)&lt;br /&gt;
	local list = p.renderList(data)&lt;br /&gt;
	local trackingCategories = p.renderTrackingCategories(args)&lt;br /&gt;
	return list .. trackingCategories&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
for listType in pairs(listTypes) do&lt;br /&gt;
	p[listType] = function (frame)&lt;br /&gt;
		local mArguments = require(&#039;Module:Arguments&#039;)&lt;br /&gt;
		local origArgs = mArguments.getArgs(frame, {&lt;br /&gt;
			frameOnly = ((frame and frame.args and frame.args.frameonly or &#039;&#039;) ~= &#039;&#039;),&lt;br /&gt;
			valueFunc = function (key, value)&lt;br /&gt;
			if not value or not mw.ustring.find(value, &#039;%S&#039;) then return nil end&lt;br /&gt;
			if mw.ustring.find(value, &#039;^%s*[%*#;:]&#039;) then&lt;br /&gt;
				return value&lt;br /&gt;
			else&lt;br /&gt;
				return value:match(&#039;^%s*(.-)%s*$&#039;)&lt;br /&gt;
			end&lt;br /&gt;
			return nil&lt;br /&gt;
		end&lt;br /&gt;
		})&lt;br /&gt;
		-- Copy all the arguments to a new table, for faster indexing.&lt;br /&gt;
		local args = {}&lt;br /&gt;
		for k, v in pairs(origArgs) do&lt;br /&gt;
			args[k] = v&lt;br /&gt;
		end&lt;br /&gt;
		return p.makeList(listType, args)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Shortcut/config&amp;diff=87</id>
		<title>Module:Shortcut/config</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Shortcut/config&amp;diff=87"/>
		<updated>2025-08-04T18:24:23Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;-- This module holds configuration data for Module:Shortcut.  return {  -- The heading at the top of the shortcut box. It accepts the following parameter: -- $1 - the total number of shortcuts. (required) [&amp;#039;shortcut-heading&amp;#039;] = &amp;#039;Shortcuts}}&amp;#039;,  -- The heading when |redirect=yes is given. It accepts the following parameter: -- $1 - the total number of shortcuts. (required) [&amp;#039;redirect-heading&amp;#039;] = &amp;#039;[[Wikipedia:Redirect|{{PLURAL...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- This module holds configuration data for [[Module:Shortcut]].&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
&lt;br /&gt;
-- The heading at the top of the shortcut box. It accepts the following parameter:&lt;br /&gt;
-- $1 - the total number of shortcuts. (required)&lt;br /&gt;
[&#039;shortcut-heading&#039;] = &#039;[[Wikipedia:Shortcut|{{PLURAL:$1|Shortcut|Shortcuts}}]]&#039;,&lt;br /&gt;
&lt;br /&gt;
-- The heading when |redirect=yes is given. It accepts the following parameter:&lt;br /&gt;
-- $1 - the total number of shortcuts. (required)&lt;br /&gt;
[&#039;redirect-heading&#039;] = &#039;[[Wikipedia:Redirect|{{PLURAL:$1|Redirect|Redirects}}]]&#039;,&lt;br /&gt;
&lt;br /&gt;
-- The error message to display when a shortcut is invalid (is not a string, or&lt;br /&gt;
-- is the blank string). It accepts the following parameter:&lt;br /&gt;
-- $1 - the number of the shortcut in the argument list. (required)&lt;br /&gt;
[&#039;invalid-shortcut-error&#039;] = &#039;shortcut #$1 was invalid (shortcuts must be &#039; ..&lt;br /&gt;
	&#039;strings of at least one character in length)&#039;,&lt;br /&gt;
&lt;br /&gt;
-- The error message to display when no shortcuts or other displayable content&lt;br /&gt;
-- were specified. (required)&lt;br /&gt;
[&#039;no-content-error&#039;] = &#039;Error: no shortcuts were specified and the &#039; ..&lt;br /&gt;
	mw.text.nowiki(&#039;|msg=&#039;) ..&lt;br /&gt;
	&#039; parameter was not set.&#039;,&lt;br /&gt;
&lt;br /&gt;
-- A category to add when the no-content-error message is displayed. (optional)&lt;br /&gt;
[&#039;no-content-error-category&#039;] = &#039;Shortcut templates with missing parameters&#039;,&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Shortcut&amp;diff=86</id>
		<title>Module:Shortcut</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Shortcut&amp;diff=86"/>
		<updated>2025-08-04T18:24:06Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;-- This module implements {{shortcut}}.  -- Set constants local CONFIG_MODULE = &amp;#039;Module:Shortcut/config&amp;#039;  -- Load required modules local checkType = require(&amp;#039;libraryUtil&amp;#039;).checkType local yesno = require(&amp;#039;Module:Yesno&amp;#039;)  local p = {}  local function message(msg, ...) 	return mw.message.newRawMessage(msg, ...):plain() end  local function makeCategoryLink(cat) 	return string.format(&amp;#039;%s:%s&amp;#039;, mw.site.namespaces[14].name, cat) end  function p._main(shortcuts, options, fra...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- This module implements {{shortcut}}.&lt;br /&gt;
&lt;br /&gt;
-- Set constants&lt;br /&gt;
local CONFIG_MODULE = &#039;Module:Shortcut/config&#039;&lt;br /&gt;
&lt;br /&gt;
-- Load required modules&lt;br /&gt;
local checkType = require(&#039;libraryUtil&#039;).checkType&lt;br /&gt;
local yesno = require(&#039;Module:Yesno&#039;)&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function message(msg, ...)&lt;br /&gt;
	return mw.message.newRawMessage(msg, ...):plain()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function makeCategoryLink(cat)&lt;br /&gt;
	return string.format(&#039;[[%s:%s]]&#039;, mw.site.namespaces[14].name, cat)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(shortcuts, options, frame, cfg)&lt;br /&gt;
	checkType(&#039;_main&#039;, 1, shortcuts, &#039;table&#039;)&lt;br /&gt;
	checkType(&#039;_main&#039;, 2, options, &#039;table&#039;, true)&lt;br /&gt;
	options = options or {}&lt;br /&gt;
	frame = frame or mw.getCurrentFrame()&lt;br /&gt;
	cfg = cfg or mw.loadData(CONFIG_MODULE)&lt;br /&gt;
	local templateMode = options.template and yesno(options.template)&lt;br /&gt;
	local redirectMode = options.redirect and yesno(options.redirect)&lt;br /&gt;
	local isCategorized = not options.category or yesno(options.category) ~= false&lt;br /&gt;
&lt;br /&gt;
	-- Validate shortcuts&lt;br /&gt;
	for i, shortcut in ipairs(shortcuts) do&lt;br /&gt;
		if type(shortcut) ~= &#039;string&#039; or #shortcut &amp;lt; 1 then&lt;br /&gt;
			error(message(cfg[&#039;invalid-shortcut-error&#039;], i), 2)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Make the list items. These are the shortcuts plus any extra lines such&lt;br /&gt;
	-- as options.msg.&lt;br /&gt;
	local listItems = {}&lt;br /&gt;
	for i, shortcut in ipairs(shortcuts) do&lt;br /&gt;
		local templatePath, prefix&lt;br /&gt;
		if templateMode then&lt;br /&gt;
			-- Namespace detection&lt;br /&gt;
			local titleObj = mw.title.new(shortcut, 10)&lt;br /&gt;
			if titleObj.namespace == 10 then&lt;br /&gt;
				templatePath = titleObj.fullText&lt;br /&gt;
			else&lt;br /&gt;
				templatePath = shortcut&lt;br /&gt;
			end&lt;br /&gt;
			prefix = options[&#039;pre&#039; .. i] or options.pre or &#039;&#039;&lt;br /&gt;
		end&lt;br /&gt;
		if options.target and yesno(options.target) then&lt;br /&gt;
			listItems[i] = templateMode&lt;br /&gt;
				and string.format(&amp;quot;&amp;amp;#123;&amp;amp;#123;%s[[%s|%s]]&amp;amp;#125;&amp;amp;#125;&amp;quot;, prefix, templatePath, shortcut)&lt;br /&gt;
				or string.format(&amp;quot;[[%s]]&amp;quot;, shortcut)&lt;br /&gt;
		else&lt;br /&gt;
			listItems[i] = frame:expandTemplate{&lt;br /&gt;
				title = &#039;No redirect&#039;,&lt;br /&gt;
				args = templateMode and {templatePath, shortcut} or {shortcut, shortcut}&lt;br /&gt;
			}&lt;br /&gt;
			if templateMode then&lt;br /&gt;
				listItems[i] = string.format(&amp;quot;&amp;amp;#123;&amp;amp;#123;%s%s&amp;amp;#125;&amp;amp;#125;&amp;quot;, prefix, listItems[i])&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	table.insert(listItems, options.msg)&lt;br /&gt;
&lt;br /&gt;
	-- Return an error if we have nothing to display&lt;br /&gt;
	if #listItems &amp;lt; 1 then&lt;br /&gt;
		local msg = cfg[&#039;no-content-error&#039;]&lt;br /&gt;
		msg = string.format(&#039;&amp;lt;strong class=&amp;quot;error&amp;quot;&amp;gt;%s&amp;lt;/strong&amp;gt;&#039;, msg)&lt;br /&gt;
		if isCategorized and cfg[&#039;no-content-error-category&#039;] then&lt;br /&gt;
			msg = msg .. makeCategoryLink(cfg[&#039;no-content-error-category&#039;])&lt;br /&gt;
		end&lt;br /&gt;
		return msg&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local root = mw.html.create()&lt;br /&gt;
	root:wikitext(frame:extensionTag{ name = &#039;templatestyles&#039;, args = { src = &#039;Module:Shortcut/styles.css&#039;} })&lt;br /&gt;
	-- Anchors&lt;br /&gt;
	local anchorDiv = root&lt;br /&gt;
		:tag(&#039;div&#039;)&lt;br /&gt;
			:addClass(&#039;module-shortcutanchordiv&#039;)&lt;br /&gt;
	for i, shortcut in ipairs(shortcuts) do&lt;br /&gt;
		local anchor = mw.uri.anchorEncode(shortcut)&lt;br /&gt;
		anchorDiv:tag(&#039;span&#039;):attr(&#039;id&#039;, anchor)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Shortcut heading&lt;br /&gt;
	local shortcutHeading&lt;br /&gt;
	do&lt;br /&gt;
		local nShortcuts = #shortcuts&lt;br /&gt;
		if nShortcuts &amp;gt; 0 then&lt;br /&gt;
			local headingMsg = options[&#039;shortcut-heading&#039;] or&lt;br /&gt;
				redirectMode and cfg[&#039;redirect-heading&#039;] or&lt;br /&gt;
				cfg[&#039;shortcut-heading&#039;]&lt;br /&gt;
			shortcutHeading = message(headingMsg, nShortcuts)&lt;br /&gt;
			shortcutHeading = frame:preprocess(shortcutHeading)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Shortcut box&lt;br /&gt;
	local shortcutList = root&lt;br /&gt;
		:tag(&#039;div&#039;)&lt;br /&gt;
			:addClass(&#039;module-shortcutboxplain noprint&#039;)&lt;br /&gt;
			:attr(&#039;role&#039;, &#039;note&#039;)&lt;br /&gt;
	if options.float and options.float:lower() == &#039;left&#039; then&lt;br /&gt;
		shortcutList:addClass(&#039;module-shortcutboxleft&#039;)&lt;br /&gt;
	end&lt;br /&gt;
	if options.clear and options.clear ~= &#039;&#039; then&lt;br /&gt;
		shortcutList:css(&#039;clear&#039;, options.clear)&lt;br /&gt;
	end&lt;br /&gt;
	if shortcutHeading then&lt;br /&gt;
		shortcutList&lt;br /&gt;
			:tag(&#039;div&#039;)&lt;br /&gt;
				:addClass(&#039;module-shortcutlist&#039;)&lt;br /&gt;
				:wikitext(shortcutHeading)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local ubl = require(&#039;Module:List&#039;).unbulleted(listItems)&lt;br /&gt;
	shortcutList:wikitext(ubl)&lt;br /&gt;
	return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = require(&#039;Module:Arguments&#039;).getArgs(frame)&lt;br /&gt;
&lt;br /&gt;
	-- Separate shortcuts from options&lt;br /&gt;
	local shortcuts, options = {}, {}&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		if type(k) == &#039;number&#039; then&lt;br /&gt;
			shortcuts[k] = v&lt;br /&gt;
		else&lt;br /&gt;
			options[k] = v&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Compress the shortcut array, which may contain nils.&lt;br /&gt;
	local function compressArray(t)&lt;br /&gt;
		local nums, ret = {}, {}&lt;br /&gt;
		for k in pairs(t) do&lt;br /&gt;
			nums[#nums + 1] = k&lt;br /&gt;
		end&lt;br /&gt;
		table.sort(nums)&lt;br /&gt;
		for i, num in ipairs(nums) do&lt;br /&gt;
			ret[i] = t[num]&lt;br /&gt;
		end&lt;br /&gt;
		return ret&lt;br /&gt;
	end&lt;br /&gt;
	shortcuts = compressArray(shortcuts)&lt;br /&gt;
&lt;br /&gt;
	return p._main(shortcuts, options, frame)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Template:Shortcut&amp;diff=85</id>
		<title>Template:Shortcut</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Template:Shortcut&amp;diff=85"/>
		<updated>2025-08-04T18:23:45Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;&amp;lt;includeonly&amp;gt;{{#invoke:Shortcut|main}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt; {{documentation}} &amp;lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&amp;gt; &amp;lt;/noinclude&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#invoke:Shortcut|main}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Template:Short&amp;diff=84</id>
		<title>Template:Short</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Template:Short&amp;diff=84"/>
		<updated>2025-08-04T18:23:34Z</updated>

		<summary type="html">&lt;p&gt;Nico: Redirected page to Template:Shortcut&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Template:Shortcut]]&lt;br /&gt;
&lt;br /&gt;
{{Redirect category shell|&lt;br /&gt;
{{R from template shortcut}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Republican_Party_(United_States)&amp;diff=83</id>
		<title>Republican Party (United States)</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Republican_Party_(United_States)&amp;diff=83"/>
		<updated>2025-08-04T18:19:35Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;{{Short description|American political party}} {{redirect|GOP}} {{For|the 1792–1834 party|Democratic-Republican Party}} {{pp-semi-indef}} {{protection padlock|small=yes}} {{Duplicated citations|reason=DuplicateReferences detected:&amp;lt;br&amp;gt; * https://journals.openedition.org/ejas/12132 (refs: 9, 184) * https://oxfordre.com/politics/view/10.1093/acrefore/9780190228637.001.0001/acrefore-9780190228637-e-665 (refs: 11, 401) * https://doi.o...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Short description|American political party}}&lt;br /&gt;
{{redirect|GOP}}&lt;br /&gt;
{{For|the 1792–1834 party|Democratic-Republican Party}}&lt;br /&gt;
{{pp-semi-indef}}&lt;br /&gt;
{{protection padlock|small=yes}}&lt;br /&gt;
{{Duplicated citations|reason=[[User:Polygnotus/DuplicateReferences|DuplicateReferences]] detected:&amp;lt;br&amp;gt;&lt;br /&gt;
* https://journals.openedition.org/ejas/12132 (refs: 9, 184)&lt;br /&gt;
* https://oxfordre.com/politics/view/10.1093/acrefore/9780190228637.001.0001/acrefore-9780190228637-e-665 (refs: 11, 401)&lt;br /&gt;
* https://doi.org/10.1007/978-3-030-17997-7_7 (refs: 13, 106)&lt;br /&gt;
* https://thehill.com/homenews/house/4492514-gop-strained-by-trump-influenced-shift-from-reagan-on-russia/ (refs: 35, 186)&lt;br /&gt;
* https://www.economist.com/graphic-detail/2020/10/31/the-republican-party-has-lurched-towards-populism-and-illiberalism (refs: 64, 65)&lt;br /&gt;
* https://www.reuters.com/world/us/trumps-return-power-fueled-by-hispanic-working-class-voter-support-2024-11-06/ (refs: 77, 541)&lt;br /&gt;
* https://www.nbcnews.com/news/asian-america/asian-americans-exit-poll-harris-trump-rcna179005 (refs: 175, 542)&lt;br /&gt;
* https://nymag.com/intelligencer/2022/10/education-polarization-diploma-divide-democratic-party-working-class.html (refs: 546, 570)&lt;br /&gt;
|date=June 2025}}&lt;br /&gt;
{{Use American English|date=May 2022}}&lt;br /&gt;
{{Use mdy dates|date=October 2023}}&lt;br /&gt;
{{Infobox political party&lt;br /&gt;
| name             = Republican Party&lt;br /&gt;
| logo             = GOP logo (positive).svg&lt;br /&gt;
| symbol           = [[File:Republican Party Disc (alternate).svg|100px]]&lt;br /&gt;
| logo_size        = 250&lt;br /&gt;
| colorcode        = {{party color|Republican Party (United States)}}&lt;br /&gt;
| abbreviation     = GOP&lt;br /&gt;
| chairperson      = [[Michael Whatley]]&lt;br /&gt;
| governing_body   = [[Republican National Committee]]&lt;br /&gt;
| leader1_title    = [[President of the United States|U.S. President]]&lt;br /&gt;
| leader1_name     = [[Donald Trump]]&lt;br /&gt;
| leader2_title    = [[Vice President of the United States|U.S. Vice President]]&lt;br /&gt;
| leader2_name     = [[JD Vance]]&lt;br /&gt;
| leader3_title    = [[Party leaders of the United States Senate|Senate Majority Leader]]&lt;br /&gt;
| leader3_name     = [[John Thune]]&lt;br /&gt;
| leader5_title    = [[Party leaders of the United States House of Representatives|House Majority Leader]]&lt;br /&gt;
| leader5_name     = &amp;lt;!--We show the House majority leader, even if he&#039;s of the same party as the Speaker. Feel free to add a note (as was done at the Democratic Party page), explaining the Speaker &amp;amp; House majority leader&#039;s status--&amp;gt;[[Steve Scalise]]&lt;br /&gt;
| leader4_title    = [[Speaker of the United States House of Representatives|Speaker of the House]]&lt;br /&gt;
| leader4_name     = [[Mike Johnson]]&lt;br /&gt;
| founders         = [[Alvan E. Bovay]]&amp;lt;ref name = college&amp;gt;[http://content.wisconsinhistory.org/cdm4/document.php?CISOROOT=/tp&amp;amp;CISOPTR=46379&amp;amp;CISOSHOW=46363 &#039;&#039;The Origin of the Republican Party&#039;&#039;] {{Webarchive|url=https://web.archive.org/web/20120322223415/http://content.wisconsinhistory.org/cdm4/document.php?CISOROOT=%2Ftp&amp;amp;CISOPTR=46379&amp;amp;CISOSHOW=46363 |date=March 22, 2012 }} by Prof. A. F. Gilman, Ripon College, WI, 1914.&amp;lt;/ref&amp;gt;&amp;lt;br /&amp;gt;[[Henry Jarvis Raymond|Henry J. Raymond]]&amp;lt;ref&amp;gt;{{Cite news|url=https://opinionator.blogs.nytimes.com/2011/03/19/a-very-mad-man/ |title=A Very Mad-Man|last=Widmer|first=Ted|department=Opinionator|access-date=12 March 2017|work=[[The New York Times]]|date=March 19, 2011 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
{{Collapsible list&lt;br /&gt;
| title = {{nobold|&#039;&#039;...{{nbsp}}and others&#039;&#039;}}&lt;br /&gt;
| [[Horace Greeley]]&lt;br /&gt;
| [[John C. Frémont]]&lt;br /&gt;
| [[Francis Preston Blair|Francis P. Blair]]&lt;br /&gt;
| [[Edwin D. Morgan]]&lt;br /&gt;
| [[Amos Tuck]]&lt;br /&gt;
| [[Salmon P. Chase]]&lt;br /&gt;
}}&lt;br /&gt;
| foundation       = {{start date and age|1854|3|20}}&amp;lt;br /&amp;gt;[[Ripon, Wisconsin]], U.S.&lt;br /&gt;
| merger           = [[Whig Party (United States)|Whig Party]]&amp;lt;ref&amp;gt;{{#invoke:cite|web|title=Political Parties |url=https://digital.lib.niu.edu/illinois/lincoln/topics/message/parties |access-date=27 May 2024 |website=[[Northern Illinois University]] Digital Library |archive-date=May 17, 2024 |archive-url=https://web.archive.org/web/20240517050217/https://digital.lib.niu.edu/illinois/lincoln/topics/message/parties |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal |last=Howe |first=Daniel Walker |date=Winter 1995 |title=Why Abraham Lincoln Was a Whig |url=http://hdl.handle.net/2027/spo.2629860.0016.105 |journal=Journal of the Abraham Lincoln Association |volume=16 |issue=1 |pages=27–38 |doi=10.5406/19457987.16.1.05 |hdl=2027/spo.2629860.0016.105 |issn=1945-7987|hdl-access=free }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{#invoke:cite|web|title=Historical Context: The Breakdown of the Party System {{!}} Gilder Lehrman Institute of American History |url=https://www.gilderlehrman.org/history-resources/teaching-resource/historical-context-breakdown-party-system |access-date=27 May 2024 |website= |archive-date=May 18, 2024 |archive-url=https://web.archive.org/web/20240518041908/https://www.gilderlehrman.org/history-resources/teaching-resource/historical-context-breakdown-party-system |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;e238&amp;quot;&amp;gt;{{#invoke:cite|web| title=Major American Political Parties of the 19th Century | website=Norwich University Resource Library | url=https://online.norwich.edu/online/about/resource-library/major-american-political-parties-19th-century | access-date=28 May 2024 | archive-date=May 17, 2024 | archive-url=https://web.archive.org/web/20240517033817/https://online.norwich.edu/online/about/resource-library/major-american-political-parties-19th-century | url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;br /&amp;gt;[[Free Soil Party]]&amp;lt;ref&amp;gt;McPherson, James (2003) [1988]. &#039;&#039;The Illustrated Battle Cry of Freedom: The Civil War Era&#039;&#039;. [[Oxford University Press]]. p. 129. {{ISBN|978-0-19-974390-2}}.&amp;lt;/ref&amp;gt;&amp;lt;br /&amp;gt;[[Anti-Nebraska movement]]&amp;lt;ref&amp;gt;James M. McPherson, &#039;&#039;Ordeal by Fire: Volume I. The Coming of War&#039;&#039;, second edition ({{ISBN|0-07045837-5}}) p. 94.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| headquarters     = 310 First Street SE,&amp;lt;br /&amp;gt;[[Washington, D.C.]], U.S.&lt;br /&gt;
| student_wing     = [[College Republicans]]&amp;lt;br /&amp;gt;High School Republican National Federation&lt;br /&gt;
| youth_wing       = {{unbulleted list|[[Young Republicans]]|[[Teen Age Republicans]]}}&lt;br /&gt;
| womens_wing      = [[National Federation of Republican Women]]&lt;br /&gt;
| wing1_title      = Overseas wing&lt;br /&gt;
| wing1            = [[Republicans Overseas]]&lt;br /&gt;
| position         = &amp;lt;!--Please do not alter this without consensus on the talk page.--&amp;gt;[[Right-wing politics|Right-wing]]&amp;lt;ref&amp;gt;&lt;br /&gt;
* {{Citation |last=McKay |first=David |title=Facilitating Donald Trump: Populism, the Republican Party and Media Manipulation |date=2020 |work=Authoritarian Populism and Liberal Democracy |pages=107–121 |editor-last=Crewe |editor-first=Ivor |url=https://doi.org/10.1007/978-3-030-17997-7_7 |access-date=13 June 2024 |place=Cham |publisher=[[Springer International Publishing]] |language=en |doi=10.1007/978-3-030-17997-7_7 |isbn=978-3-030-17997-7 |quote=&amp;quot;the Republicans changed from being a right of centre coalition of moderates and conservatives to an unambiguously right-wing party that was hostile not only to liberal views but also to any perspective that clashed with the core views of an ideologically cohesive conservative cadre of party faithfuls&amp;quot; |editor2-last=Sanders |editor2-first=David |url-access=subscription }}&lt;br /&gt;
* {{Cite journal |last1=Arhin |first1=Kofi |last2=Stockemer |first2=Daniel |last3=Normandin |first3=Marie-Soleil |date=May 29, 2023 |title=THE REPUBLICAN TRUMP VOTER: A Populist Radical Right Voter Like Any Other? |journal=[[World Affairs]] |language=en |volume=186 |issue=3 |doi=10.1177/00438200231176818 |issn=1940-1582 |doi-access=free |quote= In this article, we first illustrate that the Republican Party, or at least the dominant wing, which supports or tolerates Donald Trump and his Make America Great Again (MAGA) agenda have become a proto-typical populist radical right-wing party (PRRP).}}&lt;br /&gt;
* {{#invoke:cite|web|last=Greenberg |first=David |date=2021-01-27 |title=An Intellectual History of Trumpism |url=https://www.politico.com/magazine/story/2016/12/trumpism-intellectual-history-populism-paleoconservatives-214518/ |access-date=13 June 2024 |website=Politico Magazine |quote=&amp;quot;The larger ideology that the president-elect represents is a post-Iraq War, post-crash, post-Barack Obama update of what used to be called paleoconservatism: On race and immigration, where the alt-right affinities are most pronounced, its populist ideas are carrying an already right-wing party even further right.&amp;quot; |archive-date=April 11, 2024 |archive-url=https://web.archive.org/web/20240411023158/https://www.politico.com/magazine/story/2016/12/trumpism-intellectual-history-populism-paleoconservatives-214518/ |url-status=live }}&lt;br /&gt;
* {{cite journal | last1=Wineinger | first1=Catherine | last2=Nugent | first2=Mary K. | title=Framing Identity Politics: Right-Wing Women as Strategic Party Actors in the UK and US | journal=Journal of Women, Politics &amp;amp; Policy | volume=41 | issue=1 | date=2020-01-02 | issn=1554-477X | doi=10.1080/1554477X.2020.1698214 | page=5 }}&lt;br /&gt;
* {{cite journal |last1=Jessosula |first1=Matteo |last2=Natili |first2=Marcello |last3=Pavolini |first3=Emmanuele |title=&#039;Exclusionary welfarism&#039;: a new programmatic agenda for populist right-wing parties? |journal=Contemporary Politics |date=8 August 2022 |volume=28 |issue=4 |pages=447–449 |doi=10.1080/13569775.2021.2011644 |language=en |issn=1356-9775}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| ideology         = &amp;lt;!-- Do not change without consensus at talk page. --&amp;gt;&lt;br /&gt;
{{unbulleted list|class=nowrap|&lt;br /&gt;
 |[[Right-wing populism]]{{cref|A}}{{refn|name=&amp;quot;Dominant&amp;quot;}}&lt;br /&gt;
 |[[Conservatism]] ([[Conservatism in the United States|US]])&amp;lt;ref name=&amp;quot;Smith-2021&amp;quot;&amp;gt;{{cite journal |last1=Smith |first1=Robert C. |date=2021 |title=Ronald Reagan, Donald Trump, and the Future of the Republican Party and Conservatism in America |url=https://www.journals.uchicago.edu/doi/full/10.1086/713662 |journal=[[American Political Thought]] |volume=10 |issue=2 |pages=283–289 |doi=10.1086/713662 |s2cid=233401184 |access-date=September 21, 2022|url-access=subscription }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;[[Factions in the Republican Party (United States)|Factions]]&#039;&#039;&#039;:{{unbulleted list|class=nowrap|&lt;br /&gt;
 |[[Christian right]]{{refn|&lt;br /&gt;
* {{cite book |author=&amp;lt;!--Not stated--&amp;gt;|editor-last1=Baker|editor-first1=Paula|editor-last2=Critchlow|editor-first2=Donald T.|date=2020 |title=The Oxford Handbook of American Political History |url=https://books.google.com/books?id=Rd7QDwAAQBAJ |location=New York, New York |publisher=Oxford University Press |chapter=Chapter 15: Religion and American Politics |pages=278–294 |isbn=9780199341788}}&lt;br /&gt;
* {{cite encyclopedia |last=Lewis |first=Andrew R. |encyclopedia=Oxford Research Encyclopedia of Politics |title=The Inclusion-Moderation Thesis: The U.S. Republican Party and the Christian Right |url=https://oxfordre.com/politics/view/10.1093/acrefore/9780190228637.001.0001/acrefore-9780190228637-e-665 |doi=10.1093/acrefore/9780190228637.013.665|date=August 28, 2019 |publisher=Oxford University Press|isbn=978-0-19-022863-7 |quote=Considering all the evidence, the most apt description is that conservative Christianity has transformed the Republican Party, and the Republican Party has transformed conservative Christianity ... With its inclusion in the Republican Party, the Christian right has moderated on some aspects ... At the same time, the Christian right has altered Republican politics.|url-access=subscription }}&lt;br /&gt;
* {{cite journal |author-last=Perry |author-first=Samuel L. |date=2022 |title=American Religion in the Era of Increasing Polarization |journal=[[Annual Review of Sociology]] |location=San Mateo, California |publisher=[[Annual Reviews (publisher)|Annual Reviews]] |volume=48 |issue=1 |pages=87–107 |doi=10.1146/annurev-soc-031021-114239 |doi-access=free |issn=0360-0572 |quote=Unaffiliated Americans were not abandoning orthodox beliefs, but rather, the increase in &amp;quot;no religion&amp;quot; was confined to political moderates and liberals who were likely reacting to the growing alignment of Christian identity with the religious Right and Republicans.|quote-page=91}}&lt;br /&gt;
* {{cite book |author=&amp;lt;!--Not stated--&amp;gt;|editor-last1=Berlet |editor-first1=Chip |editor-last2=Hardisty|editor-first2=Berlet|date=2019 |edition=1 |title=Trumping Democracy: From Reagan to the Alt-right |url=https://books.google.com/books?id=aL8ktAEACAAJ |location=London |publisher=Routledge |chapter=Drifting Right and going wrong: An overview of the US political Right |chapter-url=https://www.taylorfrancis.com/chapters/edit/10.4324/9781315438412-9/drifting-right-going-wrong-1-chip-berlet-jean-hardisty|page=91 |doi=10.4324/9781315438412-9 |isbn=9781315438412|quote=Within the Republican Party, the Christian Right competes with more secular, upstart free market libertarianism and button-down business conservatism for dominance.}}&lt;br /&gt;
* {{cite journal |author-last=Gannon |author-first=Thomas M. |date=July–September 1981 |title=The New Christian Right in America as a Social and Political Force |url=https://www.persee.fr/doc/assr_0335-5985_1981_num_52_1_2226 |journal=[[Archives de sciences sociales des religions]] |location=[[Paris]] |publisher=[[School for Advanced Studies in the Social Sciences|Éditions de l&#039;EHESS]] |volume=26 |issue=52–1 |pages=69–83 |doi=10.3406/assr.1981.2226 |doi-access=free |issn=0335-5985 |jstor=30125411}}&lt;br /&gt;
* {{cite journal |author-last=Ben Barka |author-first=Mokhtar |date=December 2012 |title=The New Christian Right&#039;s relations with Israel and with the American Jews: the mid-1970s onward |journal=E-Rea |location=[[Aix-en-Provence]] and [[Marseille]] |publisher=[[Centre pour l&#039;Édition Électronique Ouverte]] on behalf of [[Aix-Marseille University]] |volume=10 |issue=1 |doi=10.4000/erea.2753 |doi-access=free |issn=1638-1718 |s2cid=191364375}}&lt;br /&gt;
* {{cite book |author1-last=Palmer |author1-first=Randall |author2-last=Winner |author2-first=Lauren F. |year=2005 |orig-date=2002 |chapter=Protestants and Homosexuality |chapter-url=https://books.google.com/books?id=hMVH6upbI9QC&amp;amp;pg=PA149 |title=Protestantism in America |location=[[New York City|New York]] |publisher=[[Columbia University Press]] |series=Columbia Contemporary American Religion Series |pages=149–178 |isbn=9780231111317 |lccn=2002023859}}&lt;br /&gt;
* {{#invoke:cite|web|url=http://hirr.hartsem.edu/ency/Cright.htm|title=Content Pages of the Encyclopedia of Religion and Social Science|url-status=dead|archive-url=https://web.archive.org/web/20160303230556/http://hirr.hartsem.edu/ency/Cright.htm|archive-date=March 3, 2016}}&lt;br /&gt;
* {{cite magazine |author-last=Trollinger |author-first=William |date=October 8, 2019 |title=Fundamentalism turns 100, a landmark for the Christian Right |url=http://theconversation.com/fundamentalism-turns-100-a-landmark-for-the-christian-right-123651 |url-status=live |magazine=[[The Conversation (website)|The Conversation]] |issn=2201-5639 |archive-url=https://web.archive.org/web/20220507013412/https://theconversation.com/fundamentalism-turns-100-a-landmark-for-the-christian-right-123651 |archive-date=May 7, 2022 |access-date=July 3, 2022|quote=The emergent Christian Right attached itself to the Republican Party, which was more aligned with its members&#039; central commitments than the Democrats ... By the time Falwell died, in 2007, the Christian Right had become the most important constituency in the Republican Party. It played a crucial role in electing Donald Trump in 2016.}}&lt;br /&gt;
* {{cite news |last=Thomson-DeVeaux |first=Amelia |date=October 27, 2022 |title=How Much Power Do Christians Really Have? |url=https://fivethirtyeight.com/features/how-much-power-do-christians-really-have/ |url-status=live |work=FiveThirtyEight |archive-url=https://web.archive.org/web/20240410175350/https://fivethirtyeight.com/features/how-much-power-do-christians-really-have/ |archive-date=April 10, 2024 |access-date=June 16, 2024 |quote=In the 1980s and 1990s, as white Christian conservatives forged an alliance with the Republican Party, Christianity itself started to become a partisan symbol. Identifying as a Christian was no longer just about theology, community or family history — to many Americans, the label became uncomfortably tangled with the Christian Right&#039;s political agenda, which was itself becoming increasingly hard to separate from the GOP&#039;s political agenda.}}&lt;br /&gt;
}}&lt;br /&gt;
|[[Right-libertarianism#United States|Right-libertarianism]] ([[Libertarianism in the United States|US]])&amp;lt;ref name=&amp;quot;Wilbur-2012&amp;quot;&amp;gt;{{cite book|last=Wilbur |first=Miller |date=2012 |title=The Social History of Crime and Punishment in America |volume=3 |chapter=Libertarianism|url=https://books.google.com/books?id=tYME6Z35nyAC |location=[[Thousand Oaks, California]] |publisher=[[Sage Publishing|SAGE Publications]] |pages=1006{{ndash}}1007 |isbn=978-1-4129-8876-6 |quote=While right-libertarianism has been equated with libertarianism in general in the United States, left-libertarianism has become a more predominant aspect of politics in western European democracies over the past three decades. ... Since the 1950s, libertarianism in the United States has been associated almost exclusively with right-libertarianism ... As such, right-libertarianism in the United States remains a fruitful discourse with which to articulate conservative claims, even as it lacks political efficacy as a separate ideology. However, even without its own movement, libertarian sensibility informs numerous social movements in the United States, including the U.S. patriot movement, the gun-rights movement, and the incipient Tea Party movement.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
| affiliation1_title = [[Congressional caucus|Caucuses]]&lt;br /&gt;
| affiliation1     = [[Republican Governance Group]]&amp;lt;br /&amp;gt;[[Republican Main Street Partnership#Affiliated members of Congress|Republican Main Street Caucus]]&amp;lt;br /&amp;gt;[[Republican Study Committee]]&amp;lt;br /&amp;gt;[[Freedom Caucus]]&lt;br /&gt;
| international    = {{Tree list}}&lt;br /&gt;
* [[International Democracy Union]]&amp;lt;ref&amp;gt;{{#invoke:cite|web|url=http://idu.org/member-parties/|title=Members|publisher=IDU|url-status=dead|archive-url=https://web.archive.org/web/20150716031006/http://idu.org/member-parties/|archive-date=July 16, 2015}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
** [[Asia Pacific Democracy Union]]&amp;lt;ref&amp;gt;{{#invoke:cite|web|title=Regional Unions |url=http://www.idu.org/regional_list.aspx?id=1 |website=[[International Democracy Union]] |access-date=August 19, 2024 |archive-url=https://web.archive.org/web/20100617014146/http://www.idu.org/regional_list.aspx?id=1 |archive-date=June 17, 2010 |url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
** [[European Conservatives and Reformists Party]] (global partner)&amp;lt;ref&amp;gt;{{#invoke:cite|web|title=About – ECR Party |url=https://ecrparty.eu/about/ |website=[[European Conservatives and Reformists Party]] |access-date=August 19, 2024 |date=August 4, 2022 |archive-date=July 1, 2023 |archive-url=https://web.archive.org/web/20230701085842/https://ecrparty.eu/about/ |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
{{Tree list/end}}&lt;br /&gt;
| colors           = {{color box|{{party color|Republican Party (US)}}|border=darkgray}} [[Red]]&lt;br /&gt;
| seats1_title     = [[United States Senate|Senate]]&lt;br /&gt;
| seats1           = {{composition bar|53|100|hex={{party color|Republican Party (US)}}}}&lt;br /&gt;
| seats2_title     = [[United States House of Representatives|House of Representatives]]&lt;br /&gt;
| seats2           = {{composition bar|219|435|hex={{party color|Republican Party (US)}}}}&lt;br /&gt;
| seats3_title     = [[List of current United States governors#State governors|State governors]]&lt;br /&gt;
| seats3           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|27|50|hex={{party color|Republican Party (US)}}}}&lt;br /&gt;
| seats4_title     = [[State legislature (United States)|State upper chambers]]&lt;br /&gt;
| seats4           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|1121|1973|hex={{party color|Republican Party (US)}}}}&lt;br /&gt;
| seats5_title     = [[State legislature (United States)|State lower chambers]]&lt;br /&gt;
| seats5           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|2985|5413|hex={{party color|Republican Party (US)}}}}&lt;br /&gt;
| seats6_title     = [[List of current United States governors#Territory governors|Territorial governors]]&lt;br /&gt;
| seats6           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|2|5|hex={{party color|Republican Party (US)}}}}&lt;br /&gt;
| seats7_title     = [[Territories of the United States#Governments and legislatures|Territorial upper chambers]]&lt;br /&gt;
| seats7           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|15|97|hex={{party color|Republican Party (US)}}}}&lt;br /&gt;
| seats8_title     = [[Territories of the United States#Governments and legislatures|Territorial lower chambers]]&lt;br /&gt;
| seats8           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|9|91|hex={{party color|Republican Party (US)}}}}&lt;br /&gt;
| website          = {{Official URL}}&lt;br /&gt;
| country          = the United States&lt;br /&gt;
| footnotes        = {{cnote|A|Includes [[Trumpism]].&amp;lt;ref name=&amp;quot;Ball 2024&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;v075&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;i277&amp;quot;/&amp;gt;}}&lt;br /&gt;
}}&lt;br /&gt;
The &#039;&#039;&#039;Republican Party&#039;&#039;&#039;, also known as the &#039;&#039;&#039;Grand Old Party&#039;&#039;&#039; (&#039;&#039;&#039;GOP&#039;&#039;&#039;), is a [[Right-wing politics|right-wing]] [[political parties in the United States|political party in the United States]]. One of the [[Two-party system|two major parties]], it emerged as the main rival of the then-dominant [[Democratic Party (United States)|Democratic Party]] in the 1850s, and the two parties have dominated [[American politics]] since then.&lt;br /&gt;
&lt;br /&gt;
The Republican Party was founded in 1854 by [[anti-slavery]] activists opposing the [[Kansas–Nebraska Act]] and the expansion of [[slavery in the United States|slavery]] into U.S. territories. It rapidly gained support in the [[Northern United States|North]], drawing in former [[Whig Party (United States)|Whigs]] and [[Free Soil Party|Free Soilers]]. [[Abraham Lincoln]]&#039;s [[1860 United States presidential election|election in 1860]] led to the secession of Southern states and the outbreak of the [[American Civil War]]. Under Lincoln and a Republican-controlled Congress, the party led efforts to preserve the [[Union (American Civil War)|Union]], defeat the [[Confederate States of America|Confederacy]], and abolish slavery. During the [[Reconstruction era]], Republicans sought to extend [[civil rights]] protections to [[freedmen]], but by the late 1870s the party shifted its focus toward business interests and [[industrialization in the United States|industrial expansion]]. In the late 19th and early 20th centuries, it dominated national politics, promoting [[protective tariff]]s, infrastructure development, and &#039;&#039;[[laissez-faire]]&#039;&#039; economic policies, while navigating internal divisions between [[Progressive Era|progressive]] and [[Conservatism in the United States|conservative]] factions. The party&#039;s support declined during the [[Great Depression]], as the [[New Deal coalition]] reshaped American politics. Republicans returned to national power with the [[1952 United States presidential election|1952 election]] of [[Dwight D. Eisenhower]], whose [[Rockefeller Republican|moderate conservatism]] reflected a pragmatic acceptance of many [[New Deal]]-era programs.&lt;br /&gt;
&lt;br /&gt;
Following the [[civil rights era]], the Republican Party&#039;s use of the [[Southern strategy]] appealed to many White voters disaffected by Democratic support for civil rights. The [[1980 United States presidential election|1980 election]] of [[Ronald Reagan]] marked a major realignment, consolidating [[Reagan coalition|a coalition]] of [[free market]] advocates, [[social conservatives]], and foreign policy [[war hawk|hawks]]. Since 2009, internal divisions have grown, leading to a shift toward [[right-wing populism]],{{refn|name=&amp;quot;RWP&amp;quot;|&lt;br /&gt;
* {{Cite news |last1=Hacker |first1=Jacob S. |last2=Pierson |first2=Paul |date=2020-07-07 |title=The origins of the Republican Party&#039;s plutocratic populism |url=https://www.washingtonpost.com/outlook/2020/07/07/republican-party-uses-populist-politics-advance-plutocratic-policy/ |access-date=2025-01-28 |newspaper=The Washington Post |archive-date=January 30, 2021 |archive-url=https://web.archive.org/web/20210130213622/https://www.washingtonpost.com/outlook/2020/07/07/republican-party-uses-populist-politics-advance-plutocratic-policy/ |url-status=live }}&lt;br /&gt;
* {{Cite news |last=Bolton |first=Alexander |date=2023-07-17 |title=GOP senators rattled by radical conservative populism |url=https://thehill.com/homenews/senate/4098609-gop-senators-rattled-by-radical-conservative-populism/ |archive-url=https://web.archive.org/web/20241214211103/https://thehill.com/homenews/senate/4098609-gop-senators-rattled-by-radical-conservative-populism/ |archive-date=December 14, 2024 |access-date=2025-01-28 |work=The Hill |language=en-US |url-status=live }}&lt;br /&gt;
* {{Cite news |last1=Lange |first1=Jason |last2=Oliphant |first2=James |date=2024-03-21 |title=Republicans have taken sharp populist turn in the Trump era: Reuters/Ipsos |url=https://www.reuters.com/world/us/us-republicans-have-taken-sharp-populist-turn-trump-era-reutersipsos-data-shows-2024-03-21/ |access-date=2025-01-28 |work=Reuters |archive-date=June 28, 2024 |archive-url=https://web.archive.org/web/20240628151808/https://www.reuters.com/world/us/us-republicans-have-taken-sharp-populist-turn-trump-era-reutersipsos-data-shows-2024-03-21/ |url-status=live }}&lt;br /&gt;
* {{#invoke:cite|web|url=https://www.newstatesman.com/international-politics/2023/02/strange-death-centre-right-moderate-conservatism|title=The strange death of the centre right|quote=In Western democracies conventional conservatism is foundering. How did this once-dominant political force become so diminished?|first1=Jeremy|last1=Cliffe|date=February 15, 2023|access-date=February 5, 2025|website=The New Statesman|archive-date=February 11, 2025|archive-url=https://web.archive.org/web/20250211103019/https://www.newstatesman.com/international-politics/2023/02/strange-death-centre-right-moderate-conservatism|url-status=live}}}} which ultimately became its dominant faction.{{refn|name=&amp;quot;Dominant&amp;quot;}} This culminated in the [[2016 United States presidential election|2016 election]] of [[Donald Trump]], whose leadership style and political agenda—often referred to as [[Trumpism]]—reshaped the party&#039;s identity.&amp;lt;ref name=&amp;quot;Ball 2024&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;v075&amp;quot;&amp;gt;{{#invoke:cite|web|last=Martin |first=Jonathan |date=2021-03-01 |title=Trumpism Grips a Post-Policy G.O.P. as Traditional Conservatism Fades |url=https://www.nytimes.com/2021/03/01/us/politics/trump-republicans-policy.html |access-date=2025-02-03 |website=The New York Times |archive-date=May 23, 2024 |archive-url=https://web.archive.org/web/20240523144800/https://www.nytimes.com/2021/03/01/us/politics/trump-republicans-policy.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;i277&amp;quot;&amp;gt;{{#invoke:cite|web|last=Peoples |first=Steve |date=2021-02-14 |title=Trump remains dominant force in GOP following acquittal |url=https://apnews.com/trump-remains-dominant-force-in-gop-following-acquittal-54a562159db21bd2c806c0c3c366be62 |access-date=2025-02-03 |website=AP News |archive-date=June 12, 2024 |archive-url=https://web.archive.org/web/20240612135007/https://apnews.com/trump-remains-dominant-force-in-gop-following-acquittal-54a562159db21bd2c806c0c3c366be62 |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;!-- The contemporary demographics sentence has been discussed several times on the talk page. Please obtain consensus before implementing changes. --&amp;gt; In the 21st century, the Republican Party&#039;s strongest demographics are [[Urban–rural political divide|rural voters]], [[White Southerners]], [[evangelical]] Christians, men, [[senior citizens]], and [[Voter turnout in United States presidential elections|voters]] without [[educational attainment in the United States|college degrees]].&lt;br /&gt;
&lt;br /&gt;
On economic issues, the party has maintained a pro-capital attitude since its inception. It currently supports Trump&#039;s [[mercantilism|mercantilist]] policies,&amp;lt;ref name=&amp;quot;Trump’s aggressive push&amp;quot;&amp;gt;{{Cite web|url=https://www.ft.com/content/ed994477-a23a-4f48-9019-917b5dc51041|title=Trump&#039;s aggressive push to roll back globalisation|first1=Sam|last1=Fleming|first2=Delphine|last2=Strauss|access-date=April 4, 2025|date=April 4, 2025|website=Financial Times|quote=The US president wants to unwind decades of economic integration. The risk of a 1930s-style global trade war is causing markets to panic.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Helleiner 2021&amp;quot;&amp;gt;{{Cite journal |last=Helleiner |first=Eric |date=2021-01-05 |title=The Return of National Self-Sufficiency. Excavating Autarkic Thought in a De-Globalizing Era |journal=[[International Studies Review]] |volume=23 |issue=3 |pages=933–957 |doi=10.1093/isr/viaa092 |issn=1521-9488 |doi-access=free|quote=The election of Donald Trump as American president in 2016 encouraged further interest in ideas of national self-sufficiency. ... &#039;&#039;&#039;Trump&#039;s worldview was much closer to a neomercantilist one than an autarkist one,&#039;&#039;&#039; but some of his supporters on the far right are more clearly in the latter camp.14 For example, in a 2020 publication from the Claremont Institute, Curtis Yarvin called for the promotion of an “isolationist” policy of “neo-Sakoku”. Like some other past autarkists, he argued that a world of autarkic states would be more peaceful because the reasons for conflict would diminish (Yarvin 2020). The Trump administration also indirectly encouraged new interest in greater national self-sufficiency in other countries because of its protectionism and its broader “weaponization” of America&#039;s international economic relations (Farrell and Newman 2019).|pmc=7928914 }}&amp;lt;/ref&amp;gt; including [[tariff]]s{{efn|Tariffs are taxes on foreign imports paid by domestic importers, mostly corporations.&amp;lt;ref name=&amp;quot;favor Trump tariffs&amp;quot;&amp;gt;{{Cite web|url=https://www.axios.com/2025/03/06/trump-tariffs-poll-republicans-china-mexico-canada|title=Republicans favor Trump tariffs despite anticipated price hikes: poll|first1=Avery|last1=Lotz|website=Axios|date=March 6, 2025|access-date=March 10, 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Buckle Up&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;President McKinley&amp;quot;/&amp;gt;}} on imports on all countries at the highest rates in the world&amp;lt;ref name=&amp;quot;smashing global trade norms&amp;quot;&amp;gt;{{Cite web|url=https://www.reuters.com/markets/us-starts-collecting-trumps-new-10-tariff-smashing-global-trade-norms-2025-04-05/|title=US starts collecting Trump&#039;s new 10% tariff, smashing global trade norms|quote=U.S. customs agents began collecting President Donald Trump&#039;s unilateral 10% tariff on all imports from many countries on Saturday, with higher levies on goods from 57 larger trading partners due to start next week.|website=Reuters|first1=David|last1=Lawder|first2=Trevor|last2=Hunnicutt|date=April 5, 2025|access-date=April 5, 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Gilded Age vision&amp;quot;&amp;gt;{{#invoke:cite|web|url=https://www.nytimes.com/2025/02/01/us/politics/trump-tariffs-goal.html|title=To Trump, Tariffs Are Not a Means but an End|quote=Many presidents use tariffs to force negotiations. But for President Trump, they are the point, a source of revenue as he pursues a Gilded Age vision.|date=February 1, 2025|access-date=February 1, 2025|first1=David E.|last1=Sanger|website=The New York Times|archive-date=February 2, 2025|archive-url=https://web.archive.org/web/20250202082024/https://www.nytimes.com/2025/02/01/us/politics/trump-tariffs-goal.html|url-status=live}}&amp;lt;/ref&amp;gt; while opposing [[economic globalization|globalization]] and [[free trade]]. It also supports low income taxes and deregulation while opposing [[Labor unions in the United States|labor unions]], a [[public health insurance option]] and [[single-payer healthcare]].&amp;lt;ref name=&amp;quot;New Fusionism&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |date=2020-01-30 |title=Poll: Democrats Like Both the Public Option and Medicare-for-all, But Overall More People Support the Public Option, Including a Significant Share of Republicans |url=https://www.kff.org/affordable-care-act/press-release/poll-democrats-like-public-option-medicare-for-all-but-overall-more-people-support-public-option-including-significant-share-of-republicans/ |access-date=2025-05-17 |website=KFF |language=en-US}}&amp;lt;/ref&amp;gt; On social issues, it advocates for [[Abortion law in the United States by state|restricting abortion]],&amp;lt;ref&amp;gt;{{Cite news |last=Pell |first=Stephanie K. |date=19 September 2024 |title=Clear contrasts between the Democratic and Republican Parties&#039; positions on reproductive rights and health care |url=https://www.brookings.edu/articles/clear-contrasts-between-the-democratic-and-republican-parties-positions-on-reproductive-rights-and-health-care/ |access-date=24 February 2025}}&amp;lt;/ref&amp;gt; supports [[Law and order (politics)|tough on crime]] policies, such as [[capital punishment]] and the prohibition of [[recreational drug use]],&amp;lt;ref&amp;gt;{{cite news |last1=Lassiter |first1=Matthew |title=America&#039;s War on Drugs Has Always Been Bipartisan—and Unwinnable |url=https://time.com/6340590/drug-war-politics-history/ |access-date=25 February 2025 |date=7 December 2023}}&amp;lt;/ref&amp;gt; promotes gun ownership and [[Gun law in the United States|easing gun restrictions]],&amp;lt;ref&amp;gt;{{cite news |last1=Russell |first1=George Fabe |title=What is the Republican Party&#039;s stance on guns? Here&#039;s what GOP politicians are saying |url=https://www.usatoday.com/story/news/politics/elections/2024/10/04/republican-party-gun-control-rights-platform/75494948007/ |access-date=26 February 2025 |agency=USA Today |date=4 October 2024}}&amp;lt;/ref&amp;gt; and opposes [[transgender rights]].&amp;lt;ref&amp;gt;{{cite news |last1=Harmon |first1=Amy |title=In State Capitals, Republicans Propose New Limits on Transgender Identity |work=The New York Times |url=https://www.nytimes.com/2025/01/18/us/republicans-state-limits-transgender-identity.html |access-date=26 February 2025 |agency=New York Times |date=24 January 2025}}&amp;lt;/ref&amp;gt; The party favors limited legal [[immigration]] but strongly opposes [[illegal immigration]] and favors the [[deportation]] of those without permanent legal status, such as [[Illegal immigration|undocumented immigrants]] and those with [[temporary protected status]].&amp;lt;ref&amp;gt;{{cite news |last1=McCann |first1=Allison |last2=Sun |first2=Albert |last3=Sullivan |first3=Eileen |title=Who Are the Millions of Immigrants Trump Wants to Deport? |work=The New York Times |url=https://www.nytimes.com/interactive/2025/01/17/us/immigrants-trump-deportations.html |access-date=26 February 2025 |agency=New York Times |date=24 January 2025}}&amp;lt;/ref&amp;gt;{{failed verification|date=July 2025|reason=The body says that &amp;quot;there are widely differing views on immigration within the Party. The Party&#039;s proposed 2024 platform was opposed to immigration&amp;quot;; the cited source is about Trump&#039;s plans to deport people with and without legal status.}} In foreign policy, the party supports U.S. aid to [[Israel]] but is divided on aid to [[Ukraine]]&amp;lt;ref name=&amp;quot;Riccardi&amp;quot; /&amp;gt; and improving [[Russia–United States relations|relations with Russia]],&amp;lt;ref name=&amp;quot;Jimison&amp;quot; /&amp;gt; with Trump&#039;s ascent empowering an [[isolationism|isolationist]] &amp;quot;[[America First]]&amp;quot; foreign policy agenda.&amp;lt;ref name=&amp;quot;Baker&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
{{Main|History of the Republican Party (United States)}}&lt;br /&gt;
&lt;br /&gt;
In 1854, the Republican Party emerged to combat the expansion of slavery into western territories after the passing of the [[Kansas–Nebraska Act]]. The early Republican Party consisted of northern Protestants, factory workers, professionals, businessmen, prosperous farmers, and after the [[American Civil War|Civil War]] also of black former slaves. The party had very little support from white Southerners at the time, who predominantly backed the Democratic Party in the [[Solid South]], and from Irish and German Catholics, who made up a major Democratic voting block. While both parties adopted [[pro-business]] policies in the 19th century, the early GOP was distinguished by its support for the [[Banking in the United States|national banking system]], the [[gold standard]], [[Rail transportation in the United States|railroads]], and [[Protectionism|high tariffs]]. The party opposed the expansion of slavery before 1861 and led the fight to destroy the [[Confederate States of America]] (1861–1865). While the Republican Party had almost no presence in the [[Southern United States]] at its inception, it was very successful in the [[Northern United States]], where by 1858 it had enlisted former [[Whig Party (United States)|Whigs]] and former [[Free Soil Party|Free Soil]] Democrats to form majorities in nearly every Northern state.&lt;br /&gt;
&lt;br /&gt;
With the election of its first president, [[Abraham Lincoln]], in 1860, the party&#039;s success in guiding the [[Union (American Civil War)|Union]] to victory in the Civil War, and the party&#039;s role in the abolition of slavery, the Republican Party largely dominated the national political scene until 1932. In 1912, former Republican president [[Theodore Roosevelt]] formed the [[Bull Moose Party|Progressive Party]] after being rejected by the GOP and [[1912 United States presidential election|ran unsuccessfully as a third-party presidential candidate]] calling for [[Social liberalism|social reforms]]. The GOP lost its congressional majorities during the [[Great Depression]] (1929–1940); under President [[Franklin D. Roosevelt]], the Democrats formed a winning [[New Deal coalition]] that was dominant from 1932 through 1964.&lt;br /&gt;
&lt;br /&gt;
After the [[Civil Rights Act of 1964]], the [[Voting Rights Act of 1965]], and the [[Southern strategy]], the party&#039;s core base shifted with the Southern states becoming more reliably Republican in presidential politics and the Northeastern states becoming more reliably Democratic. White voters increasingly identified with the Republican Party after the 1960s.&amp;lt;ref&amp;gt;{{Cite journal|last=Zingher|first=Joshua N.|date=2018 |title=Polarization, Demographic Change, and White Flight from the Democratic Party|journal=The Journal of Politics|language=en |volume=80 |issue=3|pages=860–872|doi=10.1086/696994|s2cid=158351108|issn=0022-3816}}&amp;lt;/ref&amp;gt; Following the Supreme Court&#039;s 1973 decision in &#039;&#039;[[Roe v. Wade]]&#039;&#039;, the Republican Party opposed abortion in its party platform and grew its support among [[Evangelicalism in the United States|evangelicals]].&amp;lt;ref name=&amp;quot;The Great Divide: Religious and Cultural Conflict in American Party Politics&amp;quot;&amp;gt;{{Cite book |url=https://cup.columbia.edu/book/the-great-divide/9780231120593|title=The Great Divide: Religious and Cultural Conflict in American Party Politics|last=Layman |first=Geoffrey|date=2001|publisher=Columbia University Press|isbn=978-0231120586|pages=115, 119–120}}&amp;lt;/ref&amp;gt; The Republican Party won five of the six presidential elections from 1968 to 1988. Two-term President [[Ronald Reagan]], who held office from 1981 to 1989, was a transformative party leader. His [[Conservatism in the United States|conservative]] policies called for reduced social [[government spending]] and [[regulation]], increased military spending, [[Tax cut|lower taxes]], and a strong [[Anti-Sovietism|anti-Soviet]] foreign policy. Reagan&#039;s influence upon the party persisted into the 21st century.&lt;br /&gt;
&lt;br /&gt;
Since the 1990s, the party&#039;s support has chiefly come from the South, the [[Great Plains]], the [[Mountain States]], and [[Rural areas in the United States|rural areas]] in the North.&amp;lt;ref name=&amp;quot;auto3&amp;quot;&amp;gt;{{cite web |url=http://www.dailykos.com/story/2016/11/14/1598918/-Republicans-now-dominate-state-government-with-32-legislatures-and-33-governors |title=Republicans Now Dominate State Government|publisher=Daily Kos}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |url=https://www.nytimes.com/elections/results/president |title=Presidential Election Results: Donald J. Trump Wins |work=The New York Times |date=August 9, 2017 }}&amp;lt;/ref&amp;gt; It supports [[free market economics]], [[cultural conservatism]], and [[originalism]] in [[Judicial interpretation|constitutional jurisprudence]].&amp;lt;ref&amp;gt;{{Cite web|date=July 18, 2016|title=2016 Republican Party Platform|url=https://www.presidency.ucsb.edu/documents/2016-republican-party-platform|access-date=January 25, 2022|website=[[University of California, Santa Barbara]]}}&amp;lt;/ref&amp;gt; There have been 19 Republican presidents, the most from any one political party.&lt;br /&gt;
&lt;br /&gt;
=== Trump era ===&lt;br /&gt;
{{Main|First presidency of Donald Trump|Second presidency of Donald Trump|Trumpism}}&lt;br /&gt;
[[File:Official Presidential Portrait of President Donald J. Trump (2025).jpg|thumb|[[Donald Trump]], the 45th (2017–2021) and 47th (since 2025) president.]]&lt;br /&gt;
In [[2016 United States presidential election|the 2016 presidential election]], Republican nominee [[Donald Trump]] defeated Democratic nominee [[Hillary Clinton]]. The result was unexpected; polls leading up to the election showed Clinton leading the race.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.nbcnews.com/politics/elections/12-days-stunned-nation-how-hillary-clinton-lost-n794131|title=12 days that stunned a nation: How Hillary Clinton lost|website=[[NBC News]]|date=August 23, 2017|access-date=December 8, 2019|archive-date=January 28, 2021|archive-url=https://web.archive.org/web/20210128124221/https://www.nbcnews.com/politics/elections/12-days-stunned-nation-how-hillary-clinton-lost-n794131|url-status=live}}&amp;lt;/ref&amp;gt; Trump&#039;s victory was fueled by narrow victories in three states—[[Michigan]], [[Pennsylvania]], and [[Wisconsin]]—that had been part of the [[Blue wall (U.S. politics)|Democratic blue wall]] for decades.&amp;lt;ref name= &amp;quot;elites&amp;quot;&amp;gt;{{Cite web|url=https://www.nbcnews.com/specials/donald-trump-republican-party/presidency|title=How Trump won and proved everyone wrong with his populist message|website=[[NBC News]] Specials|date=December 14, 2016|access-date=December 8, 2019|archive-date=November 8, 2020|archive-url=https://web.archive.org/web/20201108102242/https://www.nbcnews.com/specials/donald-trump-republican-party/presidency/|url-status=live}}&amp;lt;/ref&amp;gt; It was attributed to strong support amongst working-class white voters, who felt dismissed and disrespected by the political establishment.&amp;lt;ref name=&amp;quot;campani&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://www.nytimes.com/2016/11/10/upshot/why-trump-won-working-class-whites.html |archive-url=https://web.archive.org/web/20161109094913/http://www.nytimes.com/2016/11/10/upshot/why-trump-won-working-class-whites.html |archive-date=November 9, 2016 |url-access=limited|url-status=live|title=Why Trump Won: Working-Class Whites|first=Nate|last=Cohn|work=[[The New York Times]]|date=November 9, 2016|access-date=February 15, 2021}}&amp;lt;/ref&amp;gt; Trump became popular with them by abandoning Republican establishment orthodoxy in favor of a broader nationalist message.&amp;lt;ref name= &amp;quot;elites&amp;quot; /&amp;gt; His election accelerated the Republican Party&#039;s shift towards right-wing populism and resulted in decreasing influence among its conservative factions.{{refn|name=&amp;quot;RWP&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
After [[2016 United States elections|the 2016 elections]], Republicans [[2016 United States Senate elections|maintained their majority in the Senate]], [[2016 United States House of Representatives elections|the House]], and [[2016 United States gubernatorial elections|governorships]], and wielded newly acquired executive power with Trump&#039;s election. The Republican Party controlled 69 of 99 state legislative chambers in 2017, the most it had held in history.&amp;lt;ref&amp;gt;{{cite news|url=https://www.nytimes.com/2016/11/12/us/republicans-expand-control-in-a-deeply-divided-nation.html?_r=0|title=Republicans Expand Control in a Deeply Divided Nation|work=[[The New York Times]]|date=November 11, 2016 |access-date=February 18, 2017|archive-url=https://web.archive.org/web/20161119193906/http://www.nytimes.com/2016/11/12/us/republicans-expand-control-in-a-deeply-divided-nation.html?_r=0|archive-date=November 19, 2016|url-status=live|last1=Bosman |first1=Julie |last2=Davey |first2=Monica }}&amp;lt;/ref&amp;gt; The Party also held 33 governorships,&amp;lt;ref&amp;gt;{{Cite web|url=https://www.governing.com/archive/gov-2017-2018-governors-races-predictions.html|title=2017–2018 Governors&#039; Races: Where Power Is Most and Least Likely to Flip|date=January 3, 2017|website=Governing|access-date=January 28, 2024|archive-date=January 28, 2024|archive-url=https://web.archive.org/web/20240128024618/https://www.governing.com/archive/gov-2017-2018-governors-races-predictions.html|url-status=live}}&amp;lt;/ref&amp;gt; the most it had held since 1922.&amp;lt;ref&amp;gt;{{cite web|url=https://www.usnews.com/news/us/articles/2016-11-09/republicans-expand-control-of-governorships-legislatures|title=Republicans Governorships Rise to Highest Mark Since 1922|work=[[U.S. News &amp;amp; World Report]]|access-date=September 10, 2017|archive-url=https://web.archive.org/web/20170915132840/https://www.usnews.com/news/us/articles/2016-11-09/republicans-expand-control-of-governorships-legislatures|archive-date=September 15, 2017|url-status=live}}&amp;lt;/ref&amp;gt; The party had total control of government in 25 states,&amp;lt;ref&amp;gt;{{cite news|title=Republican governorships rise to highest mark since 1922|url=https://www.usnews.com/news/us/articles/2016-11-09/republicans-expand-control-of-governorships-legislature|work=[[U.S. News &amp;amp; World Report]]|date=November 6, 2016|first=David A.|last=Lieb|agency=Associated Press}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|last=Phillips|first=Amber|url=https://www.washingtonpost.com/news/the-fix/wp/2016/11/12/these-3-maps-show-just-how-dominant-republicans-are-in-america-after-tuesday/|title=These 3 maps show just how dominant Republicans are in America after Tuesday|newspaper=[[The Washington Post]]|date=November 12, 2016|access-date=November 14, 2016|archive-url=https://web.archive.org/web/20161113061740/https://www.washingtonpost.com/news/the-fix/wp/2016/11/12/these-3-maps-show-just-how-dominant-republicans-are-in-america-after-tuesday/|archive-date=November 13, 2016|url-status=live}}&amp;lt;/ref&amp;gt; the most since 1952.&amp;lt;ref&amp;gt;{{cite news|last1=Lieb|first1=David A.|title=GOP-Controlled States Aim to Reshape Laws|url=https://www.pressreader.com/usa/chicago-tribune/20161229/281822873464433|date=December 29, 2016|agency=Associated Press|access-date=December 30, 2016|archive-url=https://web.archive.org/web/20161231075054/https://www.pressreader.com/usa/chicago-tribune/20161229/281822873464433|archive-date=December 31, 2016|url-status=live}}&amp;lt;/ref&amp;gt; The opposing Democratic Party held full control of only five states in 2017.&amp;lt;ref&amp;gt;{{cite web|last1=Greenblatt|first1=Alan|title=Republicans Add to Their Dominance of State Legislatures|url=http://www.governing.com/topics/elections/gov-republicans-add-dominance-state-legislatures.html|date=November 9, 2016|work=[[Governing (magazine)|Governing]]|access-date=November 17, 2016|archive-url=https://web.archive.org/web/20161116125852/http://www.governing.com/topics/elections/gov-republicans-add-dominance-state-legislatures.html|archive-date=November 16, 2016|url-status=live}}&amp;lt;/ref&amp;gt; In [[2018 United States elections|the 2018 elections]], Republicans lost control of the House, but strengthened their hold on the Senate.&amp;lt;ref&amp;gt;{{cite news|url=https://www.theatlantic.com/politics/archive/2018/11/2018-election-results-democrats-regain-control-house/575122/|title=The Democrats Are Back, and Ready to Take On Trump|first=David A.|last=Graham|work=[[The Atlantic]]|date=November 7, 2018|access-date=November 17, 2020|archive-date=December 9, 2019|archive-url=https://web.archive.org/web/20191209204842/https://www.theatlantic.com/politics/archive/2018/11/2018-election-results-democrats-regain-control-house/575122/|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Over the course of his presidency, Trump appointed three justices to [[Supreme Court of the United States|the Supreme Court]]: [[Neil Gorsuch]], [[Brett Kavanaugh]], and [[Amy Coney Barrett]].&amp;lt;ref&amp;gt;{{cite news |last=Kumar |first=Anita |date=September 26, 2020 |title=Trump&#039;s legacy is now the Supreme Court |work=[[Politico]] |url=https://www.politico.com/news/2020/09/26/trump-legacy-supreme-court-422058 |access-date=November 17, 2020 |archive-date=February 16, 2021 |archive-url=https://web.archive.org/web/20210216160832/https://www.politico.com/news/2020/09/26/trump-legacy-supreme-court-422058 |url-status=live }}&amp;lt;/ref&amp;gt; He was impeached by the House of Representatives in 2019 on charges of abuse of power and obstruction of Congress but was acquitted by the Senate in 2020.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.cnbc.com/2020/02/05/trump-acquitted-in-impeachment-trial.html|title=Trump acquitted of both charges in Senate impeachment trial|last1=Wilkie|first1=Christina|last2=Breuninger|first2=Kevin|date=February 5, 2020|website=CNBC|access-date=February 26, 2020|archive-date=December 30, 2020|archive-url=https://web.archive.org/web/20201230033735/https://www.cnbc.com/2020/02/05/trump-acquitted-in-impeachment-trial.html|url-status=live}}&amp;lt;/ref&amp;gt; Trump lost the [[2020 United States presidential election|2020 presidential election]] to [[Joe Biden]] but refused to concede the race, claiming widespread electoral fraud and [[Attempts to overturn the 2020 United States presidential election|attempting to overturn the results]]. On January 6, 2021, the [[January 6 United States Capitol attack|United States Capitol was attacked by Trump supporters]] following a rally at which Trump spoke. After the attack, the House [[Second impeachment of Donald Trump|impeached Trump for a second time]] on the charge of [[Sedition|incitement of insurrection]], making him the only federal officeholder to be impeached twice.&amp;lt;ref&amp;gt;{{cite web|url=https://www.npr.org/sections/trump-impeachment-effort-live-updates/2021/01/13/956449072/house-impeaches-trump-a-2nd-time-citing-insurrection-at-u-s-capitol|title=House Impeaches Trump A 2nd Time, Citing Insurrection At U.S. Capitol|first=Bill|last=Chappell|work=[[NPR]]|date=January 13, 2021|access-date=February 14, 2021|archive-date=February 20, 2021|archive-url=https://web.archive.org/web/20210220221620/https://www.npr.org/sections/trump-impeachment-effort-live-updates/2021/01/13/956449072/house-impeaches-trump-a-2nd-time-citing-insurrection-at-u-s-capitol|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://www.nytimes.com/2021/01/13/us/politics/trump-impeached.html |archive-url=https://ghostarchive.org/archive/20211228/https://www.nytimes.com/2021/01/13/us/politics/trump-impeached.html |archive-date=December 28, 2021 |url-access=limited|title=Trump Impeached for Inciting Insurrection|first=Nicholas|last=Fandos|work=[[The New York Times]]|date=January 13, 2021|access-date=February 14, 2021}}{{cbignore}}&amp;lt;/ref&amp;gt; The Senate [[Second impeachment trial of Donald Trump|acquitted him]] in February 2021, after he had already left office.&amp;lt;ref&amp;gt;{{cite web|url=https://www.nbcnews.com/politics/donald-trump/trump-acquitted-impeachment-trial-7-gop-senators-vote-democrats-convict-n1257876|title=Trump acquitted in impeachment trial; 7 GOP Senators vote with Democrats to convict|first=Dareh|last=Gregorian|work=[[NBC News]]|date=February 13, 2021|access-date=February 14, 2021|archive-date=February 13, 2021|archive-url=https://web.archive.org/web/20210213205205/https://www.nbcnews.com/politics/donald-trump/trump-acquitted-impeachment-trial-7-gop-senators-vote-democrats-convict-n1257876|url-status=live}}&amp;lt;/ref&amp;gt; Following the 2020 election, [[Election denial movement in the United States|election denial]] became increasingly mainstream in the party,&amp;lt;ref name=&amp;quot;c990&amp;quot;&amp;gt;{{cite web |last1=Riccardi |first1=Nicholas |last2=Mascaro |first2=Lisa |date=2024-05-21 |title=Election deniers moving closer to GOP mainstream, report shows, as Trump allies fill Congress |url=https://apnews.com/article/congress-election-lies-2024-certification-president-460cde281d48e62e09e24c7573d6a9ff |access-date=2024-08-15 |website=AP |archive-date=May 21, 2024 |archive-url=https://web.archive.org/web/20240521145524/https://apnews.com/article/congress-election-lies-2024-certification-president-460cde281d48e62e09e24c7573d6a9ff |url-status=live }}&amp;lt;/ref&amp;gt; with the majority of Republican candidates in 2022 being election deniers.&amp;lt;ref name=&amp;quot;t387&amp;quot;&amp;gt;{{cite news |last1=Blanco |first1=Adrián |last2=Wolfe |first2=Daniel |last3=Gardner |first3=Amy |date=2022-11-07 |title=Tracking which 2020 election deniers are winning, losing in the midterms |url=https://www.washingtonpost.com/politics/interactive/2022/election-deniers-midterms/ |access-date=2024-08-15 |newspaper=Washington Post |archive-date=January 11, 2024 |archive-url=https://web.archive.org/web/20240111222807/https://www.washingtonpost.com/politics/interactive/2022/election-deniers-midterms/ |url-status=live }}&amp;lt;/ref&amp;gt; The party also made [[Republican efforts to restrict voting following the 2020 presidential election|efforts to restrict voting]] based on false claims of fraud.&amp;lt;ref&amp;gt;{{Cite web|last1=Izaguirre|first1=Anthony|last2=Coronado|first2=Acacia|date=January 31, 2021|title=GOP lawmakers seek tougher voting rules after record turnout|url=https://apnews.com/article/bills-voting-rights-elections-coronavirus-pandemic-voter-registration-0e94844d72d2a2bf8b51b1c950bd64fc |archive-url=https://web.archive.org/web/20210131151357/https://apnews.com/article/bills-voting-rights-elections-coronavirus-pandemic-voter-registration-0e94844d72d2a2bf8b51b1c950bd64fc |access-date=January 17, 2023 |archive-date=January 31, 2021 |url-status=live|website=[[Associated Press]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|last=McCaskill|first=Nolan D.|date=March 15, 2021|title=After Trump&#039;s loss and false fraud claims, GOP eyes voter restrictions across nation |archive-url=https://web.archive.org/web/20210315142648/https://www.politico.com/news/2021/03/15/voting-restrictions-states-475732 |archive-date=March 15, 2021 |url=https://www.politico.com/news/2021/03/15/voting-restrictions-states-475732 |access-date=January 17, 2023 |url-status=live|website=[[Politico]]}}&amp;lt;/ref&amp;gt; By 2020, the Republican Party had greatly shifted towards [[Illiberal democracy|illiberalism]] following the election of Trump,{{refn|name=&amp;quot;Illiberalism&amp;quot;|&lt;br /&gt;
* {{Cite news |date=October 31, 2020 |title=The Republican Party has lurched towards populism and illiberalism |newspaper=The Economist |url=https://www.economist.com/graphic-detail/2020/10/31/the-republican-party-has-lurched-towards-populism-and-illiberalism |access-date=November 9, 2024 |archive-date=June 2, 2024 |archive-url=https://web.archive.org/web/20240602072716/https://www.economist.com/graphic-detail/2020/10/31/the-republican-party-has-lurched-towards-populism-and-illiberalism |url-status=live |issn=0013-0613|quote=In the late 20th century the Republican Party already looked a bit less liberal and more populist than most mainstream European parties. But according to the V-Dem Institute&#039;s analysis, it only really started to deviate to &amp;quot;illiberalism&amp;quot; when it embraced religious values under Mr Bush after his election in 2000. The party then veered into populism in 2010 with the rise of the Tea Party movement, which vowed to curb what it saw as the unjustifiable expansion of the federal government under Barack Obama. However, the greatest shift, especially towards illiberalism, came with the election of Mr Trump.}}&lt;br /&gt;
* {{Cite journal |last=Encarnación |first=Omar G. |date=June 12, 2023 |title=Democratic Backsliding: Comparative Reflections on the American Experience |url=https://academic.oup.com/psq/article-abstract/138/3/407/7194282 |journal=Political Science Quarterly |volume=138 |issue=3 |access-date=November 12, 2024 |pages=407–424 |issn=0032-3195 |doi=10.1093/psquar/qqad036 |url-status=live |archive-url=https://web.archive.org/web/20241112000309/https://academic.oup.com/psq/article-abstract/138/3/407/7194282 |archive-date=November 12, 2024 |quote=Despite the appearance of being consolidated, the American political system is institutionally vulnerable to backsliding—from an electoral system fraught with so many deficiencies that election experts deem it archaic and undemocratic; to an imperial presidency that sits at the center of federal power and towers over the legislature and the judiciary; to the recent transformation of the Republican Party into an illiberal force more interested in acquiring power than in governing. ... The Republican Party&#039;s pivotal role in enabling backsliding in the Trump era mirrors the post-Communist experience. In recent years, the Republican party has fashioned itself after the Fidesz Party in Hungary (Europe&#039;s most sobering example of backsliding), from embracing the ideology of Christian Nationalism to using the state to fight culture wars to cynically rejecting the idea of democracy. In connection to the last point, a popular argument among Republican election deniers is that the United States is not a democracy but a republic. As noted by the New York Times, &amp;quot;There is more at stake than the health of the Republican Party when its core activists, as well as a growing number of officials and those campaigning for governmental positions, openly espouse hostility not just to democratic principles, but, increasingly, to the word &#039;democracy&#039; itself.&amp;quot; Indeed, this illiberal behavior puts American democracy in peril. |quote-pages=410{{ndash}}423|url-access=subscription }}&lt;br /&gt;
* {{cite book |last=Main |first=Thomas J. |date=January 4, 2022 |title=The Rise of Illiberalism |url=https://books.google.com/books?id=mPL2DwAAQBAJ |location=Washington, D.C. |publisher=Brookings Institution Press |page=188 |isbn=9780815738503 |quote=A sharp repudiation at the polls would have checked the vogue for illiberal and identitarian ideologies and driven the Republican party back within the bounds of the liberal democratic political spectrum. |archive-date=January 28, 2025 |access-date=November 12, 2024 |archive-url=https://web.archive.org/web/20250128234748/https://books.google.com/books?id=mPL2DwAAQBAJ |url-status=live }}&lt;br /&gt;
* {{Cite journal |last1=Laruelle |first1=Marlene |date=March 1, 2022 |title=Illiberalism: a conceptual introduction |journal=East European Politics |volume=38 |issue=2 |pages=303–327 |issn=2159-9165 |doi=10.1080/21599165.2022.2037079 |quote=Classical conservatives—such as the Christian Democrats in Europe or the Republican Party in the US before Donald Trump—are/were fervent supporters of political rights and constitutionalism, while illiberalism challenges them ... The struggle of the European People&#039;s Party to win concessions from Orbán&#039;s Fidesz or the Polish PiS, as well as the subjugation of the Republican Party by Donald Trump, have revealed how attractive illiberal leaders may be to the more mainstream right. As Marc Plattner has stated, the future of liberal democracy will largely depend on how successful or unsuccessful the classical conservative right is at resisting illiberalism. |quote-pages=315{{ndash}}316|doi-access=free }}&lt;br /&gt;
* {{cite magazine |last1=Cooley |first1=Alexander |last2=Nexon |first2=Daniel H. |date=January–February 2022 |title=The Real Crisis of Global Order: Illiberalism on the Rise |url=https://www.foreignaffairs.com/articles/world/2021-12-14/illiberalism-real-crisis-global-order |magazine=[[Foreign Affairs]] |volume=101 |issue=1 |location=New York City, New York |publisher=[[Council on Foreign Relations]] |access-date=November 12, 2024 |issn=0015-7120 |quote=The election of Donald Trump in 2016 sparked a major debate over the nature and fate of the liberal international order, suddenly caught, it seemed, between the Charybdis of illiberal great-power challengers and the Scylla of a hostile U.S. president. Trump may have lost the presidency in 2020, but the liberal order remains under threat. ... In the United States, one of the two major political parties remains beholden to an authoritarian demagogue. Motivated by the &amp;quot;Big Lie&amp;quot; (the objectively false claim that Democrats stole the election from Trump through systematic voter fraud), the Republican Party is purging officials who stood in the way of efforts to overturn the 2020 presidential election. Republican voter-suppression efforts are accelerating.}}&lt;br /&gt;
* {{Cite journal |last1=Dunwoody |first1=Phillip T. |last2=Gershtenson |first2=Joseph |last3=Plane |first3=Dennis L. |last4=Upchurch-Poole |first4=Territa |date=August 9, 2022 |title=The fascist authoritarian model of illiberal democracy |journal=[[Frontiers Media|Frontiers in Political Science]] |volume=4 |issue= |article-number=907681 |issn=2673-3145 |doi=10.3389/fpos.2022.907681 |doi-access=free |quote=All the components of the fascist authoritarian model of illiberal democracy were evidenced in the recent 2020 U.S. presidential election. … In classic authoritarian fashion, Trump sought to remain in power by asserting his preferred fiction over more objective realities promoted by those in traditional, truth-based professions. Trump engaged in threat othering to work up his base so that they would support the use of force to &amp;quot;save&amp;quot; their country. The result of these combined mechanisms was the support of blatantly illiberal antidemocratic behavior at the U.S. Capitol on January 6, 2021. |quote-page=12}}&lt;br /&gt;
* {{cite book |last1=Hopkin |first1=Jonathan |author1-link=Jonathan Hopkin |last2=Blyth |first2=Mark |author2-link=Mark Blyth |editor1-last=Vormann |editor1-first=Boris |editor2-last=Weinman |editor2-first=Michael D. |title=The Emergence of Illiberalism |date=2020 |publisher=[[Routledge]] |chapter=Global Trumpism: Understanding Anti-System Politics in Western Democracies |isbn=978-0367366247 |chapter-url=https://books.google.com/books?id=C_3vDwAAQBAJ&amp;amp;q=global+trumpism&amp;amp;pg=PT107 |access-date=October 11, 2020 |archive-date=February 15, 2021 |archive-url=https://web.archive.org/web/20210215222839/https://books.google.com/books?id=C_3vDwAAQBAJ&amp;amp;q=global+trumpism&amp;amp;pg=PT107 |url-status=live }}&lt;br /&gt;
* {{cite journal |last1=Norris |first1=Pippa |date=2017 |title=Online Exchange on &amp;quot;Democratic Deconsolidation |url=https://www.journalofdemocracy.org/wp-content/uploads/2018/12/Journal-of-Democracy-Web-Exchange-Norris_0.pdf |journal=[[Journal of Democracy]] |volume=12 |access-date=9 November 2024 |quote=The rise of populist authoritarianism in the United States, especially by the risks that President Trump poses to core democratic values, practices and institutions, pose major threats to liberal democracy. ... When the populist style of governance is coupled with authoritarian values, however, this potent combination presents most dangerous risk to the principles and practices at the heart of liberal democracy. Trump falls into this category. ... populist-authoritarian forces threatening to dismantle core values in liberal democracy pose the gravest risk, especially in America, given the vast powers of the U.S. presidency and its hegemonic role in the world. The mainstream news media, the courts, and a reenergized civil society are actively pushing back to resist the threats to democracy arising from the Trump administration. In Congress and State Houses, however, the Democrats are decimated, and the Republican party and conservative activists seem willing to be seduced by dreams of power.|quote-pages=14{{ndash}}15{{ndash}}18}}}} and research conducted by the [[V-Dem Institute]] concluded that the party was more similar to Europe&#039;s most right-wing parties such as [[Law and Justice]] in Poland or [[Fidesz]] in Hungary.&amp;lt;ref name=&amp;quot;Economist 10312020&amp;quot;&amp;gt;{{Cite news |date=October 31, 2020 |title=The Republican Party has lurched towards populism and illiberalism |newspaper=The Economist |url=https://www.economist.com/graphic-detail/2020/10/31/the-republican-party-has-lurched-towards-populism-and-illiberalism |access-date=November 9, 2024 |archive-date=June 2, 2024 |archive-url=https://web.archive.org/web/20240602072716/https://www.economist.com/graphic-detail/2020/10/31/the-republican-party-has-lurched-towards-populism-and-illiberalism |url-status=live |issn=0013-0613|quote=In the late 20th century the Republican Party already looked a bit less liberal and more populist than most mainstream European parties. But according to the V-Dem Institute&#039;s analysis, it only really started to deviate to &amp;quot;illiberalism&amp;quot; when it embraced religious values under Mr Bush after his election in 2000. The party then veered into populism in 2010 with the rise of the Tea Party movement, which vowed to curb what it saw as the unjustifiable expansion of the federal government under Barack Obama. However, the greatest shift, especially towards illiberalism, came with the election of Mr Trump.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last1=Lührmann |first1=Anna |last2=Medzihorsky |first2=Juraj |last3=Hindle |first3=Garry |last4=Lindberg |first4=Staffan I. |date=October 2020 |title=New Global Data on Political Parties: V-Party |url=https://www.v-dem.net/documents/8/vparty_briefing.pdf |series=Briefing Paper #9 |publisher=V-Dem Institute |access-date=November 13, 2024 |archive-date=November 14, 2024 |archive-url=https://web.archive.org/web/20241114171742/https://www.v-dem.net/documents/8/vparty_briefing.pdf |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The party went into the [[2022 United States elections|2022 elections]] confident and with analysts predicting a [[Wave elections in the United States|red wave]], but it underperformed expectations, with voters in [[swing state]]s and competitive districts joining Democrats in rejecting candidates who had been endorsed by Trump or who had denied the results of the 2020 election.&amp;lt;ref name=&amp;quot;FiveThirtyEight 2022&amp;quot;&amp;gt;{{cite web|date=November 8, 2022|title=&amp;lt;!--2022 Election: Live Analysis and Results--&amp;gt;How Election Week 2022 Went Down|url=https://fivethirtyeight.com/live-blog/2022-midterm-election/|access-date=November 17, 2022|website=[[FiveThirtyEight]]|archive-date=November 16, 2022|archive-url=https://web.archive.org/web/20221116174931/https://fivethirtyeight.com/live-blog/2022-midterm-election/|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Hounshell 2022&amp;quot;&amp;gt;{{cite news |last=Hounshell |first=Blake |date=November 9, 2022 |title=Five Takeaways From a Red Wave That Didn&#039;t Reach the Shore |newspaper=[[The New York Times]] |url=https://www.nytimes.com/2022/11/09/us/politics/midterm-elections-takeaways.html |access-date=November 9, 2022 |issn=0362-4331 |archive-date=November 18, 2022 |archive-url=https://web.archive.org/web/20221118043809/https://www.nytimes.com/2022/11/09/us/politics/midterm-elections-takeaways.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Tumulty 2022&amp;quot;&amp;gt;{{cite news |last=Tumulty |first=Karen |date=November 9, 2022 |title=The expected red wave looks more like a puddle |newspaper=[[The Washington Post]] |url=https://www.washingtonpost.com/opinions/2022/11/09/no-red-wave-midterm-outcome-analysis/ |access-date=November 10, 2022 |issn=0190-8286 |archive-date=November 12, 2022 |archive-url=https://web.archive.org/web/20221112060937/https://www.washingtonpost.com/opinions/2022/11/09/no-red-wave-midterm-outcome-analysis/ |url-status=live }}&amp;lt;/ref&amp;gt; The party won control of the House with a narrow majority,&amp;lt;ref name=&amp;quot;Cowan 2022&amp;quot;&amp;gt;{{cite news |last=Cowan |first=Richard |date=November 17, 2022 |title=Republicans win U.S. House majority, setting stage for divided government |work=[[Reuters]] |url=https://www.reuters.com/world/us/republicans-one-seat-away-winning-house-us-midterm-vote-2022-11-16/ |access-date=November 17, 2022 |archive-date=November 25, 2022 |archive-url=https://web.archive.org/web/20221125100214/https://www.reuters.com/world/us/republicans-one-seat-away-winning-house-us-midterm-vote-2022-11-16/ |url-status=live }}&amp;lt;/ref&amp;gt; but lost the Senate and several state legislative majorities and governorships.&amp;lt;ref name=&amp;quot;composition_2023_05_23_ncsl_org&amp;quot;&amp;gt;[https://www.ncsl.org/about-state-legislatures/state-partisan-composition &amp;quot;State Partisan Composition&amp;quot;], May 23, 2023, [[National Conference of State Legislatures]], retrieved July 4, 2023. {{Webarchive|url=https://web.archive.org/web/20230704082911/https://www.ncsl.org/about-state-legislatures/state-partisan-composition |date=July 4, 2023 }}.&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;states_2023_07_01_gazette&amp;quot;&amp;gt;[[Thomas Cronin|Cronin, Tom]] and [[Robert D. Loevy|Bob Loevy]]: [https://gazette.com/news/american-federalism-states-veer-far-left-or-far-right-cronin-and-loevy/article_47b241d8-1604-11ee-a860-3383285a990d.html &amp;quot;American federalism: States veer far left or far right&amp;quot;], {{Webarchive|url=https://web.archive.org/web/20230704082911/https://gazette.com/news/american-federalism-states-veer-far-left-or-far-right-cronin-and-loevy/article_47b241d8-1604-11ee-a860-3383285a990d.html |date=July 4, 2023 }}, July 1, 2023, updated July 2, 2023, &#039;&#039;[[Colorado Springs Gazette]],&#039;&#039; retrieved July 4, 2023&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;trifectas_2023_01_18_nytimes&amp;quot;&amp;gt;[https://www.nytimes.com/2022/11/11/us/politics/state-legislatures-democrats-trifectas.html &amp;quot;In the States, Democrats All but Ran the Table&amp;quot;], {{Webarchive|url=https://web.archive.org/web/20230704082911/https://www.nytimes.com/2022/11/11/us/politics/state-legislatures-democrats-trifectas.html |date=July 4, 2023 }} November 11, 2022, &#039;&#039;[[The New York Times]],&#039;&#039; retrieved July 4, 2023&amp;lt;/ref&amp;gt; The results led to a number of Republicans and conservative thought leaders questioning whether Trump should continue as the party&#039;s main figurehead and leader.&amp;lt;ref&amp;gt;{{Cite news |last1=Bender |first1=Michael C. |last2=Haberman |first2=Maggie |date=November 10, 2022 |title=Trump Under Fire From Within G.O.P. After Midterms |language=en-US |work=[[The New York Times]] |url=https://www.nytimes.com/2022/11/09/us/politics/trump-republicans-midterms.html |access-date=November 23, 2022 |issn=0362-4331 |archive-date=November 22, 2022 |archive-url=https://web.archive.org/web/20221122225849/https://www.nytimes.com/2022/11/09/us/politics/trump-republicans-midterms.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Gomez |first=Henry |title=Battleground Republicans unload on Trump ahead of expected 2024 announcement |url=https://www.nbcnews.com/politics/2022-election/battleground-republicans-unload-trump-ahead-expected-2024-announcement-rcna57153 |url-status=live |archive-url=https://web.archive.org/web/20221123151640/https://www.nbcnews.com/politics/2022-election/battleground-republicans-unload-trump-ahead-expected-2024-announcement-rcna57153 |archive-date=November 23, 2022 |access-date=November 23, 2022 |website=[[NBC News]] |date=November 15, 2022 |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Despite those disappointments, Trump [[2024 Republican Party presidential primaries|easily won the nomination]] to be the party&#039;s candidate again in [[2024 United States presidential election|2024]], marking the third straight election of him being the GOP nominee.&amp;lt;ref&amp;gt;{{Cite news |last=Pfannenstiel |first=Brianne |date=July 15, 2024 |title=&amp;quot;Make America great again!&amp;quot;: Iowa Republican chair gives fiery Trump nominating speech at RNC |url=https://www.desmoinesregister.com/story/news/politics/elections/2024/07/15/rnc-2024-iowa-gop-chair-jeff-kaufmann-trump-nominating-speech-republican-national-convention/74411262007/ |access-date=July 18, 2024 |work=[[The Des Moines Register]] |archive-date=July 22, 2024 |archive-url=https://web.archive.org/web/20240722151222/https://www.desmoinesregister.com/story/news/politics/elections/2024/07/15/rnc-2024-iowa-gop-chair-jeff-kaufmann-trump-nominating-speech-republican-national-convention/74411262007/ |url-status=live }}&amp;lt;/ref&amp;gt; Trump – who survived an ear injury in [[Attempted assassination of Donald Trump in Pennsylvania|an assassination attempt]] during the campaign – achieved victory against Vice President [[Kamala Harris]], who replaced President Biden on the Democratic ticket after his withdrawal in July. He won both the [[United States electoral college|electoral college]] and popular vote, becoming the first Republican to do so since George W. Bush in 2004, and improving his vote share among [[Working class in the United States|working class]] voters, particularly among young men, those without college degrees, and [[Hispanic and Latino Americans|Hispanic]] voters.&amp;lt;ref&amp;gt;{{cite web|last1=Lange|first1=Jason|last2=Erickson|first2=Bo|last3=Heath|first3=Brad|date=November 6, 2024|title=Trump&#039;s return to power fueled by Hispanic, working-class voter support|url=https://www.reuters.com/world/us/trumps-return-power-fueled-by-hispanic-working-class-voter-support-2024-11-06/|website=Reuters|access-date=November 11, 2024|archive-date=December 21, 2024|archive-url=https://web.archive.org/web/20241221233938/https://www.reuters.com/world/us/trumps-return-power-fueled-by-hispanic-working-class-voter-support-2024-11-06/|url-status=live}}&amp;lt;/ref&amp;gt; The Republicans also held a slim majority in the House and retook control of the Senate, securing the party&#039;s first [[Government trifecta|trifecta]] since 2017.&lt;br /&gt;
&lt;br /&gt;
=== Current status ===&lt;br /&gt;
As of {{CURRENTYEAR}}, the GOP holds the presidency, and majorities in both the [[United States House of Representatives|U.S. House of Representatives]] and [[U.S. Senate]], giving them a federal [[government trifecta]]. It also holds 27 [[List of United States governors|state governorships]], 28 [[List of United States state legislatures|state legislatures]], and 23 state government trifectas. Six of the nine current [[U.S. Supreme Court]] justices were appointed by Republican presidents. &lt;br /&gt;
&lt;br /&gt;
There have been 19 Republicans who have served as president, the most from any one political party, the most recent being current president [[Donald Trump]], who became the 47th president on January 20, 2025. Trump also served as the 45th president from 2017 to 2021.&amp;lt;ref name=&amp;quot;s635&amp;quot;&amp;gt;{{cite web | agency=Associated Press | title=Trump clinches 2024 Republican nomination | website=PBS NewsHour | date=2024-03-12 | url=https://www.pbs.org/newshour/politics/trump-clinches-2024-republican-nomination | access-date=2024-06-11 | archive-date=April 29, 2024 | archive-url=https://web.archive.org/web/20240429091649/https://www.pbs.org/newshour/politics/trump-clinches-2024-republican-nomination | url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Name and symbols ==&lt;br /&gt;
The Republican Party&#039;s founding members chose its name as homage to the values of [[Republicanism in the United States|republicanism]] promoted by the Democratic-Republican Party, which its founder, Thomas Jefferson, called the &amp;quot;Republican Party&amp;quot;.&amp;lt;ref name=&amp;quot;Rutland&amp;quot;&amp;gt;{{cite book|last=Rutland|first=RA|title=The Republicans: From Lincoln to Bush|year=1996|page=[https://archive.org/details/republicansfroml00rutl_0/page/2 2]|publisher=University of Missouri Press |isbn=0826210902|url-access=registration|url=https://archive.org/details/republicansfroml00rutl_0/page/2}}&amp;lt;/ref&amp;gt; The idea for the name came from an editorial by the party&#039;s leading publicist, Horace Greeley, who called for &amp;quot;some simple name like &#039;Republican&#039; [that] would more fitly designate those who had united to restore the Union to its true mission of champion and promulgator of Liberty rather than propagandist of slavery&amp;quot;.&amp;lt;ref name=&amp;quot;ushistory&amp;quot;&amp;gt;{{cite web|url=http://www.ushistory.org/gop/origins.htm|title=The Origins of the Republican Party|publisher=UShistory.org|date=July 4, 1995|access-date=October 25, 2012|archive-url=https://web.archive.org/web/20120930194002/http://www.ushistory.org/gop/origins.htm|archive-date=September 30, 2012|url-status=live}}&amp;lt;/ref&amp;gt; The name reflects the 1776 republican values of civic virtue and opposition to aristocracy and corruption.&amp;lt;ref name=&amp;quot;Gould2003p14&amp;quot;&amp;gt;Gould, pp. 14–15&amp;lt;/ref&amp;gt; &amp;quot;Republican&amp;quot; has a variety of meanings around the world, and the Republican Party has evolved such that the meanings no longer always align.&amp;lt;ref name=&amp;quot;Republican Party | political party&amp;quot;&amp;gt;{{Cite encyclopedia|url=https://www.britannica.com/topic/Republican-Party|title=Republican Party {{!}} political party, United States [1854–present]|encyclopedia=Encyclopædia Britannica|access-date=May 9, 2017|archive-url=https://web.archive.org/web/20170505234240/https://www.britannica.com/topic/Republican-Party|archive-date=May 5, 2017|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|url=https://www.theatlantic.com/politics/archive/2011/10/the-changing-definition-of-conservative/246652/?single_page=true|title=The Changing Definition of &#039;Conservative&#039;|last=Joyner|first=James|work=[[The Atlantic]]|access-date=May 9, 2017|archive-url=https://web.archive.org/web/20170525034711/https://www.theatlantic.com/politics/archive/2011/10/the-changing-definition-of-conservative/246652/?single_page=true|archive-date=May 25, 2017|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The term &amp;quot;Grand Old Party&amp;quot; is a traditional nickname for the Republican Party, and the abbreviation &amp;quot;GOP&amp;quot; is a commonly used designation. The term originated in 1875 in the &#039;&#039;[[Congressional Record]]&#039;&#039;, referring to the party associated with the successful military defense of the Union as &amp;quot;this gallant old party&amp;quot;. The following year in an article in the &#039;&#039;[[Cincinnati Commercial]]&#039;&#039;, the term was modified to &amp;quot;grand old party&amp;quot;. The first use of the abbreviation is dated 1884.&amp;lt;ref&amp;gt;&amp;quot;Grand Old Party&amp;quot;, &#039;&#039;[[Oxford English Dictionary]]&#039;&#039;.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The traditional mascot of the party is the elephant. A political cartoon by [[Thomas Nast]], published in &#039;&#039;[[Harper&#039;s Weekly]]&#039;&#039; on November 7, 1874, is considered the first important use of the symbol.&amp;lt;ref name=harpweek/&amp;gt; The cartoon was published during the debate over [[Ulysses S. Grant#Third term attempt|a third term for President Ulysses S. Grant]]. It draws imagery and text from the [[Aesop]] fable &amp;quot;[[The Ass in the Lion&#039;s Skin]]&amp;quot;, combined with rumors of animals escaping from the [[Central Park Zoo]].&lt;br /&gt;
An alternate symbol of the Republican Party in states such as Indiana, New York and Ohio is the bald eagle as opposed to the Democratic rooster or the Democratic five-pointed star.&amp;lt;ref&amp;gt;{{cite web|url=http://www.unc.edu/~asreynol/ballot_pages/us_ballot_pages/indiana.html|title=Ballots of United States: Indiana|publisher=University of North Carolina|access-date=February 6, 2017|archive-url=https://web.archive.org/web/20170525034148/http://www.unc.edu/~asreynol/ballot_pages/us_ballot_pages/indiana.html|archive-date=May 25, 2017|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|title=Poor Ballot Design Hurts New York&#039;s Minor Parties&amp;amp;nbsp;... Again|publisher=[[Brennan Center for Justice]]|first=Tomas|last=Lopez|date=October 23, 2014|url=https://www.brennancenter.org/blog/poor-ballot-design-hurts-new-yorks-minor-parties-again|access-date=February 6, 2017|archive-url=https://web.archive.org/web/20170207031521/https://www.brennancenter.org/blog/poor-ballot-design-hurts-new-yorks-minor-parties-again|archive-date=February 7, 2017|url-status=dead}}&amp;lt;/ref&amp;gt; In [[Kentucky]], the [[log cabin]] is a symbol of the Republican Party.&amp;lt;ref&amp;gt;{{cite web|url=http://westkentuckystar.com/News/Local-Regional/Western-Kentucky/See-Sample-Ballots-for-Today-s-Primary-Elections.aspx|title=See Sample Ballots for Today&#039;s Primary Elections|publisher=West Kentucky Star|date=May 19, 2015|access-date=February 6, 2017|archive-url=https://web.archive.org/web/20170207032021/http://westkentuckystar.com/News/Local-Regional/Western-Kentucky/See-Sample-Ballots-for-Today-s-Primary-Elections.aspx|archive-date=February 7, 2017|url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Traditionally the party had no consistent color identity.&amp;lt;ref&amp;gt;{{cite news|url=https://www.washingtonpost.com/news/the-fix/wp/2016/11/08/red-vs-blue-a-brief-history-of-how-we-use-political-colors/|title=Red vs. Blue: A history of how we use political colors|last=Bump|first=Philip|date=November 8, 2016|newspaper=[[The Washington Post]]|access-date=October 30, 2017|archive-url=https://web.archive.org/web/20171107022519/https://www.washingtonpost.com/news/the-fix/wp/2016/11/08/red-vs-blue-a-brief-history-of-how-we-use-political-colors/|archive-date=November 7, 2017|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://washingtonmonthly.com/2004/11/13/red-state-blue-state-2/|title=Red State, Blue State|last=Drum|first=Kevin|date=November 13, 2004|website=Washington Monthly|access-date=October 30, 2017|archive-url=https://web.archive.org/web/20171107013719/https://washingtonmonthly.com/2004/11/13/red-state-blue-state-2/|archive-date=November 7, 2017|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://washingtonmonthly.com/2004/11/14/red-states-and-blue-states-explained/|title=Red States and Blue States&amp;amp;nbsp;... Explained!|last=Drum|first=Kevin|date=November 14, 2004|website=Washington Monthly|access-date=October 30, 2017|archive-url=https://web.archive.org/web/20171107013032/https://washingtonmonthly.com/2004/11/14/red-states-and-blue-states-explained/|archive-date=November 7, 2017|url-status=live}}&amp;lt;/ref&amp;gt; After the 2000 presidential election, the color [[Political colour|red became associated]] with Republicans. During and after the election, the major broadcast networks used the same color scheme for the electoral map: states won by Republican nominee George W. Bush were colored red and states won by Democratic nominee [[Al Gore]] were colored blue. Due to the weeks-long [[2000 United States presidential election recount in Florida|dispute over the election results]], these color associations became firmly ingrained, persisting in subsequent years. Although the assignment of colors to political parties is unofficial and informal, the media has come to represent the respective political parties using these colors. The party and its candidates have also come to embrace the color red.&amp;lt;ref&amp;gt;{{cite news |first1=Philip |last1=Bump |title=Red vs. Blue: A history of how we use political colors |url=https://www.washingtonpost.com/news/the-fix/wp/2016/11/08/red-vs-blue-a-brief-history-of-how-we-use-political-colors/?noredirect=on |newspaper=[[The Washington Post]] |access-date=November 8, 2018 |archive-date=February 22, 2021 |archive-url=https://web.archive.org/web/20210222013526/https://www.washingtonpost.com/news/the-fix/wp/2016/11/08/red-vs-blue-a-brief-history-of-how-we-use-political-colors/?noredirect=on |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot;&amp;gt;&lt;br /&gt;
File:NastRepublicanElephant.jpg|An 1874 cartoon by [[Thomas Nast]], featuring the first notable appearance of the Republican elephant&amp;lt;ref name=harpweek&amp;gt;{{cite web|title=The Third-Term Panic|work=Cartoon of the Day|date=November 7, 2003|url=http://www.harpweek.com/09Cartoon/BrowseByDateCartoon.asp?Year=2003&amp;amp;Month=November&amp;amp;Date=7|access-date=September 5, 2011|archive-url=https://web.archive.org/web/20110921045800/http://www.harpweek.com/09Cartoon/BrowseByDateCartoon.asp?Year=2003&amp;amp;Month=November&amp;amp;Date=7|archive-date=September 21, 2011|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
File:Republicanlogo.svg|The red, white and blue elephant as seen on the GOP website in 2011&lt;br /&gt;
File:GOP logo (2004–2015).svg|The GOP banner logo, {{circa|2013}}&lt;br /&gt;
File:GOP logo.svg|A GOP banner logo, {{circa|2017}}&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Factions ==&lt;br /&gt;
{{main|Factions in the Republican Party (United States)}}&lt;br /&gt;
&lt;br /&gt;
=== Civil War and Reconstruction era ===&lt;br /&gt;
{{main|Radical Republicans}}&lt;br /&gt;
[[File:Thaddeus Stevens - Brady-Handy-crop.jpg|thumb|upright=.7|U.S. representative [[Thaddeus Stevens]], considered a leader of the Radical Republicans, was a fierce opponent of slavery and discrimination against [[African Americans]].]]&lt;br /&gt;
&lt;br /&gt;
The [[Radical Republicans]] were a major factor of the party from its inception in 1854 until the end of the [[Reconstruction Era]] in 1877. They strongly opposed [[Slavery in the United States|slavery]], were hard-line [[Abolitionism|abolitionists]], and later advocated equal rights for the [[freedmen]] and women. They were heavily influenced by religious ideals and [[Evangelicalism|evangelical Christianity]].&amp;lt;ref name=&amp;quot;Howard2015&amp;quot;&amp;gt;{{cite book |first=Victor B. |last=Howard |url=https://books.google.com/books?id=6bIfBgAAQBAJ&amp;amp;pg=PA1 |title=Religion and the Radical Republican Movement, 1860–1870 |publisher=University Press of Kentucky |year=2015 |isbn=978-0-8131-6144-0 |access-date=March 24, 2023 |archive-date=December 15, 2023 |archive-url=https://web.archive.org/web/20231215023724/https://books.google.com/books?id=6bIfBgAAQBAJ&amp;amp;pg=PA1#v=onepage&amp;amp;q&amp;amp;f=false |url-status=live }}&amp;lt;/ref&amp;gt; Radical Republicans pressed for abolition as a major war aim and they opposed the moderate Reconstruction plans of Abraham Lincoln as both too lenient on the [[Confederate States of America|Confederates]] and not going far enough to help former slaves. After the war&#039;s end and Lincoln&#039;s assassination, the Radicals clashed with [[Andrew Johnson]] over Reconstruction policy. Radicals led efforts to establish civil rights for former slaves and fully implement emancipation, pushing the [[Fourteenth Amendment to the United States Constitution|Fourteenth Amendment]] for statutory protections through [[United States Congress|Congress]]. They opposed allowing ex-[[Confederate States of America|Confederate]] officers to retake political power in the [[Southern U.S.]], and emphasized liberty, equality, and the [[Fifteenth Amendment to the United States Constitution|Fifteenth Amendment]] which provided [[voting rights]] for the [[Freedman#United States|freedmen]]. Many later became [[Stalwarts]], who supported machine politics.&lt;br /&gt;
&lt;br /&gt;
[[Moderate Republicans (Reconstruction era)|Moderate Republicans]] were known for their loyal support of President [[Abraham Lincoln]]&#039;s war policies and expressed antipathy towards the more militant stances advocated by the Radical Republicans. In contrast to Radicals, Moderate Republicans were less enthusiastic on the issue of Black suffrage even while embracing civil equality and the expansive federal authority observed throughout the [[American Civil War]]. They were also skeptical of the lenient, conciliatory Reconstruction policies of President Andrew Johnson. Members of the Moderate Republicans comprised in part of previous Radical Republicans who became disenchanted with the alleged corruption of the latter faction. They generally opposed efforts by Radical Republicans to rebuild the Southern U.S. under an economically mobile, [[Free market|free-market]] system.&amp;lt;ref&amp;gt;{{Cite book |last=Foner |first=Eric |title=Reconstruction: America&#039;s Unfinished Revolution, 1863–1877 |year=1988 |edition=1st |pages=236–37 |author-link=Eric Foner}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 20th century ===&lt;br /&gt;
[[File:Goldwater-Reagan in 1964.jpg|thumb|[[Ronald Reagan]] speaks in support of Republican presidential candidate [[Barry Goldwater]] during the [[1964 United States presidential election|1964 presidential campaign]]]]&lt;br /&gt;
The 20th century saw the Republican party split into an [[Old Right (United States)|Old Right]] and a moderate-liberal faction in the Northeast that eventually became known as [[Rockefeller Republicans]]. Opposition to Roosevelt&#039;s [[New Deal]] saw the formation of the [[conservative coalition]].&amp;lt;ref name=&amp;quot;Bowen&amp;quot;&amp;gt;{{Cite web|url=https://www.uncpress.org/book/9781469618968/the-roots-of-modern-conservatism|title=The Roots of Modern Conservatism {{!}} Michael Bowen|website=University of North Carolina Press|access-date=May 20, 2019|archive-url=https://web.archive.org/web/20170522220118/https://www.uncpress.org/book/9781469618968/the-roots-of-modern-conservatism/|archive-date=May 22, 2017|url-status=live}}&amp;lt;/ref&amp;gt; The 1950s saw [[fusionism]] of traditionalist and social conservatism and right-libertarianism,&amp;lt;ref name=&amp;quot;New Fusionism&amp;quot;&amp;gt;{{cite journal |last1=Ashbee |first1=Edward |last2=Waddan |first2=Alex |title=US Republicans and the New Fusionism |journal=[[The Political Quarterly]] |date=December 13, 2023 |volume=95 |pages=148–156 |doi=10.1111/1467-923X.13341 |s2cid=266282896 |issn=1467-923X |language=en-us}}&amp;lt;/ref&amp;gt; along with the rise of the [[New Right#United States|First New Right]] to be followed in 1964 with a more populist [[New Right#Second New Right|Second New Right]].&amp;lt;ref&amp;gt;{{cite book|last1=Gottfried|first1=Paul|last2=Fleming|first2=Thomas|author-link1=Paul Gottfried|author-link2=Thomas Fleming (political writer) |year=1988 |title=The Conservative Movement |location=Boston|publisher=Twayne Publishers|pages=77–95|isbn=0805797238}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The rise of the [[Reagan coalition]] in the 1980s began what has been called the [[Reagan era]]. Reagan&#039;s rise displaced the liberal-moderate faction of the GOP and established Reagan-style conservatism as the prevailing ideological faction of the Party for the next thirty years, until the rise of the [[right-wing populism|right-wing populist]] faction.&amp;lt;ref name=&amp;quot;Smith-2021&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Ward 08-26-22&amp;quot;&amp;gt;{{Cite news |last=Ward |first=Ian |date=August 26, 2022|title=Trump Didn&#039;t Kill Reaganism. These Guys Did. |url=https://www.politico.com/news/magazine/2022/08/26/reagan-conservatism-nicole-hemmer-q-and-a-00053858 |access-date=February 8, 2024 |work=Politico |language=en-US}}&amp;lt;/ref&amp;gt; Reagan conservatives generally supported policies that favored [[limited government]], [[individualism]], [[tradition]]alism, [[Republicanism in the United States|republicanism]], and limited [[Federal government of the United States|federal governmental]] power [[States&#039; rights|in relation]] to [[U.S. state|the states]].&amp;lt;ref name=&amp;quot;political-ideology-today&amp;quot;&amp;gt;{{cite book |last=Adams |first=Ian |url=https://books.google.com/books?id=apstK1qIvvMC&amp;amp;pg=PA32 |title=Political Ideology Today |publisher=Manchester University Press |year=2001 |isbn=978-0719060205 |edition=reprinted, revised |location=Manchester |pages=32–33 |quote=Ideologically, all US parties are liberal and always have been. Essentially they espouse classical liberalism, that is a form of democratised Whig constitutionalism plus the free market. The point of difference comes with the influence of social liberalism&amp;quot; and the proper role of government... ...the American right has nothing to do with maintaining the traditional social order, as in Europe. What it believes in is... individualism... The American right has tended towards... classical liberalism... |access-date=February 2, 2023 |archive-date=January 20, 2023 |archive-url=https://web.archive.org/web/20230120193242/https://books.google.com/books?id=apstK1qIvvMC&amp;amp;pg=PA32 |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 21st century ===&lt;br /&gt;
{{see also|Neoconservatism|Tea Party movement|Right-wing populism|Trumpism}}&lt;br /&gt;
Republicans began the 21st century with the election of [[George W. Bush]] in the [[2000 United States presidential election]] and saw the peak of a [[neoconservative]] faction that held significant influence over the initial American response to the [[September 11 attacks]] through the [[War on Terror]].&amp;lt;ref name = &amp;quot;Rathburn 2008&amp;quot;&amp;gt;{{cite journal |last1=Rathburn |first1=Brian C. |title=Does One Right Make a Realist? Conservatism, Neoconservatism, and Isolationism in the Foreign Policy Ideology of American Elites |journal=[[Political Science Quarterly]] |volume=123 |issue=2 |date=Summer 2008 |pages=271–299 |doi=10.1002/j.1538-165X.2008.tb00625.x |issn=1538-165X |language=en-us}}&amp;lt;/ref&amp;gt; The election of [[Barack Obama]] saw the formation of the [[Tea Party movement]] in 2009 that coincided with a global rise in [[right-wing populism|right-wing populist]] movements from the 2010s to 2020s.&amp;lt;ref name = &amp;quot;Isaac2017&amp;quot;&amp;gt;{{cite journal |last1=Isaac |first1=Jeffrey |title=Making America Great Again? |journal=Perspectives on Politics |publisher=Cambridge University Press |volume=15 |issue=3 |date=November 2017 |pages=625–631 |doi=10.1017/S1537592717000871 |doi-access=free }}&amp;lt;/ref&amp;gt; The global rise in right-wing populism has been attributed to factors including higher educational attainment, a decline in organized religion, backlash to globalization, and [[Migrant crisis|migrant crises]].&amp;lt;ref name=&amp;quot;Fallen Behind&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Maxwell 2019&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right-wing populism became an increasingly dominant ideological faction within the GOP throughout the 2010s and helped lead to the election of [[Donald Trump]] in 2016.&amp;lt;ref name=&amp;quot;campani&amp;quot;&amp;gt;{{Cite journal |last1=Campani |first1=Giovanna |last2=Fabelo Concepción |first2=Sunamis |last3=Rodriguez Soler |first3=Angel |last4=Sánchez Savín |first4=Claudia |date=December 2022 |title=The Rise of Donald Trump Right-Wing Populism in the United States: Middle American Radicalism and Anti-Immigration Discourse |journal=Societies |language=en |volume=12 |issue=6 |pages=154 |doi=10.3390/soc12060154 |issn=2075-4698 |doi-access=free }}&amp;lt;/ref&amp;gt; Starting in the 1970s and accelerating in the 2000s, American right-wing interest groups invested heavily in external mobilization vehicles that led to the organizational weakening of the GOP establishment. The outsize role of conservative media, in particular [[Fox News]], led to it being followed and trusted more by the Republican base over traditional party elites. The depletion of organizational capacity partly led to Trump&#039;s victory in the Republican primaries against the wishes of a very weak party establishment and traditional power brokers.&amp;lt;ref name=&amp;quot;Gidron-2019&amp;quot;/&amp;gt;{{Rp|27–28}} Trump&#039;s election exacerbated internal schisms within the GOP,&amp;lt;ref name=&amp;quot;Gidron-2019&amp;quot;&amp;gt;{{Cite journal |last1=Gidron |first1=Noam |last2=Ziblatt |first2=Daniel |date=2019 |title=Center-Right Political Parties in Advanced Democracies |journal=Annual Review of Political Science | publisher=[[Annual Reviews (publisher)|Annual Reviews]] |language=en |volume=12 |pages=17–35 |doi=10.1146/annurev-polisci-090717-092750 |issn=1094-2939 |doi-access=free }}&amp;lt;/ref&amp;gt;{{Rp|18}} and saw the GOP move from a center coalition of moderates and conservatives to a solidly right-wing party hostile to liberal views and any deviations from the party line.&amp;lt;ref&amp;gt;{{Citation |last=McKay |first=David |title=Facilitating Donald Trump: Populism, the Republican Party and Media Manipulation |date=2020 |work=Authoritarian Populism and Liberal Democracy |pages=107–121 |editor-last=Crewe |editor-first=Ivor |url=https://doi.org/10.1007/978-3-030-17997-7_7 |access-date=2024-06-13 |place=Cham |publisher=Springer International Publishing |language=en |doi=10.1007/978-3-030-17997-7_7 |isbn=978-3-030-17997-7 |quote=&amp;quot;the Republicans changed from being a right of centre coalition of moderates and conservatives to an unambiguously right-wing party that was hostile not only to liberal views but also to any perspective that clashed with the core views of an ideologically cohesive conservative cadre of party faithfuls&amp;quot; |editor2-last=Sanders |editor2-first=David|url-access=subscription }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Party has since faced intense factionalism.&amp;lt;ref&amp;gt;{{Cite news |last=Broadwater |first=Luke |date=2023-10-23 |title=&#039;5 Families&#039; and Factions Within Factions: Why the House G.O.P. Can&#039;t Unite |language=en-US |work=The New York Times |url=https://www.nytimes.com/2023/10/23/us/politics/house-republicans-divisions-speaker.html |access-date=2023-10-27 |issn=0362-4331 |archive-date=October 27, 2023 |archive-url=https://web.archive.org/web/20231027050850/https://www.nytimes.com/2023/10/23/us/politics/house-republicans-divisions-speaker.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://projects.fivethirtyeight.com/types-democrats-republicans-house-2024/|title=The 8 Types Of Democrats And Republicans In The House|website=FiveThirtyEight|date=May 4, 2024|access-date=May 4, 2024|archive-date=May 3, 2024|archive-url=https://web.archive.org/web/20240503180719/https://projects.fivethirtyeight.com/types-democrats-republicans-house-2024/|url-status=dead}}&amp;lt;/ref&amp;gt; These factions are particularly apparent in the [[United States House of Representatives|U.S. House of Representatives]], where three Republican House leaders ([[Eric Cantor]], [[John Boehner]], and [[Kevin McCarthy]]) have been ousted since 2009.&amp;lt;ref name=&amp;quot;McCarthy 2009&amp;quot;&amp;gt;{{Cite news|url=https://www.washingtonpost.com/politics/2023/10/05/mccarthy-trump-speaker-removed-tea-party/|title=McCarthy thought he could harness forces of disruption. Instead they devoured him.|newspaper=The Washington Post|date=October 5, 2023|first1=Paul|last1=Kane|quote=As far back as 2009, the future House speaker tried to channel the anti-politician, tea party wave building into a political force, but the movement crushed him.|archive-date=August 11, 2024|access-date=August 4, 2024|archive-url=https://web.archive.org/web/20240811014139/https://www.washingtonpost.com/politics/2023/10/05/mccarthy-trump-speaker-removed-tea-party/|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last=Martin |first=Jonathan |date=2014-06-10 |title=Eric Cantor Defeated by David Brat, Tea Party Challenger, in G.O.P. Primary Upset |website=[[The New York Times]] |url=https://www.nytimes.com/2014/06/11/us/politics/eric-cantor-loses-gop-primary.html |url-access=subscription |access-date=August 4, 2024 |archive-date=June 11, 2014 |archive-url=https://web.archive.org/web/20140611015851/http://www.nytimes.com/2014/06/11/us/politics/eric-cantor-loses-gop-primary.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=newyorker&amp;gt;{{cite magazine|url=http://www.newyorker.com/magazine/2015/12/14/a-house-divided|title=A House Divided: How a radical group of Republicans pushed Congress to the right|first=Ryan|last=Lizza|magazine=The New Yorker|date=December 14, 2015|access-date=January 8, 2016|archive-date=February 7, 2021|archive-url=https://web.archive.org/web/20210207063302/https://www.newyorker.com/magazine/2015/12/14/a-house-divided|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;resign1&amp;quot;&amp;gt;{{cite news |title=John Boehner Will Resign From Congress |first=Jennifer |last=Steinhauer |work=The New York Times |url=https://www.nytimes.com/2015/09/26/us/boehner-will-resign-from-congress.html |date=September 25, 2015 |access-date=October 8, 2015 |archive-date=March 27, 2021 |archive-url=https://web.archive.org/web/20210327185152/https://www.nytimes.com/2015/09/26/us/john-boehner-to-resign-from-congress.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |date=2023-01-07 |title=McCarthy elected House speaker in rowdy post-midnight vote |url=https://apnews.com/article/politics-united-states-house-of-representatives-kevin-mccarthy-us-republican-party-0938c7358f41c83759246f8949ac7c15 |access-date=2024-04-22 |website=AP News |language=en |archive-date=January 7, 2023 |archive-url=https://web.archive.org/web/20230107135727/https://apnews.com/article/politics-united-states-house-of-representatives-kevin-mccarthy-us-republican-party-0938c7358f41c83759246f8949ac7c15 |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |date=2023-10-03 |title=Speaker McCarthy ousted in historic House vote, as scramble begins for a Republican leader |url=https://apnews.com/article/mccarthy-gaetz-speaker-motion-to-vacate-congress-327e294a39f8de079ef5e4abfb1fa555 |access-date=2024-04-22 |website=AP News |language=en |archive-date=October 3, 2023 |archive-url=https://web.archive.org/web/20231003173947/https://apnews.com/article/mccarthy-gaetz-speaker-motion-to-vacate-congress-327e294a39f8de079ef5e4abfb1fa555 |url-status=live }}&amp;lt;/ref&amp;gt; All three of the top Republican elected officials during Trump&#039;s first term (Vice President, Speaker of the House, and Senate Republican leader) were ousted or stepped down by Trump&#039;s second term.&lt;br /&gt;
&lt;br /&gt;
The party&#039;s [[The Establishment#United States|establishment]] conservative faction has lost all of its influence.&amp;lt;ref name=&amp;quot;Biebricher-2023&amp;quot;&amp;gt;{{Cite journal |last1=Biebricher |first1=Thomas |date=October 25, 2023 |title=The Crisis of American Conservatism in Historical–Comparative Perspective |journal=Politische Vierteljahresschrift |volume=65 |issue=2 |pages=233–259 |language=en |doi=10.1007/s11615-023-00501-2 |issn=2075-4698 |doi-access=free |hdl=10419/312444 |hdl-access=free }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Arhin-2023&amp;quot;&amp;gt;{{Cite journal |last1=Arhin |first1=Kofi |last2=Stockemer |first2=Daniel |last3=Normandin |first3=Marie-Soleil |date=May 29, 2023 |title=THE REPUBLICAN TRUMP VOTER: A Populist Radical Right Voter Like Any Other? |journal=[[World Affairs]] |language=en |volume=186 |issue=3 |doi=10.1177/00438200231176818 |issn=1940-1582 |doi-access=free |quote= In this article, we first illustrate that the Republican Party, or at least the dominant wing, which supports or tolerates Donald Trump and his Make America Great Again (MAGA) agenda have become a proto-typical populist radical right-wing party (PRRP).}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Punchbowl Old GOP&amp;quot;&amp;gt;{{Cite news |last1=Desiderio |first1=Andrew |last2=Sherman |first2=Jake |last3=Bresnahan |first3=John |date=February 7, 2024 |title=The end of the Old GOP |language=en-US |work=[[Punchbowl News]] |url=https://punchbowl.news/article/the-end-of-the-old-republican-party-senate-conference/ |access-date=February 8, 2024 |archive-date=February 7, 2024 |archive-url=https://web.archive.org/web/20240207114758/https://punchbowl.news/article/the-end-of-the-old-republican-party-senate-conference/ |url-status=live |quote=The structures and standards that have come to define the GOP have been breaking down since the Tea Party movement began in 2009. They were further eroded when Trump won the White House in 2016. But in recent months, the last holdout of the old Republican Party — the Senate GOP Conference — has all but abandoned many of its generational positions on foreign policy and governance. ... McConnell, perhaps the embodiment of the Republican Party for the last 40 years, is increasingly looking like an anachronism — and not just on policy.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Price of Power&amp;quot;&amp;gt;{{cite book | last=Tackett | first=Michael | url=https://books.google.com/books?id=VF0CEQAAQBAJ| title=The Price of Power: How Mitch McConnell Mastered the Senate, Changed America, and Lost His Party | publisher=Simon and Schuster | publication-place=New York | date=2024 | isbn=978-1-6680-0584-2|quote=The Trump years brought with them the rise of an almost unrecognizable Republican party, suffused with a reactive populism that even McConnell himself would struggle to control.}}&amp;lt;/ref&amp;gt; Many conservatives critical of the Trumpist faction have also lost influence within the party, with no former Republican presidential or vice presidential nominees attending the [[2024 Republican National Convention]].&amp;lt;ref name=&amp;quot;Not Coming to Milwaukee&amp;quot;&amp;gt;{{Cite web|url=https://www.nytimes.com/2024/07/16/us/politics/rnc-bush-quayle-pence-cheney-romney.html|title=Guess Who&#039;s Not Coming to Milwaukee? Bush, Quayle, Pence, Cheney or Romney|date=July 16, 2024|website=The New York Times|first1=Adam|last1=Nagourney|access-date=September 17, 2024|archive-date=September 16, 2024|archive-url=https://web.archive.org/web/20240916130252/https://www.nytimes.com/2024/07/16/us/politics/rnc-bush-quayle-pence-cheney-romney.html|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;washingtonpost.com&amp;quot;&amp;gt;{{Cite news|title=Trump&#039;s overhaul of GOP shows his sway but leaves some on sidelines|date=Jul 19, 2024|newspaper=The Washington Post|first1=Josh|last1=Dawsey|first2=Isaac|last2=Arnsdorf|first3=Laura|last3=Vozzella|url=https://www.washingtonpost.com/politics/2024/07/19/trump-republican-party-traditional-conservatives-milwaukee/|access-date=August 4, 2024|archive-date=July 21, 2024|archive-url=https://web.archive.org/web/20240721115428/https://www.washingtonpost.com/politics/2024/07/19/trump-republican-party-traditional-conservatives-milwaukee/|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The victory of Trump in the 2024 presidential election saw the party increasingly shift towards [[Trumpism]],&amp;lt;ref name=&amp;quot;Cohn 12252024&amp;quot;&amp;gt;{{Cite web|url=https://www.nytimes.com/2024/12/25/upshot/trump-era-republicans-democrats.html|title=Trump&#039;s Re-election Defines a New Era of American Politics|date=December 25, 2024|access-date=December 25, 2024|website=The New York Times|first1=Nate|last1=Cohn|quote=Instead, it&#039;s the three Trump elections — in 2016, 2020 and 2024 — that look as if they have the makings of a new era of politics, one defined by Donald J. Trump&#039;s brand of conservative populism. ... Much of the Republican Party’s old establishment — like the Cheneys, the Romneys, Paul Ryan — is now without a home.|archive-date=December 25, 2024|archive-url=https://web.archive.org/web/20241225055712/https://www.nytimes.com/2024/12/25/upshot/trump-era-republicans-democrats.html|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Ball 2024&amp;quot;/&amp;gt; and party criticism of Trump was described as being muted to non-existent. &#039;&#039;The New York Times&#039;&#039; described it as a &amp;quot;hostile takeover&amp;quot;,&amp;lt;ref name=&amp;quot;Swan 12122024&amp;quot;&amp;gt;{{Cite news |last1=Swan |first1=Jonathan |last2=Haberman |first2=Maggie |date=December 12, 2024 |title=The Stock Market and TV: Trump&#039;s Most Durable Guardrails |work=The New York Times |url=https://www.nytimes.com/2024/12/12/us/politics/trump-tv-stock-market.html |url-access=subscription |access-date=January 20, 2025 |issn=0362-4331 |quote=Mr. Trump is likely to receive only the meekest resistance from his own party, which will control both the House and Senate and whose members fear Trump-backed primary challengers. He has completed his hostile takeover of the Republican Party and the dissenters have been driven into retirement, defeated in primaries or cowed into silence. |archive-date=January 28, 2025 |archive-url=https://web.archive.org/web/20250128231646/https://www.nytimes.com/2024/12/12/us/politics/trump-tv-stock-market.html |url-status=live }}&amp;lt;/ref&amp;gt; and a victory of right-wing populism over the old conservative establishment.&amp;lt;ref name=&amp;quot;Cohn 12252024&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Price of Power&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Cliffe 2023&amp;quot;/&amp;gt; Polling found that 53% of Republican voters saw loyalty to Trump as central to their political identity and what it means to be a Republican.&amp;lt;ref&amp;gt;{{Cite news |last=Edwards-Levy |first=Ariel |date=January 19, 2025 |title=CNN Poll: Most Democrats think their party needs major change, while the GOP coalesces around Trump |work=CNN |url=https://www.cnn.com/2025/01/19/politics/democrats-party-change-cnn-poll/index.html |access-date=January 20, 2025 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During Trump&#039;s second presidency, Republican members of Congress were described by &#039;&#039;[[The New Republic]]&#039;&#039; magazine as submissive to Trump, letting him dictate policies without pushback.&amp;lt;ref&amp;gt;{{Cite magazine|url=https://newrepublic.com/post/191772/republican-lawmakers-trumpism-power-media|title=The Incredible Disappearing Republican Lawmaker|quote=The GOP&#039;s total withdrawal from governing is nearly complete, and they’re increasingly determined to push the entire legislative branch into functional irrelevance.|first1=Jason|last1=Linkins|magazine=The New Republic|date=February 23, 2025|access-date=February 23, 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://www.nytimes.com/2025/03/20/us/politics/trump-power-courts-crisis.html|title=How Trump Is Trying to Consolidate Power Over Courts, Congress and More|quote=President Trump’s expansive interpretation of presidential power has become the defining characteristic of his second term.|first1=Erica L.|last1=Green|first2=Zolan|last2=Kanno-Youngs|first3=Maggie|last3=Haberman|website=The New York Times|date=March 20, 2025|access-date=March 20, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Right-wing populists ====&lt;br /&gt;
{{main|Right-wing populism|Trumpism}}&lt;br /&gt;
{{see also|Radical right (United States)|National conservatism|Freedom Caucus}}&lt;br /&gt;
[[File:JD Vance Inaugural Portrait (cropped).png|thumb|[[JD Vance]], Donald Trump&#039;s vice president during Trump&#039;s second term. Initially critical of Trump, he became a staunch advocate of [[Trumpism]] later into Trump&#039;s first term and has been described as a [[right-wing populist]].&amp;lt;ref&amp;gt;{{Cite news |last=Orr |first=James |author-link=James Orr (theologian) |date=2024-07-16 |title=JD Vance&#039;s nomination proves Trumpism is here to stay |url=https://www.telegraph.co.uk/news/2024/07/16/vance-nomination-proves-trumpism-is-here-to-stay/ |access-date=2024-07-17 |work=[[The Daily Telegraph]] |issn=0307-1235 |archive-date=July 18, 2024 |archive-url=https://web.archive.org/web/20240718054932/https://www.telegraph.co.uk/news/2024/07/16/vance-nomination-proves-trumpism-is-here-to-stay/ |url-status=live }}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
[[Right-wing populism]] is the dominant political faction of the GOP.{{refn|name=&amp;quot;Dominant&amp;quot;|&lt;br /&gt;
* {{Cite journal |last=Winberg |first=Oscar |date=2017 |title=Insult Politics: Donald Trump, Right-Wing Populism, and Incendiary Language |url=https://journals.openedition.org/ejas/12132 |journal=European Journal of American Studies |volume=12 |issue=2 |access-date=February 2, 2025 |pages=1–16 |issn=1991-9336 |doi=10.4000/ejas.12132 |url-status=live |archive-url=https://web.archive.org/web/20241231182356/https://journals.openedition.org/ejas/12132 |archive-date=December 31, 2024 |quote-pages=5-6|quote=With the presidency of George W. Bush, coinciding with the ascendance of the conservative media establishment and ending with the mass protests of the Tea Party, the long tradition of right-wing populism was a firmly institutionalized part of the conservative movement and, by extension, the Republican Party. Trump&#039;s rise should be understood as part of the long tradition of right-wing populism and the ultimate triumph of the Tea Party movement; a right-wing populist eruption within the Republican Party fueled by both a conservative media establishment and anti-intellectual and, at times, overtly racial appeals.}}&lt;br /&gt;
* {{Cite journal |last=Fiorino |first=Daniel J. |date=2022 |title=Climate change and right-wing populism in the United States |url=https://www.tandfonline.com/doi/abs/10.1080/09644016.2021.2018854 |journal=Environmental Politics |volume=31 |issue=5 |access-date=February 2, 2025 |pages=801–819 |issn=0964-4016 |doi=10.1080/09644016.2021.2018854 |bibcode=2022EnvPo..31..801F |url-status=live |archive-url=https://web.archive.org/web/20240612140013/https://www.tandfonline.com/doi/abs/10.1080/09644016.2021.2018854 |archive-date=June 12, 2024 |quote=In recent years, the Republican Party in the United States has taken on the characteristics of right-wing populism, especially under President Donald Trump. Like most right-wing populist parties, the party under Trump is hostile to climate mitigation. This is reflected in skepticism or rejection of climate science, opposition to multilateral institutions and agreements, aggressive domestic exploitation of fossil fuels, and depiction of climate advocates and experts as ‘elites’ set on undermining the will of ‘the people’.|url-access=subscription }}&lt;br /&gt;
* {{Cite journal |last1=Arhin |first1=Kofi |last2=Stockemer |first2=Daniel |last3=Normandin |first3=Marie-Soleil |date=May 29, 2023 |title=The Republican Trump Voter: A Populist Radical Right Voter Like Any Other? |journal=[[World Affairs]] |language=en |volume=186 |issue=3 |doi=10.1177/00438200231176818 |issn=1940-1582 |doi-access=free |quote= In this article, we first illustrate that the Republican Party, or at least the dominant wing, which supports or tolerates Donald Trump and his Make America Great Again (MAGA) agenda have become a proto-typical populist radical right-wing party (PRRP).}}&lt;br /&gt;
* {{Cite web|url=https://www.nytimes.com/2024/11/25/upshot/democrats-trump-working-class.html|title=How Democrats Lost Their Base and their Message|quote=Donald Trump&#039;s populist pitch bumped Democrats off their traditional place in American politics.|website=The New York Times|first1=Nate|last1=Cohn|date=November 25, 2024|access-date=November 25, 2024|archive-date=November 25, 2024|archive-url=https://web.archive.org/web/20241125104053/https://www.nytimes.com/2024/11/25/upshot/democrats-trump-working-class.html|url-status=live}}&lt;br /&gt;
* {{Cite web|first1=John|last1=Burn-Murdoch|website=Financial Times|date=March 6, 2025|quote=US decisions can no longer be analyzed using assumptions shared across the democratic west|title=Why the Maga mindset is different|access-date=March 18, 2025|url=https://www.ft.com/content/3046013f-da85-4987-92a5-4a9e3008a9e1}}&lt;br /&gt;
* {{Cite journal |last1=Arhin |first1=Kofi |last2=Stockemer |first2=Daniel |last3=Normandin |first3=Marie-Soleil |date=May 29, 2023 |title=THE REPUBLICAN TRUMP VOTER: A Populist Radical Right Voter Like Any Other? |journal=[[World Affairs]] |language=en |volume=186 |issue=3 |doi=10.1177/00438200231176818 |issn=1940-1582 |doi-access=free |quote= In this article, we first illustrate that the Republican Party, or at least the dominant wing, which supports or tolerates Donald Trump and his Make America Great Again (MAGA) agenda have become a proto-typical populist radical right-wing party (PRRP).}}&lt;br /&gt;
* {{Cite web |last=Beauchamp |first=Zack |date=2024-07-19 |title=It&#039;s Trump&#039;s party now. Mostly. |url=https://www.vox.com/politics/361684/trump-speech-rnc-gop-republicans-project-2025 |access-date=2025-01-28 |website=Vox |language=en-US |archive-date=January 18, 2025 |archive-url=https://web.archive.org/web/20250118030630/https://www.vox.com/politics/361684/trump-speech-rnc-gop-republicans-project-2025 |url-status=live }}&lt;br /&gt;
* {{Cite web |last=Page |first=Susan |title=Trump&#039;s takeover: In a redefined GOP, populism and a new coalition. Goodbye, old guard |url=https://www.usatoday.com/story/news/politics/elections/2024/07/16/donald-trump-takeover-populism-and-a-new-coalition-reign-in-new-gop/74367458007/ |access-date=2025-01-28 |website=USA TODAY |language=en-US |archive-date=September 2, 2024 |archive-url=https://web.archive.org/web/20240902212758/https://www.usatoday.com/story/news/politics/elections/2024/07/16/donald-trump-takeover-populism-and-a-new-coalition-reign-in-new-gop/74367458007/ |url-status=live }}&lt;br /&gt;
* {{cite news |last1=Aratani |first1=Lauren |title=Republicans unveil two minimum wage bills in response to Democrats&#039; push |url=https://www.theguardian.com/us-news/2021/feb/26/republicans-minimum-wage-bills-senate |access-date=7 September 2021 |work=The Guardian |date=26 February 2021 |archive-url=https://web.archive.org/web/20210814230535/https://www.theguardian.com/us-news/2021/feb/26/republicans-minimum-wage-bills-senate |archive-date=14 August 2021 |quote=In keeping with the party&#039;s deep division between its dominant Trumpist faction and its more traditionalist party elites, the twin responses seem aimed at appealing on one hand to its corporate-friendly allies and on the other hand to its populist rightwing base. Both have an anti-immigrant element.}}&lt;br /&gt;
}} Sometimes referred to as the [[Make America Great Again|MAGA]] or &amp;quot;[[America First]]&amp;quot; movement,&amp;lt;ref name=&amp;quot;University of Washington 2021&amp;quot;&amp;gt;{{cite web | title=Panel Study of the MAGA Movement | website=University of Washington | date=January 6, 2021 | url=https://sites.uw.edu/magastudy/ | access-date=March 24, 2024 | archive-date=March 24, 2024 | archive-url=https://web.archive.org/web/20240324054136/https://sites.uw.edu/magastudy/ | url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Gabbatt Smith 2023&amp;quot;&amp;gt;{{cite web | last1=Gabbatt | first1=Adam | last2=Smith | first2=David | title=&#039;America First 2.0&#039;: Vivek Ramaswamy pitches to be Republicans&#039; next Trump | website=the Guardian | date=August 19, 2023 | url=https://www.theguardian.com/us-news/2023/aug/19/vivek-ramaswamy-republican-presidential-nomination-candidate | access-date=March 24, 2024}}&amp;lt;/ref&amp;gt; Republican populists have been described as consisting of a range of right-wing ideologies including but not limited to right-wing populism,&amp;lt;ref name=&amp;quot;campani&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal |last=Norris |first=Pippa |date=November 2020 |title=Measuring populism worldwide |journal=Party Politics |language=en |volume=26 |issue=6 |pages=697–717 |doi=10.1177/1354068820927686 |s2cid=216298689 |issn=1354-0688|doi-access=free }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Cassidy&amp;quot;&amp;gt;{{cite magazine |url=https://www.newyorker.com/news/john-cassidy/donald-trump-is-transforming-the-g-o-p-into-a-populist-nativist-party |title=Donald Trump is Transforming the G.O.P. Into a Populist, Nativist Party |last=Cassidy |first=John |magazine=[[The New Yorker]] |date=February 29, 2016 |access-date=July 22, 2016 |archive-url=https://web.archive.org/web/20160304225035/http://www.newyorker.com/news/john-cassidy/donald-trump-is-transforming-the-g-o-p-into-a-populist-nativist-party |archive-date=March 4, 2016 |url-status=live}}&amp;lt;/ref&amp;gt; [[national conservatism]],&amp;lt;ref name=&amp;quot;Economist Feb152024&amp;quot;&amp;gt;{{cite news |date=February 15, 2024 |title=&amp;quot;National conservatives&amp;quot; are forging a global front against liberalism |url=https://www.economist.com/briefing/2024/02/15/national-conservatives-are-forging-a-global-front-against-liberalism |url-status=live |newspaper=[[The Economist]] |location=[[London]] |archive-url=https://web.archive.org/web/20240220205122/https://www.economist.com/briefing/2024/02/15/national-conservatives-are-forging-a-global-front-against-liberalism |archive-date=February 20, 2024 |url-access=subscription}}&amp;lt;/ref&amp;gt; [[neo-nationalism]],&amp;lt;ref name=&amp;quot;Zhou_12/8/2022&amp;quot;&amp;gt;{{cite journal |last1=Zhou |first1=Shaoqing |title=The origins, characteristics and trends of neo-nationalism in the 21st century |journal=International Journal of Anthropology and Ethnology |volume=6 |issue=1 |date=December 8, 2022 |article-number=18 |doi=10.1186/s41257-022-00079-4 |doi-access=free |pmid=36532330 |quote=On a practical level, the United Kingdom&#039;s withdrawal from the European Union and Trump&#039;s election as the United States president are regarded as typical events of neo-nationalism.|pmc=9735003 }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Maga mindset&amp;quot;&amp;gt;{{Cite web|first1=John|last1=Burn-Murdoch|website=Financial Times|date=March 6, 2025|title=Why the Maga mindset is different|access-date=March 18, 2025|url=https://www.ft.com/content/3046013f-da85-4987-92a5-4a9e3008a9e1|quote=US decisions can no longer be analyzed using assumptions shared across the democratic west ... But the series of shock decisions ... are less brain-bendingly inexplicable once you realise this: their version of America is operating on an entirely different set of values from the rest of the western world. ... A government seemingly driven by zero-sum ideology and a commitment to reducing international co-operation is one whose threats of a trade war you should probably take seriously despite possible economic self-harm. Likewise, a leadership team that believes geopolitics is a game of cards played by strong men and great powers is one whose support and co- operation other countries should quickly build independence from.}}&amp;lt;/ref&amp;gt; [[mercantilism]],&amp;lt;ref name=&amp;quot;Helleiner 2021&amp;quot;/&amp;gt; and [[Trumpism]].&amp;lt;ref name=&amp;quot;Ball 2024&amp;quot;&amp;gt;{{cite news |last1=Ball |first1=Molly |title=The GOP Wants Pure, Uncut Trumpism |url=https://www.wsj.com/politics/elections/gop-new-hampshire-trump-haley-403080ca |access-date=February 22, 2024 |work=The Wall Street Journal |date=January 23, 2024 |archive-url=https://web.archive.org/web/20240124014202/https://www.wsj.com/politics/elections/gop-new-hampshire-trump-haley-403080ca |archive-date=January 24, 2024 |url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Katzenstein2019&amp;quot;&amp;gt;{{cite news |last1=Katzenstein |first1=Peter J. |author-link=Peter J. Katzenstein |title=Trumpism is US |url=https://www.wzb.eu/en/news/trumpism-is-us |access-date=11 September 2021 |work=WZB {{!}} Berlin Social Science Center |date=20 March 2019 |archive-date=February 15, 2021 |archive-url=https://web.archive.org/web/20210215222927/https://www.wzb.eu/en/news/trumpism-is-us |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;v075&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;d419&amp;quot;&amp;gt;{{cite web |author=The Christian Science Monitor |date=2020-11-05 |title=Why Trumpism is here to stay |url=https://www.csmonitor.com/USA/Politics/2020/1105/Why-Trumpism-is-here-to-stay |url-status=live |archive-url=https://web.archive.org/web/20240612135009/https://www.csmonitor.com/USA/Politics/2020/1105/Why-Trumpism-is-here-to-stay |archive-date=2024-06-12 |access-date=2025-02-03 |website=The Christian Science Monitor}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;i277&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;b702&amp;quot;&amp;gt;{{cite web |last1=Klein |first1=Rick |last2=Parks |first2=Mary Alice |date=2018-06-13 |title=The Note: Trumpism again dominates Republican Party |url=https://abcnews.go.com/Politics/note-trumpism-dominates-republican-party/story?id=55849587 |access-date=2025-02-03 |website=ABC News |archive-date=June 12, 2024 |archive-url=https://web.archive.org/web/20240612135011/https://abcnews.go.com/Politics/note-trumpism-dominates-republican-party/story?id=55849587 |url-status=live }}&amp;lt;/ref&amp;gt; Trump has been described as one of many nationalist leaders, including [[Vladimir Putin]] of Russia, [[Xi Jinping]] of China, [[Recep Tayyip Erdogan]] of Turkey, [[Narendra Modi]] of India, [[Mohammed bin Salman]] of Saudi Arabia, [[Viktor Orbán]] of Hungary and [[Benjamin Netanyahu]] of Israel.&amp;lt;ref name=&amp;quot;The World Trump Wants&amp;quot;&amp;gt;{{Cite magazine|url=https://www.foreignaffairs.com/united-states/world-trump-wants-michael-kimmage|title=The World Trump Wants: American Power in the New Age of Nationalism|date=February 25, 2025|access-date=March 18, 2025|website=Foreign Affairs|first1=Michael|last1=Kimmage|volume=104 |issue=2 |quote=In the two decades that followed the Cold War’s end, globalism gained ground over nationalism. Simultaneously, the rise of increasingly complex systems and networks—institutional, financial, and technological—overshadowed the role of the individual in politics. But in the early 2010s, a profound shift began. By learning to harness the tools of this century, a cadre of charismatic figures revived the archetypes of the previous one: the strong leader, the great nation, the proud civilization. ... They are self-styled strongmen who place little stock in rules-based systems, alliances, or multinational forums. They embrace the once and future glory of the countries they govern, asserting an almost mystical mandate for their rule. &#039;&#039;&#039;Although their programs can involve radical change, their political strategies rely on strains of conservatism, appealing over the heads of liberal, urban, cosmopolitan elites to constituencies animated by a hunger for tradition and a desire for belonging.&#039;&#039;&#039;}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://www.nytimes.com/2025/03/21/us/politics/trump-netanyahu-israel-political-strategy.html|title=For Trump and Netanyahu, Similar Strategies With Similar Goals|quote=The American and Israeli leaders have been mirroring each other as they go to war with their own governments|date=March 21, 2025|first1=Mark|last1=Mazzetti|first2=Patrick|last2=Kingsley|website=The New York Times|access-date=March 22, 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=New York Times|url=https://www.nytimes.com/2024/11/08/world/europe/trump-populist-far-right-leaders.html|title=With Trump&#039;s Victory, Europe&#039;s Populist Right Sees Return of a Fellow Believer|date=November 8, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=Newsweek|title=Saudi Arabia Has Its Own &#039;Deal of the Century&#039; for Trump|date=24 November 2024|url=https://www.newsweek.com/saudi-arabia-has-its-own-deal-century-trump-1989311|quote=The president-elect&#039;s &amp;quot;America First&amp;quot; platform resounds heavily with the transformative, increasingly nationalist path on which Riyadh&#039;s monarch-in-waiting has embarked.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Republican Party&#039;s right-wing populist movements emerged in concurrence with a global increase in populist movements in the 2010s and 2020s,&amp;lt;ref name=&amp;quot;Isaac2017&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Maxwell 2019&amp;quot;&amp;gt;{{cite news |last=Maxwell |first=Rahsaan |date=5 March 2019 |title=Analysis {{!}} Why are urban and rural areas so politically divided? |url=https://www.washingtonpost.com/politics/2019/03/05/why-are-urban-rural-areas-so-politically-divided/ |url-access=subscription |url-status=live |archive-url=https://web.archive.org/web/20201030180433/https://www.washingtonpost.com/politics/2019/03/05/why-are-urban-rural-areas-so-politically-divided/ |archive-date=30 October 2020 |access-date=6 May 2024 |newspaper=The Washington Post |issn=0190-8286|quote=In general, the core supporters of right-wing populist political parties across Europe are in more rural areas, where they feel left behind by the globalized economy and alienated from the multiculturalism of European capitals.}}&amp;lt;/ref&amp;gt; coupled with entrenchment and increased partisanship within the party since 2010.&amp;lt;ref name=&amp;quot;Lowndes 2021 q431&amp;quot;&amp;gt;{{cite news | last=Lowndes | first=Joseph | title=Far-right extremism dominates the GOP. It didn&#039;t start — and won&#039;t end — with Trump | newspaper=Washington Post | date=2021-11-08 | url=https://www.washingtonpost.com/outlook/2021/11/08/far-right-extremism-dominates-gop-it-didnt-start-wont-end-with-trump/ | access-date=2023-12-31 | archive-date=November 23, 2021 | archive-url=https://web.archive.org/web/20211123072545/https://www.washingtonpost.com/outlook/2021/11/08/far-right-extremism-dominates-gop-it-didnt-start-wont-end-with-trump/ | url-status=live }}&amp;lt;/ref&amp;gt; This included the rise of the [[Tea Party movement]], which has also been described as [[Far-right politics|far-right]].&amp;lt;ref name=&amp;quot;Blum pp. 88–109&amp;quot;&amp;gt;{{cite journal | last1=Blum | first1=Rachel M. | last2=Cowburn | first2=Mike | title=How Local Factions Pressure Parties: Activist Groups and Primary Contests in the Tea Party Era | journal=British Journal of Political Science | date=2024 | publisher=Cambridge University Press | volume=54 | issue=1 | pages=88–109 | doi=10.1017/S0007123423000224 | url=https://ideas.repec.org/a/cup/bjposi/v54y2024i1p88-109_5.html | access-date=2023-12-31 | archive-date=September 11, 2024 | archive-url=https://web.archive.org/web/20240911120615/https://ideas.repec.org/a/cup/bjposi/v54y2024i1p88-109_5.html | url-status=live }}&amp;lt;/ref&amp;gt; This faction gained further dominance in the GOP during [[Presidency of Joe Biden|Joe Biden&#039;s presidency]] (2021-2025), including in the aftermath of the [[2021-2023 inflation surge]] and [[Russian invasion of Ukraine]].&amp;lt;ref name=&amp;quot;No Longer True&amp;quot;&amp;gt;{{Cite web|url=https://www.nytimes.com/2023/06/18/business/economy/global-economy-us-china.html|title=Why It Seems Everything We Knew About the Global Economy Is No Longer True|first1=Patricia|last1=Cohen|website=The New York Times|quote=A lot has happened between then and now: A global pandemic hit; war erupted in Europe; tensions between the United States and China boiled. And inflation, thought to be safely stored away with disco album collections, returned with a vengeance. ... The economic conventions that policymakers had relied on since the Berlin Wall fell more than 30 years ago — the unfailing superiority of open markets, liberalized trade and maximum efficiency — look to be running off the rails. ... The idea that trade and shared economic interests would prevent military conflicts was trampled [in 2022] under the boots of Russian soldiers in Ukraine.|date=June 18, 2023|access-date=March 22, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Businessman [[Elon Musk]], the wealthiest individual in the world, is a notable proponent of right-wing populism.&amp;lt;ref&amp;gt;{{Cite news |date=July 29, 2024 |title=How Elon Musk came to endorse Donald Trump |url=https://www.washingtonpost.com/technology/2024/07/29/musk-trump-endorsement-immigration/ |access-date=November 9, 2024 |newspaper=Washington Post |archive-date=September 19, 2024 |archive-url=https://web.archive.org/web/20240919110730/https://www.washingtonpost.com/technology/2024/07/29/musk-trump-endorsement-immigration/ |url-status=live }}&amp;lt;/ref&amp;gt; Since acquiring Twitter in 2022, Musk has shared far-right misinformation&amp;lt;ref&amp;gt;{{Cite web |date=August 8, 2024 |title=Elon Musk&#039;s misleading election claims have accrued 1.2 billion views on X, new analysis says |url=https://www.nbcnews.com/tech/misinformation/elon-musk-misleading-election-claims-x-views-report-rcna165599 |access-date=August 12, 2024 |publisher=NBC News |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last=Tharoor |first=Ishaan |date=August 9, 2024 |title=Column {{!}} Britain&#039;s riots put spotlight on far-right misinformation |url=https://www.washingtonpost.com/world/2024/08/09/britain-riots-misinformation-elon-musk/ |access-date=August 12, 2024 |newspaper=Washington Post |language=en-US |issn=0190-8286}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |date=August 8, 2024 |title=Musk&#039;s false X posts on US election viewed 1.2 billion times, says watchdog |url=https://www.france24.com/en/live-news/20240808-musk-s-misleading-election-posts-viewed-1-2-billion-times-study |access-date=August 12, 2024 |website=France 24 |language=en |archive-date=August 12, 2024 |archive-url=https://web.archive.org/web/20240812003828/https://www.france24.com/en/live-news/20240808-musk-s-misleading-election-posts-viewed-1-2-billion-times-study |url-status=live }}&amp;lt;/ref&amp;gt; and numerous [[conspiracy theories]],&amp;lt;ref&amp;gt;{{Cite web |last=Duffy |first=Clare |date=November 21, 2023 |title=Elon Musk is now boosting the &#039;Pizzagate&#039; conspiracy theory {{!}} CNN Business |url=https://www.cnn.com/2023/11/20/tech/elon-musk-boosting-pizzagate-conspiracy-theory/index.html |access-date=August 12, 2024 |publisher=CNN |language=en |archive-date=August 12, 2024 |archive-url=https://web.archive.org/web/20240812153200/https://www.cnn.com/2023/11/20/tech/elon-musk-boosting-pizzagate-conspiracy-theory/index.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |title=Elon Musk: A timeline of his most recent controversial moments |url=https://news.sky.com/story/elon-musk-what-are-his-most-recent-controversial-moments-13019651 |access-date=August 12, 2024 |website=Sky News |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last1=Lahut |first1=Jake |last2=Goodwin |first2=Grace Eliza |last3=Edmonds |first3=Lauren |title=Timeline of Elon Musk&#039;s political stances before GOP embrace |url=https://www.businessinsider.com/elon-musk-political-beliefs-public-stances-timeline-republican-desantis-2022-6 |url-status=live |archive-url=https://web.archive.org/web/20240901233902/https://www.businessinsider.com/elon-musk-political-beliefs-public-stances-timeline-republican-desantis-2022-6 |archive-date=September 1, 2024 |access-date=July 31, 2024 |website=Business Insider |language=en-US}}&amp;lt;/ref&amp;gt; and his views are described as right-wing to far-right.&amp;lt;ref&amp;gt;{{Cite news |date=July 17, 2024 |title=Elon Musk&#039;s &#039;Final Straw&#039; Moment Marks Political Transformation |url=https://www.bloomberg.com/news/articles/2024-07-17/elon-musk-s-final-straw-moment-marks-political-transformation |access-date=July 31, 2024 |work=Bloomberg.com |language=en |archive-date=July 17, 2024 |archive-url=https://web.archive.org/web/20240717200027/https://www.bloomberg.com/news/articles/2024-07-17/elon-musk-s-final-straw-moment-marks-political-transformation |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Dorn |first=Sara |title=Elon Musk&#039;s Political Shift: How The Billionaire Moved From Backing Obama To Endorsing DeSantis |url=https://www.forbes.com/sites/saradorn/2022/11/27/elon-musks-political-shift-how-the-billionaire-moved-from-backing-obama-to-endorsing-desantis/ |access-date=July 31, 2024 |website=Forbes |language=en |archive-date=August 6, 2024 |archive-url=https://web.archive.org/web/20240806051359/https://www.forbes.com/sites/saradorn/2022/11/27/elon-musks-political-shift-how-the-billionaire-moved-from-backing-obama-to-endorsing-desantis/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Warzel |first=Charlie |date=December 11, 2022 |title=Elon Musk Is a Far-Right Activist |url=https://www.theatlantic.com/technology/archive/2022/12/elon-musk-twitter-far-right-activist/672436/ |access-date=July 31, 2024 |website=The Atlantic |language=en |archive-date=December 12, 2022 |archive-url=https://web.archive.org/web/20221212052001/https://www.theatlantic.com/technology/archive/2022/12/elon-musk-twitter-far-right-activist/672436/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |title=Led by Elon Musk, Silicon Valley inches to the right |website=The Economic Times |date=March 10, 2024 |url=https://economictimes.indiatimes.com/tech/technology/led-by-elon-musk-silicon-valley-inches-to-the-right/articleshow/108361364.cms?from=mdr |access-date=July 31, 2024 |archive-date=July 31, 2024 |archive-url=https://web.archive.org/web/20240731003556/https://m.economictimes.com/tech/technology/led-by-elon-musk-silicon-valley-inches-to-the-right/amp_articleshow/108361364.cms |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last1=Siddiqui |first1=Faiz |last2=Merrill |first2=Jeremy B. |date=August 12, 2024 |title=Elon Musk&#039;s X feed becomes megaphone for his far-right politics |url=https://www.washingtonpost.com/technology/2024/08/11/musk-x-feed-politics-trump/ |access-date=August 12, 2024 |newspaper=Washington Post |language=en-US |issn=0190-8286 |archive-date=August 14, 2024 |archive-url=https://web.archive.org/web/20240814155420/https://www.washingtonpost.com/technology/2024/08/11/musk-x-feed-politics-trump/ |url-status=live }}&amp;lt;/ref&amp;gt; However, Musk has also been described as in conflict with the populist wing of the party on some issues, particularly [[legal immigration]], [[government spending]], [[free trade]], [[judicial reform]]s and [[US - China relations|relations with China]].&amp;lt;ref&amp;gt;{{cite news|work=NBC News|title=Trump&#039;s populist platform gives way to billionaires&#039; agenda|date=March 8, 2025|url=https://www.nbcnews.com/politics/donald-trump/trump-populist-platform-gives-way-billionaires-agenda-rcna194639}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=New York Times|title=The Populist vs. the Billionaire: Bannon, Musk and the Battle Within MAGA|url=https://www.nytimes.com/2025/03/09/us/politics/stephen-bannon-elon-musk-maga.html|date=March 9, 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=Politico|date=January 3, 2025|title=&#039;He owes them&#039;: MAGA activists worry about Musk&#039;s influence over Trump in legal migration spat|url=https://www.politico.com/news/2025/01/03/maga-h1b-visa-immigration-elon-musk-00196440}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=Wall Street Journal|title=MAGA vs. Musk: Immigration Fight Cracks Populist-Tech Bro Alliance|date=December 27, 2024|url=https://www.wsj.com/tech/maga-vs-musk-immigration-fight-cracks-populist-tech-bro-alliance-ae93cb03}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=Axios|url=https://www.axios.com/2025/04/05/musk-trump-tariffs-navarro-tesla|title=Musk slams key Trump adviser Navarro, calls for more free trade|date=5 April 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;BBBmiller&amp;quot;&amp;gt;{{cite news|work=Mediaite|title=Stephen Miller Desperately Makes the Case for Trump&#039;s &#039;Big Beautiful Bill&#039; After Musk Attack: &#039;This Is the Most MAGA Bill Ever&#039;|date=June 3, 2025|url=https://www.mediaite.com/politics/stephen-miller-desperately-makes-the-case-for-trumps-big-beautiful-bill-after-musk-attack-this-is-the-most-maga-bill-ever/}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=Los Angeles Times|title=Trump threatens to sic DOGE on Musk as feud over megabill escalates|date=July 1, 2025|url=https://www.latimes.com/politics/story/2025-07-01/trump-musk-doge-megabill|quote=he accused the president of using the bill as a vehicle to defund the ability of courts to enforce contempt orders, making it all but impossible to hold him and his allies accountable for violating the law.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to political scientists Matt Grossmann and David A. Hopkins, the Republican Party&#039;s gains among white voters without college degrees and corresponding losses among white voters with college degrees contributed to the rise of right-wing populism.&amp;lt;ref name=&amp;quot;cambridge.org&amp;quot;&amp;gt;{{Cite web|url=https://www.cambridge.org/us/universitypress/subjects/politics-international-relations/american-government-politics-and-policy/polarized-degrees-how-diploma-divide-and-culture-war-transformed-american-politics#contentsTabAnchor|title=Polarized by Degrees: How the Diploma Divide and the Culture War Transformed American Politics|first1=Matt|last1=Grossmann|first2=David A.|last2=Hopkins|website=Cambridge University Press|access-date=May 23, 2024|quote=Democrats have become the home of highly-educated citizens with progressive social views who prefer credentialed experts to make policy decisions, while Republicans have become the populist champions of white voters without college degrees who increasingly distrust teachers, scientists, journalists, universities, non-profit organizations, and even corporations.|archive-date=February 27, 2024|archive-url=https://web.archive.org/web/20240227220952/https://www.cambridge.org/us/universitypress/subjects/politics-international-relations/american-government-politics-and-policy/polarized-degrees-how-diploma-divide-and-culture-war-transformed-american-politics#contentsTabAnchor|url-status=live}}&amp;lt;/ref&amp;gt; Until 2016, white voters with college degrees were a Republican-leaning group, but have since become a Democratic-leaning group.&amp;lt;ref name=&amp;quot;Harry Enten&amp;quot;&amp;gt;{{cite web|url=https://fivethirtyeight.com/features/even-among-the-wealthy-education-predicts-trump-support/|title=Even Among The Wealthy, Education Predicts Trump Support|date=November 29, 2016|first1=Harry|last1=Enten|website=FiveThirtyEight|quote=First, it&#039;s clear from the exit polls that for white voters, every bit of extra education meant less support for Trump. ... Second, education matters a lot even when separating out income levels. ... Third, Trump saw little difference in his support between income levels within each education group.}}&amp;lt;/ref&amp;gt; In the [[2020 United States presidential election|2020 presidential election]], [[Joe Biden]] became the first Democratic president to win a majority of white voters with college degrees (51–48%) since [[1964 United States presidential election|1964]], while Trump won white voters without college degrees 67–32%.&amp;lt;ref name=cnn2020PresidentialResults&amp;gt;{{Cite news|title=National Results 2020 President exit polls.|url=https://www.cnn.com/election/2020/exit-polls/president/national-results|access-date=2020-12-04|work=[[CNN]]|language=en|archive-date=May 31, 2022|archive-url=https://web.archive.org/web/20220531093340/https://www.cnn.com/election/2020/exit-polls/president/national-results|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;auto&amp;quot;&amp;gt;{{cite news |title=Election Polls – Vote by Groups, 1960–1964 |url=http://www.gallup.com/poll/9454/Election-Polls-Vote-Groups-19601964.aspx |website=[[Gallup (company)|Gallup]] |access-date=June 30, 2021 |archive-url=https://web.archive.org/web/20110726155334/http://www.gallup.com/poll/9454/Election-Polls-Vote-Groups-19601964.aspx |archive-date=July 26, 2011}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Polarization by education&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right-wing populism has broad appeal across income and wealth,&amp;lt;ref name=&amp;quot;Nate Silver&amp;quot;/&amp;gt; and is extremely polarized with respect to educational attainment among White voters.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.nytimes.com/2024/11/18/us/politics/democrats-white-working-class-harris.html|title=Is This the End of the White Working-Class Democrat?|quote=Democrats hoped to lose by less in blue-collar areas that had drifted toward Donald Trump. In many places, they may have lost by more.|first1=Katie|last1=Glueck|website=The New York Times|date=November 18, 2024|access-date=January 13, 2025}}&amp;lt;/ref&amp;gt; According to a 2017 study, agreement with Trump on social issues, rather than economic pressure, increased support for Trump among White voters without college degrees. White voters without college degrees who were economically struggling were more likely to vote for Democrats and support the Democratic party&#039;s economic agenda.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.theatlantic.com/politics/archive/2017/05/white-working-class-trump-cultural-anxiety/525771/|title=It Was Cultural Anxiety That Drove White, Working-Class Voters to Trump|date=May 9, 2017|first1=Emma|last1=Green|website=[[The Atlantic]] |quote=A new study finds that fear of societal change, not economic pressure, motivated votes for the president among non-salaried workers without college degrees.|access-date=May 23, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://www.theatlantic.com/ideas/archive/2025/01/biden-economic-populism-failure/681289/|title=Maybe It Was Never About the Factory Jobs|date=January 13, 2025|website=The Atlantic|quote=The theory that populist economic policies can win back the working class for Democrats has been tried, and it has failed.|first1=Jonathan|last1=Chait|access-date=January 13, 2025}}&amp;lt;/ref&amp;gt; Right-wing populism has appeal to [[Hispanic and Latino Americans|Hispanic]] and [[Asian Americans|Asian]] voters,&amp;lt;ref&amp;gt;{{Cite web|url=https://www.theatlantic.com/ideas/archive/2024/12/democrats-latino-vote-immigration/680945/|title=Why Democrats Got the Politics of Immigration So Wrong for So Long|date=December 10, 2024|website=The Atlantic|first1=Rogé|last1=Karma|access-date=December 10, 2024|quote=The election of Donald Trump this year shattered a long-standing piece of conventional wisdom in American politics: that Latinos will vote overwhelmingly for whichever party has the more liberal approach to immigration, making them a reliable Democratic constituency. ... If that analysis were true, then the nomination of the most virulently anti-immigration presidential candidate in modern history for three straight elections should have devastated the GOP’s Latino support. Instead, the opposite happened. Latinos, who make up about a quarter of the electorate, still lean Democratic, but they appear to have shifted toward Republicans by up to 20 points since 2012. ... And polling suggests that Trump’s restrictionist views on immigration may have actually helped him win some Latino voters, who, like the electorate overall, gave the Biden administration low marks for its handling of the issue.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|title=Asian Americans favored Harris but shifted right by 5 points|url=https://www.nbcnews.com/news/asian-america/asian-americans-exit-poll-harris-trump-rcna179005|date=November 6, 2024|first1=Kimmy|last1=Yam|quote=Fifty-four percent of Asian American voters chose Harris, while 39% voted for Trump, NBC exit polls showed. Experts point to the economy as a main factor.|access-date=December 10, 2024|website=NBC News}}&amp;lt;/ref&amp;gt; but has little appeal to African American voters.&amp;lt;ref&amp;gt;{{Cite journal |last=Berman |first=Sheri |date=May 2021 |title=The Causes of Populism in the West |journal=Annual Review of Political Science |volume=24 |issue= |pages=71–88 |issn=1094-2939 |doi=10.1146/annurev-polisci-041719-102503 |doi-access=free|quote-page=76|quote=In the United States, scholars consistently find that &amp;quot;racial animus,&amp;quot; or attitudes regarding &amp;quot;blacks, immigrants, Muslims&amp;quot; are the best predictors of support for President Trump}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to historian [[Gary Gerstle]], Trumpism gained support in opposition to [[neoliberalism]],&amp;lt;ref name=&amp;quot;Gerstle2022&amp;quot;&amp;gt;{{cite book |last=Gerstle |first=Gary |author-link=Gary Gerstle |date=2022 |title=The Rise and Fall of the Neoliberal Order: America and the World in the Free Market Era |url=https://global.oup.com/academic/product/the-rise-and-fall-of-the-neoliberal-order-9780197519646?cc=us&amp;amp;lang=en&amp;amp; |publisher=[[Oxford University Press]] |quote=The most sweeping account of how neoliberalism came to dominate American politics for nearly a half century before crashing against the forces of Trumpism on the right and a new progressivism on the left. |isbn=978-0197519646 |access-date=August 1, 2024 |archive-date=June 26, 2022 |archive-url=https://web.archive.org/web/20220626220259/https://global.oup.com/academic/product/the-rise-and-fall-of-the-neoliberal-order-9780197519646?cc=us&amp;amp;lang=en&amp;amp; |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;The World Trump Wants&amp;quot;/&amp;gt; including opposition to [[free trade]],&amp;lt;ref name=&amp;quot;Populism and Trade&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;trade policies back&amp;quot;&amp;gt;{{Cite news |date=April 3, 2025 |title=Trump takes America&#039;s trade policies back to the 19th century |url=https://www.economist.com/finance-and-economics/2025/04/03/trump-takes-americas-trade-policies-back-to-the-19th-century |access-date=April 3, 2025 |newspaper=The Economist |quote=The president jacks up tariffs on all countries, with particularly sharp rises for much of Asia}}&amp;lt;/ref&amp;gt; [[Opposition to immigration|immigration]], [[Globalization#Economic globalization|globalization]],&amp;lt;ref name=&amp;quot;No Longer True&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Maga mindset&amp;quot; /&amp;gt; and [[Liberal internationalism|internationalism]].&amp;lt;ref name=&amp;quot;Maxwell 2019&amp;quot;/&amp;gt; Trump won the 2016 and 2024 presidential elections by winning states in the [[Rust Belt]] that had suffered from [[population decline]] and [[deindustrialization]].&amp;lt;ref name=&amp;quot;Revolt of the Rust Belt&amp;quot;&amp;gt;{{cite journal|title=The revolt of the Rust Belt: place and politics in the age of anger|journal=The British Journal of Sociology|volume=68|issue=S1|pages=S120–S152|first=Michael|last=McQuarrie|date=November 8, 2017|doi=10.1111/1468-4446.12328|pmid=29114874|s2cid=26010609 |doi-access=free}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Fallen Behind&amp;quot;&amp;gt;{{Cite web|url=https://www.nytimes.com/interactive/2024/10/26/upshot/census-relative-income.html|title=They Used to Be Ahead in the American Economy. Now They&#039;ve Fallen Behind.|date=October 26, 2024|first1=Emily|last1=Badger|first2=Robert|last2=Gebeloff|first3=Aatish|last3=Bhatia|website=The New York Times|access-date=October 26, 2024|archive-date=October 27, 2024|archive-url=https://web.archive.org/web/20241027193004/https://www.nytimes.com/interactive/2024/10/26/upshot/census-relative-income.html|url-status=live}}&amp;lt;/ref&amp;gt; Compared to other Republicans, the populist faction is more likely to oppose [[immigration|legal immigration]],&amp;lt;ref name=&amp;quot;Baker-2020&amp;quot;&amp;gt;{{cite book |last1=Baker |first1=Paula |url=https://books.google.com/books?id=547UDwAAQBAJ |title=The Oxford Handbook of American Political History |last2=Critchlow |first2=Donald T. |publisher=Oxford University Press |year=2020 |isbn=978-0190628697 |page=387 |quote=&amp;quot;Contemporary debate is fueled on one side by immigration restrictionists, led by President Donald Trump and other elected republicans, whose rhetorical and policy assaults on undocumented Latin American immigrants, Muslim refugees, and family-based immigration energized their conservative base.&amp;quot; |via=Google Books |access-date=April 23, 2021 |archive-date=December 15, 2023 |archive-url=https://web.archive.org/web/20231215023724/https://books.google.com/books?id=547UDwAAQBAJ |url-status=live }}&amp;lt;/ref&amp;gt; free trade,&amp;lt;ref name=&amp;quot;Populism and Trade&amp;quot;&amp;gt;{{Cite book |last=Jones |first=Kent |title=Populism and Trade: The Challenge to the Global Trading System |publisher=[[Oxford University Press]] |year=2021 |isbn=978-0190086350 |chapter=Populism, Trade, and Trump&#039;s Path to Victory}}&amp;lt;/ref&amp;gt; [[neoconservatism]],&amp;lt;ref&amp;gt;{{Cite magazine |last1=Smith |first1=Jordan Michael |last2=Logis |first2=Rich |last3=Logis |first3=Rich |last4=Shephard |first4=Alex |last5=Shephard |first5=Alex |last6=Kipnis |first6=Laura |last7=Kipnis |first7=Laura |last8=Haas |first8=Lidija |last9=Haas |first9=Lidija |date=October 17, 2022 |title=The Neocons Are Losing. Why Aren&#039;t We Happy? |magazine=The New Republic |url=https://newrepublic.com/article/168045/neoconservative-isolationism-republican-party |access-date=May 5, 2023 |issn=0028-6583 |archive-date=May 5, 2023 |archive-url=https://web.archive.org/web/20230505163722/https://newrepublic.com/article/168045/neoconservative-isolationism-republican-party |url-status=live }}&amp;lt;/ref&amp;gt; and [[Environmentalism|environmental protection laws]].&amp;lt;ref&amp;gt;{{Cite journal |last=Arias-Maldonado |first=Manuel |date=January 2020 |title=Sustainability in the Anthropocene: Between Extinction and Populism |journal=Sustainability |language=en |volume=12 |issue=6 |pages=2538 |doi=10.3390/su12062538 |issn=2071-1050 |doi-access=free|bibcode=2020Sust...12.2538A }}&amp;lt;/ref&amp;gt; It has been described as featuring [[anti-intellectualism]] and overtly racial appeals.&amp;lt;ref name=&amp;quot;Winberg 2017&amp;quot;&amp;gt;{{Cite journal |last=Winberg |first=Oscar |date=2017 |title=Insult Politics: Donald Trump, Right-Wing Populism, and Incendiary Language |url=https://journals.openedition.org/ejas/12132 |journal=European Journal of American Studies |volume=12 |issue=2 |access-date=February 2, 2025 |pages=1–16 |issn=1991-9336 |doi=10.4000/ejas.12132 |url-status=live |archive-url=https://web.archive.org/web/20241231182356/https://journals.openedition.org/ejas/12132 |archive-date=December 31, 2024 |quote-pages=5-6|quote=With the presidency of George W. Bush, coinciding with the ascendance of the conservative media establishment and ending with the mass protests of the Tea Party, the long tradition of right-wing populism was a firmly institutionalized part of the conservative movement and, by extension, the Republican Party. Trump&#039;s rise should be understood as part of the long tradition of right-wing populism and the ultimate triumph of the Tea Party movement; a right-wing populist eruption within the Republican Party fueled by both a conservative media establishment and anti-intellectual and, at times, overtly racial appeals.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In international relations, populists support U.S. aid to Israel but not to Ukraine.&amp;lt;ref name=&amp;quot;Falk 2023 t804&amp;quot;&amp;gt;{{cite web | last=Falk | first=Thomas O | title=Why are US Republicans pushing for aid to Israel but not Ukraine? | website=Al Jazeera | date=2023-11-08 | url=https://www.aljazeera.com/news/2023/11/8/why-are-us-republicans-pushing-for-aid-to-israel-but-not-ukraine | access-date=2023-12-31 | archive-date=December 31, 2023 | archive-url=https://web.archive.org/web/20231231160206/https://www.aljazeera.com/news/2023/11/8/why-are-us-republicans-pushing-for-aid-to-israel-but-not-ukraine | url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Riccardi&amp;quot;&amp;gt;{{Cite news |last=Riccardi |first=Nicholas |date=February 19, 2024 |title=Stalled US aid for Ukraine underscores GOP&#039;s shift away from confronting Russia |url=https://thehill.com/homenews/house/4492514-gop-strained-by-trump-influenced-shift-from-reagan-on-russia/ |access-date=February 28, 2024 |agency=[[Associated Press]] |archive-date=February 28, 2024 |archive-url=https://web.archive.org/web/20240228121816/https://thehill.com/homenews/house/4492514-gop-strained-by-trump-influenced-shift-from-reagan-on-russia/ |url-status=live }}&amp;lt;/ref&amp;gt; They are generally supportive of improving [[Russia–United States relations|relations with Russia]],&amp;lt;ref name=&amp;quot;Lillis&amp;quot;&amp;gt;{{Cite news |last=Lillis |first=Mike |date=February 28, 2024 |title=GOP strained by Trump-influenced shift from Reagan on Russia |url=https://thehill.com/homenews/house/4492514-gop-strained-by-trump-influenced-shift-from-reagan-on-russia/ |access-date=February 28, 2024 |work=[[The Hill (newspaper)|The Hill]] |quote=Experts say a variety of factors have led to the GOP&#039;s more lenient approach to Moscow, some of which preceded Trump&#039;s arrival on the political scene ... Trump&#039;s popularity has only encouraged other Republicans to adopt a soft-gloves approach to Russia. |archive-date=February 28, 2024 |archive-url=https://web.archive.org/web/20240228121816/https://thehill.com/homenews/house/4492514-gop-strained-by-trump-influenced-shift-from-reagan-on-russia/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Ball&amp;quot;&amp;gt;{{Cite news |last=Ball |first=Molly |date=February 23, 2024 |title=How Trump Turned Conservatives Against Helping Ukraine |url=https://www.wsj.com/politics/elections/how-trump-turned-conservatives-against-helping-ukraine-d9f75b3b |access-date=February 28, 2024 |work=[[The Wall Street Journal]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Jonathan&amp;quot;&amp;gt;{{Cite web |last=Jonathan |first=Chait |date=February 23, 2024 |title=Russian Dolls Trump has finally remade Republicans into Putin&#039;s playthings. |url=https://nymag.com/intelligencer/article/donald-trump-republicans-vladimir-putin-puppets.html |access-date=February 28, 2024 |work=[[New York (magazine)|Intelligencer]] |quote=But during his time in office and after, Trump managed to create, from the grassroots up, a Republican constituency for Russia-friendly policy ... Conservatives vying to be the Trumpiest of them all have realized that supporting Russia translates in the Republican mind as a proxy for supporting Trump. Hence the politicians most willing to defend his offenses against democratic norms — Marjorie Taylor Greene, Jim Jordan, Tommy Tuberville, Mike Lee, J. D. Vance — hold the most anti-Ukraine or pro-Russia views. Conversely, the least-Trumpy Republicans, such as Mitch McConnell and Mitt Romney, have the most hawkish views on Russia. The rapid growth of Trump&#039;s once-unique pro-Russia stance is a gravitational function of his personality cult. |archive-date=February 29, 2024 |archive-url=https://web.archive.org/web/20240229043453/https://nymag.com/intelligencer/article/donald-trump-republicans-vladimir-putin-puppets.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Jimison&amp;quot;&amp;gt;{{Cite web|url=https://www.nytimes.com/2025/02/19/us/politics/trump-ukraine-russia-republicans.html|title=As Trump Turns Toward Russia and Against Ukraine, Republicans Are Mum|date=February 19, 2025|website=The New York Times|quote=Congressional Republicans have mostly tempered their criticism or deferred to the president as he topples what were once their party’s core foreign policy principles.|first1=Robert|last1=Jimison}}&amp;lt;/ref&amp;gt; and favor an [[isolationism|isolationist]] &amp;quot;[[America First]]&amp;quot; foreign policy agenda.&amp;lt;ref name=&amp;quot;Lange&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;New York Times&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Baker&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Cohn2023&amp;quot;/&amp;gt; This faction has been described as closer to that of Vladimir Putin&#039;s Russia and Recep Tayyip Erdogan&#039;s Turkey than [[Western Europe]] and the [[Anglosphere]] in terms of positions on international cooperation, support for an autocratic leadership style, and trust in institutions.&amp;lt;ref name=&amp;quot;Maga mindset&amp;quot;/&amp;gt; This faction takes nationalist and [[irredentist]] views towards other countries in North America, advocating for  U.S. territorial expansion to include [[Movements for the annexation of Canada to the United States#Proposals to annex Canada by Donald Trump|Canada]], [[Proposed United States acquisition of Greenland|Greenland]] and the [[Panama Canal]], the renaming of the [[Gulf of Mexico]], and potential military action on Mexican soil.&amp;lt;ref&amp;gt;{{cite news|work=CNN|title=Trump is teasing US expansion into Panama, Greenland and Canada|date=December 23, 2024|quote=His pitch to seize the Panama Canal – which he described as a “vital national asset” though it’s been decades since America controlled it – reflected a similarly nationalist agenda that Trump often describes as “America First.”|url=https://edition.cnn.com/2024/12/23/politics/trump-us-expansion-panama-canada-greenland/index.html}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|work=The Hill|title=Lawmaker lauds Trump&#039;s expansion plan: Panama, Greenland, Canada &#039;should be honored&#039;|date=January 8, 2025|url=https://thehill.com/policy/international/5075347-lawmaker-lauds-trumps-expansion-plan-panama-greenland-canada-should-be-honored/}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=AP|date=January 8, 2025|title=Trump refuses to rule out use of military force to take control of Greenland and the Panama Canal|url=https://apnews.com/article/trump-biden-offshore-drilling-gulf-of-america-fa66f8d072eb39c00a8128a8941ede75}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=The Intercept|title=AS REPUBLICANS THIRST FOR WAR WITH MEXICO, DEMOCRATS PUSH TO MAKE THEM VOTE ON IT|date=August 31, 2023|url=https://theintercept.com/2023/08/31/republicans-mexico-war/|quote=The response to the war powers resolution from the office of Rep. Matt Gaetz, R-Fla. — who has led recent efforts to reduce the U.S. military’s foreign entanglements — highlights populist Republicans’ growing pains in their emerging anti-war coalition with progressive Democrats.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The party&#039;s far-right faction includes members of the [[Freedom Caucus]].&amp;lt;ref name=&amp;quot;Chatelain 2023 d086&amp;quot;&amp;gt;{{cite web | last=Chatelain | first=Ryan | title=Freedom Caucus issues demands for raising debt limit | website=Spectrum News NY1 | date=2023-03-10 | url=https://ny1.com/nyc/all-boroughs/politics/2023/03/10/freedom-caucus-issues-demands-for-raising-debt-limit | access-date=2023-12-31}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;NBC4 Washington 2023 e016&amp;quot;&amp;gt;{{cite web | title=Far-right Republicans drafted a short-term funding bill with GOP centrists. It&#039;s now at risk of collapse. | website=NBC4 Washington | date=2023-09-19 | url=https://www.nbcwashington.com/news/politics/far-right-republicans-drafted-a-short-term-funding-bill-with-gop-centrists-its-now-at-risk-of-collapse/3426059/ | access-date=2023-12-31}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Hulse 2023 y458&amp;quot;&amp;gt;{{cite web | last=Hulse | first=Carl | title=In Mike Johnson, Far-Right Republicans Find a Speaker They Can Embrace | website=The New York Times | date=2023-10-25 | url=https://www.nytimes.com/2023/10/25/us/politics/mike-johnson-republican-house-speaker.html | access-date=2023-12-31}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Mascaro Freking Amiri 2023 a302&amp;quot;&amp;gt;{{cite web | last1=Mascaro | first1=Lisa | last2=Freking | first2=Kevin | last3=Amiri | first3=Farnoush | title=Republicans pick Jim Jordan as nominee for House speaker, putting job within the Trump ally&#039;s reach | website=AP News | date=2023-10-13 | url=https://apnews.com/article/house-republicans-scalise-jordan-mccarthy-trump-ced017e71de967a7e327cba7e502926a | access-date=2023-12-31}}&amp;lt;/ref&amp;gt; They generally reject compromise within the party and with the [[Democratic Party (United States)|Democrats]],&amp;lt;ref name=&amp;quot;Collinson 2023 n804&amp;quot;&amp;gt;{{cite web | last=Collinson | first=Stephen | title=McCarthy became the latest victim of Trump&#039;s extreme GOP revolution | website=CNN | date=2023-10-04 | url=https://edition.cnn.com/2023/10/04/politics/mccarthy-victim-trump-gop-revolution/index.html | access-date=2023-12-31 | archive-date=December 31, 2023 | archive-url=https://web.archive.org/web/20231231160206/https://edition.cnn.com/2023/10/04/politics/mccarthy-victim-trump-gop-revolution/index.html | url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Rocha 2023 k444&amp;quot;&amp;gt;{{cite web | last=Rocha | first=Alander | title=Mike Rogers says of &#039;far-right wing&#039; of GOP: &#039;You can&#039;t get rid of them&#039; | website=AL | date=2023-09-07 | url=https://www.al.com/news/2023/09/mike-rogers-says-far-right-wing-of-gop-act-like-my-kids-you-cant-get-rid-of-them.html | access-date=2023-12-31}}&amp;lt;/ref&amp;gt; and are willing to oust fellow Republican office holders they deem to be too moderate.&amp;lt;ref name=&amp;quot;Macpherson 2021 r371&amp;quot;&amp;gt;{{cite web | last=Macpherson | first=James | title=Far right tugs at North Dakota Republican Party | website=AP News | date=2021-07-24 | url=https://apnews.com/article/government-and-politics-north-dakota-8fce64375abe042324cf26b4c82d57bf | access-date=2023-12-31}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Times-Herald.com 2023 x358&amp;quot;&amp;gt;{{cite web | title=Fringe activists threaten Georgia GOP&#039;s political future | website=The Times Herald | date=2023-05-15 | url=https://www.times-herald.com/opinion/fringe-activists-threaten-georgia-gop-s-political-future/article_b3fd5a4a-f33f-11ed-901d-7fbbbf28e09e.html | access-date=2023-12-31}}&amp;lt;/ref&amp;gt; According to sociologist [[Joe Feagin]], political polarization by racially extremist Republicans as well as their increased attention from conservative media has perpetuated the near extinction of moderate Republicans and created legislative paralysis at numerous government levels in the last few decades.&amp;lt;ref&amp;gt;{{Cite book |last=Feagin |first=Joe R. |url=https://books.google.com/books?id=tPGyEAAAQBAJ&amp;amp;pg=PT5 |title=White Minority Nation: Past, Present and Future |date=2023-04-25 |publisher=Taylor &amp;amp; Francis |isbn=978-1-000-86223-2 |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |date=2022-03-17 |title=Where Does American Democracy Go From Here? - The New York Times |work=The New York Times |url=https://www.nytimes.com/interactive/2022/03/17/magazine/democracy.html |access-date=2024-11-27 |archive-url=https://web.archive.org/web/20220317090219/https://www.nytimes.com/interactive/2022/03/17/magazine/democracy.html |archive-date=March 17, 2022 |last1=Homans |first1=Charles }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Julia Azari]], an associate professor of political science at [[Marquette University]], noted that not all populist Republicans are public supporters of Donald Trump, and that some Republicans such as [[Governor of Virginia|Virginia Governor]] [[Glenn Youngkin]] endorse Trump policies while distancing themselves from Trump as a person.&amp;lt;ref name=&amp;quot;j483&amp;quot;&amp;gt;{{cite web |last=Azari |first=Julia |date=2022-03-15 |title=How Republicans Are Thinking About Trumpism Without Trump |url=https://fivethirtyeight.com/features/how-republicans-are-thinking-about-trumpism-without-trump/ |access-date=2024-09-04 |website=FiveThirtyEight}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Youngkin&amp;quot;&amp;gt;{{Cite news |title=The two sides of Youngkin: Virginia&#039;s new governor calls for unity but keeps stoking volatile issues |language=en-US |newspaper=[[The Washington Post]] |url=https://www.washingtonpost.com/dc-md-va/2022/02/13/virginia-governor-youngkin-seeks-unity-stokes-division/ |access-date=2022-03-26 |issn=0190-8286 |archive-date=February 26, 2022 |archive-url=https://web.archive.org/web/20220226201944/https://www.washingtonpost.com/dc-md-va/2022/02/13/virginia-governor-youngkin-seeks-unity-stokes-division/ |url-status=live }}&amp;lt;/ref&amp;gt; The continued dominance of Trump within the GOP has limited the success of this strategy.&amp;lt;ref name=&amp;quot;i073&amp;quot;&amp;gt;{{cite magazine |last=Shephard |first=Alex |date=2023-08-01 |title=The End of &amp;quot;Trumpism Without Trump&amp;quot; |url=https://newrepublic.com/article/174746/trump-desantis-polling-gop-primary |access-date=2024-09-04 |magazine=The New Republic|quote=The former president&#039;s primary rivals thought that they could pass themselves off as a better version of the real thing. They thought wrong.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |url=https://www.politico.com/news/2023/06/17/trump-indictment-election-2024-polling-00102522 |title=Trump cruises, DeSantis flatlines in polling even after bombshell indictment |date=June 17, 2023 |last=Shepard |first=Steven |work=[[Politico]] |access-date=June 17, 2023 |archive-date=June 17, 2023 |archive-url=https://web.archive.org/web/20230617115011/https://www.politico.com/news/2023/06/17/trump-indictment-election-2024-polling-00102522 |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;c660&amp;quot;&amp;gt;{{cite web |date=2024-08-09 |title=Why JD Vance Is Unpopular and Project 2025 Has Gone Underground |url=https://www.thenation.com/article/politics/trump-vance-project-2025-unpopular/ |access-date=2024-09-04 |website=The Nation}}&amp;lt;/ref&amp;gt; In 2024, Trump led a takeover of the [[Republican National Committee]].&amp;lt;ref&amp;gt;{{cite news|work=The Guardian|title=RNC: Trump coup complete with loyalist as chair and daughter-in-law as co-chair|date=8 March 2024|url=https://www.theguardian.com/us-news/2024/mar/08/trump-rnc-takeover}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;[[FiveThirtyEight]]&#039;&#039; analysis found that of the 293 Republican members of Congress on January 20, 2017, just 121 (41%) were left on January 20, 2025. There were many reasons for the turnover, including retirements and deaths, losing general and primary elections, seeking other office, etc., but the extent of the change is still stark. There were 273 Republican members of Congress on January 20, 2025. Trump also changed his vice president and both houses of Congress had changed their top leadership.&amp;lt;ref name=&amp;quot;Trump era&amp;quot;&amp;gt;{{Cite web|url=https://abcnews.go.com/538/gop-trumps-party-now/story?id=118574467|title=The GOP is Trump&#039;s party now|date=February 10, 2025|access-date=February 10, 2025|first1=Nathaniel|last1=Rakich|first2=Katie|last2=Marriner|website=FiveThirtyEight|quote=Most Republicans in Congress were elected in the Trump era.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Conservatives ====&lt;br /&gt;
{{Main|Conservatism in the United States}}&lt;br /&gt;
{{see also|Cultural conservatism|Fiscal conservatism|Movement conservatism|Neoconservatism|Social conservatism}}&lt;br /&gt;
[[File:Conservative Gallup 8-10.svg|thumb|Percent of self-identified [[Conservatism in the United States|conservatives]] by state as of 2018, according to a [[Gallup, Inc.|Gallup]] poll:&amp;lt;ref name=&amp;quot;Jones 2019&amp;quot;&amp;gt;{{Cite web|last=Jones|first=Jeffrey M.|date=2019-02-22|title=Conservatives Greatly Outnumber Liberals in 19 U.S. States|url=https://news.gallup.com/poll/247016/conservatives-greatly-outnumber-liberals-states.aspx|url-status=live|access-date=2021-12-27|website=Gallup|language=en|archive-url=https://web.archive.org/web/20190222171445/https://news.gallup.com/poll/247016/conservatives-greatly-outnumber-liberals-states.aspx |archive-date=February 22, 2019 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
{{legend|#b70000;|45% and above}}&lt;br /&gt;
{{legend|#e02727;|40–44%}}&lt;br /&gt;
{{legend|#ed6262;|35–39%}}&lt;br /&gt;
{{legend|#ed9191;|30–34%}}&lt;br /&gt;
{{legend|#ffb8b8;|25–29%}}&lt;br /&gt;
{{legend|#ffe3e3;|24% and under}}&lt;br /&gt;
]]&lt;br /&gt;
Ronald Reagan&#039;s presidential election in [[1980 United States presidential election|1980]] established Reagan-style [[Conservatism in the United States|American conservatism]] as the dominant ideological faction of the Republican Party until the election of Donald Trump in 2016.{{refn|name=&amp;quot;Establishment&amp;quot;|Attributed to multiple sources.&amp;lt;ref name=&amp;quot;Arhin-2023&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Smith-2021&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Biebricher-2023&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Ward 08-26-22&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Punchbowl Old GOP&amp;quot;/&amp;gt;&amp;lt;ref name = &amp;quot;Kight Feb142024&amp;quot;&amp;gt;{{Cite news |last=Kight |first=Stef W. |date=February 13, 2023 |title=GOP&#039;s old guard on verge of extinction as Trump allies circle Senate |url=https://www.axios.com/2024/02/14/mcconnell-trump-republican-party-2024-election |access-date=February 14, 2024 |work=Axios |language=en-US |archive-date=February 15, 2024 |archive-url=https://web.archive.org/web/20240215041255/https://www.axios.com/2024/02/14/mcconnell-trump-republican-party-2024-election |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;wsj.com&amp;quot;&amp;gt;{{Cite web|url=https://www.wsj.com/politics/policy/trump-hasnt-changed-but-the-gop-has-14ba7c49?mod=mhp|date=July 19, 2024|first1=Molly|last1=Ball|title=Trump Hasn&#039;t Changed, but the GOP Has|website=The Wall Street Journal|access-date=July 20, 2024|archive-date=August 11, 2024|archive-url=https://web.archive.org/web/20240811135451/https://www.wsj.com/politics/policy/trump-hasnt-changed-but-the-gop-has-14ba7c49?mod=mhp|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Gerstle2022&amp;quot; /&amp;gt;}} Trump&#039;s 2016 election split both the GOP and larger conservative movement into [[Factions in the Republican Party (United States)#Trumpists|Trumpist]] and [[Never Trump movement|anti-Trump]] factions, with the Trumpist faction winning.&amp;lt;ref name =&amp;quot;Johnson-McCray-Ragusa 2018&amp;quot;&amp;gt;{{Cite journal|last1=Johnson|first1=Lauren R.|last2=McCray|first2=Deon|last3=Ragusa|first3=Jordan M.|date=January 11, 2018|title=#NeverTrump: Why Republican members of Congress refused to support their party&#039;s nominee in the 2016 presidential election|journal=Research &amp;amp; Politics|language=en|volume=5|issue=1|article-number=2053168017749383 |doi=10.1177/2053168017749383|doi-access=free}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Swartz2022&amp;quot;&amp;gt;{{Cite journal |last1=Swartz |first1=David L. |date=27 May 2022 |title=Trump divide among American conservative professors |journal=[[Theory &amp;amp; Society]] |language=en |volume=52 |issue=5 |pages=739–769 |doi=10.1007/s11186-023-09517-4 |issn=1573-7853 |doi-access=free |pmid=37362148 |pmc=10224651 }}&amp;lt;/ref&amp;gt; According to [[Nate Silver]], in all three of Trump&#039;s runs for president income had no significant correlation with support for the Republican Party, that is voters across all incomes were closely divided between the two parties.&amp;lt;ref name=&amp;quot;Nate Silver&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;culture trumps economic class&amp;quot;&amp;gt;{{Cite web |title=How culture trumps economic class as the new political fault line|date=March 28, 2024|website=Silver Bulletin|access-date=January 13, 2025|first1=Nate|last1=Silver|url=https://www.natesilver.net/p/how-culture-trumps-economic-class}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Demographically, the party has lost majority support from white voters with college degrees, while continuing to gain among voters without college degrees.&amp;lt;ref name=&amp;quot;Lost Their&amp;quot;&amp;gt;{{Cite web|url=https://www.nytimes.com/2024/11/25/upshot/democrats-trump-working-class.html|title=How Democrats Lost Their Base and their Message|quote=Donald Trump&#039;s populist pitch bumped Democrats off their traditional place in American politics.|website=The New York Times|first1=Nate|last1=Cohn|date=November 25, 2024|access-date=November 25, 2024|archive-date=November 25, 2024|archive-url=https://web.archive.org/web/20241125104053/https://www.nytimes.com/2024/11/25/upshot/democrats-trump-working-class.html|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Polarization by education&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;cambridge.org&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Cliffe 2023&amp;quot; /&amp;gt; Higher educational attainment is strongly correlated with higher income, as well as decreased support for Trump and social conservatism.&amp;lt;ref name=&amp;quot;Cliffe 2023&amp;quot;/&amp;gt; In the 2024 presidential election, Democrat [[Kamala Harris]] won a majority of voters with annual incomes over $100,000 (51-47%) and $200,000 (52-46%). Harris was also very competitive among White voters making over $100,000 (49-50%) and $200,000 a year (48-51%).&amp;lt;ref name=&amp;quot;Exit poll results 2024&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A core economic belief of Reagan-style American conservatism that has been opposed by the right-wing populist faction is support for [[neoliberalism]],&amp;lt;ref name=&amp;quot;Gerstle2022&amp;quot;/&amp;gt; including support for [[multilateralism]] and [[free trade]] while opposing tariffs.&amp;lt;ref name=&amp;quot;Trump’s aggressive push&amp;quot;/&amp;gt; The right-wing populist faction has gained preeminence by appealing to White voters without college degrees who oppose globalization and free trade and instead support enacting tariffs,&amp;lt;ref name=&amp;quot;favor Trump tariffs&amp;quot;/&amp;gt; particularly in the [[Rust Belt]] states that were crucial to Donald Trump winning the presidency twice.&amp;lt;ref name=&amp;quot;The World Trump Wants&amp;quot;/&amp;gt; Donald Trump and his base have supported enacting [[mercantilism|mercantilist]] economic policies intended to bring back the economic model that dominated the world from roughly the [[16th century|16th]] to [[19th century|19th]] centuries.&amp;lt;ref name=&amp;quot;Gilded Age vision&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Helleiner 2021&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Conventional conservatism has been in decline across the Western world, not just the United States.&amp;lt;ref name=&amp;quot;Cliffe 2023&amp;quot;&amp;gt;{{Cite web|url=https://www.newstatesman.com/international-politics/2023/02/strange-death-centre-right-moderate-conservatism|title=The strange death of the centre right|quote=In Western democracies conventional conservatism is foundering. How did this once-dominant political force become so diminished? ... The picture today is drastically different. In every one of those countries the moderate conservative tendency represented by those leaders has been sidelined in one way or another. It has either been displaced by more hard-line elements within the same party, or by another party farther to the right; or it has started cooperating with the hard-line right; or has been partly or wholly marginalised within the political system. In one notable case (Orbán) it has self-radicalised. In several countries more than one of these things has occurred. ... The traditional centre right of the postwar decades could do so by “bundling” moderate social conservatism (moderate by the standards of its day, at least) with the pro-business economic conservatism favoured by higher earners. &#039;&#039;&#039;But today those two elements are coming apart: richer folk are more likely to have gone to university and be socially liberal, while social conservatism is more associated with poorer groups.&#039;&#039;&#039; That puts centre-right politics in zugzwang: forced to move, but with no good options. It can emphasize its social conservatism and lose pro-business graduates to the centre, or play it down, shore up its support among those voters and lose social conservatives to the radical right.|first1=Jeremy|last1=Cliffe|date=February 15, 2023|access-date=February 5, 2025|website=The New Statesman|archive-date=February 11, 2025|archive-url=https://web.archive.org/web/20250211103019/https://www.newstatesman.com/international-politics/2023/02/strange-death-centre-right-moderate-conservatism|url-status=live}}&amp;lt;/ref&amp;gt; In the [[European Union]]&#039;s [[multi-party system]], right-wing populist parties and [[European People&#039;s Party|European conservative parties]] both received support from about a quarter of voters in the early 2020s, the highest share for right-wing populist parties since the end of [[World War II]].&amp;lt;ref&amp;gt;{{Cite news|url=https://www.economist.com/graphic-detail/2025/02/28/hard-right-parties-are-now-europes-most-popular|title=Hard-right parties are now Europe&#039;s most popular|newspaper=The Economist|quote=But over the past 15 years hard-right parties have made substantial gains across the region. Drawing on the work of political scientists, our analysis shows that they now make up Europe’s most popular family of political parties by vote share, beating out the conservative and social-democratic blocs for the first time in modern European history.|date=February 28, 2025|access-date=March 21, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Trump&#039;s first vice president [[Mike Pence]] has since distanced himself from Trump and did not endorse him in the 2024 presidential election.&amp;lt;ref&amp;gt;{{cite web |date=June 7, 2023 |title=Mike Pence Tears into Donald Trump at 2024 Campaign Launch |language=en-GB |publisher=[[BBC News]] |url=https://www.bbc.com/news/world-us-canada-65839793 |access-date=June 13, 2023 |quote=[Pence] added that Mr. Trump&#039;s actions on 6 January should disqualify him from returning to power. &#039;I believe that anyone who puts themselves over the constitution should never be president of the United States,&#039; he said. &#039;And anyone who asked someone else to put them over the constitution should never be president of the United States again.&#039;}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Pence&amp;quot;&amp;gt;{{cite web |date=March 15, 2024 |title=Pence says he won&#039;t endorse Trump in 2024 race |language=en-US |work=[[The Hill (newspaper)|The Hill]] |url=https://thehill.com/homenews/campaign/4535253-pence-says-he-wont-endorse-trump-in-2024-race/ |access-date=March 15, 2024 |quote=&#039;In each of these cases Donald Trump is pursuing and articulating an agenda that is at odds with the conservative agenda that we governed on during our four years,&#039; Pence said. &#039;And that&#039;s why I cannot in good conscience endorse Donald Trump in this campaign.&#039; |archive-date=March 15, 2024 |archive-url=https://web.archive.org/web/20240315202654/https://thehill.com/homenews/campaign/4535253-pence-says-he-wont-endorse-trump-in-2024-race/ |url-status=live }}&amp;lt;/ref&amp;gt; Likewise, Trump decided not to have Pence as his vice president again, instead choosing JD Vance.&amp;lt;ref&amp;gt;{{Cite news |last=Bender |first=Michael C. |date=2022-12-07 |title=The key statistics about Trump&#039;s endorsement track record this year. |language=en-US |work=The New York Times |url=https://www.nytimes.com/2022/12/06/us/politics/trump-candidate-endorsement-georgia.html |access-date=2022-12-07 |issn=0362-4331}}&amp;lt;/ref&amp;gt; [[Mitch McConnell]], who previously served as Senate Republican leader for 18 years (2007–2025), stepped down as leader in 2025 and will retire in 2026 due to declining health and age, as well as disagreements with Trump. McConnell was described as the last powerful member of the Republican establishment, with his retirement marking its end.&amp;lt;ref name=&amp;quot;Carney 2025&amp;quot;&amp;gt;{{Cite web|url=https://www.politico.com/news/2025/02/20/mitch-mcconnell-end-of-an-era-00205294|title=Out goes Mitch McConnell — and an era of GOP politics|first1=Jordain|last1=Carney|website=[[Politico]] |date=February 20, 2025|access-date=February 20, 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Price of Power&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Punchbowl Old GOP&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Roberts Court]] (2005–present), three of whose members were appointed by Trump as of 2024, has been described as the most conservative Supreme Court since the [[Vinson Court]] (1946-1953). It represents the last of the Republican establishment, with [[Chief Justice of the United States|Chief Justice]] [[John Roberts]] the only Republican leader before Trump to have maintained office during Trump&#039;s second term.&amp;lt;ref name=&amp;quot;Nine Black Robes&amp;quot;&amp;gt;{{Cite book|title=Nine Black Robes: Inside the Supreme Court&#039;s Drive to the Right and Its Historic Consequences|date=April 4, 2023|quote=Today’s bench—with its conservative majority—is desperately ideological. The Court has been headed rightward and ensnared by its own intrigues for years, but the Trump appointments hastened the modern transformation.|first1=Joan|last1=Biskupic|isbn=978-0063052789 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The party still maintains long-time ideologically conservative positions on many issues.&amp;lt;ref name=&amp;quot;Aratani-2021&amp;quot;&amp;gt;{{cite news |last1=Aratani |first1=Lauren |title=Republicans unveil two minimum wage bills in response to Democrats&#039; push |url=https://www.theguardian.com/us-news/2021/feb/26/republicans-minimum-wage-bills-senate |access-date=8 February 2024 |work=The Guardian |date=26 February 2021 |archive-url=https://web.archive.org/web/20210814230535/https://www.theguardian.com/us-news/2021/feb/26/republicans-minimum-wage-bills-senate |archive-date=14 August 2021 |quote=In keeping with the party&#039;s deep division between its dominant Trumpist faction and its more traditionalist party elites, the twin responses seem aimed at appealing on one hand to its corporate-friendly allies and on the other hand to its populist rightwing base. Both have an anti-immigrant element.}}&amp;lt;/ref&amp;gt; Traditional modern conservatives combine support for free-market economic policies with [[social conservatism]] and a hawkish approach to foreign policy.&amp;lt;ref name=&amp;quot;Devine-2014&amp;quot;&amp;gt;{{#invoke:cite|web|last=Devine |first=Donald |date=April 4, 2014 |title=Reagan&#039;s Philosophical Fusionism |url=https://www.theamericanconservative.com/reagans-philosophical-fusionism/ |access-date=January 18, 2023 |website=The American Conservative |language=en-US |archive-date=April 4, 2023 |archive-url=https://web.archive.org/web/20230404162912/https://www.theamericanconservative.com/reagans-philosophical-fusionism/ |url-status=live }}&amp;lt;/ref&amp;gt; Other parts of the conservative movement are composed of [[fiscal conservatism|fiscal conservatives]] and [[deficit hawk]]s.&amp;lt;ref&amp;gt;{{cite book|last=Coates|first=David|year=2012|title=The Oxford Companion to American Politics|volume=2|page=393|publisher=Oxford University Press|isbn=978-0-19-976431-0}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In foreign policy, [[Neoconservatism|neoconservatives]] are a small faction of the GOP that support an [[Interventionism (politics)|interventionist foreign policy]] and increased military spending. They previously held significant influence in the early 2000s in planning the initial response to the [[September 11 attacks|9/11 attacks]] through the [[War on Terror]].&amp;lt;ref name=&amp;quot;Rathburn 2008&amp;quot; /&amp;gt; Since the election of Trump in 2016, neoconservatism has declined and [[non-interventionism]] and [[isolationism]] has grown among elected federal Republican officeholders.&amp;lt;ref name=&amp;quot;New Fusionism&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Rucker 2016&amp;quot;&amp;gt;{{cite news |last1=Rucker |first1=Philip |author1-link=Philip Rucker |last2=Costa |first2=Robert |author2-link=Robert Costa (journalist) |date=March 21, 2016 |title=Trump questions need for NATO, outlines noninterventionist foreign policy |newspaper=[[The Washington Post]] |url=https://www.washingtonpost.com/news/post-politics/wp/2016/03/21/donald-trump-reveals-foreign-policy-team-in-meeting-with-the-washington-post/ |access-date=February 23, 2024 |archive-date=May 14, 2020 |archive-url=https://web.archive.org/web/20200514130954/https://www.washingtonpost.com/news/post-politics/wp/2016/03/21/donald-trump-reveals-foreign-policy-team-in-meeting-with-the-washington-post/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Dodson-Brooks 2021&amp;quot;&amp;gt;{{cite journal |last1=Dodson |first1=Kyle |last2=Brooks |first2=Clem |title=All by Himself? Trump, Isolationism, and the American Electorate |journal=The Sociological Quarterly |date=20 September 2021 |volume=63 |issue=4 |pages=780–803 |doi=10.1080/00380253.2021.1966348 |s2cid=240577549 |issn=0038-0253|doi-access=free }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Long-term shifts in conservative thinking following the elections of Trump have been described as a &amp;quot;new fusionism&amp;quot; of traditional conservative ideology and right-wing populist themes.&amp;lt;ref name=&amp;quot;New Fusionism&amp;quot;/&amp;gt; These have resulted in shifts towards greater support for [[national conservatism]],&amp;lt;ref&amp;gt;{{cite news |title=The growing peril of national conservatism |url=https://www.economist.com/leaders/2024/02/15/the-growing-peril-of-national-conservatism |newspaper=[[The Economist]] |date=February 15, 2024 |access-date=February 15, 2024 |archive-date=February 15, 2024 |archive-url=https://web.archive.org/web/20240215195332/https://www.economist.com/leaders/2024/02/15/the-growing-peril-of-national-conservatism |url-status=live |url-access=subscription}}&amp;lt;/ref&amp;gt; [[protectionism]],&amp;lt;ref&amp;gt;{{cite news |title=The Republican Party no longer believes America is the essential nation |url=https://www.economist.com/united-states/2023/10/26/the-republican-party-no-longer-believes-america-is-the-essential-nation |newspaper=[[The Economist]] |date=October 26, 2023 |access-date=February 14, 2024 |archive-date=February 13, 2024 |archive-url=https://web.archive.org/web/20240213131705/https://www.economist.com/united-states/2023/10/26/the-republican-party-no-longer-believes-america-is-the-essential-nation |url-status=live |url-access=subscription}}&amp;lt;/ref&amp;gt; [[cultural conservatism]], a more [[Realism (international relations)|realist]] foreign policy, a conspiracist sub-culture, a repudiation of [[neoconservatism]], reduced efforts to roll back entitlement programs, and a disdain for traditional checks and balances.&amp;lt;ref name=&amp;quot;New Fusionism&amp;quot;/&amp;gt;&amp;lt;ref name=dissolved&amp;gt;{{cite news |last1=Mullins |first1=Luke |title=FreedomWorks Is Closing — And Blaming Trump |url=https://www.politico.com/news/magazine/2024/05/08/freedomworks-is-closing-and-blaming-trump-00156784 |access-date=8 May 2024 |work=Politico |date=May 8, 2024}}&amp;lt;/ref&amp;gt; There are significant divisions within the party on the issues of [[abortion]] and LGBT rights.&amp;lt;ref name=&amp;quot;Cohn2023&amp;quot;&amp;gt;{{Cite news |last=Cohn |first=Nate |date=August 17, 2023 |title=The 6 Kinds of Republican Voters |language=en-US |work=The New York Times |url=https://www.nytimes.com/interactive/2023/08/17/upshot/six-kinds-of-republican-voters.html |access-date=October 9, 2023 |issn=0362-4331 |archive-date=October 12, 2023 |archive-url=https://web.archive.org/web/20231012095530/https://www.nytimes.com/interactive/2023/08/17/upshot/six-kinds-of-republican-voters.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Doherty-2023&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Conservative caucuses include the [[Republican Study Committee]] and [[Freedom Caucus]].&amp;lt;ref&amp;gt;{{cite web|title=About|date=December 19, 2013 |url=https://rsc-hern.house.gov/about|publisher=Republican Study Committee|access-date=February 14, 2024|url-status=live|archive-url=https://web.archive.org/web/20240111231548/https://rsc-hern.house.gov/about|archive-date=January 11, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|last=Desilver|first=Drew|date=January 23, 2023|title=Freedom Caucus likely to play a bigger role in new GOP-led House. So who are they?|url=https://www.pewresearch.org/short-reads/2023/01/23/freedom-caucus-likely-to-play-a-bigger-role-in-new-gop-led-house-so-who-are-they/|archive-url=https://web.archive.org/web/20240108045953/https://www.pewresearch.org/short-reads/2023/01/23/freedom-caucus-likely-to-play-a-bigger-role-in-new-gop-led-house-so-who-are-they/|archive-date=January 8, 2024|access-date=February 14, 2024|website=Pew Research Center|language=en-US}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Christian right ====&lt;br /&gt;
{{Main|Christian right|Social conservatism in the United States}}&lt;br /&gt;
{{see also|Christian nationalism#United States|Bible Belt|United States anti-abortion movement|2020s anti-LGBT movement in the United States}}&lt;br /&gt;
[[File:Speaker Mike Johnson Official Portrait.jpg|thumb|House Speaker [[Mike Johnson]] (2023–present)]]&lt;br /&gt;
&lt;br /&gt;
Since the rise of the [[Christian right]] in the 1970s, the Republican Party has drawn significant support from [[evangelicals]], [[Mormons]],&amp;lt;ref&amp;gt;{{Cite web|date=April 27, 2015|title=Five things you should know about Mormon politics|url=https://religionnews.com/2015/04/27/five-things-know-mormon-politics/|access-date=July 16, 2020|website=Religion News Service|language=en-US|archive-date=July 16, 2020|archive-url=https://web.archive.org/web/20200716204657/https://religionnews.com/2015/04/27/five-things-know-mormon-politics/|url-status=live}}&amp;lt;/ref&amp;gt; and [[Traditionalist Catholicism|traditionalist]] [[Catholic Church in the United States|Catholics]], partly due to [[opposition to abortion]] after &#039;&#039;[[Roe v. Wade]].&#039;&#039;&amp;lt;ref name=&amp;quot;Williams-2022&amp;quot;&amp;gt;{{Cite web |last=Williams |first=Daniel K. |date=May 9, 2022 |title=This Really Is a Different Pro-Life Movement |url=https://www.theatlantic.com/ideas/archive/2022/05/south-abortion-pro-life-protestants-catholics/629779/ |access-date=February 2, 2023 |website=[[The Atlantic]] |language=en |quote=This was not merely a geographic shift, trading one region for another, but a more fundamental transformation of the anti-abortion movement&#039;s political ideology. In 1973 many of the most vocal opponents of abortion were northern Democrats who believed in an expanded social-welfare state and who wanted to reduce abortion rates through prenatal insurance and federally funded day care. In 2022, most anti-abortion politicians are conservative Republicans who are skeptical of such measures. What happened was a seismic religious and political shift in opposition to abortion that has not occurred in any other Western country. |archive-date=May 10, 2022 |archive-url=https://web.archive.org/web/20220510043840/https://www.theatlantic.com/ideas/archive/2022/05/south-abortion-pro-life-protestants-catholics/629779/ |url-status=live }}&amp;lt;/ref&amp;gt; The Christian right faction is characterized by strong support of [[Social conservatism|socially conservative]] and [[Christian nationalism|Christian nationalist]] policies.{{refn|&lt;br /&gt;
* {{cite book |author-last1=McDaniel|author-first1=Eric L.|author-last2=Nooruddin|author-first2=Irfan|author-last3=Shortle|author-first3=Allyson|date=2022 |title=The Everyday Crusade: Christian Nationalism in American Politics|url=https://books.google.com/books?id=lodoEAAAQBAJ |location=Cambridge, United Kingdom |publisher=Cambridge University Press |isbn=9781316516263|doi=10.1017/9781009029445|quote=White Christian Nationalists are today the base of the Republican Party and those who attacked the U.S. Capitol are drawn from their ranks.}}&lt;br /&gt;
* {{Cite web |date=February 7, 2024 |title=First of Its Kind Survey Maps Support for Christian Nationalism Across All 50 States |url=https://www.prri.org/press-release/first-of-its-kind-survey-maps-support-for-christian-nationalism-across-all-50-states/ |access-date=June 15, 2024 |publisher=[[Public Religion Research Institute]] |language=en |archive-date=June 16, 2024 |archive-url=https://web.archive.org/web/20240616030445/https://www.prri.org/press-release/first-of-its-kind-survey-maps-support-for-christian-nationalism-across-all-50-states/ |url-status=live |quote=At the national level, Christian nationalism is strongly linked to Republican Party affiliation, white evangelical Protestant affiliation, and higher church attendance.}}&lt;br /&gt;
* {{cite book |author-last1=Whitehead|author-first1=Andrew L.|author-last2=Perry|author-first2=Samuel L.|date=2020 |title=Taking America Back for God: Christian Nationalism in the United States|url=https://books.google.com/books?id=CDLNDwAAQBAJ |location=New York, New York |publisher=Oxford University Press |isbn=9780190057909 }}&lt;br /&gt;
* {{Cite web |date=February 8, 2023 |title=A Christian Nation? Understanding the Threat of Christian Nationalism to American Democracy and Culture |url=https://www.prri.org/research/a-christian-nation-understanding-the-threat-of-christian-nationalism-to-american-democracy-and-culture/ |access-date=June 16, 2024 |publisher=[[Public Religion Research Institute]] |language=en |archive-date=June 15, 2024 |archive-url=https://web.archive.org/web/20240615070952/https://www.prri.org/research/a-christian-nation-understanding-the-threat-of-christian-nationalism-to-american-democracy-and-culture/ |url-status=live |quote=Partisanship is closely linked to Christian nationalist views. Most Republicans qualify as either Christian nationalism sympathizers (33%) or adherents (21%), while at least three-quarters of both independents (46% skeptics and 29% rejecters) and Democrats (36% skeptics and 47% rejecters) lean toward rejecting Christian nationalism. Republicans (21%) are about four times as likely as Democrats (5%) or independents (6%) to be adherents of Christian nationalism.}}&lt;br /&gt;
* {{cite journal |last1=Baker |first1=Joseph O. |last2=Perry |first2=Samuel L. |last3=Whitehead |first3=Andrew L. |date=August 6, 2020 |title=Crusading for Moral Authority: Christian Nationalism and Opposition to Science |journal=Sociological Forum |volume=35 |issue=3 |pages=587–607 |doi=10.1111/socf.12619 |quote=Christian nationalism has become a powerful predictor of supporting conservative policies and political candidates. This is in large part due to the Republican Party platform becoming synonymous with &amp;quot;restoring&amp;quot; the sacred values, moral superiority, unity, pride, and prosperity of America&#039;s mythic past.|hdl=1805/26816 |hdl-access=free }}&lt;br /&gt;
* {{cite journal |last1=Whitehead |first1=Andrew L. |last2=Perry |first2=Samuel L. |last3=Baker |first3=Joseph O. |date=25 January 2018 |title=Make America Christian Again: Christian Nationalism and Voting for Donald Trump in the 2016 Presidential Election |journal=Sociology of Religion |volume=79 |issue=2 |pages=147–171 |doi=10.1093/socrel/srx070 |quote=The current study establishes that, independent of these influences, voting for Trump was, at least for many Americans, a symbolic defense of the United States&#039; perceived Christian heritage. Data from a national probability sample of Americans surveyed soon after the 2016 election shows that greater adherence to Christian nationalist ideology was a robust predictor of voting for Trump...}}&lt;br /&gt;
* {{cite news |last=Lauter |first=David |date=February 17, 2024 |title=Will Republicans become a Christian nationalist party? Can they win if they do? |url=https://www.latimes.com/politics/newsletter/2023-02-17/will-republicans-become-a-christian-nationalist-party-essential-politics |url-status=live |work=Los Angeles Times |location=Los Angeles, California |archive-url=https://web.archive.org/web/20240405092338/https://www.latimes.com/politics/newsletter/2023-02-17/will-republicans-become-a-christian-nationalist-party-essential-politics |archive-date=April 5, 2024 |access-date=June 16, 2024|issn=0458-3035 |quote=The strength of Christian nationalist sentiment can be clearly seen in a wide range of issues that Republican elected officials have stressed, including efforts to curtail the rights and visibility of transgender people, but also some less obvious topics, such as immigration.}}&lt;br /&gt;
* {{cite news |last1=Whitehead |first1=Andrew L. |last2=Perry |first2=Samuel L. |date=February 17, 2024 |title=Is Christian nationalism growing or declining? Both. |url=https://www.washingtonpost.com/politics/2022/10/25/republicans-christian-nationalism-midterms/ |url-status=live |newspaper=The Washington Post |archive-url=https://web.archive.org/web/20240616182922/https://www.washingtonpost.com/politics/2022/10/25/republicans-christian-nationalism-midterms/ |archive-date=June 16, 2024 |access-date=June 16, 2024|issn=0190-8286 |quote=According to political scientists Stella Rouse and Shibley Telhami, most Republicans support declaring the United States a Christian nation. And Christian nationalists are running for office at all levels of government, from local school boards to presumptive presidential candidates. Though the numbers of those who claim Christian nationalist beliefs may decline, Christian nationalism&#039;s influence in public life only continues to grow.}}&lt;br /&gt;
* {{cite web |last=Perry |first=Samuel |date=August 5, 2022 |title=After Trump, Christian nationalist ideas are going mainstream – despite a history of violence  |url=https://theconversation.com/after-trump-christian-nationalist-ideas-are-going-mainstream-despite-a-history-of-violence-188055 |url-status=live |work=[[The Conversation (website)|The Conversation]] |archive-url=https://web.archive.org/web/20240601132553/https://theconversation.com/after-trump-christian-nationalist-ideas-are-going-mainstream-despite-a-history-of-violence-188055 |archive-date=June 1, 2024 |access-date=June 16, 2024 |issn=2201-5639 |quote=The presence of Christian nationalist ideas in recent political campaigns is concerning, given its ties to violence and white supremacy. Trump and his advisers helped to mainstream such rhetoric with events like his photo op with a Bible in Lafayette Square in Washington following the violent dispersal of protesters, and making a show of pastors laying hands on him. But that legacy continues beyond his administration.}}&lt;br /&gt;
* {{cite news |last=Cummings |first=Mike |date=March 15, 2022 |title=Yale sociologist Phil Gorski on the threat of white Christian nationalism |url=https://news.yale.edu/2022/03/15/yale-sociologist-phil-gorski-threat-white-christian-nationalism |url-status=live |work=Yale News |archive-url=https://web.archive.org/web/20240612195953/https://news.yale.edu/2022/03/15/yale-sociologist-phil-gorski-threat-white-christian-nationalism |archive-date=June 12, 2024 |access-date=June 16, 2024 |quote=White Christian nationalism is a dangerous threat because it&#039;s incredibly well-organized and powerful. There&#039;s absolutely nothing like it on the left.}}&lt;br /&gt;
* {{cite news |last=Smith |first=Peter |date=February 17, 2024 |title=Many believe the founders wanted a Christian America. Some want the government to declare one now |url=https://apnews.com/article/american-founders-christian-nation-conservative-beliefs-4ea388e8d80c54016a6a4460cbef9b82 |url-status=live |work=The Associated Press |location=New York |archive-url=https://web.archive.org/web/20240219033711/https://apnews.com/article/american-founders-christian-nation-conservative-beliefs-4ea388e8d80c54016a6a4460cbef9b82 |archive-date=February 19, 2024 |access-date=February 22, 2024}}&lt;br /&gt;
* {{cite web |last1=Rouse |first1=Stella |last2=Telhami |first2=Shibley |title=Most Republicans Support Declaring the United States a Christian Nation |url=https://www.politico.com/news/magazine/2022/09/21/most-republicans-support-declaring-the-united-states-a-christian-nation-00057736 |website=Politico |access-date=February 22, 2024 |archive-url=https://web.archive.org/web/20220927001816/https://www.politico.com/news/magazine/2022/09/21/most-republicans-support-declaring-the-united-states-a-christian-nation-00057736 |archive-date=September 27, 2022 |date=September 21, 2022 |url-status=live|quote=Christian nationalism, a belief that the United States was founded as a white, Christian nation and that there is no separation between church and state, is gaining steam on the right. Prominent Republican politicians have made the themes critical to their message to voters in the run up to the 2022 midterm elections.}}}} Christian conservatives seek to use the teachings of [[Christianity]] to influence law and public policy.&amp;lt;ref&amp;gt;{{cite book |last1=Anderson |first1=Margaret L. |last2=Taylor|first2=Howard Francis |date=2006 |title=Sociology: Understanding a Diverse Society |url=https://books.google.com/books?id=LP9bIrZ9xacC&amp;amp;pg=PA469 |location=Belmont, CA |publisher=Thomson Wadsworth |page= |isbn=978-0-534-61716-5}}&amp;lt;/ref&amp;gt; Compared to other Republicans, the socially conservative [[Religious right in the United States|Christian right]] faction of the party is more likely to oppose [[LGBT rights in the United States|LGBT rights]], &amp;lt;!--[[comprehensive sex education]], --&amp;gt;[[Legalization of non-medical cannabis in the United States|marijuana legalization]], and support [[Abortion law in the United States by state|significantly restricting the legality of abortion]].&amp;lt;ref&amp;gt;{{cite book |author-first=Robert B. |author-last=Smith |title=Mediations of Social Life in the 21st Century |chapter=Social Conservatism, Distractors, and Authoritarianism: Axiological versus instrumental rationality |editor-first=Harry F. |editor-last=Dahms |date=2014|publisher=Emerald Group Publishing|isbn=9781784412227|page=101|chapter-url=https://books.google.com/books?id=C5V1BQAAQBAJ&amp;amp;pg=PA101|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Christian right is strongest in the [[Bible Belt]], which covers most of the [[Southern United States]].&amp;lt;ref&amp;gt;Brunn, Stanley D., Gerald R. Webster, and J. Clark Archer. &amp;quot;The Bible Belt in a changing south: Shrinking, relocating, and multiple buckles.&amp;quot; &#039;&#039;Southeastern Geographer&#039;&#039; 51.4 (2011): 513–549. [https://www.jstor.org/stable/26228980 online] {{Webarchive|url=https://web.archive.org/web/20230129031122/https://www.jstor.org/stable/26228980 |date=January 29, 2023 }}&amp;lt;/ref&amp;gt; [[Mike Pence]], Donald Trump&#039;s vice president from 2017 to 2021, was a member of the Christian right.&amp;lt;ref&amp;gt;{{Cite news|url=https://www.nytimes.com/2016/07/21/us/politics/mike-pence-religion.html|title=Mike Pence&#039;s Journey: Catholic Democrat to Evangelical Republican|last1=Mahler|first1=Jonathan|date=July 20, 2016|work=[[The New York Times]]|access-date=March 22, 2017|last2=Johnson|first2=Dirk|issn=0362-4331|archive-date=November 14, 2016|archive-url=https://web.archive.org/web/20161114134505/http://www.nytimes.com/2016/07/21/us/politics/mike-pence-religion.html|url-status=live}}&amp;lt;/ref&amp;gt; In October 2023, a member of the Christian right faction, Louisiana representative [[Mike Johnson]], was elected the 56th Speaker of the United States House of Representatives.&amp;lt;ref&amp;gt;{{Cite news |last1=Karni |first1=Annie |last2=Graham |first2=Ruth |last3=Eder |first3=Steve |title=For Mike Johnson, Religion Is at the Forefront of Politics and Policy |work=The New York Times |date=October 28, 2023 |url=https://www.nytimes.com/2023/10/27/us/politics/mike-johnson-speaker-religion.html }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |date=2023-10-27 |title=Christian conservatives cheer one of their own as Mike Johnson assumes Congress&#039; most powerful seat |url=https://apnews.com/article/house-speaker-mike-johnson-christian-right-louisiana-9407f1e4b4c588f27f9510dd47c94fe8 |access-date=2024-02-08 |website=AP News |language=en |archive-date=February 24, 2024 |archive-url=https://web.archive.org/web/20240224023531/https://apnews.com/article/house-speaker-mike-johnson-christian-right-louisiana-9407f1e4b4c588f27f9510dd47c94fe8 |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Libertarians ====&lt;br /&gt;
{{main|Libertarian Republican|Right-libertarianism}}&lt;br /&gt;
{{See also|Libertarian conservatism|Libertarianism in the United States|Republican Liberty Caucus|Tea Party movement}}&lt;br /&gt;
The Republican Party has a [[right-libertarian|libertarian]] faction.&amp;lt;ref name=&amp;quot;Wilbur-2012&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Cohn2023&amp;quot;/&amp;gt; This faction of the party is most popular in the [[Midwestern United States|Midwestern]] and [[Western United States]].&amp;lt;ref name=&amp;quot;Cohn2023&amp;quot; /&amp;gt; Libertarianism emerged from [[fusionism]] in the 1950s and 60s.&amp;lt;ref&amp;gt;{{Cite book |last=Dionne Jr. |first=E.J. |title=Why Americans Hate Politics |publisher=Simon &amp;amp; Schuster |year=1991 |location=New York |page=161}}&amp;lt;/ref&amp;gt; [[Barry Goldwater]] had a substantial impact on the conservative-libertarian movement of the 1960s.&amp;lt;ref&amp;gt;{{Citation |last=Poole |first=Robert |title=In memoriam: Barry Goldwater |date=August–September 1998 |newspaper=[[Reason (magazine)|Reason]] |type=Obituary |url=http://findarticles.com/p/articles/mi_m1568/is_n4_v30/ai_20954419 |archive-url=http://arquivo.pt/wayback/20090628123204/http%3A//findarticles%2Ecom/p/articles/mi_m1568/is_n4_v30/ai_20954419/ |archive-date=June 28, 2009}}&amp;lt;/ref&amp;gt; Compared to other Republicans, they are more likely to favor the [[Legalization of non-medical cannabis in the United States|legalization of marijuana]], [[LGBT rights in the United States|LGBT rights]] such as [[same-sex marriage]], [[gun rights]], oppose [[Surveillance|mass surveillance]], and support reforms to current laws surrounding [[Civil forfeiture in the United States|civil asset forfeiture]]. Right-wing libertarians are [[Libertarian perspectives on abortion|strongly divided on the subject of abortion]].&amp;lt;ref name=&amp;quot;Libertarians for Life&amp;quot;&amp;gt;{{cite web |first=Doris |last=Gordon |title=Abortion and Rights: Applying Libertarian Principles Correctly |url=http://www.l4l.org/library/abor-rts.html |url-status=live |archive-url=https://web.archive.org/web/20160526031557/http://l4l.org/library/abor-rts.html |archive-date=May 26, 2016 |access-date=March 8, 2023 |publisher=[[Libertarians for Life]]}} Also see: {{cite book |last1=McElroy |first1=Wendy |author-link1=Wendy McElroy |title=Liberty for Women |date=2002 |publisher=Ivan R. Dee |isbn=978-1566634359 |location=Chicago |page=156 |oclc=260069067 |quote=Libertarians for Life declare that abortion is not a right but a &#039;wrong under justice.&#039;}}&amp;lt;/ref&amp;gt; Prominent libertarian conservatives within the Republican Party include [[Rand Paul]],&amp;lt;ref name=&amp;quot;courier-journal.com&amp;quot;&amp;gt;{{Cite web |title=Who are Mike Lee and Rand Paul, the senators slamming the White House&#039;s Iran briefing? |url=https://www.courier-journal.com/story/news/politics/2020/01/09/who-mike-lee-and-rand-paul-senators-slamming-white-houses-iran-briefing/4420109002/ |url-status=live |archive-url=https://web.archive.org/web/20231215023724/https://www.courier-journal.com/story/news/politics/2020/01/09/who-mike-lee-and-rand-paul-senators-slamming-white-houses-iran-briefing/4420109002/ |archive-date=December 15, 2023 |access-date=May 26, 2023 |website=The Courier-Journal |language=en-US}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;hannitycpac&amp;quot;&amp;gt;{{cite news |date=March 18, 2013 |title=Sen. Rand Paul talks CPAC straw poll victory, looks ahead to 2016 |url=http://www.foxnews.com/on-air/hannity/2013/03/19/sen-rand-paul-talks-cpac-straw-poll-victory-looks-ahead-2016 |url-status=dead |archive-url=https://web.archive.org/web/20130401150703/http://www.foxnews.com/on-air/hannity/2013/03/19/sen-rand-paul-talks-cpac-straw-poll-victory-looks-ahead-2016 |archive-date=April 1, 2013 |publisher=Hannity with Sean Hannity (Fox News Network)}}&amp;lt;/ref&amp;gt; [[Thomas Massie]],&amp;lt;ref name=&amp;quot;tea party&amp;quot;&amp;gt;{{cite news |last1=Miller |first1=Joshua |date=December 22, 2012 |title=Scientist, Farmer Brings Tea Party Sensibility to House |url=https://www.rollcall.com/2012/12/22/scientist-farmer-brings-tea-party-sensibility-to-house/ |url-status=live |archive-url=https://web.archive.org/web/20200901054304/https://www.rollcall.com/2012/12/22/scientist-farmer-brings-tea-party-sensibility-to-house/ |archive-date=September 1, 2020 |access-date=September 1, 2020 |work=[[Roll Call]]}}&amp;lt;/ref&amp;gt; and [[Mike Lee]].&amp;lt;ref name=&amp;quot;courier-journal.com&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Glueck |first=Katie |date=July 31, 2013 |title=Paul, Cruz and Lee in rare form |url=https://www.politico.com/story/2013/07/rand-paul-ted-cruz-mike-lee-095033 |url-status=live |archive-url=https://web.archive.org/web/20230526180557/https://www.politico.com/story/2013/07/rand-paul-ted-cruz-mike-lee-095033 |archive-date=May 26, 2023 |access-date=May 26, 2023 |website=[[Politico]] |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the [[2024 United States elections]], the Republican Party adopted pro-[[cryptocurrency]] policies, which were originally advocated by the libertarian wing of the party.&amp;lt;ref&amp;gt;{{Cite news|work=Marketplace|title=Republicans are embracing crypto|date=17 July 2024|url=https://www.marketplace.org/2024/07/17/republicans-crypto-bitcoin-donald-trump/}}&amp;lt;/ref&amp;gt; As the Republican presidential nominee, [[Donald Trump]] addressed the [[2024 Libertarian National Convention]], pledging support for cryptocurrency, opposing [[central bank digital currency]] and expressing support for the commutation of [[Ross Ulbricht]].&amp;lt;ref&amp;gt;{{cite web |last1=Schaeffer |first1=Peder |title=Trump pledges to commute sentence of Silk Road founder Ross Ulbricht if elected |url=https://www.politico.com/news/2024/05/25/trump-commute-ross-ulbricht-sentence-libertarian-convention-00160025 |website=[[Politico]] |access-date=8 February 2025 |date=25 May 2024}}&amp;lt;/ref&amp;gt; Trump&#039;s 2024 campaign featured greater influence from [[technolibertarian]] elements, particularly [[Elon Musk]], who was subsequently nominated to lead the [[Department of Government Efficiency]] (DOGE).&amp;lt;ref&amp;gt;{{cite news|work=Vox|url=https://www.vox.com/technology/383859/musk-trump-vance-silicon-valley|date=November 11, 2024|title=Trump&#039;s techno-libertarian dream team goes to Washington}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=Politico|title=Elon Musk&#039;s Twist On Tech Libertarianism Is Blowing Up On Twitter|date=November 23, 2024|url=https://www.politico.com/news/magazine/2022/11/23/elon-musks-new-school-tech-libertarianism-00070733}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=Euronews|title=&#039;Techno libertarians&#039;: Why Elon Musk is supporting Donald Trump in the US election|date=October 30, 2024|url=https://www.euronews.com/next/2024/10/30/techno-libertarians-why-elon-musk-is-supporting-donald-trump-in-the-us-election}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In June 2025, the libertarian wing strongly opposed Trump&#039;s [[One Big Beautiful Bill Act]] for contributing to the national debt, with Paul, Massie and Musk all publicly criticizing the legislation.&amp;lt;ref&amp;gt;{{cite news|work=The Hill|title=Rand Paul doubles down on big, beautiful bill criticism after Trump slam|date=June 6, 2025|url=https://thehill.com/homenews/senate/5330468-rand-paul-doubles-down-on-big-beautiful-bill-criticism-after-trump-slam/}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=The Independent|title=Elon Musk and Rand Paul appear to join forces against Trump and the &#039;big, beautiful bill&#039;|date=June 5, 2025|url=https://www.independent.co.uk/news/world/americas/us-politics/elon-musk-rand-paul-trump-bill-b2763331.html}}&amp;lt;/ref&amp;gt; In response, White House Deputy Chief of Staff for Policy [[Stephen Miller (advisor)|Stephen Miller]], a figure associated with the populist wing of the party, criticized the libertarian faction, stating, &amp;quot;Certain libertarians in Congress, who are not MAGA, have their own agenda...and it&#039;s not yours.&amp;quot;&amp;lt;ref name=&amp;quot;BBBmiller&amp;quot;/&amp;gt; Miller has been described by [[The Hill (newspaper)|The Hill]] as advocating for a break with the libertarians within the party, based on his view that they do not sufficiently emphasize [[immigration reduction|strict immigration restriction]]s or favor massive increases of government spending.&amp;lt;ref&amp;gt;{{cite news|work=The Hill|quote=the White House deputy chief of staff — and chief architect of Trump’s immigration agenda — is taking a sledgehammer to what remains of the libertarian-conservative fusionism that was prominent in the party pre-Trump.|date=June 10, 2025|url=https://thehill.com/newsletters/the-movement/5341262-the-movement-stephen-miller-gop-libertarians/|title=Stephen Miller wages war on the GOP&#039;s libertarians}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Moderates ====&lt;br /&gt;
{{Main|Centrism|Center-right politics}}&lt;br /&gt;
{{see also|Republican Governance Group|Moderate conservatism|Problem Solvers Caucus}}&lt;br /&gt;
Moderates in the Republican Party are an ideologically centrist group that predominantly come from the [[Northeastern United States]],&amp;lt;ref name=&amp;quot;Kashinsky-2023&amp;quot;&amp;gt;{{Cite web|url=https://www.politico.com/news/2023/07/19/moderate-republican-governor-trump-00107248|title=Sununu&#039;s exit spells the end of a whole breed of Republican governor|date=July 19, 2023|website=POLITICO|last=Kashinsky|first=Lisa|access-date=November 8, 2023|archive-date=November 8, 2023|archive-url=https://web.archive.org/web/20231108131447/https://www.politico.com/news/2023/07/19/moderate-republican-governor-trump-00107248|url-status=live}}&amp;lt;/ref&amp;gt; and are typically located in [[swing state]]s or [[Red states and blue states|blue states]]. Moderate Republican voters are typically highly educated, affluent, fiscally conservative, socially moderate or liberal and often [[Never Trump movement|&amp;quot;Never Trump&amp;quot;]].&amp;lt;ref name=&amp;quot;Cohn2023&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Kashinsky-2023&amp;quot;/&amp;gt; While they sometimes share the economic views of other Republicans (i.e. [[tax cuts|lower taxes]], [[deregulation]], and [[welfare reform]]), moderate Republicans differ in that some are for [[affirmative action in the United States|affirmative action]],&amp;lt;ref&amp;gt;{{cite news|newspaper=The Washington Post|title=Losing Its Preference: Affirmative Action Fades as Issue|url=https://www.washingtonpost.com/wp-srv/politics/special/affirm/stories/aa091896.htm|year=1996|url-status=live|archive-url=https://web.archive.org/web/20170223165410/http://www.washingtonpost.com/wp-srv/politics/special/affirm/stories/aa091896.htm|archive-date=February 23, 2017}}&amp;lt;/ref&amp;gt; [[LGBT rights in the United States|LGBT rights and same-sex marriage]], legal access to and even public funding for [[abortion debate|abortion]], [[Gun politics in the United States|gun control]] laws, more [[environmental regulation]] and action on [[climate change]], fewer restrictions on [[immigration]] and a path to citizenship for illegal immigrants.&amp;lt;ref&amp;gt;{{cite news|url=http://www.cnn.com/2009/POLITICS/05/06/liberal.republicans/|title=Analysis: An autopsy of liberal Republicans|first=Alan|last=Silverleib|website=cnn.com|language=en|date=May 6, 2009|access-date=October 14, 2018|archive-date=June 25, 2018|archive-url=https://web.archive.org/web/20180625021607/http://www.cnn.com/2009/POLITICS/05/06/liberal.republicans/|url-status=live}}&amp;lt;/ref&amp;gt; In the 21st century, some former Republican moderates have switched to the Democratic Party,&amp;lt;ref&amp;gt;{{cite web |last1=Tatum |first1=Sophie |title=3 Kansas legislators switch from Republican to Democrat |url=https://www.cnn.com/2018/12/19/politics/kansas-legislature-republican-democrat/index.html |website=CNN |date=December 20, 2018 |access-date=January 8, 2021 |archive-date=October 30, 2020 |archive-url=https://web.archive.org/web/20201030091356/https://www.cnn.com/2018/12/19/politics/kansas-legislature-republican-democrat/index.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last1=Weiner |first1=Rachel |title=Charlie Crist defends party switch |url=https://www.washingtonpost.com/news/post-politics/wp/2012/12/10/charlie-crist-defends-party-switch/ |newspaper=The Washington Post |access-date=January 8, 2021 |archive-date=February 25, 2021 |archive-url=https://web.archive.org/web/20210225143218/https://www.washingtonpost.com/news/post-politics/wp/2012/12/10/charlie-crist-defends-party-switch/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last1=Davis |first1=Susan |title=Meltdown On Main Street: Inside The Breakdown Of The GOP&#039;s Moderate Wing |url=https://www.npr.org/2019/08/23/753404051/meltdown-on-main-street-inside-the-breakdown-of-the-gops-moderate-wing |access-date=June 17, 2022 |work=[[NPR]] |date=August 23, 2019 |language=en |archive-date=June 17, 2022 |archive-url=https://web.archive.org/web/20220617124126/https://www.npr.org/2019/08/23/753404051/meltdown-on-main-street-inside-the-breakdown-of-the-gops-moderate-wing |url-status=live }}&amp;lt;/ref&amp;gt; and the faction is in decline.&amp;lt;ref name=&amp;quot;h183&amp;quot;&amp;gt;{{cite news |date=2006-12-07 |title=The Decline of GOP Moderates |url=https://www.washingtonpost.com/archive/politics/2006/12/07/the-decline-of-gop-moderates/f38f0257850acbf1271c31bd9f5a656d/ |access-date=2025-02-03 |newspaper=Washington Post}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;a610&amp;quot;&amp;gt;{{cite web |last=Harris |first=Paul |date=2008-10-25 |title=Republicans fear long exile in the wilderness |url=https://www.theguardian.com/world/2008/oct/26/uselections2008-republicans |access-date=2025-02-03 |website=The Guardian}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;k148&amp;quot;&amp;gt;{{cite news |last=Horowitz |first=Jason |date=2012-01-18 |title=Mitt Romney and the fall of Republican moderates |url=https://www.washingtonpost.com/lifestyle/style/mitt-romney-and-the-fall-of-republican-moderates/2012/01/18/gIQAQ2BC9P_story.html |access-date=2025-02-03 |newspaper=Washington Post}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;i458&amp;quot;&amp;gt;{{cite web |last=Drutman |first=Lee |date=2020-08-24 |title=Why There Are So Few Moderate Republicans Left |url=https://fivethirtyeight.com/features/why-there-are-so-few-moderate-republicans-left/ |access-date=2025-02-03 |website=FiveThirtyEight}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;y651&amp;quot;&amp;gt;{{cite web |last=Berman |first=Russell |date=2023-01-27 |title=&#039;We Used to Be Called Moderate. We Are Not Moderate.&#039; |url=https://www.theatlantic.com/politics/archive/2023/01/moderate-centrist-republicans-pragmatic-conservatives/672856/ |access-date=2025-02-03 |website=The Atlantic}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;y851&amp;quot;&amp;gt;{{cite web |last=Skolnik |first=Jon |date=2021-12-03 |title=Moderate Republicans are quitting as the GOP&#039;s big tent narrows |url=https://www.salon.com/2021/12/03/moderate-are-quitting-as-the-gops-big-tent-narrows/ |access-date=2025-02-03 |website=Salon}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notable moderate Republicans include Senators [[Lisa Murkowski]] of Alaska and [[Susan Collins (politician)|Susan Collins]] of Maine,&amp;lt;ref&amp;gt;{{cite web|url=https://www.theatlantic.com/politics/archive/2018/10/collins-murkowski-key-votes-kavanaugh-confirmation/572407/|title=Two Moderate Senators, Two Very Different Paths|first=Elaina|last=Plott|date=October 6, 2018|website=The Atlantic|access-date=February 23, 2019}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|url=https://www.nytimes.com/2018/07/05/opinion/collins-murkowski-change-parties.html|title=Opinion – Senators Collins and Murkowski, It&#039;s Time to Leave the G.O.P.|first=Susan|last=Faludi|work=The New York Times|date=July 5, 2018|access-date=February 23, 2019|via=NYTimes.com|archive-date=February 21, 2019|archive-url=https://web.archive.org/web/20190221112139/https://www.nytimes.com/2018/07/05/opinion/collins-murkowski-change-parties.html|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://thehill.com/homenews/senate/408193-kavanaughs-fate-rests-with-sen-collins/|title=Kavanaugh&#039;s fate rests with Sen. Collins|first=Linda|last=Petre|date=September 25, 2018|website=TheHill|access-date=February 23, 2019|archive-date=February 21, 2019|archive-url=https://web.archive.org/web/20190221112348/https://thehill.com/homenews/senate/408193-kavanaughs-fate-rests-with-sen-collins|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://www.rollcall.com/news/politics/sen-lisa-murkowski-face-reprisal-alaska-gop|title=Sen. Lisa Murkowski Could Face Reprisal from Alaska GOP|first1=Griffin|last1=Connolly|date=October 9, 2018|access-date=February 23, 2019|website=rollcall.com|archive-date=October 11, 2018|archive-url=https://web.archive.org/web/20181011013657/https://www.rollcall.com/news/politics/sen-lisa-murkowski-face-reprisal-alaska-gop|url-status=dead}}&amp;lt;/ref&amp;gt; Nevada governor [[Joe Lombardo]], Vermont governor [[Phil Scott]],&amp;lt;ref&amp;gt;{{cite web|url=https://www.theatlantic.com/politics/archive/2018/11/republican-governors-new-england-defy-blue-wave/574726/|title=The Last Liberal Republicans Hang On|first=Parker|last=Richards|date=November 3, 2018|website=[[The Atlantic]]|access-date=February 23, 2019|archive-date=November 9, 2018|archive-url=https://web.archive.org/web/20181109112034/https://www.theatlantic.com/politics/archive/2018/11/republican-governors-new-england-defy-blue-wave/574726/|url-status=live}}&amp;lt;/ref&amp;gt; New Hampshire governor [[Kelly Ayotte]], and former Maryland governor [[Larry Hogan]].&amp;lt;ref&amp;gt;{{Cite web|url=https://www.politico.com/news/2024/09/29/larry-hogan-trump-maryland-00181572|title=Larry Hogan confirms he won&#039;t vote for Trump, despite the former president&#039;s endorsement|date=September 29, 2024|website=Politico|first1=Greta|last1=Reich|access-date=September 29, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://www.wusa9.com/article/news/gov-larry-hogan-positions-himself-as-moderate-on-the-national-stage-at-second-inauguration/65-ccd71689-8f8a-4663-af27-07014cb3c929|title=Gov. Larry Hogan positions himself as moderate on the national stage at second inauguration|website=WUSA|date=January 16, 2019|access-date=February 23, 2019|archive-date=February 21, 2019|archive-url=https://web.archive.org/web/20190221112322/https://www.wusa9.com/article/news/gov-larry-hogan-positions-himself-as-moderate-on-the-national-stage-at-second-inauguration/65-ccd71689-8f8a-4663-af27-07014cb3c929|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Political positions ==&lt;br /&gt;
{{Main|Political positions of the Republican Party}}&lt;br /&gt;
{{conservatism US|parties}}&lt;br /&gt;
&lt;br /&gt;
=== Economic policies ===&lt;br /&gt;
[[Tariffs in the second Trump administration|Enacting high tariffs]] on foreign imports is a core component of [[Donald Trump]]&#039;s fiscal agenda. Tariffs are taxes on foreign imports, mainly paid by domestic businesses, given that consumers generally do not import foreign goods directly.&amp;lt;ref name=&amp;quot;Buckle Up&amp;quot;/&amp;gt; By raising tariffs to their highest levels since the [[Gilded Age]], Trump enacted one of the largest tax increases by any Republican president.&amp;lt;ref name=&amp;quot;Trump Is Raising Them&amp;quot;&amp;gt;{{Cite web|url=https://www.nytimes.com/2025/04/05/business/economy/republicans-tax-cuts-tariffs-trump.html|title=Republicans Like to Cut Taxes. With Tariffs, Trump Is Raising Them.|quote=President Trump’s tariffs are scrambling the Republican plan for the economy, long centered on tax cuts and growth.|date=April 5, 2025|access-date=April 5, 2025|website=The New York Times|first1=Andrew|last1=Duehren}}&amp;lt;/ref&amp;gt; The Constitution&#039;s [[Import-Export Clause]] requires that only the federal government be allowed to collect tariff revenue from imports.&amp;lt;ref name=&amp;quot;Gilded Age vision&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Republicans also believe that [[free market]]s and individual achievement are the primary factors behind economic prosperity.&amp;lt;ref&amp;gt;{{Cite journal|title=The grand old party – a party of values?|first1=Patrick|last1=Mair|first2=Thomas|last2=Rusch|first3=Kurt|last3=Hornik|date=November 27, 2014|journal=SpringerPlus|volume=3|article-number=697|doi=10.1186/2193-1801-3-697 |doi-access=free |pmid=25512889|pmc=4256162}}&amp;lt;/ref&amp;gt; Reduction in income taxes for those with higher incomes&amp;lt;ref&amp;gt;{{Cite web|url=https://apnews.com/article/tax-cuts-jobs-act-trump-treasury-agenda-f4031196e0d69d0a1630e3b06b6d3cd7|title=Trump tax cuts, if made permanent, stand to benefit highest income earners, Treasury analysis shows|website=[[Associated Press News]] |date=January 10, 2025 }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://itep.org/a-distributional-analysis-of-donald-trumps-tax-plan-2024/|title=A Distributional Analysis of Donald Trump&#039;s Tax Plan&lt;br /&gt;
|website=[[Institute on Taxation and Economic Policy]] |date=October 7, 2024 }}&amp;lt;/ref&amp;gt; is a core component of Republicans&#039; fiscal agenda.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.russellsage.org/news/how-tax-cuts-became-central-republican-party|title=How Tax Cuts Became Central to the Republican Party|website=www.russellsage.org}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Taxes and trade====&lt;br /&gt;
{{As of |2025}} the Republican Party supports near-universal [[tariff]]s, but that has not always been the case. For example, during the last half of the 20th century, Republicans were strong proponents of [[free trade]]. The current Republican president, Donald Trump, has been a staunch proponent of enacting [[tariff]]s as a means of generating tax revenue and has been described as a [[mercantilism|mercantilist]].&amp;lt;ref name=&amp;quot;Helleiner 2021&amp;quot;/&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|url=https://www.washingtonpost.com/business/2025/01/31/tariff-trump-trade-war/|title=Trump sketches unprecedented plan for sweeping tariffs|date=January 31, 2025|access-date=February 1, 2025|newspaper=The Washington Post|first1=David J.|last1=Lynch|first2=Mary Beth|last2=Sheridan|first3=Amanda|last3=Coletta}}&amp;lt;/ref&amp;gt; In 2025, Trump raised American tariff rates to the highest in the world, at the highest level since the [[Smoot–Hawley Tariff Act]] of 1930.&amp;lt;ref name=&amp;quot;global trade war&amp;quot;&amp;gt;{{Cite web|url=https://www.ft.com/content/fe5f7469-6f04-40e6-bc59-0d4e004e1cd3|title=Donald Trump escalates global trade war with sweeping tariff blitz|date=April 2, 2025|access-date=April 2, 2025|website=Financial Times}}&amp;lt;/ref&amp;gt; Donald Trump opposes [[Economic globalization|globalization]], and his economic policies have been described as attempting to unravel the multilateral global economic order, including the power of the [[World Trade Organization]] (WTO).&amp;lt;ref name=&amp;quot;Trump’s aggressive push&amp;quot;/&amp;gt;  Trump has expressed his admiration for Republican president [[William McKinley]]&#039;s tariff policies. McKinley was the author of the [[Tariff Act of 1890]], and both Trump and McKinley nicknamed themselves as a &amp;quot;[[Tariff Man]]&amp;quot;.&amp;lt;ref name=&amp;quot;President McKinley&amp;quot;&amp;gt;{{Cite news|url=https://www.washingtonpost.com/history/2025/01/27/trump-mckinley-tariffs-history/|title=Why Trump admires President McKinley, the original &#039;tariff man&#039;|date=January 27, 2025|access-date=February 1, 2025|first1=Andrew|last1=Jeong|newspaper=The Washington Post}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Buckle Up&amp;quot;&amp;gt;{{Cite web|url=https://www.nytimes.com/2025/03/17/us/politics/trump-tariffs-auto-industry-corporate-executives.html|title=Trump&#039;s Unwelcome News to Auto Chiefs: Buckle Up for What&#039;s to Come|quote=President Trump’s approach to tariffs has unsettled many corporate leaders who believed he would use the levies as a negotiating tool. As it turns out, he sees them as an end in themselves.|date=March 17, 2025|first1=Jonathan|last1=Swan|first2=Maggie|last2=Haberman|first3=Ana|last3=Swanson|website=[[The New York Times]] }}&amp;lt;/ref&amp;gt; According to an April 2025 Economist/YouGov poll, &amp;quot;Republican voters overwhelmingly support Trump&#039;s tariffs, while Democratic voters generally do not.&amp;quot;&amp;lt;ref name=&amp;quot;favor Trump tariffs&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At its inception, the Republican Party supported [[Tariffs in United States history|protective tariffs]]. Abraham Lincoln enacted tariffs during the Civil War.&amp;lt;ref name=&amp;quot;Coy F. Cross II 2012 45&amp;quot;&amp;gt;{{cite book|author=Coy F. Cross II|title=Justin Smith Morrill: Father of the Land-Grant Colleges|url=https://books.google.com/books?id=5NYBqv3E7IMC&amp;amp;pg=PT45|year=2012|publisher=MSU Press|page=45|isbn=9780870139055}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Platform&amp;quot;&amp;gt;[http://www.cprr.org/Museum/Ephemera/Republican_Platform_1860.html &#039;&#039;Republican Party National Platform, 1860&#039;&#039;] {{Webarchive|url=https://web.archive.org/web/20230813035120/http://cprr.org/Museum/Ephemera/Republican_Platform_1860.html |date=August 13, 2023 }} Reported from the Platform Committee by Judge Jessup of Pennsylvania and adopted unanimously by the Republican National Convention held at Chicago on May 17, 1860. [[Broadside (printing)|Broadside]] printing by [[Chicago Tribune|&#039;&#039;The Chicago Press &amp;amp; Tribune&#039;&#039;]], May 1860&amp;lt;/ref&amp;gt; The great battle over the high [[Payne–Aldrich Tariff Act]] in 1910 caused a split in the party.&amp;lt;ref&amp;gt;Stanley D. Solvick, &amp;quot;William Howard Taft and the Payne-Aldrich Tariff.&amp;quot; &#039;&#039;Mississippi Valley Historical Review&#039;&#039; 50.3 (1963): 424–442 [https://www.jstor.org/stable/1902605 online] {{Webarchive|url=https://web.archive.org/web/20210307035528/https://www.jstor.org/stable/1902605 |date=March 7, 2021 }}&amp;lt;/ref&amp;gt; The [[Reciprocal Tariff Act]] of 1934 marked a sharp departure from the era of [[protectionism]] in the United States. American duties on foreign products declined from an average of 46% in 1934 to 12% by 1962, which included the presidency of Republican president [[Dwight D. Eisenhower]].&amp;lt;ref name=&amp;quot;Bailey&amp;quot;&amp;gt;{{cite journal|last=Bailey|first=Michael A.|author2=Goldstein, Weingast |title=The Institutional Roots of American Trade Policy|journal=World Politics|date=April 1997|volume=49|issue=3|pages=309–38|doi=10.1353/wp.1997.0007|s2cid=154711958 }}&amp;lt;/ref&amp;gt; After World War II, the U.S. promoted the [[General Agreement on Tariffs and Trade]] (GATT) established in 1947, to minimize tariffs and other restrictions, and to liberalize trade among all capitalist countries.&amp;lt;ref name=barton&amp;gt;John H. Barton, [[Judith L. Goldstein]], Timothy E. Josling, and Richard H. Steinberg, &#039;&#039;The Evolution of the Trade Regime: Politics, Law, and Economics of the GATT and the WTO&#039;&#039; (2008)&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |last1=McClenahan |first1=William |title=The Growth of Voluntary Export Restraints and American Foreign Economic Policy, 1956–1969 |journal=Business and Economic History |date=1991 |volume=20 |pages=180–190 |jstor=23702815 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
During the [[Ronald Reagan|Reagan]] and [[George H. W. Bush]] administrations, Republicans abandoned protectionist policies&amp;lt;ref name=&amp;quot;Karagiannis&amp;quot;&amp;gt;{{cite book |editor1-first=Nikolaos |editor1-last=Karagiannis |editor2-first=Zagros |editor2-last=Madjd-Sadjadi |editor3-first=Swapan |editor3-last=Sen |url=https://www.routledge.com/The-US-Economy-and-Neoliberalism-Alternative-Strategies-and-Policies/Karagiannis-Madjd-Sadjadi-Sen/p/book/9780415645058 |title=The US Economy and Neoliberalism: Alternative Strategies and Policies |publisher=[[Routledge]] |date=2013 |isbn=978-1138904910 |page=[https://books.google.com/books?id=aYKfai1RlPYC&amp;amp;pg=PA58 58] |access-date=August 14, 2023 |archive-date=August 13, 2021 |archive-url=https://web.archive.org/web/20210813193859/https://www.routledge.com/The-US-Economy-and-Neoliberalism-Alternative-Strategies-and-Policies/Karagiannis-Madjd-Sadjadi-Sen/p/book/9780415645058 |url-status=live }}&amp;lt;/ref&amp;gt; and came out against quotas and in favor of the GATT and the [[World Trade Organization]] policy of minimal economic barriers to global trade. Free trade with Canada came about as a result of the [[Canada–U.S. Free Trade Agreement]] of 1987, which led in 1994 to the [[North American Free Trade Agreement]] (NAFTA) based on Reagan&#039;s plan to enlarge the scope of the market for American firms to include Canada and Mexico. President [[Bill Clinton]], with strong Republican support in 1993, pushed NAFTA through Congress over the vehement objection of labor unions.&amp;lt;ref&amp;gt;{{cite book|url=https://books.google.com/books?id=zP4wDcT3PeQC&amp;amp;pg=PA358|title=Encyclopedia of U.S. Campaigns, Elections, and Electoral Behavior|first=Kenneth F.|last=Warren|publisher=Sage Publications|year=2008|page=358|isbn=978-1412954891|access-date=August 14, 2023|archive-date=December 15, 2023|archive-url=https://web.archive.org/web/20231215023725/https://books.google.com/books?id=zP4wDcT3PeQC&amp;amp;pg=PA358#v=onepage&amp;amp;q&amp;amp;f=false|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book|url=https://books.google.com/books?id=DxJZxwyMHHYC&amp;amp;pg=PT151|title=Unions in America|first=Gary|last=Chaison|publisher=Sage|year=2005|page=151|isbn=978-1452239477|access-date=August 14, 2023|archive-date=December 15, 2023|archive-url=https://web.archive.org/web/20231215024942/https://books.google.com/books?id=DxJZxwyMHHYC&amp;amp;pg=PT151#v=onepage&amp;amp;q&amp;amp;f=false|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 2016 presidential election marked a return to supporting protectionism, beginning with [[First presidency of Donald Trump|Donald Trump&#039;s first presidency]].&amp;lt;ref&amp;gt;{{Cite journal|last=Swedberg |first=Richard|date=2018|title=Folk economics and its role in Trump&#039;s presidential campaign: an exploratory study|journal=Theory and Society|volume=47|pages=1–36|doi=10.1007/s11186-018-9308-8|s2cid=149378537}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Swanson&amp;quot;&amp;gt;{{cite news |last=Swanson |first=Ana |date=July 5, 2018 |title=Trump&#039;s Trade War With China Is Officially Underway |url=https://www.nytimes.com/2018/07/05/business/china-us-trade-war-trump-tariffs.html |work=[[The New York Times]] |access-date=May 26, 2019 }}&amp;lt;/ref&amp;gt; In 2017, only 36% of Republicans agreed that free trade agreements are good for the [[United States]], compared to 67% of Democrats. When asked if free trade has helped respondents specifically, the approval numbers for Democrats drop to 54%, however approval ratings among Republicans remain relatively unchanged at 34%.&amp;lt;ref&amp;gt;{{Cite web|url=http://www.pewresearch.org/fact-tank/2017/04/25/support-for-free-trade-agreements-rebounds-modestly-but-wide-partisan-differences-remain/|title=Support for free trade agreements rebounds modestly, but wide partisan differences remain|website=Pew Research|date=April 25, 2017 |access-date=August 14, 2023|archive-date=April 11, 2023|archive-url=https://web.archive.org/web/20230411201429/https://www.pewresearch.org/fact-tank/2017/04/25/support-for-free-trade-agreements-rebounds-modestly-but-wide-partisan-differences-remain/|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Income tax cuts have been at the core of Republican economic policy since 1980.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.bloomberg.com/view/articles/2019-01-18/republicans-fell-in-love-with-tax-cuts-thanks-to-reagan|website=www.bloomberg.com|title=Why Republicans Fell in Love With Tax Cuts|last=Fox|first=Justin|date=January 18, 2019}}&amp;lt;/ref&amp;gt; At the national level and state level, Republicans tend to pursue policies of tax cuts and deregulation.&amp;lt;ref name=&amp;quot;Grumbach-2021&amp;quot;&amp;gt;{{Citation |last1=Grumbach |first1=Jacob M. |title=The Political Economies of Red States |date=2021 |work=The American Political Economy: Politics, Markets, and Power |pages=209–244 |editor-last=Hertel-Fernandez |editor-first=Alexander |publisher=Cambridge University Press |isbn=978-1316516362 |last2=Hacker |first2=Jacob S. |last3=Pierson |first3=Paul |editor2-last=Hacker |editor2-first=Jacob S. |editor3-last=Thelen |editor3-first=Kathleen |editor4-last=Pierson |editor4-first=Paul |url=https://www.cambridge.org/core/books/american-political-economy/political-economies-of-red-states/BEE22FE6AAB57A14FF10F807E02116BB |access-date=November 10, 2021 |archive-date=November 23, 2021 |archive-url=https://web.archive.org/web/20211123114921/https://www.cambridge.org/core/books/abs/american-political-economy/political-economies-of-red-states/BEE22FE6AAB57A14FF10F807E02116BB |url-status=live}}&amp;lt;/ref&amp;gt; Modern Republicans advocate the theory of [[supply side economics|supply-side economics]], which holds that lower tax rates increase economic growth.&amp;lt;ref&amp;gt;{{cite news|url=https://www.economist.com/briefing/2011/09/24/diving-into-the-rich-pool|newspaper=[[The Economist]]|title=Diving into the rich pool|date=September 24, 2011|access-date=January 13, 2012|archive-url=https://web.archive.org/web/20120112210317/http://www.economist.com/node/21530093|archive-date=January 12, 2012|url-status=live}}&amp;lt;/ref&amp;gt; Many Republicans oppose [[progressive taxation|higher tax rates for higher earners]], which they believe are unfairly targeted at those who create jobs and wealth. They believe private spending is more efficient than government spending. Republican lawmakers have also sought to limit funding for tax enforcement and [[Revenue service|tax collection]].&amp;lt;ref name=&amp;quot;How the IRS Was Gutted&amp;quot;&amp;gt;{{cite web|url=https://www.propublica.org/article/how-the-irs-was-gutted|title=How the IRS Was Gutted|last=Paul Kiel|first=Jesse Eisinger|date=December 11, 2018|website=ProPublica|access-date=December 11, 2018|archive-url=https://web.archive.org/web/20181211132205/https://www.propublica.org/article/how-the-irs-was-gutted|archive-date=December 11, 2018|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As per a 2021 study that measured Republicans&#039; congressional votes, the modern Republican Party&#039;s economic policy positions tend to align with business interests and the affluent.&amp;lt;!--A version of this sentence was added per the RfC at [[Talk:Republican Party (United States)#RfC: Affluent interests and business interests]]. Do not remove without consensus.--&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal|last1=Grossmann|first1=Matt|last2=Mahmood|first2=Zuhaib|last3=Isaac|first3=William|date=2021|title=Political Parties, Interest Groups, and Unequal Class Influence in American Policy|url=https://www.journals.uchicago.edu/doi/10.1086/711900|journal=The Journal of Politics|volume=83|issue=4|pages=1706–1720|doi=10.1086/711900|s2cid=224851520|issn=0022-3816|access-date=January 13, 2022|archive-date=October 29, 2021|archive-url=https://web.archive.org/web/20211029170940/https://www.journals.uchicago.edu/doi/10.1086/711900|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Bartels|first=Larry M.|url=https://muse.jhu.edu/book/64558|title=Unequal Democracy: The Political Economy of the New Gilded Age|edition=2nd|date=2016|publisher=Princeton University Press|isbn=978-1400883363|access-date=January 13, 2022|archive-date=November 5, 2021|archive-url=https://web.archive.org/web/20211105222439/https://muse.jhu.edu/book/64558|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal|last1=Rhodes|first1=Jesse H.|last2=Schaffner|first2=Brian F.|date=2017|title=Testing Models of Unequal Representation: Democratic Populists and Republican Oligarchs?|url=http://www.nowpublishers.com/article/Details/QJPS-16077|journal=Quarterly Journal of Political Science|volume=12|issue=2|pages=185–204|doi=10.1561/100.00016077|access-date=January 13, 2022|archive-date=October 29, 2021|archive-url=https://web.archive.org/web/20211029183431/https://www.nowpublishers.com/article/Details/QJPS-16077|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal|last1=Lax|first1=Jeffrey R.|last2=Phillips|first2=Justin H.|last3=Zelizer|first3=Adam|date=2019|title=The Party or the Purse? Unequal Representation in the US Senate|url=https://www.cambridge.org/core/journals/american-political-science-review/article/abs/party-or-the-purse-unequal-representation-in-the-us-senate/286BFEAA039374759DE14D782A0BB8DD|journal=American Political Science Review|language=en|volume=113|issue=4|pages=917–940|doi=10.1017/S0003055419000315|s2cid=21669533|issn=0003-0554|access-date=January 13, 2022|archive-date=October 29, 2021|archive-url=https://web.archive.org/web/20211029000457/https://www.cambridge.org/core/journals/american-political-science-review/article/abs/party-or-the-purse-unequal-representation-in-the-us-senate/286BFEAA039374759DE14D782A0BB8DD|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last1=Hacker|first1=Jacob S.|url=https://books.google.com/books?id=Kqu6DwAAQBAJ|title=Let them Eat Tweets: How the Right Rules in an Age of Extreme Inequality|last2=Pierson|first2=Paul|date=2020|publisher=Liveright Publishing|isbn=978-1631496851|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Republicans have traditionally advocated in favor of [[fiscal conservatism]].&amp;lt;ref&amp;gt;{{Cite journal|last1=Milkis|first1=Sidney M.|last2=King|first2=Desmond|last3=Jacobs|first3=Nicholas F.|date=2019|title=Building a Conservative State: Partisan Polarization and the Redeployment of Administrative Power|journal=Perspectives on Politics|volume=17|issue=2|pages=453–469|doi=10.1017/S1537592718003511|issn=1537-5927|doi-access=free}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|date=November 12, 2014|title=The Rise in Per Capita Federal Spending|url=https://www.mercatus.org/publications/government-spending/rise-capita-federal-spending|access-date=August 30, 2020|website=Mercatus Center|archive-date=December 14, 2021|archive-url=https://web.archive.org/web/20211214020934/https://www.mercatus.org/publications/government-spending/rise-capita-federal-spending|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Atske |first=Sara |date=2019-04-11 |title=Little Public Support for Reductions in Federal Spending |url=https://www.pewresearch.org/politics/2019/04/11/little-public-support-for-reductions-in-federal-spending/ |access-date=2024-12-25 |website=Pew Research Center |language=en-US}}&amp;lt;/ref&amp;gt; By the 2020s, Republicans have largely abandoned fiscal conservatism as an ideological cornerstone.&amp;lt;ref&amp;gt;{{Cite news|last=Rappeport|first=Alan|date=June 19, 2025|title=Record Debt Limit Increase Would Break Republican Precedent|work=The New York Times|url=https://www.nytimes.com/2025/06/19/business/national-debt-limit-republicans.html|url-access=subscription|access-date=June 20, 2025|quote=This year, the party of fiscal conservatism is poised to discard that philosophy as Republicans prepare to press ahead with domestic policy legislation that combines nearly $4 trillion in tax cuts with a $5 trillion increase to the debt limit. An increase of that magnitude would be a record and underscore the ideological flexibility that many Republicans are willing to embrace when they are in power.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Labor unions and the minimum wage====&lt;br /&gt;
The Republican Party is generally opposed to labor unions.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.independent.co.uk/news/world/americas/us-politics/gop-debate-republican-trump-union-strikes-b2475831.html|title=What the GOP candidates have said about strikes and unions|date=January 9, 2024|website=The Independent}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|url=https://www.theguardian.com/us-news/2022/oct/25/republicans-working-class-voter-unions-worker-protections-organize|title=Republicans want working-class voters — without actually supporting workers|first=Steven|last=Greenhouse|date=October 25, 2022|newspaper=The Guardian}}&amp;lt;/ref&amp;gt; Republicans believe corporations should be able to establish their own employment practices, including benefits and wages, with the free market deciding the price of work. Since the 1920s, Republicans have generally been opposed by [[Trade union|labor union]] organizations and members. At the national level, Republicans supported the [[Taft–Hartley Act]] of 1947, which gives workers the right not to participate in unions. Modern Republicans at the state level generally support various [[right-to-work laws]].{{efn|Right-to-work laws ban [[union security agreement]]s, which require all workers in a unionized workplace to pay dues or a fair-share fee regardless of whether they are members of the union or not.&amp;lt;ref&amp;gt;{{cite web|title=Employer/Union Rights and Obligations|url=https://www.nlrb.gov/rights-we-protect/employerunion-rights-and-obligations|publisher=National Labor Relations Board|access-date=July 7, 2017|archive-url=https://web.archive.org/web/20170711175358/https://www.nlrb.gov/rights-we-protect/employerunion-rights-and-obligations|archive-date=July 11, 2017|url-status=live}}&amp;lt;/ref&amp;gt;}} Most Republicans also oppose increases in the [[minimum wage]].{{citation needed|date=March 2024}}&lt;br /&gt;
&lt;br /&gt;
==== Environmental policies ====&lt;br /&gt;
{{Main|Political positions of the Republican Party#Environmental policies}}&lt;br /&gt;
{{multiple image&lt;br /&gt;
| align             = right&lt;br /&gt;
| direction         = vertical&lt;br /&gt;
| total_width       = 250&lt;br /&gt;
| image1            = 2009- Pew survey - is climate change a major threat, by political party.svg&lt;br /&gt;
| caption1          = Democrats and Republicans have diverged on the seriousness of the threat posed by climate change, with Republicans&#039; assessment remaining essentially unchanged over the past decade.&amp;lt;ref name=PewClimateChange_20230418&amp;gt;● {{cite web |title=54% of Americans view climate change as a major threat, but the partisan divide has grown |url=https://www.pewresearch.org/short-reads/2023/04/18/for-earth-day-key-facts-about-americans-views-of-climate-change-and-renewable-energy/sr_2023-04-18_climate_5/ |publisher=Pew Research Center |archive-url=https://web.archive.org/web/20230422182323/https://www.pewresearch.org/short-reads/2023/04/18/for-earth-day-key-facts-about-americans-views-of-climate-change-and-renewable-energy/sr_2023-04-18_climate_5/ |archive-date=April 22, 2023 |date=April 18, 2023 |url-status=live }} ● Broader discussion by {{cite web |last1=Tyson |first1=Alec |last2=Funk |first2=Cary |last3=Kennedy |first3=Brian |title=What the data says about Americans&#039; views of climate change |url=https://www.pewresearch.org/short-reads/2023/04/18/for-earth-day-key-facts-about-americans-views-of-climate-change-and-renewable-energy/ |publisher=Pew Research Center |archive-url=https://web.archive.org/web/20230512193458/https://www.pewresearch.org/short-reads/2023/04/18/for-earth-day-key-facts-about-americans-views-of-climate-change-and-renewable-energy/ |archive-date=May 12, 2023 |date=April 18, 2023 |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| image3            = 20220301 Opinions by political party - Climate change causation - Action for carbon neutral 2050 - Pew Research.svg&lt;br /&gt;
| caption3          = Opinion about human causation of climate change increased substantially with education among Democrats, but not among Republicans.&amp;lt;ref name=Pew_20220301/&amp;gt; Conversely, opinions favoring becoming carbon neutral declined substantially with age among Republicans, but not among Democrats.&amp;lt;ref name=Pew_20220301&amp;gt;{{cite web |last1=Tyson |first1=Alec |last2=Funk |first2=Cary |last3=Kennedy |first3=Brian |title=Americans Largely Favor U.S. Taking Steps To Become Carbon Neutral by 2050 / Appendix (Detailed charts and tables) |url=https://www.pewresearch.org/science/2022/03/01/carbon-neutral-2050-appendix/ |website=Pew Research |archive-url=https://web.archive.org/web/20220418220503/https://www.pewresearch.org/science/2022/03/01/carbon-neutral-2050-appendix/ |archive-date=April 18, 2022 |date=March 1, 2022 |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Historically, [[Progressivism in the United States|progressive]] leaders in the Republican Party supported [[environmental protection]]. Republican President [[Theodore Roosevelt]] was a prominent [[Conservation (ethic)|conservationist]] whose policies eventually led to the creation of the [[National Park Service]].&amp;lt;ref name=Filler&amp;gt;{{cite web|author=Filler, Daniel|title=Theodore Roosevelt: Conservation as the Guardian of Democracy|url=http://pantheon.cis.yale.edu/~thomast/essays/filler/filler.html|access-date=November 9, 2007|url-status=dead|archive-url=https://web.archive.org/web/20030802175908/http://pantheon.cis.yale.edu/~thomast/essays/filler/filler.html|archive-date=August 2, 2003}}&amp;lt;/ref&amp;gt; While Republican President [[Richard Nixon]] was not an environmentalist, he signed legislation to create the [[United States Environmental Protection Agency|Environmental Protection Agency]] in 1970 and had a comprehensive environmental program.&amp;lt;ref&amp;gt;{{Cite journal|last=Ewert|first=Sara Dant|date=July 3, 2003|title=Environmental Politics in the Nixon Era|url=https://muse.jhu.edu/article/44406|journal=Journal of Policy History|volume=15|issue=3|pages=345–348|issn=1528-4190|doi=10.1353/jph.2003.0019|s2cid=153711962|access-date=June 3, 2017|archive-url=https://web.archive.org/web/20170809131601/https://muse.jhu.edu/article/44406|archive-date=August 9, 2017|url-status=dead|url-access=subscription}}&amp;lt;/ref&amp;gt; However, this position has changed since the 1980s and the administration of President [[Ronald Reagan]], who labeled environmental regulations a burden on the economy.&amp;lt;ref name=&amp;quot;Dunlap 2010&amp;quot;&amp;gt;{{cite journal|last1=Dunlap|first1=Riley E.|last2=McCright|first2=Araon M.|title=A Widening Gap: Republican and Democratic Views on Climate Change|journal=Environment: Science and Policy for Sustainable Development|date=August 7, 2010|volume=50|issue=5|pages=26–35|doi=10.3200/ENVT.50.5.26-35|s2cid=154964336}}&amp;lt;/ref&amp;gt; Since then, Republicans have increasingly taken positions against environmental regulation,&amp;lt;ref&amp;gt;{{Cite journal|last1=Bergquist|first1=Parrish|last2=Warshaw|first2=Christopher|date=2020|title=Elections and parties in environmental politics|url=https://www.elgaronline.com/view/edcoll/9781788972833/9781788972833.00017.xml|journal=Handbook of U.S. Environmental Policy|pages=126–141|language=en-US|doi=10.4337/9781788972840.00017|isbn=978-1788972840|s2cid=219077951|access-date=November 7, 2021|archive-date=November 7, 2021|archive-url=https://web.archive.org/web/20211107233114/https://www.elgaronline.com/view/edcoll/9781788972833/9781788972833.00017.xml|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal|last1=Fredrickson|first1=Leif|last2=Sellers|first2=Christopher|last3=Dillon|first3=Lindsey|last4=Ohayon|first4=Jennifer Liss|last5=Shapiro|first5=Nicholas|last6=Sullivan|first6=Marianne|last7=Bocking|first7=Stephen|last8=Brown|first8=Phil|last9=de la Rosa|first9=Vanessa|last10=Harrison|first10=Jill|last11=Johns|first11=Sara|date=April 1, 2018|title=History of US Presidential Assaults on Modern Environmental Health Protection|journal=American Journal of Public Health|volume=108|issue=S2|pages=S95–S103|doi=10.2105/AJPH.2018.304396|issn=0090-0036|pmc=5922215|pmid=29698097}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal|last1=Coley|first1=Jonathan S.|last2=Hess|first2=David J.|date=2012|title=Green energy laws and Republican legislators in the United States|url=https://www.sciencedirect.com/science/article/pii/S0301421512004752|journal=Energy Policy|language=en|volume=48|pages=576–583|doi=10.1016/j.enpol.2012.05.062|bibcode=2012EnPol..48..576C |issn=0301-4215|access-date=November 7, 2021|archive-date=June 18, 2019|archive-url=https://web.archive.org/web/20190618224202/https://www.sciencedirect.com/science/article/pii/S0301421512004752|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt; with many Republicans rejecting the [[scientific consensus on climate change]].&amp;lt;ref name=&amp;quot;Dunlap 2010&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{cite book|url=http://www.hup.harvard.edu/catalog.php?isbn=978-0674979970|title=The Republican Reversal: Conservatives and the Environment from Nixon to Trump|last1=Turner|first1=James Morton|last2=Isenberg|first2=Andrew C.|date=2018|publisher=Harvard University Press|isbn=978-0674979970 |archive-url=https://web.archive.org/web/20190108151027/http://www.hup.harvard.edu/catalog.php?isbn=978-0674979970|archive-date=January 8, 2019|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=Ringquist&amp;gt;{{cite journal|last1=Ringquist|first1=Evan J.|last2=Neshkova|first2=Milena I.|last3=Aamidor|first3=Joseph|title=Campaign Promises, Democratic Governance, and Environmental Policy in the U.S. Congress|journal=The Policy Studies Journal|date=2013|volume=41|issue=2|pages=365–387|doi=10.1111/psj.12021|doi-access=free}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Shipan Environmental Policy&amp;quot;&amp;gt;{{cite journal|last1=Shipan|first1=Charles R.|last2=Lowry|first2=William R.|title=Environmental Policy and Party Divergence in Congress|journal=Political Research Quarterly|date=June 2001|volume=54|issue=2|pages=245–263|jstor=449156|doi=10.1177/106591290105400201|s2cid=153575261}}&amp;lt;/ref&amp;gt; Republican voters are divided over the human causes of climate change and global warming.&amp;lt;ref&amp;gt;{{cite web |date=November 1, 2013 |title=GOP Deeply Divided Over Climate Change |url=http://www.people-press.org/2013/11/01/gop-deeply-divided-over-climate-change/ |access-date=December 11, 2014 |website=[[Pew Research Center]] |publisher=}}&amp;lt;/ref&amp;gt; Since 2008,&amp;lt;ref name=&amp;quot;Davenport2017&amp;quot;&amp;gt;{{cite news |url=https://www.nytimes.com/2017/06/03/us/politics/republican-leaders-climate-change.html |title=How G.O.P. Leaders Came to View Climate Change as Fake Science |last1=Davenport |first1=Coral |last2=Lipton |first2=Eric |author-link2=Eric Lipton |date=June 3, 2017 |work=[[The New York Times]] |access-date=September 22, 2017 |language=en-US |issn=0362-4331 |quote=The Republican Party&#039;s fast journey from debating how to combat human-caused climate change to arguing that it does not exist is a story of big political money, Democratic hubris in the Obama years and a partisan chasm that grew over nine years like a crack in the Antarctic shelf, favoring extreme positions and uncompromising rhetoric over cooperation and conciliation.|archive-url=https://web.archive.org/web/20170914183020/https://www.nytimes.com/2017/06/03/us/politics/republican-leaders-climate-change.html|archive-date=September 14, 2017|url-status=live}}&amp;lt;/ref&amp;gt; many members of the Republican Party have been criticized for being [[Anti-environmentalism|anti-environmentalist]]&amp;lt;ref&amp;gt;{{cite book|last1=Shabecoff|first1=Philip|title=Earth Rising: American Environmentalism in the 21st Century|date=2000|publisher=Island Press|isbn=978-1-59726-335-1|page=[https://archive.org/details/earthrisingameri00phil/page/125 125]|url=https://archive.org/details/earthrisingameri00phil|url-access=registration|quote=republican party anti-environmental.|access-date=9 November 2017}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book|last1=Hayes|first1=Samuel P.|title=A History of Environmental Politics Since 1945|date=2000|publisher=University of Pittsburgh Press|isbn=978-0-8229-7224-2|page=119|url=https://books.google.com/books?id=jG5IwgEFSYQC&amp;amp;q=republican+party+anti-environmentalist&amp;amp;pg=PA119|access-date=9 November 2017}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last1=Sellers |first1=Christopher |date=7 June 2017 |title=How Republicans came to embrace anti-environmentalism |url=https://www.vox.com/2017/4/22/15377964/republicans-environmentalism |access-date=9 November 2017 |website=[[Vox (website)|Vox]]}}&amp;lt;/ref&amp;gt; and promoting [[climate change denial]]&amp;lt;ref name=&amp;quot;Dunlap 2010&amp;quot;/&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |last=Båtstrand |first=Sondre |title=More than Markets: A Comparative Study of Nine Conservative Parties on Climate Change |journal=[[Politics and Policy]] |language=en |volume=43 |issue=4 |pages=538–561 |doi=10.1111/polp.12122 |issn=1747-1346 |year=2015 |s2cid=143331308 |quote=The U.S. Republican Party is an anomaly in denying anthropogenic climate change.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;chait&amp;quot;&amp;gt;{{cite news |title=Why Are Republicans the Only Climate-Science-Denying Party in the World? |author-link=Jonathan Chait |first=Jonathan |last=Chait |date=September 27, 2015 |access-date=September 20, 2017 |url=https://nymag.com/daily/intelligencer/2015/09/whys-gop-only-science-denying-party-on-earth.html |magazine=[[New York (magazine)|New York]] |quote=Of all the major conservative parties in the democratic world, the Republican Party stands alone in its denial of the legitimacy of climate science. Indeed, the Republican Party stands alone in its conviction that no national or international response to climate change is needed. To the extent that the party is divided on the issue, the gap separates candidates who openly dismiss climate science as a hoax, and those who, shying away from the political risks of blatant ignorance, instead couch their stance in the alleged impossibility of international action.}}&amp;lt;/ref&amp;gt; in opposition to the general [[Scientific opinion on climate change|scientific consensus]], making them unique even among other worldwide conservative parties.&amp;lt;ref name=&amp;quot;chait&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In 2006, then-[[Governor of California|California Governor]] [[Arnold Schwarzenegger]] broke from Republican orthodoxy to sign several bills imposing caps on [[carbon emissions]] in California. Then-President [[George W. Bush]] opposed mandatory caps at a national level. Bush&#039;s decision not to regulate carbon dioxide as a pollutant was [[Massachusetts v. Environmental Protection Agency|challenged in the Supreme Court by 12 states]],&amp;lt;ref name=&amp;quot;Landmark Law&amp;quot;&amp;gt;{{cite news|title=Schwarzenegger takes center stage on warming|url=https://www.nbcnews.com/id/wbna15029070|access-date=July 3, 2014|agency=MSNBC News|publisher=[[NBC News]]|date=September 27, 2006|archive-url=https://web.archive.org/web/20140714173432/http://www.nbcnews.com/id/15029070/ns/us_news-environment/t/schwarzenegger-takes-center-stage-warming/#.U7U0QbFEJJw|archive-date=July 14, 2014|url-status=live}}&amp;lt;/ref&amp;gt; with the court ruling against the Bush administration in 2007.&amp;lt;ref&amp;gt;[{{SCOTUS URL Slip|06|05-1120}} Text of Opinion]&amp;lt;/ref&amp;gt; Bush also publicly opposed ratification of the [[Kyoto Protocol]]s&amp;lt;ref name=&amp;quot;Dunlap 2010&amp;quot; /&amp;gt;&amp;lt;ref name=BushGW&amp;gt;{{cite web|author=Bush, George W.|title=Text of a Letter from the President|date=March 13, 2001|url=https://georgewbush-whitehouse.archives.gov/news/releases/2001/03/20010314.html|access-date=November 9, 2007|url-status=dead|archive-url=https://web.archive.org/web/20090722073329/http://georgewbush-whitehouse.archives.gov/news/releases/2001/03/20010314.html|archive-date=July 22, 2009 }}&amp;lt;/ref&amp;gt; which sought to limit greenhouse gas emissions and thereby [[climate change mitigation|combat climate change]]; his position was heavily criticized by climate scientists.&amp;lt;ref&amp;gt;{{cite journal|last1=Schrope|first1=Mark|title=Criticism mounts as Bush backs out of Kyoto accord|journal=Nature|date=April 5, 2001|volume=410|issue=6829|page=616|doi=10.1038/35070738|pmid=11287908|bibcode=2001Natur.410..616S|doi-access=free}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Republican Party rejects [[Emissions trading|cap-and-trade]] policy to limit carbon emissions.&amp;lt;ref&amp;gt;{{cite web|title=Our GOP: The Party of Opportunity|url=http://www.gop.com/our-party/|access-date=December 11, 2014|archive-url=https://web.archive.org/web/20140821152805/http://www.gop.com/our-party/|archive-date=August 21, 2014|url-status=live}}&amp;lt;/ref&amp;gt; In the 2000s, Senator [[John McCain]] proposed bills (such as the [[McCain-Lieberman Climate Stewardship Act]]) that would have regulated carbon emissions, but his position on climate change was unusual among high-ranking party members.&amp;lt;ref name=&amp;quot;Dunlap 2010&amp;quot; /&amp;gt; Some Republican candidates have supported the development of [[alternative fuel]]s in order to achieve [[U.S. energy independence|energy independence for the United States]]. Some Republicans support increased [[oil well|oil drilling]] in protected areas such as the [[Arctic National Wildlife Refuge]], a position that has drawn criticism from activists.&amp;lt;ref&amp;gt;{{cite news|title=On Our Radar: Republicans Urge Opening of Arctic Refuge to Drilling|author=John Collins Rudolf|date=December 6, 2010|url=http://green.blogs.nytimes.com/2010/12/06/on-our-radar-republicans-urge-opening-of-arctic-refuge-to-drilling/?_php=true&amp;amp;_type=blogs&amp;amp;_r=0|newspaper=[[The New York Times]]|access-date=December 11, 2014|archive-url=https://web.archive.org/web/20140714181831/http://green.blogs.nytimes.com/2010/12/06/on-our-radar-republicans-urge-opening-of-arctic-refuge-to-drilling/?_php=true&amp;amp;_type=blogs&amp;amp;_r=0|archive-date=July 14, 2014|url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many Republicans during the [[presidency of Barack Obama]] opposed his administration&#039;s new environmental regulations, such as those on carbon emissions from coal. In particular, many Republicans supported building the [[Keystone Pipeline]]; this position was supported by businesses, but opposed by indigenous peoples&#039; groups and environmental activists.&amp;lt;ref&amp;gt;{{cite news|last1=Davenport|first1=Coral|title=Republicans Vow to Fight E.P.A. and Approve Keystone Pipeline|url=https://www.nytimes.com/2014/11/11/us/politics/republicans-vow-to-fight-epa-and-approve-keystone-pipeline.html|access-date=January 25, 2016|work=[[The New York Times]]|date=November 10, 2014|archive-url=https://web.archive.org/web/20160113013421/http://www.nytimes.com/2014/11/11/us/politics/republicans-vow-to-fight-epa-and-approve-keystone-pipeline.html|archive-date=January 13, 2016|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|last1=Levy|first1=Gabrielle|title=Obama Vetoes Keystone XL, Republicans Vow to Continue Fight|url=https://www.usnews.com/news/articles/2015/02/24/obama-vetoes-keystone-xl-republicans-vow-to-continue-fight|access-date=January 25, 2016|work=[[U.S. News &amp;amp; World Report]]|date=February 24, 2015|archive-url=https://web.archive.org/web/20160201202834/http://www.usnews.com/news/articles/2015/02/24/obama-vetoes-keystone-xl-republicans-vow-to-continue-fight|archive-date=February 1, 2016|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|title=Keystone XL pipeline: Why is it so disputed?|url=https://www.bbc.com/news/world-us-canada-30103078|access-date=January 25, 2016|work=[[BBC News]]|date=November 6, 2015|archive-url=https://web.archive.org/web/20160209145216/http://www.bbc.com/news/world-us-canada-30103078|archive-date=February 9, 2016|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to the [[Center for American Progress]], a non-profit liberal advocacy group, more than 55% of congressional Republicans were [[climate change denial|climate change deniers]] in 2014.&amp;lt;ref name=msnbc20140512&amp;gt;{{cite news|work=[[Hardball With Chris Matthews]]|date=May 12, 2014|publisher=[[MSNBC]]|last=Matthews|first=Chris|author-link=Chris Matthews|quote=According to a survey by the Center for American Progress&#039; Action Fund, more than 55 percent of congressional Republicans are climate change deniers. And it gets worse from there. They found that 77 percent of Republicans on the House Science Committee say they don&#039;t believe it in either. And that number balloons to an astounding 90 percent for all the party&#039;s leadership in Congress.|title=Hardball With Chris Matthews for May 12, 2014|agency=NBC news}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=charlestongazette20141222&amp;gt;{{cite news|title=Earth Talk: Still in denial about climate change|newspaper=[[Charleston Gazette-Mail|The Charleston Gazette]]|location=[[Charleston, West Virginia]]|date=December 22, 2014|page=10|quote=... a recent survey by the non-profit Center for American Progress found that some 58 percent of Republicans in the U.S. Congress still &amp;quot;refuse to accept climate change. Meanwhile, still others acknowledge the existence of global warming but cling to the scientifically debunked notion that the cause is natural forces, not greenhouse gas pollution by humans.}}&amp;lt;/ref&amp;gt; [[PolitiFact]] in May 2014 found &amp;quot;relatively few Republican members of Congress&amp;amp;nbsp;... accept the prevailing scientific conclusion that [[global warming]] is both real and man-made.&amp;quot; The group found eight members who acknowledged it, although the group acknowledged there could be more and that not all members of Congress have taken a stance on the issue.&amp;lt;ref&amp;gt;{{cite news|title=Jerry Brown says &#039;virtually no Republican&#039; in Washington accepts climate change science|first=Julie|last=Kliegman|date=May 18, 2014|access-date=September 18, 2017|publisher=[[PolitiFact]]|work=[[Tampa Bay Times]]|url=http://www.politifact.com/truth-o-meter/statements/2014/may/18/jerry-brown/jerry-brown-says-virtually-no-republican-believes-/|archive-url=https://web.archive.org/web/20170813152353/http://www.politifact.com/truth-o-meter/statements/2014/may/18/jerry-brown/jerry-brown-says-virtually-no-republican-believes-/|archive-date=August 13, 2017|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|title=Meet the Republicans in Congress who don&#039;t believe climate change is real|first=Tom|last=McCarthy|date=November 17, 2014|newspaper=[[The Guardian]]|url=https://www.theguardian.com/environment/2014/nov/17/climate-change-denial-scepticism-republicans-congress|access-date=September 18, 2017|archive-url=https://web.archive.org/web/20170919234320/https://www.theguardian.com/environment/2014/nov/17/climate-change-denial-scepticism-republicans-congress|archive-date=September 19, 2017|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From 2008 to 2017, the Republican Party went from &amp;quot;debating how to combat human-caused climate change to arguing that it does not exist&amp;quot;, according to &#039;&#039;[[The New York Times]]&#039;&#039;.&amp;lt;ref name=Davenport2017/&amp;gt; In January 2015, the Republican-led U.S. Senate voted 98–1 to pass a resolution acknowledging that &amp;quot;climate change is real and is not a hoax&amp;quot;; however, an amendment stating that &amp;quot;human activity significantly contributes to climate change&amp;quot; was supported by only five Republican senators.&amp;lt;ref&amp;gt;{{cite web|url=https://thehill.com/policy/energy-environment/230316-senate-votes-98-1-that-climate-change-is-real/|title=Senate votes that climate change is real|first=Dustin|last=Weaver|date=January 21, 2015|website=[[The Hill (newspaper)|The Hill]]|access-date=March 26, 2019|archive-url=https://web.archive.org/web/20190327090248/https://thehill.com/policy/energy-environment/230316-senate-votes-98-1-that-climate-change-is-real|archive-date=March 27, 2019|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Health care ====&lt;br /&gt;
The party opposes a [[single-payer health care]] system,&amp;lt;ref&amp;gt;{{Cite web|url=https://www.nbcnews.com/politics/politics-news/health-care-under-attack-why-gop-making-single-payer-dirty-n907686|title=Beyond Obamacare: Democrats have plans, GOP is out to destroy them|date=September 11, 2018|website=NBC News}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|url=https://www.washingtonpost.com/news/wonk/wp/2012/06/30/the-republican-turn-against-universal-health-insurance/|title=The Republican Turn Against Universal Health Insurance|newspaper=Washington Post |last=Klein |first=Ezra |date=June 30, 2012}}&amp;lt;/ref&amp;gt; describing it as [[socialized medicine]]. It also opposes the [[Affordable Care Act]]&amp;lt;ref&amp;gt;{{Cite journal|last=Oberlander|first=Jonathan|date=March 1, 2020|title=The Ten Years&#039; War: Politics, Partisanship, And The ACA|url=https://www.healthaffairs.org/doi/full/10.1377/hlthaff.2019.01444|archive-url=https://web.archive.org/web/20241203210741/https://www.healthaffairs.org/doi/full/10.1377/hlthaff.2019.01444|url-status=dead|archive-date=December 3, 2024|journal=Health Affairs|volume=39|issue=3|pages=471–478|doi=10.1377/hlthaff.2019.01444|pmid=32119603|s2cid=211834684|issn=0278-2715|url-access=subscription}}&amp;lt;/ref&amp;gt; and expansions of Medicaid.&amp;lt;ref&amp;gt;{{Cite journal|last1=Hertel-Fernandez|first1=Alexander|last2=Skocpol|first2=Theda|last3=Lynch|first3=Daniel|date=April 2016|title=Business Associations, Conservative Networks, and the Ongoing Republican War over Medicaid Expansion|url=https://read.dukeupress.edu/jhppl/article/41/2/239-286/13814|journal=Journal of Health Politics, Policy and Law|volume=41|issue=2|pages=239–286|doi=10.1215/03616878-3476141|pmid=26732316|issn=0361-6878|access-date=April 23, 2021|archive-date=June 2, 2018|archive-url=https://web.archive.org/web/20180602061451/https://read.dukeupress.edu/jhppl/article/41/2/239-286/13814|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt; Historically, there have been diverse and overlapping views within both the Republican Party and the Democratic Party on the role of government in health care, but the two parties became highly polarized on the topic during 2008–2009 and onwards.&amp;lt;ref name=&amp;quot;Hacker-2010&amp;quot;&amp;gt;{{Cite journal|last=Hacker|first=Jacob S.|date=2010|title=The Road to Somewhere: Why Health Reform Happened: Or Why Political Scientists Who Write about Public Policy Shouldn&#039;t Assume They Know How to Shape It|url=https://www.cambridge.org/core/journals/perspectives-on-politics/article/abs/road-to-somewhere-why-health-reform-happened/15E0D0CAC2B73C52439A6EBDF3E8C973|journal=Perspectives on Politics|language=en|volume=8|issue=3|pages=861–876|doi=10.1017/S1537592710002021|s2cid=144440604|issn=1541-0986|access-date=November 10, 2021|archive-date=February 25, 2021|archive-url=https://web.archive.org/web/20210225172530/https://www.cambridge.org/core/journals/perspectives-on-politics/article/abs/road-to-somewhere-why-health-reform-happened/15E0D0CAC2B73C52439A6EBDF3E8C973|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both Republicans and Democrats made various proposals to establish federally funded aged health insurance prior to the bipartisan effort to establish [[Medicare (United States)|Medicare]] and [[Medicaid]] in 1965.&amp;lt;ref&amp;gt;{{Citation|title=The Politics of Medicare, 1957–1965|date=2015|url=https://www.cambridge.org/core/books/ensuring-americas-health/politics-of-medicare-19571965/CE40908D6F8A4EF7EFD741E5D9113513|work=Ensuring America&#039;s Health: The Public Creation of the Corporate Health Care System|pages=194–232|editor-last=Chapin|editor-first=Christy Ford|publisher=Cambridge University Press|doi=10.1017/CBO9781107045347.008|isbn=978-1107044883|access-date=November 10, 2021|archive-date=April 24, 2020|archive-url=https://web.archive.org/web/20200424213404/https://www.cambridge.org/core/books/ensuring-americas-health/politics-of-medicare-19571965/CE40908D6F8A4EF7EFD741E5D9113513|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|title= Peter DeFazio says &amp;quot;Medicare passed with virtually no Republican support&amp;quot;|url=https://www.politifact.com/factchecks/2011/apr/15/peter-defazio/peter-defazio-says-medicare-passed-virtually-no-re/|url-status=live|access-date=November 10, 2021|website=[[Politifact]]|language=en-US|archive-url=https://web.archive.org/web/20220419164555/https://www.politifact.com/factchecks/2011/apr/15/peter-defazio/peter-defazio-says-medicare-passed-virtually-no-re/|archive-date=April 19, 2022|date=April 15, 2011|last1=Jacobson|first1=Louis|last2=Kennedy|first2=Patrick}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Zeitz-2017&amp;quot;&amp;gt;{{Cite web|last=Zeitz|first=Joshua|title=How the GOP Turned Against Medicaid|url=https://www.politico.com/magazine/story/2017/06/27/medicaid-obamacare-repeal-gop-215314/|access-date=November 10, 2021|website=[[Politico]]|date=June 27, 2017|language=en|archive-date=February 13, 2021|archive-url=https://web.archive.org/web/20210213030743/https://www.politico.com/magazine/story/2017/06/27/medicaid-obamacare-repeal-gop-215314/|url-status=live}}&amp;lt;/ref&amp;gt; No Republican member of Congress voted for the [[Affordable Care Act]] in 2009, and after it passed, the party made frequent attempts to repeal it.&amp;lt;ref name=&amp;quot;Hacker-2010&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Cohn|first=Jonathan|url=https://books.google.com/books?id=ddLtDwAAQBAJ|title=The Ten Year War: Obamacare and the Unfinished Crusade for Universal Coverage|year=2021|publisher=St. Martin&#039;s Publishing Group|isbn=978-1250270948|language=en}}&amp;lt;/ref&amp;gt; At the state level, the party has tended to adopt a position against [[Medicaid expansion]].&amp;lt;ref name=&amp;quot;Grumbach-2021&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Zeitz-2017&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Republicans typically believe individuals should take responsibility for their own circumstances and that the private sector is more effective in helping the poor through [[Charity (practice)|charity]] than the government is through welfare programs, and argue that social assistance programs cause government dependency.&amp;lt;ref&amp;gt;{{Cite web|last=Konczal|first=Mike|date=March 24, 2014|title=The Conservative Myth of a Social Safety Net Built on Charity|url=https://www.theatlantic.com/politics/archive/2014/03/the-conservative-myth-of-a-social-safety-net-built-on-charity/284552/|url-status=live|access-date=December 30, 2021|website=[[The Atlantic]]|archive-url=https://web.archive.org/web/20220503030317/https://www.theatlantic.com/politics/archive/2014/03/the-conservative-myth-of-a-social-safety-net-built-on-charity/284552/|archive-date=May 3, 2022}}&amp;lt;/ref&amp;gt; As of November 2022, all 11 states that had not expanded Medicaid had Republican-controlled [[State legislature (United States)|state legislatures]].&amp;lt;ref name=KaiserMedicaid&amp;gt;{{cite web|title=Status of State Medicaid Expansion Decisions: Interactive Map|url=https://www.kff.org/medicaid/issue-brief/status-of-state-medicaid-expansion-decisions-interactive-map|publisher=[[Kaiser Family Foundation]]|date=November 9, 2022|access-date=February 26, 2023|archive-date=June 24, 2022|archive-url=https://web.archive.org/web/20220624102415/https://www.kff.org/medicaid/issue-brief/status-of-state-medicaid-expansion-decisions-interactive-map/|url-status=live}} Scroll down for state by state info.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By 2020, Republican officials have increasingly adopted [[anti-vaccine activism]] and policy.&amp;lt;ref&amp;gt;{{Cite news |last=Tahir |first=Darius |date=September 30, 2024 |title=Trump leads, and his party follows, on vaccine skepticism  |work=CNN |url=https://www.cnn.com/2024/09/30/health/trump-vaccine-skepticism-partner-kff-health-news/index.html |access-date=December 19, 2024 |archive-date=December 1, 2024 |archive-url=https://web.archive.org/web/20241201092214/https://www.cnn.com/2024/09/30/health/trump-vaccine-skepticism-partner-kff-health-news/index.html |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Foreign policy ===&lt;br /&gt;
{{See also|History of foreign policy and national defense in the Republican Party}}&lt;br /&gt;
&lt;br /&gt;
The Republican Party has a persistent history of skepticism and opposition to [[multilateralism]] in American foreign policy.&amp;lt;ref&amp;gt;{{Cite journal |last1=Fordham |first1=Benjamin O. |last2=Flynn |first2=Michael |date=2022 |title=Everything Old Is New Again: The Persistence of Republican Opposition to Multilateralism in American Foreign Policy |url=https://www.cambridge.org/core/journals/studies-in-american-political-development/article/abs/everything-old-is-new-again-the-persistence-of-republican-opposition-to-multilateralism-in-american-foreign-policy/F44B69F178BD7CC9CA71A4B16866DEE8 |journal=Studies in American Political Development |volume=37 |pages=56–73 |language=en |doi=10.1017/S0898588X22000165 |s2cid=252292479 |issn=0898-588X |access-date=September 15, 2022 |archive-date=September 21, 2022 |archive-url=https://web.archive.org/web/20220921134531/https://www.cambridge.org/core/journals/studies-in-american-political-development/article/abs/everything-old-is-new-again-the-persistence-of-republican-opposition-to-multilateralism-in-american-foreign-policy/F44B69F178BD7CC9CA71A4B16866DEE8 |url-status=live |url-access=subscription }}&amp;lt;/ref&amp;gt; [[Neoconservatism]], which supports [[unilateralism]] and emphasizes the use of force and hawkishness in American foreign policy, has had some influence in all Republican presidential administrations since Ronald Reagan&#039;s.&amp;lt;ref&amp;gt;{{Cite web |title=neoconservatism |url=https://www.oxfordreference.com/view/10.1093/oi/authority.20110803100228203 |access-date=September 15, 2022 |website=Oxford Reference |language=en |archive-date=September 22, 2022 |archive-url=https://web.archive.org/web/20220922144120/https://www.oxfordreference.com/view/10.1093/oi/authority.20110803100228203 |url-status=live }}&amp;lt;/ref&amp;gt; Some, including [[Paleoconservatism|paleoconservatives]],&amp;lt;ref&amp;gt;{{Cite web |last=Matthews |first=Dylan |date=May 6, 2016 |title=Paleoconservatism, the movement that explains Donald Trump, explained |url=https://www.vox.com/2016/5/6/11592604/donald-trump-paleoconservative-buchanan |url-status=live |archive-url=https://web.archive.org/web/20220623235749/https://www.vox.com/2016/5/6/11592604/donald-trump-paleoconservative-buchanan |archive-date=June 23, 2022 |website=[[Vox (website)|Vox]]}}&amp;lt;/ref&amp;gt; call for [[non-interventionism]] and an [[isolationism|isolationist]] &amp;quot;[[America First]]&amp;quot; foreign policy agenda.&amp;lt;ref name=&amp;quot;New Fusionism&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Rucker 2016&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Dodson-Brooks 2021&amp;quot;/&amp;gt; This faction gained strength starting in 2016 with the rise of Donald Trump, demanding that the United States reset its previous [[Interventionism (politics)|interventionist]] foreign policy and encourage allies and partners to take greater responsibility for their own defense.&amp;lt;ref&amp;gt;{{Cite news |date=March 22, 2023 |title=The Case for a Restrained Republican Foreign Policy |language=en-US |work=Foreign Affairs |url=https://www.foreignaffairs.com/united-states/foreign-policy-republican-american-power |access-date=March 25, 2023 |archive-date=March 24, 2023 |archive-url=https://web.archive.org/web/20230324202435/https://www.foreignaffairs.com/united-states/foreign-policy-republican-american-power |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Israel ====&lt;br /&gt;
During the 1940s, many Republicans, particularly Senator [[Robert A. Taft]], advocated for recognition of Israel,&amp;lt;ref&amp;gt;{{cite news|work=New York Times|url=https://www.nytimes.com/1945/03/22/archives/taft-seeks-action-on-jewish-state-senator-stresses-vital-need-for.html|title=TAFT SEEKS ACTION ON JEWISH STATE; Senator Stresses Vital Need for the Immediate Political Recognition of Palestine|quote=The vital need for immediate political recognition of a Jewish national home and a Jewish State in Palestine by the great powers was stressed by Senator Robert A. Taft of Ohio|date=March 22, 1945}}&amp;lt;/ref&amp;gt; leading to support for Israel being integrated into the 1948 Republican Party platform.&amp;lt;ref&amp;gt;{{cite news|work=Jewish Telegraphic Agency|url=https://www.jta.org/archive/republicans-adopt-strong-israel-platform-taft-supporters-upset-vandenberg-policy|date=June 23, 1948|title=Republicans Adopt Strong Israel Platform; Taft Supporters Upset Vandenberg Policy}}&amp;lt;/ref&amp;gt; Nevertheless, some Republicans at the time opposed the cause of an independent Jewish state due to the influence of [[Conservatism in the United States|conservatives]] of the [[Old Right (United States)|Old Right]].&amp;lt;ref name=&amp;quot;Cavari-2020&amp;quot;&amp;gt;{{Cite book |last1=Cavari |first1=Amnon |title=American Public Opinion Toward Israel: From Consensus to Divide |last2=Freedman |first2=Guy |publisher=[[Taylor &amp;amp; Francis]] |year=2020 |pages=145}}&amp;lt;/ref&amp;gt;  The rise of [[neoconservatism]] saw the Republican Party become further pro-Israel by the 1990s and 2000s,&amp;lt;ref&amp;gt;{{Cite web |last=Beauchamp |first=Zack |date=2015-11-11 |title=How Republicans fell in love with Israel |url=https://www.vox.com/2015/11/11/9708018/republicans-israel |access-date=2023-11-09 |website=Vox |language=en |archive-date=November 9, 2023 |archive-url=https://web.archive.org/web/20231109060429/https://www.vox.com/2015/11/11/9708018/republicans-israel |url-status=live }}&amp;lt;/ref&amp;gt; although notable anti-Israel sentiment persisted through [[Paleoconservatism|paleoconservative]] figures such as [[Pat Buchanan]].&amp;lt;ref&amp;gt;{{Cite web |last=Ponnuru |first=Ramesh |date=2018-05-15 |title=The GOP and the Israeli Exception |url=https://www.nationalreview.com/corner/pat-buchanan-republican-infuence-israel-exception/ |access-date=2023-11-09 |website=National Review |language=en-US |archive-date=November 9, 2023 |archive-url=https://web.archive.org/web/20231109085835/https://www.nationalreview.com/corner/pat-buchanan-republican-infuence-israel-exception/ |url-status=live }}&amp;lt;/ref&amp;gt; As president, Donald Trump generally supported Israel during most of his term, but became increasingly critical of Israeli Prime Minister [[Benjamin Netanyahu]] towards the end of it.&amp;lt;ref&amp;gt;{{Cite web |last=Collinson |first=Stephen |date=October 13, 2023 |title=Trump&#039;s turn against Israel |url=https://www.cnn.com/cnn/2023/10/13/politics/donald-trump-israel-netanyahu-diplomacy/index.html |access-date=November 9, 2023 |website=[[CNN]]}}&amp;lt;/ref&amp;gt; According to &#039;&#039;[[I24NEWS (Israeli TV channel)|i24NEWS]]&#039;&#039;, the 2020s have seen declining support for Israel among nationalist Republicans, led by individuals such as [[Tucker Carlson]].&amp;lt;ref name=&amp;quot;Cavari-2020&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Naftali |first=India |date=2024-02-06 |title=Hey Israel, don&#039;t be so sure about your support among Republicans |url=https://www.i24news.tv/en/news/international/americas/1706700133-hey-israel-don-t-be-so-sure-about-your-support-among-republicans |access-date=2024-02-09 |website=I24news |language=en}}&amp;lt;/ref&amp;gt; Nevertheless, the 2024 Republican Party platform reaffirmed the party would &amp;quot;stand with Israel&amp;quot; and called for the deportation of &amp;quot;pro-[[Hamas]] radicals&amp;quot;, while expressing a desire for peace in the Middle East.&amp;lt;ref&amp;gt;{{cite news|work=Times of Israel|title=GOP platform pledges to stand with Israel, deport &#039;pro-Hamas radicals&#039; from US|date=9 July 2024|url=https://www.timesofisrael.com/gop-platform-pledges-to-stand-with-israel-deport-pro-hamas-radicals-from-us/}}&amp;lt;/ref&amp;gt; Although the Republican Party has often positioned itself as an opponent of antisemitism and denounced Democrats as insufficiently supportive of Israel,&amp;lt;ref&amp;gt;{{cite news |last1=Barbara |first1=Sprunt |title=GOP lawmakers plan to keep focus on antisemitism to divide Democrats|url=https://www.npr.org/2024/05/24/g-s1-930/republican-campus-antisemitism |access-date=24 February 2025 |publisher=NPR |date=29 May 2024}}&amp;lt;/ref&amp;gt; many members of the [[Christian right]] support Israel primarily due to [[Christian Zionism|theological beliefs]] about the centrality of Israel to the [[Second Coming|Second Coming of Jesus Christ]] and the conversion or [[Hell in Christianity|damnation]] of Jews and other non-Christians.&amp;lt;ref&amp;gt;{{cite web |last1=Alnaqib |first1=Saafya |title=American Evangelicals&#039; Unique Support for Israel |url=https://globalaffairs.org/commentary-and-analysis/blogs/american-evangelicals-unique-support-israel |website=Chicago Council on Global Affairs |date=September 30, 2024 |access-date=24 February 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last1=Posner |first1=Sarah |title=The dispiriting truth about why many evangelical Christians support Israel|url=https://www.msnbc.com/opinion/msnbc-opinion/truth-many-evangelical-christians-support-israel-rcna121481 |website=CNN |date=October 22, 2023 |access-date=24 February 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Taiwan ====&lt;br /&gt;
In the party&#039;s 2016 platform,&amp;lt;ref name=&amp;quot;amazonaws1&amp;quot;&amp;gt;{{cite web|url=https://prod-static-ngop-pbl.s3.amazonaws.com/media/documents/DRAFT_12_FINAL&amp;amp;#91;1&amp;amp;#93;-ben_1468872234.pdf|title=Republican Platform 2016|access-date=July 20, 2016|archive-date=July 19, 2016|archive-url=https://web.archive.org/web/20160719212623/https://prod-static-ngop-pbl.s3.amazonaws.com/media/documents/DRAFT_12_FINAL%5B1%5D-ben_1468872234.pdf|url-status=live}}&amp;lt;/ref&amp;gt; its stance on [[Taiwan]] is: &amp;quot;We oppose any unilateral steps by either side to alter the status quo in the Taiwan Straits on the principle that all issues regarding the island&#039;s future must be resolved peacefully, through dialogue, and be agreeable to the people of Taiwan.&amp;quot; In addition, if &amp;quot;China were to violate those principles, the United States, in accord with the [[Taiwan Relations Act]], will help Taiwan defend itself&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Mention of Taiwan was omitted from the party&#039;s 2024 platform.&amp;lt;ref&amp;gt;{{cite news|work=TNL|title=Republican Party Platform Omits Taiwan Mention|date=July 10, 2024|url=https://international.thenewslens.com/article/187073}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====War on terror====&lt;br /&gt;
{{Main|War on Terror}}&lt;br /&gt;
{{Further|September 11 attacks}}&lt;br /&gt;
&lt;br /&gt;
Since the [[September 11 attacks|terrorist attacks on September 11, 2001]], neoconservatives in the party have supported the War on Terror, including the [[War in Afghanistan (2001–2021)|War in Afghanistan]] and the [[Iraq War]]. The [[Presidency of George W. Bush|George W. Bush administration]] took the position that the [[Geneva Conventions]] do not apply to [[unlawful combatant]]s, while other prominent Republicans, such as [[Ted Cruz]], strongly oppose the use of [[enhanced interrogation techniques]], which they view as torture.&amp;lt;ref&amp;gt;{{cite news|url=http://www.weeklystandard.com/cruz-america-does-not-need-torture-to-protect-ourselves/article/2000049|title=Cruz: &#039;America Does Not Need Torture to Protect Ourselves&#039;|date=December 3, 2015|access-date=December 27, 2015|archive-url=https://web.archive.org/web/20160101195440/http://www.weeklystandard.com/cruz-america-does-not-need-torture-to-protect-ourselves/article/2000049|archive-date=January 1, 2016|url-status=dead}}&amp;lt;/ref&amp;gt; In the 2020s, Trumpist Republicans such as [[Matt Gaetz]] supported reducing U.S. military presence abroad and ending [[American military intervention in Somalia (2007–present)|intervention in countries such as Somalia]].&amp;lt;ref&amp;gt;{{cite web |last1=Nick |first1=Turse |title=REP. MATT GAETZ, PROGRESSIVES JOINTLY CALL FOR U.S. MILITARY TO LEAVE SOMALIA |date=April 27, 2023 |url=https://theintercept.com/2023/04/27/reactionaries-and-progressives-jointly-call-for-u-s-military-to-leave-somalia/ |publisher=The Intercept |access-date=27 April 2023}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Europe, Russia and Ukraine====&lt;br /&gt;
{{see also|United States and the Russian invasion of Ukraine}}&lt;br /&gt;
The 2016 Republican platform eliminated references to giving weapons to [[Ukraine]] in its fight with [[Russia]] and [[Separatist forces of the war in Donbass|rebel forces]]; the removal of this language reportedly resulted from intervention from staffers to presumptive Republican presidential nominee Donald Trump.&amp;lt;ref&amp;gt;{{cite news |first=Tracy |last=Wilkinson |title=In a shift, Republican platform doesn&#039;t call for arming Ukraine against Russia, spurring outrage |url=https://www.latimes.com/world/la-na-pol-ukraine-gop-20160720-snap-story.html |work=Los Angeles Times |date=July 21, 2016 |access-date=2016-07-25 }}&amp;lt;/ref&amp;gt; However, the Trump administration approved a new sale of anti-tank weapons to Ukraine in 2017.&amp;lt;ref&amp;gt;{{cite web |title=Trump admin approves new sale of anti-tank weapons to Ukraine |url=https://abcnews.go.com/Politics/trump-admin-approves-sale-anti-tank-weapons-ukraine/story?id=65989898#:~:text=The%20Trump%20administration%20first%20approved,Javelins%20to%20Ukraine%20in%202017.&amp;amp;text=Catch%20up%20on%20the%20developing,source%20familiar%20with%20the%20plan. |publisher=ABC News |access-date=2019-10-01 |quote=The Trump administration first approved the sale of Javelins to Ukraine in December 2017 – a step that former President Barack Obama never took and that Trump allies have pointed to as a sign of Trump&#039;s toughness on Russia.}}&amp;lt;/ref&amp;gt; Republicans generally question European [[NATO]] members&#039; alleged insufficient investment in defense funding, and some are dissatisfied with U.S. aid to Ukraine.&amp;lt;ref&amp;gt;{{cite web |last1=Erik |first1=Piccoli |title=Republicans are no friends of Europe |url=https://www.ispionline.it/en/publication/republicans-are-no-friends-of-europe-162327 |publisher=ISPI |access-date=2024-01-31}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=Trump&#039;s threat to NATO allies draws little condemnation from GOP, reflecting his grip on the party |date=February 12, 2024 |url=https://apnews.com/article/trump-nato-presidential-election-congress-republicans-20e902788e8701999ce0424f73d478cc |publisher=AP |access-date=2024-02-12}}&amp;lt;/ref&amp;gt; Some Republican members of the U.S. Congress support foreign aid to Israel but not to Ukraine,&amp;lt;ref name=&amp;quot;Falk 2023 t804&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Riccardi&amp;quot;/&amp;gt; and have been described by U.S. media as [[pro-Russian]].&amp;lt;ref name=&amp;quot;Cohn2023&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Lillis&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Ball&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Jonathan&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Lange&amp;quot;&amp;gt;{{Cite news |last=Lange |first=Jason |date=January 17, 2024 |title=Trump&#039;s rise sparks isolationist worries abroad, but voters unfazed |url=https://www.reuters.com/world/us/trumps-rise-sparks-isolationist-worries-among-us-allies-americans-focus-home-2024-01-17/ |access-date=January 17, 2024 |website=[[Reuters]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;New York Times&amp;quot;&amp;gt;{{cite news |title=Fears of a NATO Withdrawal Rise as Trump Seeks a Return to Power|url=https://www.nytimes.com/2023/12/09/us/politics/trump-2025-nato.html |work=New York Times |date=December 9, 2023|access-date=December 10, 2023|last1=Swan|first1=Jonathan|last2=Savage|first2=Charlie|last3=Haberman|first3=Maggie}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Baker&amp;quot;&amp;gt;{{cite news |last=Baker|first=Peter|title=Favoring Foes Over Friends, Trump Threatens to Upend International Order|url=https://www.nytimes.com/2024/02/11/us/politics/trump-nato.html|work=The New York Times |date=February 11, 2024|access-date=February 21, 2024|issn=1553-8095|language=en|url-access=subscription}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Amid the [[Russian invasion of Ukraine]], several prominent Republicans criticized some colleagues and conservative media outlets for echoing Russian propaganda. [[Liz Cheney]], formerly the third-ranking House Republican, said &amp;quot;a [[Vladimir Putin|Putin]] wing of the Republican Party&amp;quot; had emerged. Former vice president [[Mike Pence]] said, &amp;quot;There is no room in the Republican Party for apologists for Putin.&amp;quot; [[House Foreign Affairs Committee]] chairman [[Michael McCaul]] asserted that Russian propaganda had &amp;quot;infected a good chunk of my party&#039;s base.&amp;quot; [[House Intelligence Committee]] chairman [[Mike Turner]] confirmed McCaul&#039;s assessment, asserting that some propaganda coming directly from Russia could be heard on the House floor. Republican senator [[Thom Tillis]] characterized the influential conservative commentator [[Tucker Carlson]], who frequently expresses pro-Russia sentiments, as Russia&#039;s &amp;quot;[[useful idiot]]&amp;quot;.&amp;lt;ref&amp;gt;{{cite news |last1=Lotz |first1=Avery |title=House Intelligence Committee chair says Russian propaganda has spread through parts of GOP |url=https://edition.cnn.com/2024/04/07/politics/mike-turner-russia-ukraine-propaganda-gop-cnntv/index.html |publisher=CNN |date=April 7, 2024 |url-status=live |archive-url=https://web.archive.org/web/20240411080400/https://edition.cnn.com/2024/04/07/politics/mike-turner-russia-ukraine-propaganda-gop-cnntv/index.html |archive-date= Apr 11, 2024 }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last1=Blake |first1=Aaron |title=Republicans begin to target Putin &#039;apologists&#039; in their midst |url=https://www.washingtonpost.com/politics/2024/02/16/republicans-begin-target-putin-apologists-their-midst/ |newspaper=The Washington Post |date=February 16, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last1=Miranda |first1=Shauneen |title=Turner: Russian propaganda &amp;quot;being uttered on the House floor&amp;quot; |url=https://www.axios.com/2024/04/07/russian-propaganda-republican-party-mike-turner |work=Axios |date=April 7, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last1=Blake |first1=Aaron |title=Top GOPers&#039; extraordinary comments on their party and Russian propaganda |url=https://www.washingtonpost.com/politics/2024/04/06/when-top-republican-says-russian-propaganda-has-infected-gop/ |newspaper=The Washington Post |date=April 8, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In April 2024, a majority of Republican members of the [[U.S. House of Representatives]] voted against a military aid package to Ukraine.&amp;lt;ref&amp;gt;{{cite news|work=The Guardian|title=US House approves $61bn in military aid for Ukraine after months of stalling|quote=210 Democrats and 101 Republicans joined to support Ukraine, with 112 Republicans – a majority of the GOP members – voting against|date=20 April 2024|url=https://www.theguardian.com/us-news/2024/apr/20/us-house-approves-61bn-aid-ukraine}}&amp;lt;/ref&amp;gt; Both Trump and Senator [[JD Vance]], the 2024 Republican presidential nominee and vice presidential nominee respectively, have been vocal critics of military aid to Ukraine and advocates of a peace deal between Russia and Ukraine.&amp;lt;ref&amp;gt;{{Cite web |first=Andrew |last=Stanton |date=July 15, 2024 |title=JD Vance eyes shift in Republican Party |url=https://www.newsweek.com/jd-vance-eyes-shift-republican-party-1925499 |url-status=live |archive-url=https://web.archive.org/web/20240716020901/https://www.newsweek.com/jd-vance-eyes-shift-republican-party-1925499 |archive-date=July 16, 2024 |access-date=July 16, 2024 |website=Newsweek}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|work=Politico|url=https://www.politico.eu/article/donald-trump-ukraine-russia-war-threatens-cut-aid-election-2024/|date=June 16, 2024|title=Trump threatens to cut US aid to Ukraine quickly if reelected}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=The Guardian|title=Trump&#039;s choice of Vance &#039;terrible news&#039; for Ukraine, Europe experts warn|date=July 17, 2024|url=https://www.theguardian.com/us-news/article/2024/jul/17/trump-jd-vance-vp-ukraine}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|work=Reuters|title=Exclusive: Trump handed plan to halt US military aid to Kyiv unless it talks peace with Moscow|date=June 25, 2024|url=https://www.reuters.com/world/us/trump-reviews-plan-halt-us-military-aid-ukraine-unless-it-negotiates-peace-with-2024-06-25/}}&amp;lt;/ref&amp;gt; The 2024 Republican Party platform did not mention Russia or Ukraine, but stated the party&#039;s objectives to &amp;quot;prevent World War III&amp;quot; and &amp;quot;restore peace to Europe&amp;quot;.&amp;lt;ref&amp;gt;{{cite news|work=Kyiv Independent|title=Republican Party committee approves 2024 platform, makes no mention of Ukraine, Russia|date=July 9, 2024|url=https://kyivindependent.com/republican-party-approves-2024-platform-makes-no-mention-of-ukraine-russia/}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In February 2025, during the [[2025 Trump–Zelenskyy meeting|Trump–Zelenskyy meeting]], Trump and Vance hostilely berated Ukrainian president [[Volodymyr Zelenskyy]].&amp;lt;ref&amp;gt;{{Cite news |last=Smith |first=David |date=2025-02-28 |title=Diplomacy dies on live TV as Trump and Vance gang up to bully Ukraine leader |url=https://www.theguardian.com/us-news/2025/feb/28/trump-zelenskyy-shouting-match-oval-office |access-date=2025-02-28 |work=The Guardian |language=en-GB |issn=0261-3077}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Foreign relations and aid====&lt;br /&gt;
In a 2014 poll, 59% of Republicans favored doing less abroad and focusing on the country&#039;s own problems instead.&amp;lt;ref&amp;gt;See &amp;quot;July 3, 2014 – Iraq – Getting In Was Wrong; Getting Out Was Right, U.S. Voters Tell Quinnipiac University National Poll&amp;quot; [http://www.quinnipiac.edu/news-and-events/quinnipiac-university-poll/national/release-detail?ReleaseID=2057 Quinnipiac University Poll] {{Webarchive|url=https://web.archive.org/web/20160402190652/http://www.quinnipiac.edu/news-and-events/quinnipiac-university-poll/national/release-detail?ReleaseID=2057 |date=April 2, 2016 }} item #51&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Republicans have frequently advocated for restricting [[United States foreign aid|foreign aid]] as a means of asserting the national security and immigration interests of the United States.&amp;lt;ref&amp;gt;{{cite news|first=Erik|last=Wasson|date=July 18, 2013|url=https://thehill.com/policy/finance/156647-house-gop-unveils-spending-bill-with-5-8b-cut-to-foreign-aid/|title=House GOP unveils spending bill with $5.8B cut to foreign aid|newspaper=[[The Hill (newspaper)|The Hill]]|access-date=December 11, 2014|archive-url=https://web.archive.org/web/20141215001056/http://thehill.com/policy/finance/311939-house-gop-unveils-huge-cuts-to-state-foreign-aid|archive-date=December 15, 2014|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|first=David|last=Rogers|date=February 1, 2011|title=GOP seeks to slash foreign aid|newspaper=[[Politico]]|url=https://www.politico.com/story/2011/02/gop-seeks-to-slash-foreign-aid-048551|access-date=December 11, 2014|archive-url=https://web.archive.org/web/20150222120346/http://www.politico.com/news/stories/0111/48551.html|archive-date=February 22, 2015|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|first=Mario|last=Trujillo|date=July 1, 2014|title=Republicans propose halting foreign aid until border surge stops|newspaper=[[The Hill (newspaper)|The Hill]]|url=https://thehill.com/blogs/blog-briefing-room/211058-gop-rep-cut-off-central-american-aid-until-border-is-fixed/|access-date=December 11, 2014|archive-url=https://web.archive.org/web/20141215001041/http://thehill.com/blogs/blog-briefing-room/211058-gop-rep-cut-off-central-american-aid-until-border-is-fixed|archive-date=December 15, 2014|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A survey by the [[Chicago Council on Global Affairs]] shows that &amp;quot;Trump Republicans seem to prefer a US role that is more independent, less cooperative, and more inclined to use military force to deal with the threats they see as the most pressing&amp;quot;.&amp;lt;ref&amp;gt;{{cite web |author1=Dina Smeltz and Craig Kafura |title=Majority of Trump Republicans Prefer the United States Stay out of World Affairs |date=February 16, 2024 |url=https://globalaffairs.org/research/public-opinion-survey/majority-trump-republicans-prefer-united-states-stay-out-world |publisher=Chicago Council on Global Affairs |access-date=16 February 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Social issues ===&lt;br /&gt;
The Republican Party is generally associated with [[social conservative]] policies, although it does have dissenting centrist and [[Libertarianism in the United States|libertarian]] factions. The social conservatives support laws that uphold their [[traditional values]], such as [[opposition to same-sex marriage in the United States|opposition to same-sex marriage]], abortion, and marijuana.&amp;lt;ref name=&amp;quot;Zelizer 2004 704–5&amp;quot;&amp;gt;{{cite book|last=Zelizer|first=Julian E.|title=The American Congress: The Building of Democracy|url=https://archive.org/details/americancongress00juli|url-access=registration|year=2004|publisher=Houghton Mifflin Harcourt|pages=[https://archive.org/details/americancongress00juli/page/704 704]–705|isbn=978-0547345505|access-date=June 17, 2015}}&amp;lt;/ref&amp;gt; The Republican Party&#039;s positions on social and cultural issues are in part a reflection of the influential role that the [[Christian right]] has had in the party since the 1970s.&amp;lt;ref&amp;gt;{{Cite book|last=Williams|first=Daniel K.|url=https://books.google.com/books?id=lqf3KBaqgI8C|title=God&#039;s Own Party: The Making of the Christian Right|date=2012|publisher=Oxford University Press|isbn=978-0199929061|language=en|access-date=November 13, 2021|archive-date=December 15, 2023|archive-url=https://web.archive.org/web/20231215024742/https://books.google.com/books?id=lqf3KBaqgI8C|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal|last=Schnabel|first=Landon Paul|date=2013|title=When Fringe Goes Mainstream: A Sociohistorical Content Analysis of the Christian Coalition&#039;s Contract With The American Family and the Republican Party Platform|url=https://doi.org/10.1080/21567689.2012.752361|journal=Politics, Religion &amp;amp; Ideology|volume=14|issue=1|pages=94–113|doi=10.1080/21567689.2012.752361|s2cid=144532011|issn=2156-7689|access-date=November 13, 2021|archive-date=November 13, 2021|archive-url=https://web.archive.org/web/20211113183413/https://www.tandfonline.com/doi/abs/10.1080/21567689.2012.752361|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|last=R. Lewis|first=Andrew|date=2019|title=The Inclusion-Moderation Thesis: The U.S. Republican Party and the Christian Right|url=https://oxfordre.com/politics/view/10.1093/acrefore/9780190228637.001.0001/acrefore-9780190228637-e-665|website=Oxford Research Encyclopedia of Politics|language=en|doi=10.1093/acrefore/9780190228637.013.665|isbn=978-0190228637|access-date=November 13, 2021|archive-date=April 18, 2021|archive-url=https://web.archive.org/web/20210418225734/https://oxfordre.com/politics/view/10.1093/acrefore/9780190228637.001.0001/acrefore-9780190228637-e-665|url-status=live}}&amp;lt;/ref&amp;gt; Most conservative Republicans also oppose [[gun control]], [[affirmative action]], and [[illegal immigration]].&amp;lt;ref name=&amp;quot;Zelizer 2004 704–5&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{cite book|last=Chapman|first=Roger|title=Culture Wars: An Encyclopedia of Issues, Viewpoints, and Voices|url=https://books.google.com/books?id=vRY27FkGJAUC|year=2010|publisher=M.E. Sharpe|page=passim|isbn=978-0765622501|access-date=June 17, 2015|archive-url=https://web.archive.org/web/20150407060657/http://books.google.com/books?id=vRY27FkGJAUC|archive-date=April 7, 2015|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Abortion and embryonic stem cell research ====&lt;br /&gt;
The Republican position on [[Abortion in the United States|abortion]] has changed significantly over time.&amp;lt;ref name=&amp;quot;Williams-2022&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Williams-2015&amp;quot;&amp;gt;{{Cite journal |last=Williams |first=Daniel K. |date=June 2015 |title=The Partisan Trajectory of the American Pro-Life Movement: How a Liberal Catholic Campaign Became a Conservative Evangelical Cause |journal=Religions |language=en |volume=6 |issue=2 |pages=451–475 |doi=10.3390/rel6020451 |issn=2077-1444|doi-access=free }}&amp;lt;/ref&amp;gt; During the 1960s and early 1970s, opposition to abortion was concentrated among members of the political left and the Democratic Party; most liberal Catholics—which tended to vote for the Democratic Party—opposed expanding abortion access while most conservative evangelical Protestants supported it.&amp;lt;ref name=&amp;quot;Williams-2015&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During this period, Republicans generally favored legalized abortion more than Democrats,&amp;lt;ref name=&amp;quot;Halpern-2018&amp;quot;&amp;gt;{{Cite news |last=Halpern |first=Sue |date=November 8, 2018 |title=How Republicans Became Anti-Choice |language=en |work=[[The New York Review of Books]] |url=https://www.nybooks.com/articles/2018/11/08/how-republicans-became-anti-choice/ |access-date=February 4, 2023 |issn=0028-7504 |archive-date=February 4, 2023 |archive-url=https://web.archive.org/web/20230204085532/https://www.nybooks.com/articles/2018/11/08/how-republicans-became-anti-choice/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal |last=Williams |first=Daniel K. |date=2011 |title=The GOP&#039;s Abortion Strategy: Why Pro-Choice Republicans Became Pro-Life in the 1970s |url=https://www.cambridge.org/core/journals/journal-of-policy-history/article/abs/gops-abortion-strategy-why-prochoice-republicans-became-prolife-in-the-1970s/C7EC0E0C0F5FF1F4488AA47C787DEC01 |journal=Journal of Policy History |language=en |volume=23 |issue=4 |pages=513–539 |doi=10.1017/S0898030611000285 |s2cid=154353515 |issn=1528-4190 |access-date=July 4, 2023 |archive-date=July 4, 2023 |archive-url=https://web.archive.org/web/20230704221201/https://www.cambridge.org/core/journals/journal-of-policy-history/article/abs/gops-abortion-strategy-why-prochoice-republicans-became-prolife-in-the-1970s/C7EC0E0C0F5FF1F4488AA47C787DEC01 |url-status=live |url-access=subscription }}&amp;lt;/ref&amp;gt; although significant heterogeneity could be found within both parties.&amp;lt;ref name=&amp;quot;Taylor-2018&amp;quot;&amp;gt;{{Cite web |last=Taylor |first=Justin |date=May 9, 2018 |title=How the Christian Right Became Prolife on Abortion and Transformed the Culture Wars |url=https://www.thegospelcoalition.org/blogs/evangelical-history/christian-right-discovered-abortion-rights-transformed-culture-wars/ |access-date=February 4, 2023 |website=[[The Gospel Coalition]] |language=en-US |archive-date=February 4, 2023 |archive-url=https://web.archive.org/web/20230204085533/https://www.thegospelcoalition.org/blogs/evangelical-history/christian-right-discovered-abortion-rights-transformed-culture-wars/ |url-status=live }}&amp;lt;/ref&amp;gt; Leading Republican political figures, including [[Richard Nixon]], [[Gerald Ford]], [[Ronald Reagan]], and [[George H. W. Bush]], took pro-choice positions until the early 1980s.&amp;lt;ref name=&amp;quot;Halpern-2018&amp;quot; /&amp;gt; However, starting at this point, both George H.W. Bush and Ronald Reagan described themselves as pro-life during their presidencies.&lt;br /&gt;
&lt;br /&gt;
In the 21st century, both [[George W. Bush]]&amp;lt;ref&amp;gt;{{Cite web |last=Bruni |first=Frank |date=January 23, 2000 |title=Bush Says He Supports the Party&#039;s Strong Anti-Abortion Stand |url=https://archive.nytimes.com/www.nytimes.com/library/politics/camp/012300wh-gop-bush-platform.html |access-date=February 4, 2023 |website=[[The New York Times]] |archive-date=February 4, 2023 |archive-url=https://web.archive.org/web/20230204085527/https://archive.nytimes.com/www.nytimes.com/library/politics/camp/012300wh-gop-bush-platform.html |url-status=live }}&amp;lt;/ref&amp;gt; and [[Donald Trump]] described themselves as &amp;quot;[[Anti-abortion movements|pro-life]]&amp;quot; during their terms. However, Trump stated that he supported the legality and ethics of abortion before his candidacy in 2015.&amp;lt;ref&amp;gt;{{Cite news |last=Smith |first=David |date=May 5, 2022 |title=Trump the hero for anti-abortion movement after bending supreme court his way |language=en-GB |work=[[The Guardian]] |url=https://www.theguardian.com/us-news/2022/may/05/trump-abortion-supreme-court |access-date=February 4, 2023 |issn=0261-3077 |archive-date=February 4, 2023 |archive-url=https://web.archive.org/web/20230204085526/https://www.theguardian.com/us-news/2022/may/05/trump-abortion-supreme-court |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Summarizing the rapid shift in the Republican and Democratic positions on abortion, Sue Halpern writes:&amp;lt;ref name=&amp;quot;Williams-2022&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;...in the late 1960s and early 1970s, many Republicans were behind efforts to liberalize and even decriminalize abortion; theirs was the party of reproductive choice, while Democrats, with their large Catholic constituency, were the opposition. Republican governor Ronald Reagan signed the California Therapeutic Abortion Act, one of the most liberal abortion laws in the country, in 1967, legalizing abortion for women whose mental or physical health would be impaired by pregnancy, or whose pregnancies were the result of rape or incest. The same year, the Republican strongholds of North Carolina and Colorado made it easier for women to obtain abortions. New York, under Governor [[Nelson Rockefeller]], a Republican, eliminated all restrictions on women seeking to terminate pregnancies up to twenty-four weeks gestation.... Richard Nixon, Barry Goldwater, Gerald Ford, and George H.W. Bush were all pro-choice, and they were not party outliers. In 1972, a Gallup poll found that 68 percent of Republicans believed abortion to be a private matter between a woman and her doctor. The government, they said, should not be involved... &amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the 1980s, opposition to abortion has become strongest in the party among [[Traditionalist Catholicism|traditionalist Catholics]] and conservative Protestant evangelicals.&amp;lt;ref name=&amp;quot;Williams-2022&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Taylor-2018&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Abdelfatah-2022&amp;quot;&amp;gt;{{Cite web |last=Abdelfatah |first=Rund |date=June 22, 2022 |title=Evangelicals didn&#039;t always play such a big role in the fight to limit abortion access |url=https://www.npr.org/2022/06/22/1106863232/evangelicals-didnt-always-play-such-a-big-role-in-the-fight-to-limit-abortion-ac |access-date=February 24, 2023 |website=[[National Public Radio]] |archive-date=February 24, 2023 |archive-url=https://web.archive.org/web/20230224184105/https://www.npr.org/2022/06/22/1106863232/evangelicals-didnt-always-play-such-a-big-role-in-the-fight-to-limit-abortion-ac |url-status=live }}&amp;lt;/ref&amp;gt; Initially, evangelicals were relatively indifferent to the cause of abortion and overwhelmingly viewed it as a concern that was [[Sectarianism|sectarian]] and [[Catholic Church|Catholic]].&amp;lt;ref name=&amp;quot;Abdelfatah-2022&amp;quot; /&amp;gt; Historian [[Randall Balmer]] notes that [[Billy Graham]]&#039;s &#039;&#039;[[Christianity Today]]&#039;&#039; published in 1968 a statement by theologian [[Bruce Waltke]] that:&amp;lt;ref&amp;gt;{{Cite news |last=Waltke |first=Bruce K. |author-link=Bruce Waltke |date=November 8, 1968 |title=The Old Testament and Birth Control |url=https://www.christianitytoday.com/ct/1968/november-8/old-testament-and-birth-control.html |access-date=February 24, 2023 |website=[[Christianity Today]] |language=en |archive-date=February 24, 2023 |archive-url=https://web.archive.org/web/20230224190800/https://www.christianitytoday.com/ct/1968/november-8/old-testament-and-birth-control.html |url-status=live }}&amp;lt;/ref&amp;gt; &amp;quot;God does not regard the fetus as a soul, no matter how far gestation has progressed.&amp;quot; Typical of the time, &#039;&#039;Christianity Today&#039;&#039; &amp;quot;refused to characterize abortion as sinful&amp;quot; and cited &amp;quot;individual health, family welfare, and social responsibility&amp;quot; as &amp;quot;justifications for ending a pregnancy.&amp;quot;&amp;lt;ref name=&amp;quot;Balmer-2022&amp;quot;&amp;gt;{{Cite web |last=Balmer |first=Randall |author-link=Randall Balmer |date=May 10, 2022 |title=The Religious Right and the Abortion Myth |url=https://www.politico.com/news/magazine/2022/05/10/abortion-history-right-white-evangelical-1970s-00031480 |access-date=February 24, 2023 |website=[[Politico]] |language=en |archive-date=February 24, 2023 |archive-url=https://web.archive.org/web/20230224190749/https://www.politico.com/news/magazine/2022/05/10/abortion-history-right-white-evangelical-1970s-00031480 |url-status=live }}&amp;lt;/ref&amp;gt; Similar beliefs were held among conservative figures in the [[Southern Baptist Convention]], including [[W. A. Criswell]], who is partially credited with starting the &amp;quot;[[Southern Baptist Convention conservative resurgence|conservative resurgence]]&amp;quot; within the organization, who stated: &amp;quot;I have always felt that it was only after a child was born and had a life separate from its mother that it became an individual person and it has always, therefore, seemed to me that what is best for the mother and for the future should be allowed.&amp;quot; Balmer argues that evangelical American Christianity being inherently tied to opposition to abortion is a relatively new occurrence.&amp;lt;ref name=&amp;quot;Balmer-2022&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Allen |first=Bob |date=November 6, 2012 |title=Evangelicals and abortion: chicken or egg? |url=https://baptistnews.com/article/evangelicals-and-abortion-chicken-or-egg/ |access-date=February 24, 2023 |website=Baptist News Global |language=en-US |archive-date=February 24, 2023 |archive-url=https://web.archive.org/web/20230224191638/https://baptistnews.com/article/evangelicals-and-abortion-chicken-or-egg/ |url-status=live }}&amp;lt;/ref&amp;gt; After the late 1970s, he writes, opinion against abortion among evangelicals rapidly shifted in favor of its prohibition.&amp;lt;ref name=&amp;quot;Abdelfatah-2022&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Today, opinion polls show that Republican voters are heavily divided on the legality of abortion,&amp;lt;ref name=&amp;quot;Doherty-2023&amp;quot;&amp;gt;{{Cite web |last=Doherty |first=Carroll |title=How Republicans view their party and key issues facing the country as the 118th Congress begins |url=https://www.pewresearch.org/fact-tank/2023/01/19/how-republicans-view-their-party-and-key-issues-facing-the-country-as-the-118th-congress-begins/ |access-date=January 21, 2023 |website=Pew Research Center |date=January 19, 2023 |language=en-US |quote=There are fissures in the GOP coalition. The same typology study found fissures in the GOP coalition, including over economic fairness, tax policy, and in views of abortion and same-sex marriage. |archive-date=January 21, 2023 |archive-url=https://web.archive.org/web/20230121121637/https://www.pewresearch.org/fact-tank/2023/01/19/how-republicans-view-their-party-and-key-issues-facing-the-country-as-the-118th-congress-begins/ |url-status=live }}&amp;lt;/ref&amp;gt; although vast majority of the party&#039;s national and state candidates are [[anti-abortion]] and oppose elective [[abortion]] on religious or moral grounds. While many advocate exceptions in the case of [[incest]], rape or the mother&#039;s life being at risk, in 2012 the party approved a platform advocating banning abortions without exception.&amp;lt;ref name=&amp;quot;platform&amp;quot;&amp;gt;{{cite web|first1=Alan|last1=Fram|first2=Philip|last2=Elliot|url=https://finance.yahoo.com/news/gop-oks-platform-barring-abortions-gay-marriage-204947742.html|title=GOP OKs platform barring abortions, gay marriage|website=Finance.yahoo.com|date=August 29, 2012|access-date=December 27, 2016|archive-url=https://web.archive.org/web/20170226133220/https://finance.yahoo.com/news/gop-oks-platform-barring-abortions-gay-marriage-204947742.html|archive-date=February 26, 2017|url-status=live}}&amp;lt;/ref&amp;gt; There were not highly polarized differences between the Democratic Party and the Republican Party prior to the &#039;&#039;[[Roe v. Wade]]&#039;&#039; 1973 Supreme Court ruling (which made prohibitions on abortion rights unconstitutional), but after the Supreme Court ruling, opposition to abortion became an increasingly key national platform for the Republican Party.&amp;lt;ref name=&amp;quot;The Great Divide: Religious and Cultural Conflict in American Party Politics2&amp;quot;&amp;gt;{{Cite book|url=https://cup.columbia.edu/book/the-great-divide/9780231120593|title=The Great Divide: Religious and Cultural Conflict in American Party Politics|last=Layman|first=Geoffrey|author1-link=Geoffrey Layman|date=2001|publisher=Columbia University Press|isbn=978-0231120586|pages=115, 119–120|access-date=July 15, 2018|archive-url=https://web.archive.org/web/20150625083214/http://cup.columbia.edu/book/the-great-divide/9780231120593|archive-date=June 25, 2015|url-status=dead}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;How race and religion have polarized American voters&amp;quot;&amp;gt;{{cite news|url=https://www.washingtonpost.com/news/monkey-cage/wp/2014/01/20/how-race-and-religion-have-polarized-american-voters/|title=How race and religion have polarized American voters|newspaper=[[The Washington Post]]|access-date=July 15, 2018|archive-url=https://web.archive.org/web/20180716002726/https://www.washingtonpost.com/news/monkey-cage/wp/2014/01/20/how-race-and-religion-have-polarized-american-voters/|archive-date=July 16, 2018|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal|title=Party hacks and true believers: The effect of party affiliation on political preferences|date=2019|journal=Journal of Comparative Economics|volume=47|issue=3|pages=504–524|doi=10.1016/j.jce.2019.03.004|last1=Gould|first1=Eric D.|last2=Klor|first2=Esteban F.|s2cid=241140587}}&amp;lt;/ref&amp;gt; As a result, Evangelicals gravitated towards the Republican Party.&amp;lt;ref name=&amp;quot;The Great Divide: Religious and Cultural Conflict in American Party Politics2&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;How race and religion have polarized American voters&amp;quot; /&amp;gt; Most Republicans oppose government funding for abortion providers, notably [[Planned Parenthood]].&amp;lt;ref name=&amp;quot;ontheissues&amp;quot;&amp;gt;{{cite web|title=Bobby Jindal on the Issues|publisher=Ontheissues.org|url=http://www.ontheissues.org/House/Bobby_Jindal.htm|access-date=May 16, 2010|archive-url=https://web.archive.org/web/20120613001947/http://ontheissues.org/House/Bobby_Jindal.htm|archive-date=June 13, 2012|url-status=dead}}&amp;lt;/ref&amp;gt; This includes support for the [[Hyde Amendment]].&lt;br /&gt;
&lt;br /&gt;
Until its dissolution in 2018, [[Republican Majority for Choice]], an abortion rights PAC, advocated for amending the GOP platform to include pro-abortion rights members.&amp;lt;ref&amp;gt;{{Cite news|url=https://nymag.com/daily/intelligencer/2018/06/pro-choice-republicans-in-congress-are-nearly-extinct.html|title=The Near-Extinction of Pro-Choice Republicans in Congress|last=Kilgore|first=Ed|work=[[New York (magazine)|New York Intelligencer]]|access-date=October 10, 2018|archive-url=https://web.archive.org/web/20180920132858/http://nymag.com/daily/intelligencer/2018/06/pro-choice-republicans-in-congress-are-nearly-extinct.html|archive-date=September 20, 2018|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Republican Party has pursued policies at the national and state-level to restrict [[embryonic stem cell]] research beyond the original lines because it involves the destruction of human [[embryo]]s.&amp;lt;ref&amp;gt;{{Cite journal|last1=Levine|first1=A. D.|last2=Lacy|first2=T. A.|last3=Hearn|first3=J. C.|date=February 18, 2013|title=The origins of human embryonic stem cell research policies in the US states|url=https://doi.org/10.1093/scipol/sct005|journal=Science and Public Policy|volume=40|issue=4|pages=544–558|doi=10.1093/scipol/sct005|issn=0302-3427|access-date=November 7, 2021|archive-date=November 8, 2021|archive-url=https://web.archive.org/web/20211108165659/https://academic.oup.com/spp/article-abstract/40/4/544/1635831?redirectedFrom=fulltext|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal|last1=Blendon|first1=Robert J.|last2=Kim|first2=Minah Kang|last3=Benson|first3=John M.|date=November 17, 2011|title=The Public, Political Parties, and Stem-Cell Research|url=https://doi.org/10.1056/NEJMp1110340|journal=New England Journal of Medicine|volume=365|issue=20|pages=1853–1856|doi=10.1056/NEJMp1110340|issn=0028-4793|pmid=22087677|access-date=November 7, 2021|archive-date=November 8, 2021|archive-url=https://web.archive.org/web/20211108165700/https://www.nejm.org/doi/full/10.1056/NEJMp1110340|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After [[Dobbs v. Jackson Women&#039;s Health Organization|the overturning]] of &#039;&#039;Roe v. Wade&#039;&#039; in 2022, a majority of Republican-controlled states [[Abortion law in the United States by state|passed near-total bans]] on [[abortion]], rendering it largely illegal throughout much of the United States.&amp;lt;ref&amp;gt;{{Cite news |last=Leonhardt |first=David |date=April 6, 2023 |title=The Power and Limits of Abortion Politics |language=en-US |work=[[The New York Times]] |url=https://www.nytimes.com/2023/04/06/world/wisconsin-chicago-elections-abortion.html |access-date=April 7, 2023 |issn=0362-4331 |quote=After the Supreme Court overturned Roe last June and allowed states to ban abortion, more than a dozen quickly imposed tight restrictions. Today, abortion is largely illegal in most of red America, even though polls suggest many voters in these states support at least some access. |archive-date=April 6, 2023 |archive-url=https://web.archive.org/web/20230406104207/https://www.nytimes.com/2023/04/06/world/wisconsin-chicago-elections-abortion.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Siders |first=David |date=April 6, 2023 |title=No Wisconsin wake-up call: Republicans go full steam ahead on abortion restrictions |url=https://www.politico.com/news/2023/04/06/wisconsin-gop-abortion-restrictions-00090888 |access-date=April 7, 2023 |website=[[Politico]] |language=en |archive-date=April 6, 2023 |archive-url=https://web.archive.org/web/20230406203158/https://www.politico.com/news/2023/04/06/wisconsin-gop-abortion-restrictions-00090888 |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Affirmative action ====&lt;br /&gt;
{{See also|Affirmative action in the United States}}&lt;br /&gt;
Republicans generally oppose [[affirmative action]], often describing it as a &amp;quot;[[racial quota|quota system]]&amp;quot; and believing that it is not [[meritocratic]] and is counter-productive socially by only further promoting [[discrimination]]. According to a 2023 ABC poll, a majority of Americans (52%) and 75% of Republicans supported the Supreme Court&#039;s decision in [[Students for Fair Admissions v. Harvard]] prohibiting race as a factor in college admissions, compared to only 26% of Democrats.&amp;lt;ref&amp;gt;{{Cite web|url=https://abcnews.go.com/Politics/americans-approve-supreme-court-decision-restricting-race-college/story?id=100580375|title=Most Americans approve of Supreme Court decision restricting use of race in college admissions|access-date=March 15, 2024|website=ABC News}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 2012 Republican national platform stated, &amp;quot;We support efforts to help low-income individuals get a fair chance based on their potential and individual merit; but we reject preferences, quotas, and set-asides, as the best or sole methods through which fairness can be achieved, whether in government, education or corporate boardrooms...Merit, ability, aptitude, and results should be the factors that determine advancement in our society.&amp;quot;&amp;lt;ref&amp;gt;See [https://www.presidency.ucsb.edu/documents/2012-republican-party-platform Republican 2012 Platform]&amp;lt;/ref&amp;gt;&amp;lt;ref name=affirmativeaction&amp;gt;{{cite news|url=http://www.cnn.com/2003/ALLPOLITICS/01/15/bush.affirmativeaction/|work=[[CNN]]|title=Bush criticizes university &#039;quota system&#039;|date=January 15, 2003|access-date=May 22, 2010|archive-url=https://web.archive.org/web/20100604190524/http://www.cnn.com/2003/ALLPOLITICS/01/15/bush.affirmativeaction/|archive-date=June 4, 2010|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name= Eilperin&amp;gt;{{cite news|last=Eilperin|first=Juliet|title=Watts Walks a Tightrope on Affirmative Action|newspaper=[[The Washington Post]]|date=May 12, 1998|url=https://www.washingtonpost.com/wp-srv/politics/special/affirm/stories/aa051298.htm|access-date=January 22, 2007|archive-url=https://web.archive.org/web/20100524122643/http://www.washingtonpost.com/wp-srv/politics/special/affirm/stories/aa051298.htm|archive-date=May 24, 2010|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|author=Republican National Committee|author-link=Republican National Committee|date=July 30, 2015|title=Republican Views On Affirmative Action|url=https://www.republicanviews.org/republican-views-on-affirmative-action/|url-status=live|newspaper=|archive-url=https://web.archive.org/web/20220419164555/https://www.republicanviews.org/republican-views-on-affirmative-action/|archive-date=April 19, 2022}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Gun ownership ====&lt;br /&gt;
[[File:20210420 Gun control survey by political party - Pew Research.svg|thumb|A 2021 survey of U.S. opinion on gun control issues, revealing deep divides along political lines.&amp;lt;ref name=Pew_20210420&amp;gt;{{cite web |title=Amid a Series of Mass Shootings in the U.S., Gun Policy Remains Deeply Divisive |url=https://www.pewresearch.org/politics/2021/04/20/amid-a-series-of-mass-shootings-in-the-u-s-gun-policy-remains-deeply-divisive/ |website=PewResearch.org |archive-url=https://web.archive.org/web/20220530202009/https://www.pewresearch.org/politics/2021/04/20/amid-a-series-of-mass-shootings-in-the-u-s-gun-policy-remains-deeply-divisive/ |archive-date=May 30, 2022 |date=April 20, 2021 |url-status=live }}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Republicans generally support [[Gun politics in the United States|gun ownership rights]] and oppose [[Gun law in the United States|laws regulating guns]]. According to a 2023 Pew Research Center poll, 45% of Republicans and Republican-leaning independents personally own firearms, compared to 32% for the general public and 20% of Democrats and Democratic-leaning independents.&amp;lt;ref&amp;gt;{{cite web |title=Key facts about Americans and guns|url=https://www.pewresearch.org/short-reads/2023/09/13/key-facts-about-americans-and-guns/ |website=Pew Research Center|date=September 13, 2023|access-date=May 27, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[National Rifle Association of America]], a [[advocacy group|special interest group]] in support of gun ownership, has consistently aligned itself with the Republican Party.&amp;lt;ref&amp;gt;{{cite web |first1=Daniel |last1=Nass |title=A Democrat with an &#039;A&#039; Grade from the NRA? There&#039;s One Left. |url=https://www.thetrace.org/2020/09/nra-grades-2020-election/ |website=The Trace |access-date=September 11, 2023 |archive-url=https://web.archive.org/web/20200909235156/https://www.thetrace.org/2020/09/nra-grades-2020-election/ |archive-date=September 9, 2020 |language=en-US |date=September 9, 2020 |url-status=live}}&amp;lt;/ref&amp;gt; Following gun control measures under the [[Presidency of Bill Clinton|Clinton administration]], such as the [[Violent Crime Control and Law Enforcement Act of 1994]], the Republicans allied with the NRA during the [[Republican Revolution]] in [[1994 United States elections|1994]].&amp;lt;ref&amp;gt;Siegel, Reva B. &amp;quot;Dead or Alive: Originalism as Popular Constitutionalism in Heller.&amp;quot; &#039;&#039;The Second Amendment on Trial: Critical Essays on District of Columbia v. Heller&#039;&#039;, edited by Saul Cornell and Nathan Kozuskanich, University of Massachusetts Press, 2013, p. 104.&amp;lt;/ref&amp;gt; Since then, the NRA has consistently backed Republican candidates and contributed financial support.&amp;lt;ref&amp;gt;{{cite news |first1=Maggie |last1=Astor |title=For First Time in at Least 25 Years, No Democrat Has Top Grade From N.R.A. |url=https://www.nytimes.com/2022/09/22/us/politics/nra-ratings-grades-democrats.html |access-date=September 11, 2023 |work=[[The New York Times]] |date=September 22, 2022 |archive-url=https://web.archive.org/web/20220922165110/https://www.nytimes.com/2022/09/22/us/politics/nra-ratings-grades-democrats.html |archive-date=September 22, 2022 |language=en-US |quote=The Democratic break from the National Rifle Association is complete: For the first time in at least 25 years, not a single Democrat running for Congress anywhere in the country received an A in the group&#039;s candidate ratings, which were once a powerful influence in U.S. elections.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In contrast, [[George H. W. Bush]], formerly a lifelong NRA member, was highly critical of the organization following their response to the [[Oklahoma City bombing]] authored by CEO [[Wayne LaPierre]], and publicly resigned in protest.&amp;lt;ref&amp;gt;{{Cite web |url=https://www.nytimes.com/1995/05/11/us/letter-of-resignation-sent-by-bush-to-rifle-association.html |date=May 11, 1995 |work=[[The New York Times]] |title=Letter of Resignation Sent By Bush to Rifle Association |archive-url=https://web.archive.org/web/20121222213941/https://www.nytimes.com/1995/05/11/us/letter-of-resignation-sent-by-bush-to-rifle-association.html |archive-date=December 22, 2012 |url-status=live |url-access=limited}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Criminal justice====&lt;br /&gt;
{{See also|Illegal drug trade in the United States|Legality of cannabis by U.S. jurisdiction|Capital punishment in the United States|Incarceration in the United States}}&lt;br /&gt;
The Republican Party has generally promoted strict anti-crime policies, such as [[mandatory minimum sentences]] and the [[capital punishment|death penalty]].&amp;lt;ref name=&amp;quot;Lancaster-2024&amp;quot;&amp;gt;{{cite web |title=Republican Party on Crime |url=https://www.ontheissues.org/celeb/Republican_Party_Crime.html |website=On The Issues |access-date=24 February 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last=Lancaster |first=Joe |date=17 July 2024 |title=Republicans Have Completely Abandoned Criminal Justice Reform |url=https://reason.com/2024/07/17/republicans-have-completely-abandoned-criminal-justice-reform/ |access-date=24 February 2025 |work=Reason}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=Political Party Platforms and the Death Penalty |url=https://deathpenaltyinfo.org/policy-issues/policy/public-opinion-polls/political-party-platforms-and-the-death-penalty |access-date=25 February 2025 |website=Death Penalty Information Center}}&amp;lt;/ref&amp;gt; In the 2010s, however, prominent Republicans demonstrated some interest in [[Criminal justice reform in the United States|criminal justice reform]] designed to combat [[Incarceration in the United States|mass incarceration]], with President Trump signing the [[First Step Act]], which expanded good behavior credits for perpetrators of most nonviolent crimes and required the U.S. Attorney General to develop a system to assess the recidivism risk of all federal prisoners.&amp;lt;ref&amp;gt;{{cite web |title=Overview of the First Step Act |url=https://www.bop.gov/inmates/fsa/overview.jsp |website=Federal Bureau of Prisons |access-date=24 February 2025}}&amp;lt;/ref&amp;gt; By 2024, however, the Republican Party and its leaders had largely left behind its prior support for reform of the justice system.&amp;lt;ref name=&amp;quot;Lancaster-2024&amp;quot;/&amp;gt; &lt;br /&gt;
Republican elected officials have historically supported the [[War on Drugs]]. They generally oppose [[legalization of drugs|legalization]] or decriminalization of drugs such as [[Cannabis in the United States|marijuana]].&amp;lt;ref name=&amp;quot;Tesler-2022&amp;quot;&amp;gt;{{Cite web |last=Tesler |first=Michael |date=April 20, 2022 |title=Why Do GOP Lawmakers Still Oppose Legalizing Weed? |url=https://fivethirtyeight.com/features/why-do-gop-lawmakers-still-oppose-legalizing-weed/ |access-date=August 13, 2022 |website=[[FiveThirtyEight]] |language=en-US |archive-date=August 24, 2022 |archive-url=https://web.archive.org/web/20220824002207/https://fivethirtyeight.com/features/why-do-gop-lawmakers-still-oppose-legalizing-weed/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=http://www.republicanviews.org/republican-views-on-drugs/|title=Republican Views on Drugs {{!}} Republican Views|website=www.republicanviews.org|access-date=May 1, 2017|archive-url=https://web.archive.org/web/20170502010122/http://www.republicanviews.org/republican-views-on-drugs/|archive-date=May 2, 2017|url-status=dead}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|date=2020|title=House votes to decriminalize marijuana as GOP resists national shift|newspaper=[[The Washington Post]]|url=https://www.washingtonpost.com/powerpost/house-marijuana-republicans-election/2020/12/04/db2b00a8-35b0-11eb-8d38-6aea1adb3839_story.html|access-date=December 18, 2020|archive-date=December 21, 2020|archive-url=https://web.archive.org/web/20201221145058/https://www.washingtonpost.com/powerpost/house-marijuana-republicans-election/2020/12/04/db2b00a8-35b0-11eb-8d38-6aea1adb3839_story.html|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Opposition to the legalization of marijuana has softened significantly over time among Republican voters and politicians.&amp;lt;ref&amp;gt;{{Cite book|last=Kneeland|first=Timothy W.|url=https://books.google.com/books?id=8vlUDAAAQBAJ&amp;amp;q=republican+party+opposition+drug+legalization&amp;amp;pg=PA206|title=Today&#039;s Social Issues: Democrats and Republicans: Democrats and Republicans|year=2016|publisher=ABC-CLIO|isbn=978-1610698368|page=206|access-date=December 16, 2020|archive-date=December 15, 2023|archive-url=https://web.archive.org/web/20231215024943/https://books.google.com/books?id=8vlUDAAAQBAJ&amp;amp;q=republican+party+opposition+drug+legalization&amp;amp;pg=PA206|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|first=Greg|last=Newburn|title=Top GOP Presidential Contenders Support Mandatory Minimum Reform|date=July 18, 2014|url=http://famm.org/top-gop-presidential-contenders-support-mandatory-minimum-reform/|publisher=[[Families Against Mandatory Minimums]]|access-date=December 11, 2014|archive-url=https://web.archive.org/web/20141129020752/http://famm.org/top-gop-presidential-contenders-support-mandatory-minimum-reform/|archive-date=November 29, 2014|url-status=dead}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last1=Florko |first1=Nicholas |title=The GOP&#039;s Tipping Point on Weed |url=https://www.theatlantic.com/health/archive/2024/09/florida-trump-recreational-marijuana/680077/ |access-date=26 February 2025 |agency=The Atlantic |date=30 September 2024}}&amp;lt;/ref&amp;gt; A 2021 [[Quinnipiac University|&#039;&#039;Quinnipiac&#039;&#039;]] poll found that 62% of Republicans supported the legalization of recreational marijuana use and that net support for the position was +30 points.&amp;lt;ref name=&amp;quot;Tesler-2022&amp;quot; /&amp;gt; Some Republican-controlled states have legalized medical and recreational marijuana in recent years.&amp;lt;ref name=&amp;quot;NCSL MMJ&amp;quot;&amp;gt;{{cite web|date=June 22, 2023|title=State Medical Cannabis Laws|url=https://www.ncsl.org/research/health/state-medical-marijuana-laws.aspx|access-date=April 26, 2024|publisher=[[National Conference of State Legislatures]]|archive-date=February 6, 2021|archive-url=https://web.archive.org/web/20210206034555/https://www.ncsl.org/research/health/state-medical-marijuana-laws.aspx|url-status=dead}}&amp;lt;/ref&amp;gt; In September 2024, then-candidate Donald Trump endorsed the legalization of recreational marijuana.&amp;lt;ref&amp;gt;{{cite news |last1=Sullivan |first1=Kate |title=Trump says he will vote to legalize adult recreational marijuana use in Florida |url=https://www.cnn.com/2024/09/09/politics/trump-marijuana-florida/index.html |access-date=26 February 2025 |agency=CNN |date=9 September 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Immigration ====&lt;br /&gt;
{{See also|Immigration to the United States|Illegal immigration to the United States}}&lt;br /&gt;
The Republican Party has taken widely varying views on immigration throughout its history, but have generally and traditionally taken an anti-[[immigration]] and [[Nativism (politics)|nativist]] stance compared to the opposition.&amp;lt;ref name=&amp;quot;Smith-2021&amp;quot;/&amp;gt; In the period between 1850 and 1870, the Republican Party was more opposed to immigration than the Democrats. The GOP&#039;s opposition was, in part, caused by its reliance on the support of anti-Catholic and anti-immigrant parties such as the [[Know Nothing|Know-Nothings]]. In the decades following the Civil War, especially in the 1880s, the Republican Party lessened its stance on immigration, as it represented the manufacturers in the northeast (who wanted additional labor); although during this period, the Democratic Party still came to be seen as the party of both American and foreign labor, and many religious Republicans [[Romanism|used anti-Irish and pro-Christian sentiments]]. Starting in the early 1930s, the parties focused on [[Emigration from Mexico|Mexican emigration]], as the Democrats proposed a softer stance on Mexican immigration during the [[Great Depression]] and [[New Deal]], rather than Republicans under [[Herbert Hoover]].&amp;lt;ref&amp;gt;{{cite web|url=https://www.britannica.com/event/United-States-presidential-election-of-1884|title= United States presidential election of 1884|publisher=[[Britannica]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://www.history.com/articles/great-depression-repatriation-drives-mexico-deportation|title=The Deportation Campaigns of the Great Depression|date=July 12, 2019 |publisher=Becky Little}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In 2006, the Republican-led Senate passed [[Comprehensive Immigration Reform Act of 2006|comprehensive immigration reform]] that would eventually have allowed millions of illegal immigrants to become citizens. Despite the support of Republican President George W. Bush, the House of Representatives (also led by Republicans) did not advance the bill.&amp;lt;ref name=&amp;quot;Blanton&amp;quot;&amp;gt;{{cite news|last=Blanton|first=Dana|title=National Exit Poll: Midterms Come Down to Iraq, Bush|publisher=[[Fox News]]|date=November 8, 2006|url=https://www.foxnews.com/story/national-exit-poll-midterms-come-down-to-iraq-bush|access-date=January 6, 2007|url-status=live|archive-url=https://web.archive.org/web/20070306050851/http://www.foxnews.com/story/0,2933,228104,00.html|archive-date=March 6, 2007}}&amp;lt;/ref&amp;gt; After Republican Mitt Romney was defeated in the 2012 presidential election, particularly due to a lack of support among Latinos,&amp;lt;ref name=&amp;quot;Thrush 2012 z257&amp;quot;&amp;gt;{{cite web | last=Thrush | first=Glenn | title=How Romney lost Latinos | website=Politico | date=2012-03-12 | url=https://www.politico.com/story/2012/03/how-romney-lost-latinos-074036 | access-date=2024-04-05}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Murray 2012 q346&amp;quot;&amp;gt;{{cite web | last=Murray | first=NBC&#039;s Mark | title=One month later, Republicans find plenty of blame for election loss | website=NBC News | date=2012-12-04 | url=https://www.nbcnews.com/news/world/one-month-later-republicans-find-plenty-blame-election-loss-flna1c7425742 | access-date=2024-04-05}}&amp;lt;/ref&amp;gt; several Republicans advocated a friendlier approach to immigrants that would allow for more migrant workers and a [[path to citizenship]] for illegal immigrants. The [[Border Security, Economic Opportunity, and Immigration Modernization Act of 2013]] passed the Senate 68–32, but was not brought to a vote in the House and died in the [[113th Congress]].&amp;lt;ref name=&amp;quot;AP News-2023&amp;quot;&amp;gt;{{Cite web|url=https://apnews.com/article/immigration-asylum-trump-biden-gang-of-eight-3d8007e72928665b66d8648be0e3e31f|website=[[Associated Press|AP News]]|title=Immigration reform stalled decade after Gang of 8′s big push|date=April 3, 2023|access-date=April 3, 2023|archive-date=April 3, 2023|archive-url=https://web.archive.org/web/20230403061526/https://apnews.com/article/immigration-asylum-trump-biden-gang-of-eight-3d8007e72928665b66d8648be0e3e31f|url-status=live}}&amp;lt;/ref&amp;gt; In a 2013 poll, 60% of Republicans supported the pathway to citizenship concept.&amp;lt;ref name=&amp;quot;long-past&amp;quot;&amp;gt;{{cite news|last=Frumin|first=Aliyah|title=Obama: &#039;Long past time&#039; for immigration reform|date=November 25, 2013|url=https://www.msnbc.com/hardball/obama-long-past-time-reform|publisher=[[MSNBC]]|access-date=January 26, 2014|archive-url=https://web.archive.org/web/20140121145422/http://www.msnbc.com/hardball/obama-long-past-time-reform|archive-date=January 21, 2014|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In 2016, [[Donald Trump]] proposed to build [[Mexico–United States border wall|a wall]] along the southern border of the United States. Trump [[Immigration policy of the first Donald Trump administration|immigration policies during his administration]] included a [[Executive Order 13769|travel ban]] from multiple Muslim-majority countries, a [[Remain in Mexico]] policy for asylum-seekers, [[Trump administration family separation policy|a controversial family separation policy]], and attempting to end [[Deferred Action for Childhood Arrivals|DACA]].&amp;lt;ref name=&amp;quot;Baker-2020&amp;quot;/&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |last1=Hajnal |first1=Zoltan |date=January 4, 2021 |title=Immigration &amp;amp; the Origins of White Backlash |journal=Daedalus |volume=150 |issue=2 |pages=23–39 |doi=10.1162/daed_a_01844 |issn=0011-5266 |doi-access=free}}&amp;lt;/ref&amp;gt; During the tenure of Democratic President Joe Biden, the Republican Party has continued to take a hardline stance against illegal immigration. The Party largely opposes immigration reform,&amp;lt;ref&amp;gt;{{Cite web|url=https://www.wsj.com/politics/policy/senate-border-vote-immigration-policies-trump-19977804?mod=hp_lead_pos1|title=Why Both Parties Have Shifted Right on Immigration—and Still Can&#039;t Agree|website=The Wall Street Journal|first1=Michelle|last1=Hackman|first2=Aaron|last2=Zitner|date=February 2, 2024}}&amp;lt;/ref&amp;gt; although there are widely differing views on immigration within the Party.&amp;lt;ref name=&amp;quot;AP News-2023&amp;quot;/&amp;gt; The Party&#039;s proposed 2024 platform was opposed to immigration, and called for the mass deportation of all illegal immigrants in the United States.&amp;lt;ref name=&amp;quot;2024 Platform&amp;quot;&amp;gt;{{Cite news|url=https://www.nytimes.com/2024/07/08/us/politics/trump-abortion-gop.html|title=Trump Presses G.O.P. for New Platform That Softens Stance on Abortion|first1=Maggie|last1=Haberman|first2=Shane|last2=Goldmacher|first3=Jonathan|last3=Swan|work=The New York Times|date=July 8, 2024|quote=The platform is even more nationalistic, more protectionist and less socially conservative than the 2016 Republican platform that was duplicated in the 2020 election.|access-date=July 9, 2024|archive-date=July 18, 2024|archive-url=https://web.archive.org/web/20240718061601/https://www.nytimes.com/2024/07/08/us/politics/trump-abortion-gop.html|url-status=live}}&amp;lt;/ref&amp;gt; A 2024 Pew Research Center poll found that 88% of Donald Trump&#039;s supporters favored mass deportation of all illegal immigrants, compared to 27% of Kamala Harris supporters.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.pewresearch.org/race-and-ethnicity/2024/09/27/trump-and-harris-supporters-differ-on-mass-deportations-but-favor-border-security-high-skilled-immigration/|title=Trump and Harris Supporters Differ on Mass Deportations but Favor Border Security, High-Skilled Immigration|date=September 29, 2024|website=Pew Research Center|first1=Sahana|last1=Mukherjee|first2=Jens Manuel|last2=Krogstad}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== LGBT issues ====&lt;br /&gt;
&lt;br /&gt;
Similar to the Democratic Party, the Republican position on [[LGBT rights in the United States|LGBT rights]] has changed significantly over time, with continuously increasing support among both parties on the issue.&amp;lt;ref name=&amp;quot;Lindberg-2022&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Igielnik-2022&amp;quot;&amp;gt;{{cite web |last1=Igielnik |first1=Ruth |date=November 16, 2022 |title=Backdrop for Vote on Same-Sex Marriage Rights: A Big Shift in Public Opinion |url=https://www.nytimes.com/2022/11/16/us/politics/same-sex-marriage-public-opinion.html |access-date=November 17, 2022 |website=[[The New York Times]] |archive-date=November 16, 2022 |archive-url=https://web.archive.org/web/20221116235133/https://www.nytimes.com/2022/11/16/us/politics/same-sex-marriage-public-opinion.html |url-status=live }}&amp;lt;/ref&amp;gt; The [[Log Cabin Republicans]] is a group within the Republican Party that represents [[LGBT conservatism|LGBT conservatives]] and allies and advocates for LGBT rights.&amp;lt;ref name=&amp;quot;m543&amp;quot;&amp;gt;{{cite web |last=Cullen |first=Margie |date=2024-06-21 |title=Who are the Log Cabin Republicans? What LGBTQ+ group thinks of Trump |url=https://www.usatoday.com/story/news/politics/elections/2024/06/21/log-cabin-republicans-lgbtq-group/74167747007/ |access-date=2024-09-06 |website=USA Today}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;e209&amp;quot;&amp;gt;{{cite web |last=Kane |first=Christopher |date=2024-07-19 |title=Log Cabin Republicans president, Ric Grenell outline conservative LGBTQ positions |url=https://www.washingtonblade.com/2024/07/19/log-cabin-republicans-president-ric-grenell-outline-conservative-lgbtq-positions/ |access-date=2024-09-06 |website=Washington Blade}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From the early-2000s to the mid-2010s, Republicans opposed [[same-sex marriage]], while being divided on the issue of [[civil union]]s and [[domestic partnership]]s for same-sex couples.&amp;lt;ref&amp;gt;{{Cite web |last=Li |first=Anne |date=March 9, 2016 |title=&#039;Religious Liberty&#039; Has Replaced &#039;Gay Marriage&#039; In GOP Talking Points |url=https://fivethirtyeight.com/features/religious-liberty-has-replaced-gay-marriage-in-gop-talking-points/ |access-date=August 13, 2022 |website=[[FiveThirtyEight]] |language=en-US |archive-date=August 14, 2022 |archive-url=https://web.archive.org/web/20220814020215/https://fivethirtyeight.com/features/religious-liberty-has-replaced-gay-marriage-in-gop-talking-points/ |url-status=live }}&amp;lt;/ref&amp;gt; During the 2004 election, [[George W. Bush]] campaigned prominently on a constitutional amendment to prohibit same-sex marriage; many believe it helped Bush win re-election.&amp;lt;ref name=&amp;quot;Lerer-2020&amp;quot;&amp;gt;{{Cite news|last1=Lerer|first1=Lisa|last2=Russonello|first2=Giovanni|last3=Paz|first3=Isabella Grullón|date=June 17, 2020|title=On L.G.B.T.Q. Rights, a Gulf Between Trump and Many Republican Voters|language=en-US|work=[[The New York Times]]|url=https://www.nytimes.com/2020/06/17/us/politics/lgbtq-supreme-court-trump-republicans.html |archive-url=https://web.archive.org/web/20200617232814/https://www.nytimes.com/2020/06/17/us/politics/lgbtq-supreme-court-trump-republicans.html |archive-date=June 17, 2020 |url-access=limited |url-status=live|access-date=June 8, 2021|issn=0362-4331}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|url=https://www.nytimes.com/2004/11/04/politics/campaign/samesex-marriage-issue-key-to-some-gop-races.html|title=Same-Sex Marriage Issue Key to Some G.O.P. Races|last=Dao|first=James|date=November 4, 2004|work=[[The New York Times]]|access-date=August 25, 2019|issn=0362-4331|archive-url=https://web.archive.org/web/20190812004009/https://www.nytimes.com/2004/11/04/politics/campaign/samesex-marriage-issue-key-to-some-gop-races.html|archive-date=August 12, 2019|url-status=live}}&amp;lt;/ref&amp;gt; In both [[108th United States Congress|2004]]&amp;lt;ref&amp;gt;{{cite news|url=http://www.cnn.com/2004/ALLPOLITICS/02/24/elec04.prez.bush.marriage/|title=Bush calls for ban on same-sex marriages|date=February 25, 2004|work=[[CNN]]|access-date=February 3, 2016|archive-url=https://web.archive.org/web/20090515103309/http://www.cnn.com/2004/ALLPOLITICS/02/24/elec04.prez.bush.marriage/|archive-date=May 15, 2009|url-status=live}}&amp;lt;/ref&amp;gt; and [[109th United States Congress|2006]],&amp;lt;ref&amp;gt;{{cite web|url=https://www.nbcnews.com/id/wbna11442710|title=Bush urges federal marriage amendment|date=June 6, 2006|publisher=[[NBC News]]|access-date=February 3, 2016|archive-url=https://web.archive.org/web/20160408104009/http://www.nbcnews.com/id/11442710/ns/politics/t/bush-urges-federal-marriage-amendment/|archive-date=April 8, 2016|url-status=live}}&amp;lt;/ref&amp;gt; President Bush, Senate Majority Leader [[Bill Frist]], and House Majority Leader [[John Boehner]] promoted the [[Federal Marriage Amendment]], a proposed constitutional amendment which would legally restrict the definition of marriage to [[Heterosexuality|heterosexual]] couples.&amp;lt;ref&amp;gt;{{Cite news|url=https://www.nytimes.com/2004/02/24/politics/bush-backs-ban-in-constitution-on-gay-marriage.html|title=Bush Backs Ban in Constitution on Gay Marriage|last=Stout|first=David|date=February 24, 2004|work=[[The New York Times]]|access-date=December 17, 2018|issn=0362-4331|archive-url=https://web.archive.org/web/20181217202413/https://www.nytimes.com/2004/02/24/politics/bush-backs-ban-in-constitution-on-gay-marriage.html|archive-date=December 17, 2018|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|url=https://www.washingtonpost.com/wp-dyn/content/article/2006/06/07/AR2006060700830.html|title=Gay Marriage Amendment Fails in Senate|journal=The Washington Post and Times-Herald|last=Murray|first=Shailagh|date=June 8, 2006|access-date=December 17, 2018|issn=0190-8286|archive-url=https://web.archive.org/web/20190308131316/http://www.washingtonpost.com/wp-dyn/content/article/2006/06/07/AR2006060700830.html|archive-date=March 8, 2019|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://www.foxnews.com/story/constitutional-amendment-on-marriage-fails|title=Constitutional Amendment on Marriage Fails|date=March 25, 2015|website=[[Fox News]]|access-date=December 17, 2018|archive-url=https://web.archive.org/web/20181217202230/https://www.foxnews.com/story/constitutional-amendment-on-marriage-fails|archive-date=December 17, 2018|url-status=live}}&amp;lt;/ref&amp;gt; In both attempts, the amendment failed to secure enough votes to invoke [[cloture]] and thus ultimately was never passed. As more states legalized same-sex marriage in the 2010s, Republicans increasingly supported allowing each state to decide its own marriage policy.&amp;lt;ref name=&amp;quot;A Shifting Landscape&amp;quot;&amp;gt;{{cite web|url=http://publicreligion.org/site/wp-content/uploads/2014/02/2014.LGBT_REPORT.pdf|title=A Shifting Landscape|date=February 26, 2014 |website=Public Religion Research Institute |first1=Robert P. |last1=Jones |first2=Daniel |last2=Cox |first3=Juhem |last3=Navarro-Rivera |access-date=December 27, 2016|archive-url=https://web.archive.org/web/20160417222101/http://publicreligion.org/site/wp-content/uploads/2014/02/2014.LGBT_REPORT.pdf|archive-date=April 17, 2016|url-status=dead}}&amp;lt;/ref&amp;gt; As of 2014, most state GOP platforms expressed opposition to same-sex marriage.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.huffpost.com/entry/gop-platform_n_5242421|title=Anti-Gay Stance Still Enshrined In Majority Of State GOP Platforms |first=Amanda |last=Terkel|date=May 5, 2014|website=[[HuffPost]]|access-date=August 24, 2019|archive-url=https://web.archive.org/web/20190824093553/https://www.huffpost.com/entry/gop-platform_n_5242421|archive-date=August 24, 2019|url-status=live}}&amp;lt;/ref&amp;gt; The 2016 [[2016 Republican National Convention|GOP Platform]] defined marriage as &amp;quot;natural marriage, the union of one man and one woman,&amp;quot; and condemned the Supreme Court&#039;s [[Obergefell v. Hodges|ruling]] legalizing same-sex marriages.&amp;lt;ref&amp;gt;{{Cite magazine|url=https://time.com/4411842/republican-platform-same-sex-marriage-abortion-guns-wall-street/|title=Read the Republican Platform on Same-Sex Marriage, Guns and Wall Street |date=July 18, 2016 |first=Will |last=Drabold |magazine=[[Time (magazine)|Time]]|access-date=August 24, 2019|archive-url=https://web.archive.org/web/20190804081049/https://time.com/4411842/republican-platform-same-sex-marriage-abortion-guns-wall-street/|archive-date=August 4, 2019|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://gop.com/the-2016-republican-party-platform|title=The 2016 Republican Party Platform|date=July 18, 2016|website=GOP|access-date=February 1, 2020|archive-date=February 11, 2021|archive-url=https://web.archive.org/web/20210211220913/https://www.gop.com/the-2016-republican-party-platform/|url-status=dead}}&amp;lt;/ref&amp;gt; The 2020 platform, which reused the 2016 platform, retained the statements against same-sex marriage.&amp;lt;ref&amp;gt;{{Cite web|last=Orr|first=Gabby|title=Republicans across the spectrum slam RNC&#039;s decision to keep 2016 platform|url=https://www.politico.com/news/2020/06/11/republicans-rnc-decision-314172|access-date=June 12, 2020|website=[[Politico]]|date=June 11, 2020|archive-date=August 2, 2020|archive-url=https://web.archive.org/web/20200802160921/https://www.politico.com/news/2020/06/11/republicans-rnc-decision-314172|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|last=Kilgore|first=Ed|date=June 11, 2020|title=Republicans Will Just Recycle Their 2016 Party Platform|url=https://nymag.com/intelligencer/2020/06/republicans-will-just-recycle-their-2016-party-platform.html|access-date=June 12, 2020|website=[[New York (magazine)|New York Intelligencer]]|archive-date=July 30, 2020|archive-url=https://web.archive.org/web/20200730000020/https://nymag.com/intelligencer/2020/06/republicans-will-just-recycle-their-2016-party-platform.html|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|last1=Epstein|first1=Reid J.|last2=Karni|first2=Annie|date=June 11, 2020|title=G.O.P. Platform, Rolled Over From 2016, Condemns the &#039;Current President&#039;|work=[[The New York Times]]|url=https://www.nytimes.com/2020/06/11/us/politics/republican-platform.html |archive-url=https://web.archive.org/web/20200611181235/https://www.nytimes.com/2020/06/11/us/politics/republican-platform.html |archive-date=June 11, 2020 |url-access=limited |url-status=live|access-date=June 12, 2020|issn=0362-4331}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Following his election as president in 2016, Donald Trump stated that he had no objection to same-sex marriage or to the Supreme Court decision in &#039;&#039;[[Obergefell v. Hodges]]&#039;&#039;, but had previously promised to consider appointing a Supreme Court justice to roll back the constitutional right.&amp;lt;ref name=&amp;quot;Lerer-2020&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{cite web|last=de Vogue|first=Ariane|title=Trump: Same-sex marriage is &#039;settled,&#039; but Roe v Wade can be changed|url=https://www.cnn.com/2016/11/14/politics/trump-gay-marriage-abortion-supreme-court/index.html|url-status=live|archive-url=https://web.archive.org/web/20190511223804/https://www.cnn.com/2016/11/14/politics/trump-gay-marriage-abortion-supreme-court/index.html|archive-date=May 11, 2019|access-date=May 11, 2019|website=[[CNN]]|date=November 14, 2016}}&amp;lt;/ref&amp;gt; In office, Trump was the first sitting Republican president to recognize [[Gay pride|LGBT Pride Month]].&amp;lt;ref&amp;gt;{{Cite web|url=https://www.nbcnews.com/feature/nbc-out/trump-recognizes-lgbtq-pride-month-first-time-n1012611|title=Trump recognizes LGBTQ pride month in tweets|website=[[NBC News]]|date=May 31, 2019 |access-date=August 25, 2019|archive-url=https://web.archive.org/web/20190803192111/https://www.nbcnews.com/feature/nbc-out/trump-recognizes-lgbtq-pride-month-first-time-n1012611|archive-date=August 3, 2019|url-status=live}}&amp;lt;/ref&amp;gt; Conversely, the Trump administration banned transgender individuals from service in the United States military and rolled back other protections for transgender people which had been enacted during the previous Democratic presidency.&amp;lt;ref&amp;gt;{{Cite news|url=https://www.nytimes.com/2019/12/06/us/politics/trump-transgender-rights.html |archive-url=https://web.archive.org/web/20191206103013/https://www.nytimes.com/2019/12/06/us/politics/trump-transgender-rights.html |archive-date=December 6, 2019 |url-access=limited |url-status=live|title=Trump&#039;s Rollback of Transgender Rights Extends Through Entire Government|website=[[The New York Times]]|date=December 6, 2019|access-date=June 9, 2020|last1=Fadulu|first1=Lola|last2=Flanagan|first2=Annie}}&amp;lt;/ref&amp;gt; However, other Republicans, such as [[Vivek Ramaswamy]], do not support such a ban.&amp;lt;ref&amp;gt;{{Cite web |last=Lee |first=Michael |date=2023-06-04 |title=&#039;Anti-woke&#039; GOP presidential candidate says he wouldn&#039;t ban transgender service in military |url=https://www.foxnews.com/politics/anti-woke-gop-presidential-candidate-says-he-would-not-ban-transgender-service-military |access-date=2024-11-13 |website=Fox News |language=en-US}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Republican Party platform previously opposed the [[Sexual orientation and the United States military|inclusion of gay people in the military]] and opposed adding sexual orientation to the list of protected classes since 1992.&amp;lt;ref&amp;gt;{{Cite news|url=https://www.nytimes.com/1992/08/20/news/delicate-balance-gay-vote-gay-rights-aids-emerging-divisive-issues-campaign.html|title=A Delicate Balance: The Gay Vote; Gay Rights and AIDS Emerging As Divisive Issues in Campaign|last=Schmalz|first=Jeffrey|date=August 20, 1992|work=[[The New York Times]]|access-date=August 24, 2019|issn=0362-4331|archive-url=https://web.archive.org/web/20190824093556/https://www.nytimes.com/1992/08/20/news/delicate-balance-gay-vote-gay-rights-aids-emerging-divisive-issues-campaign.html|archive-date=August 24, 2019|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|url=https://www.washingtonpost.com/politics/gop-platform-through-the-years-shows-partys-shift-from-moderate-to-conservative/2012/08/28/09094512-ed70-11e1-b09d-07d971dee30a_story.html|title=GOP platform through the years shows party&#039;s shift from moderate to conservative|last=Fisher|first=Marc|date=August 28, 2012|newspaper=[[The Washington Post]]|archive-url=https://web.archive.org/web/20190824093557/https://www.washingtonpost.com/politics/gop-platform-through-the-years-shows-partys-shift-from-moderate-to-conservative/2012/08/28/09094512-ed70-11e1-b09d-07d971dee30a_story.html|archive-date=August 24, 2019|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|url=https://www.washingtonpost.com/graphics/politics/2016-election/conventions/party-platform-evolution/|title=What Republicans and Democrats have disagreed on, from 1856 to today|last1=Mellnik|first1=Ted|last2=Alcantara|first2=Chris|date=July 15, 2016|newspaper=[[The Washington Post]]|archive-url=https://web.archive.org/web/20171114164556/https://www.washingtonpost.com/graphics/politics/2016-election/conventions/party-platform-evolution/|archive-date=November 14, 2017|url-status=live|last3=Uhrmacher|first3=Kevin}}&amp;lt;/ref&amp;gt; The Republican Party opposed the inclusion of [[sexual preference]] in anti-discrimination statutes from 1992 to 2004.&amp;lt;ref name=&amp;quot;1992 Republican Party platform&amp;quot;&amp;gt;{{cite web|url=http://www.presidency.ucsb.edu/ws/?pid=25847|title=Republican Party Platforms: Republican Party Platform of 1992|website=Presidency.ucsb.edu|date=August 17, 1992|access-date=December 27, 2016|archive-url=https://web.archive.org/web/20170204134646/http://www.presidency.ucsb.edu/ws/?pid=25847|archive-date=February 4, 2017|url-status=live}}&amp;lt;/ref&amp;gt; The 2008 and 2012 Republican Party platform supported anti-discrimination statutes based on sex, race, age, religion, creed, disability, or national origin, but both platforms were silent on [[sexual orientation]] and [[gender identity]].&amp;lt;ref name=&amp;quot;2012 Republican Party platform&amp;quot;&amp;gt;{{cite web|url=http://www.gop.com/wp-content/uploads/2012/08/2012GOPPlatform.pdf|title=Layout 1|website=Gop.com|access-date=December 27, 2016|archive-url=https://web.archive.org/web/20140730001737/http://www.gop.com/wp-content/uploads/2012/08/2012GOPPlatform.pdf|archive-date=July 30, 2014|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;2008 Republican Party platform&amp;quot;&amp;gt;{{cite web|url=http://www.presidency.ucsb.edu/ws/?pid=78545|title=Republican Party Platforms: 2008 Republican Party Platform|website=Presidency.ucsb.edu|access-date=December 27, 2016|archive-url=https://web.archive.org/web/20170128014700/http://www.presidency.ucsb.edu/ws/?pid=78545|archive-date=January 28, 2017|url-status=live}}&amp;lt;/ref&amp;gt; The 2016 platform was opposed to sex discrimination statutes that included the phrase &amp;quot;sexual orientation&amp;quot;.&amp;lt;ref&amp;gt;{{Cite web|url=https://gop.com/|title=Republican Party Platform|website=GOP|access-date=December 29, 2019|archive-date=November 23, 2019|archive-url=https://web.archive.org/web/20191123022603/https://gop.com/|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://prod-cdn-static.gop.com/static/home/data/platform.pdf|title=Republican Platform 2016|date=2016|website=GOP.com|access-date=December 29, 2019|archive-date=May 3, 2017|archive-url=https://web.archive.org/web/20170503220642/https://prod-cdn-static.gop.com/static/home/data/platform.pdf|url-status=live}}&amp;lt;/ref&amp;gt; The same 2016 platform rejected &#039;&#039;Obergefell v. Hodges&#039;&#039;, and was also used for the party&#039;s 2020 platform.&amp;lt;ref name=&amp;quot;Zezima Weigel 2016 d265&amp;quot;&amp;gt;{{cite news | last1=Zezima | first1=Katie | last2=Weigel | first2=David | title=While Trump stays out of it, GOP platform tacks to the right on gay rights | newspaper=Washington Post | date=2016-07-13 | url=https://www.washingtonpost.com/politics/while-trump-stays-out-of-it-gop-platform-tacks-to-the-right-on-gay-rights/2016/07/13/969165ca-490d-11e6-acbc-4d4870a079da_story.html | access-date=2024-01-23}}&amp;lt;/ref&amp;gt; In the early 2020s, numerous Republican-led states [[2020s anti-LGBT movement in the United States|proposed or passed laws]] that have been described as anti-trans by critics,&amp;lt;ref name=&amp;quot;x150&amp;quot;&amp;gt;{{cite web |last=Gabriel |first=Trip |date=2022-07-22 |title=After Roe, Republicans Sharpen Attacks on Gay and Transgender Rights |url=https://www.nytimes.com/2022/07/22/us/politics/after-roe-republicans-sharpen-attacks-on-gay-and-transgender-rights.html |access-date=2024-09-30 |website=The New York Times}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;n141&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;v293&amp;quot;&amp;gt;{{cite web |last=Funakoshi |first=Minami |date=2023-08-19 |title=The rise of anti-trans bills in the US |url=https://www.reuters.com/graphics/USA-HEALTHCARE/TRANS-BILLS/zgvorreyapd/ |access-date=2024-09-30 |website=Reuters}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;o776&amp;quot;&amp;gt;{{cite web |last=Clare Foran |first=Shawna Mizelle |date=2023-04-20 |title=CNN |url=https://edition.cnn.com/2023/04/20/politics/house-transgender-sports-bill/index.html |access-date=2024-09-30 |website=CNN}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;l264&amp;quot;&amp;gt;{{cite web |date=2022-06-02 |title=1A Remaking America: Why The GOP Has Rallied Behind Anti-Trans Legislation : 1A |url=https://www.npr.org/2022/06/02/1102738161/1a-remaking-america-why-the-gop-has-rallied-behind-anti-trans-legislation |access-date=2024-09-30 |website=NPR}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;j502&amp;quot;&amp;gt;{{cite web |date=2023-12-17 |title=From drag bans to sports restrictions, 75 anti-LGBTQ bills have become law in 2023 |url=https://www.nbcnews.com/nbc-out/out-politics-and-policy/75-anti-lgbtq-bills-become-law-2023-rcna124250 |access-date=2024-09-30 |website=NBC News}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;v746&amp;quot;&amp;gt;{{cite web |last=Schoenbaum |first=Hannah |date=2023-01-07 |title=Republican states aim to restrict transgender health care in first bills of 2023 |url=https://www.pbs.org/newshour/politics/republican-states-aim-to-restrict-transgender-health-care-in-first-bills-of-2023 |access-date=2024-09-30 |website=PBS News}}&amp;lt;/ref&amp;gt; as well as laws limiting or banning [[Drag panic|public performances of drag shows]], and teaching schoolchildren about LGBT topics.&amp;lt;ref name=&amp;quot;n141&amp;quot;&amp;gt;{{cite news |last1=Astor |first1=Maggie |title=G.O.P. State Lawmakers Push a Growing Wave of Anti-Transgender Bills |work=[[The New York Times]] |date=January 25, 2023 |url=https://www.nytimes.com/2023/01/25/us/politics/transgender-laws-republicans.html |access-date=June 12, 2023 |archive-date=June 15, 2023 |archive-url=https://web.archive.org/web/20230615112638/https://www.nytimes.com/2023/01/25/us/politics/transgender-laws-republicans.html |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On November 6, 2021, RNC Chair [[Ronna McDaniel]] announced the creation of the &amp;quot;RNC Pride Coalition&amp;quot;, in partnership with the [[Log Cabin Republicans]], to promote outreach to LGBTQ voters.&amp;lt;ref&amp;gt;{{Cite web|last=Singman|first=Brooke|date=November 8, 2021|title=RNC announces &#039;Pride Coalition,&#039; partnership with Log Cabin Republicans ahead of midterms|url=https://www.foxnews.com/politics/rnc-announces-pride-coalition-partnership-with-log-cabin-republicans-ahead-of-midterms|access-date=November 18, 2021|website=[[Fox News]]|language=en-US|archive-date=November 15, 2021|archive-url=https://web.archive.org/web/20211115120520/https://www.foxnews.com/politics/rnc-announces-pride-coalition-partnership-with-log-cabin-republicans-ahead-of-midterms|url-status=live}}&amp;lt;/ref&amp;gt; However, after the announcement, McDaniel apologized for not having communicated the announcement in advance and emphasized that the new outreach program did not alter the 2016 GOP Platform.&amp;lt;ref&amp;gt;{{Cite web|date=November 17, 2021|title=GOP Chairwoman Ronna McDaniel apologizes for poor communication regarding gay outreach|url=https://www.metroweekly.com/2021/11/republican-chairwoman-ronna-mcdaniel-apologizes-for-poor-communication-regarding-gay-outreach-initiative/|access-date=November 18, 2021|website=Metro Weekly|language=en-US|archive-date=November 18, 2021|archive-url=https://web.archive.org/web/20211118215808/https://www.metroweekly.com/2021/11/republican-chairwoman-ronna-mcdaniel-apologizes-for-poor-communication-regarding-gay-outreach-initiative/|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As of 2023, a majority of Republican voters support [[Same-sex marriage in the United States|same-sex marriage]].&amp;lt;ref name=&amp;quot;Lindberg-2022&amp;quot;&amp;gt;{{Cite web |last=Lindberg |first=Tim |date=August 2, 2022 |title=Congress is considering making same-sex marriage federal law – a political scientist explains how this issue became less polarized over time |url=https://theconversation.com/congress-is-considering-making-same-sex-marriage-federal-law-a-political-scientist-explains-how-this-issue-became-less-polarized-over-time-187509 |access-date=August 14, 2022 |website=Kansas Reflector |language=en-US |archive-date=August 23, 2022 |archive-url=https://web.archive.org/web/20220823203344/http://theconversation.com/congress-is-considering-making-same-sex-marriage-federal-law-a-political-scientist-explains-how-this-issue-became-less-polarized-over-time-187509 |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Staff |date=September 28, 2022 |title=Majority of Americans Believe Abortion and Same-Sex Marriage Should be Guaranteed Rights {{!}} Grinnell College |url=https://www.grinnell.edu/poll/guaranteed-rights |access-date=November 17, 2022 |website=[[Grinnell College]] |quote=Solid majorities across both parties agree that... marrying someone of the same sex...are rights that should be guaranteed to all citizens... |archive-date=March 5, 2023 |archive-url=https://web.archive.org/web/20230305231449/https://www.grinnell.edu/poll/guaranteed-rights |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last=Cohn |first=Nate |author-link=Nate Cohn |date=August 10, 2023 |title=It&#039;s Not Reagan&#039;s Party Anymore |language=en |work=[[The New York Times]] |url=https://www.nytimes.com/2023/08/10/upshot/reagan-trump-gop-stool.html |access-date=August 23, 2023 |quote=It&#039;s not Mr. Reagan&#039;s party anymore. Today, a majority of Republicans oppose many of the positions that defined the party as recently as a decade ago, according to a New York Times/Siena College poll released last week. Only around one-third of Republican voters... [oppose]... same-sex marriage... |archive-date=December 2, 2023 |archive-url=https://web.archive.org/web/20231202100640/https://www.nytimes.com/2023/08/10/upshot/reagan-trump-gop-stool.html |url-status=live }}&amp;lt;/ref&amp;gt; According to &#039;&#039;[[FiveThirtyEight]]&#039;&#039;, as of 2022, Republican voters are consistently more open to same-sex marriage than their representatives.&amp;lt;ref&amp;gt;{{cite web|url=https://fivethirtyeight.com/features/whats-behind-senate-republicans-hesitancy-toward-same-sex-marriage/|first1=Monica|last1=Potts|title=What&#039;s Behind Senate Republicans&#039; Hesitancy Toward Same-Sex Marriage?|website=[[FiveThirtyEight]]|date=August 3, 2022|access-date=August 24, 2022|archive-date=August 24, 2022|archive-url=https://web.archive.org/web/20220824063615/https://fivethirtyeight.com/features/whats-behind-senate-republicans-hesitancy-toward-same-sex-marriage/|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://www.usnews.com/news/politics/articles/2022-07-28/same-sex-marriage-divides-elected-republicans-from-their-supporters|date=July 28, 2022|access-date=August 24, 2022|title=The GOP&#039;s Same-Sex Marriage Divide|first1=Lauren|last1=Camera|website=[[U.S. News &amp;amp; World Report]]|archive-date=August 8, 2022|archive-url=https://web.archive.org/web/20220808203940/https://www.usnews.com/news/politics/articles/2022-07-28/same-sex-marriage-divides-elected-republicans-from-their-supporters|url-status=live}}&amp;lt;/ref&amp;gt; The party platform approved at the [[2024 Republican National Convention]] no longer states that marriage should be between &amp;quot;one man and one woman&amp;quot;, though it did oppose the inclusion of [[Trans woman|transgender women]] in women&#039;s sports and teaching about LGBT topics in schools.&amp;lt;ref name=&amp;quot;2024 Platform&amp;quot; /&amp;gt; According to a 2023 &#039;&#039;[[YouGov]]&#039;&#039; poll, Republicans are slightly more likely to oppose [[Intersex medical interventions|intersex medical alterations]] than Democrats.&amp;lt;ref&amp;gt;{{Cite web |last=Orth |first=Taylor |date=February 14, 2023 |title=Which childhood body modification procedures do Americans think are unacceptable? |url=https://today.yougov.com/topics/health/articles-reports/2023/02/14/childhood-body-modification-procedures-transgender |access-date=March 6, 2023 |website=[[YouGov]] |language=en-us |archive-date=March 6, 2023 |archive-url=https://web.archive.org/web/20230306085411/https://today.yougov.com/topics/health/articles-reports/2023/02/14/childhood-body-modification-procedures-transgender |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://docs.cdn.yougov.com/7hxynzngn8/results_Childhood_Medical_Procedures.pdf|title=YouGov Survey: Childhood Medical Procedures|access-date=April 21, 2023|archive-date=April 21, 2023|archive-url=https://web.archive.org/web/20230421004218/https://docs.cdn.yougov.com/7hxynzngn8/results_Childhood_Medical_Procedures.pdf|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In November 2024, Trump nominated [[Scott Bessent]] for [[United States Secretary of the Treasury|United States secretary of the treasury]].&amp;lt;ref&amp;gt;{{Cite web|url=https://www.wsj.com/politics/trump-treasury-secretary-scott-bessent-cabinet-2470c09a|title=Trump Picks Scott Bessent as Treasury Secretary|last1=Restuccia |first1=Andrew |last2=Schwartz |first2=Brian |last3=Timiraos |first3=Nick|last4=Leary|first4=Alex |date=November 22, 2024 |accessdate=November 22, 2024|work=[[The Wall Street Journal]]}}&amp;lt;/ref&amp;gt; He is the [[List of first openly LGBTQ politicians in the United States|second openly gay man]] to serve in the [[Cabinet of the United States]] (after [[Pete Buttigieg]]) and the [[List of first openly LGBTQ politicians in the United States|fourth openly gay man]] to serve in a [[Cabinet of the United States#Cabinet-level officials|cabinet-level]] office (after [[Demetrios Marantis]], [[Richard Grenell]] and Buttigieg).&amp;lt;ref&amp;gt;{{Cite web |last1=Ring |first1=Trudy |date=November 23, 2024 |title=Trump nominates investment manager Scott Bessent, a gay man, as Treasury secretary |url=https://www.advocate.com/politics/scott-bessant-gay-trump-treasury |access-date=November 30, 2024 |work=[[The Advocate (magazine)|The Advocate]]}}&amp;lt;/ref&amp;gt; As the secretary of the treasury is [[United States presidential line of succession#Current order of succession|fifth]] in the [[United States presidential line of succession]], he is the [[List of first openly LGBTQ politicians in the United States|highest-ranking openly LGBT person in American history]].&amp;lt;ref&amp;gt;{{Cite web|url=https://www.washingtonblade.com/2024/11/24/trump-nominates-gay-man-for-treasury-secretary/|title=Trump nominates gay man for Treasury secretary|website=[[Washington Blade]]|author=[[Christopher Kane]]|date=November 24, 2024|access-date=December 5, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Voting rights ====&lt;br /&gt;
{{See also|Voter identification laws in the United States}}&lt;br /&gt;
&lt;br /&gt;
Virtually all restrictions on voting have in recent years been implemented by Republicans. Republicans, mainly at the state level, argue that the restrictions (such as the purging of [[Electoral roll|voter rolls]], limiting voting locations, and limiting [[early voting|early]] and [[Postal voting|mail-in]] voting) are vital to prevent [[voter fraud]], saying that voter fraud is an underestimated issue in elections. Polling has found majority support for early voting, automatic voter registration and [[Voter identification laws in the United States|voter ID laws]] among the general population.&amp;lt;ref&amp;gt;{{Cite web|date=August 22, 2016|title=Four in Five Americans Support Voter ID Laws, Early Voting|url=https://news.gallup.com/poll/194741/four-five-americans-support-voter-laws-early-voting.aspx|access-date=April 7, 2021|website=Gallup.com|archive-date=April 6, 2021|archive-url=https://web.archive.org/web/20210406165231/https://news.gallup.com/poll/194741/four-five-americans-support-voter-laws-early-voting.aspx|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|last=Rakich|first=Nathaniel|date=April 2, 2021|title=Americans Oppose Many Voting Restrictions — But Not Voter ID Laws|url=https://fivethirtyeight.com/features/americans-oppose-many-voting-restrictions-but-not-voter-id-laws/|access-date=April 7, 2021|website=[[FiveThirtyEight]]|archive-date=April 6, 2021|archive-url=https://web.archive.org/web/20210406171627/https://fivethirtyeight.com/features/americans-oppose-many-voting-restrictions-but-not-voter-id-laws/|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://www.pewtrusts.org/en/research-and-analysis/blogs/stateline/2021/02/05/republicans-target-ballot-access-after-record-turnout|publisher=Pew Trusts|work=Stateline|first=Matt|last=Vasilogambros|title=Republicans Target Ballot Access After Record Turnout|date=February 5, 2021|access-date=April 25, 2021|archive-date=April 25, 2021|archive-url=https://web.archive.org/web/20210425034413/https://www.pewtrusts.org/en/research-and-analysis/blogs/stateline/2021/02/05/republicans-target-ballot-access-after-record-turnout|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In defending their restrictions to voting rights, Republicans have made false and exaggerated claims about the extent of voter fraud in the United States; all existing research indicates that it is extremely rare,&amp;lt;ref name=&amp;quot;WaPo_voter_fraud_2014&amp;quot;&amp;gt;{{cite web |author=Bump, Philip |date=October 13, 2014 |title=The disconnect between voter ID laws and voter fraud |url=https://www.washingtonpost.com/news/the-fix/wp/2014/10/13/the-disconnect-between-voter-id-laws-and-voter-fraud/ |access-date=July 26, 2016 |work=The Fix |publisher=[[The Washington Post]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last=Levitt |first=Justin |date=August 6, 2014 |title=A comprehensive investigation of voter impersonation finds 31 credible incidents out of one billion ballots cast |newspaper=[[The Washington Post]] |url=https://www.washingtonpost.com/news/wonk/wp/2014/08/06/a-comprehensive-investigation-of-voter-impersonation-finds-31-credible-incidents-out-of-one-billion-ballots-cast/?arc404=true |url-status=live |archive-url=https://web.archive.org/web/20191028232347/https://www.washingtonpost.com/news/wonk/wp/2014/08/06/a-comprehensive-investigation-of-voter-impersonation-finds-31-credible-incidents-out-of-one-billion-ballots-cast/?arc404=true |archive-date=October 28, 2019}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Hakim-2018&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Linker-2018&amp;quot; /&amp;gt; and civil and voting rights organizations often accuse Republicans of enacting restrictions to influence elections in the party&#039;s favor. Many laws or regulations restricting voting enacted by Republicans have been successfully challenged in court, with court rulings striking down such regulations and accusing Republicans of establishing them with partisan purpose.&amp;lt;ref name=&amp;quot;Hakim-2018&amp;quot;&amp;gt;{{Cite news|url=https://www.nytimes.com/2018/11/03/us/politics/voting-suppression-elections.html|title=&#039;They Don&#039;t Really Want Us to Vote&#039;: How Republicans Made it Harder|newspaper=[[The New York Times]] |date=November 3, 2018 |access-date=November 4, 2018|archive-url=https://web.archive.org/web/20181104152125/https://www.nytimes.com/2018/11/03/us/politics/voting-suppression-elections.html|archive-date=November 4, 2018|url-status=live|last1=Hakim |first1=Danny |last2=Wines |first2=Michael }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Linker-2018&amp;quot;&amp;gt;{{cite magazine|url=https://theweek.com/articles/803156/big-conservative-lie-voter-fraud|title=The big conservative lie on &#039;voter fraud&#039;|date=October 23, 2018|magazine=The Week|access-date=December 27, 2018|archive-url=https://web.archive.org/web/20181228130912/https://theweek.com/articles/803156/big-conservative-lie-voter-fraud|archive-date=December 28, 2018|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the Supreme Court decision in &#039;&#039;[[Shelby County v. Holder]]&#039;&#039; rolled back aspects of the [[Voting Rights Act of 1965]], Republicans introduced cuts to early voting, purges of voter rolls and imposition of strict voter ID laws.&amp;lt;ref name=&amp;quot;Hakim-2018&amp;quot;/&amp;gt; The 2016 Republican platform advocated proof of citizenship as a prerequisite for registering to vote and photo ID as a prerequisite when voting.&amp;lt;ref&amp;gt;{{Cite web |last=Mali |first=Meghashyam |date=July 19, 2016 |title=GOP platform calls for tough voter ID laws |url=https://thehill.com/blogs/ballot-box/288302-gop-platform-calls-for-tough-voter-id-laws/ |access-date=April 7, 2021 |website=[[The Hill (newspaper)|The Hill]] |archive-date=April 18, 2021 |archive-url=https://web.archive.org/web/20210418183438/https://thehill.com/blogs/ballot-box/288302-gop-platform-calls-for-tough-voter-id-laws |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After Donald Trump and his [[Republican reactions to Donald Trump&#039;s claims of 2020 election fraud|Republican allies made false claims of fraud]] during the 2020 presidential election, Republicans launched a nationwide effort to [[Republican efforts to restrict voting following the 2020 presidential election|impose tighter election laws at the state level]].&amp;lt;ref&amp;gt;{{Cite web|last=Wines|first=Michael|date=February 27, 2021|title=In Statehouses, Stolen-Election Myth Fuels a G.O.P. Drive to Rewrite Rules|url=https://www.nytimes.com/2021/02/27/us/republican-voter-suppression.html |archive-url=https://ghostarchive.org/archive/20211228/https://www.nytimes.com/2021/02/27/us/republican-voter-suppression.html |archive-date=December 28, 2021 |url-access=limited|newspaper=[[The New York Times]]}}{{cbignore}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|first=Kelly|last=Mena|title=More than 100 bills that would restrict voting are moving through state legislatures|url=https://www.cnn.com/2021/02/02/politics/voting-rights-state-legislation/index.html|url-status=live|archive-url=https://web.archive.org/web/20210203013507/https://www.cnn.com/2021/02/02/politics/voting-rights-state-legislation/index.html|archive-date=February 3, 2021|access-date=February 3, 2021|website=[[CNN]]|date=February 2, 2021 }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Gardner-2021&amp;quot;&amp;gt;{{cite news|last1=Gardner|first1=Amy|date=March 26, 2021|title=After Trump tried to intervene in the 2020 vote, state Republicans are moving to take more control of elections|newspaper=[[The Washington Post]]|url=https://www.washingtonpost.com/politics/republicans-election-control/2021/03/26/064fffcc-8cb4-11eb-a730-1b4ed9656258_story.html|access-date=April 7, 2021|archive-date=June 14, 2022|archive-url=https://web.archive.org/web/20220614185326/https://www.washingtonpost.com/politics/republicans-election-control/2021/03/26/064fffcc-8cb4-11eb-a730-1b4ed9656258_story.html|url-status=live}}&amp;lt;/ref&amp;gt; Such bills are centered around limiting mail-in voting, strengthening voter ID laws, shortening early voting, eliminating [[Voter registration in the United States#Automatic|automatic]] and [[Voter registration in the United States#Election Day / same-day|same-day voter registration]], curbing the use of [[ballot drop box]]es, and allowing for increased purging of voter rolls.&amp;lt;ref name=&amp;quot;Bill-Tracker&amp;quot;&amp;gt;{{Cite web |date=February 24, 2021 |title=State Voting Bills Tracker 2021 |url=https://www.brennancenter.org/our-work/research-reports/state-voting-bills-tracker-2021 |url-status=live |archive-url=https://web.archive.org/web/20220611232034/https://www.brennancenter.org/our-work/research-reports/state-voting-bills-tracker-2021 |archive-date=June 11, 2022 |website=[[Brennan Center for Justice]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;NYT-practices&amp;quot;&amp;gt;{{Cite web |last1=Corisaniti |first1=Nick |last2=Epstein |first2=Reid J. |date=March 23, 2021 |title=G.O.P. and Allies Draft &#039;Best Practices&#039; for Restricting Voting |url=https://www.nytimes.com/2021/03/23/us/politics/republican-voter-laws.html |url-status=live |archive-url=https://web.archive.org/web/20220611081640/https://www.nytimes.com/2021/03/23/us/politics/republican-voter-laws.html |archive-date=June 11, 2022 |website=[[The New York Times]]}}&amp;lt;/ref&amp;gt; Republicans in at least eight states have also introduced bills that would give lawmakers greater power over election administration, after they were unsuccessful in their attempts to overturn election results in [[swing state]]s won by Biden.&amp;lt;ref name=&amp;quot;Corasaniti-2021&amp;quot;&amp;gt;{{Cite news |last=Corasaniti |first=Nick |date=March 24, 2021 |title=Republicans Aim to Seize More Power Over How Elections Are Run |website=[[The New York Times]] |url=https://www.nytimes.com/2021/03/24/us/politics/republicans-election-laws.html |url-status=live |archive-url=https://web.archive.org/web/20220611230735/https://www.nytimes.com/2021/03/24/us/politics/republicans-election-laws.html |archive-date=June 11, 2022}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Gardner-2021&amp;quot;/&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Kalmbacher |first=Colin |date=May 26, 2021 |title=Arizona GOP Bill Would Allow GOP-Controlled State Legislature to Strip Key Election Powers from Democratic Secretary of State |url=https://lawandcrime.com/high-profile/arizona-gop-bill-would-allow-gop-controlled-state-legislature-to-strip-key-election-powers-from-democratic-secretary-of-state/ |work=Law &amp;amp; Crime |access-date=October 20, 2022 |archive-date=May 31, 2021 |archive-url=https://web.archive.org/web/20210531061200/https://lawandcrime.com/high-profile/arizona-gop-bill-would-allow-gop-controlled-state-legislature-to-strip-key-election-powers-from-democratic-secretary-of-state/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last1=Gardner |first1=Amy |date=May 29, 2021 |title=Texas Republicans finalize bill that would enact stiff new voting restrictions and make it easier to overturn election results |newspaper=[[The Washington Post]] |url=https://www.washingtonpost.com/politics/texas-voting-restrictions/2021/05/29/86923248-be25-11eb-9c90-731aff7d9a0d_story.html |access-date=October 20, 2022 |archive-date=July 14, 2021 |archive-url=https://web.archive.org/web/20210714230135/https://www.washingtonpost.com/politics/texas-voting-restrictions/2021/05/29/86923248-be25-11eb-9c90-731aff7d9a0d_story.html |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Supporters of the bills argue they would improve election security and reverse temporary changes enacted during the [[COVID-19 pandemic]]; they point to false claims of significant election fraud, as well as the substantial public distrust of the integrity of the 2020 election those claims have fostered,{{Efn|According to an NPR/PBS NewsHour/Marist poll, while more than 60% of Americans believe the 2020 election was secure, a large majority of Republican voters say they do not trust the results of the 2020 election.&amp;lt;ref name=&amp;quot;NPR-poll&amp;quot;&amp;gt;{{Cite web|last=Montanaro|first=Domenico|date=December 9, 2020|title=Poll: Just A Quarter Of Republicans Accept Election Outcome |access-date=June 14, 2022 |archive-url=https://web.archive.org/web/20220611233203/https://www.npr.org/2020/12/09/944385798/poll-just-a-quarter-of-republicans-accept-election-outcome |archive-date=June 11, 2022 |url=https://www.npr.org/2020/12/09/944385798/poll-just-a-quarter-of-republicans-accept-election-outcome|url-status=live|website=[[NPR]]}}&amp;lt;/ref&amp;gt; According to a poll by [[Quinnipiac University|Quinnipiac]], 77% of Republicans believe there was widespread voter fraud.&amp;lt;ref&amp;gt;{{Cite web|date=December 10, 2020|title=December 10, 2020 – 60% View Joe Biden&#039;s 2020 Presidential Victory As Legitimate, Quinnipiac University National Poll Finds; 77% Of Republicans Believe There Was Widespread Voter Fraud|url=https://poll.qu.edu/national/release-detail?ReleaseID=3685|website=[[Quinnipiac University]]|access-date=October 20, 2022|archive-date=March 21, 2021|archive-url=https://web.archive.org/web/20210321131057/https://poll.qu.edu/national/release-detail?ReleaseID=3685|url-status=live}}&amp;lt;/ref&amp;gt;}} as justification.&amp;lt;ref&amp;gt;{{Cite web |last=Inskeep |first=Steve |date=February 28, 2021 |title=Why Republicans Are Moving To Fix Elections That Weren&#039;t Broken |url=https://www.npr.org/2021/02/28/970877930/why-republicans-are-moving-to-fix-elections-that-werent-broken |website=[[NPR]] |access-date=October 20, 2022 |archive-date=March 28, 2021 |archive-url=https://web.archive.org/web/20210328143539/https://www.npr.org/2021/02/28/970877930/why-republicans-are-moving-to-fix-elections-that-werent-broken |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Steinhauser |first=Paul |date=February 17, 2021 |title=Republican Party launching new election integrity committee |url=https://www.foxnews.com/politics/republican-party-launching-new-election-integrity-committee |website=[[Fox News]] |access-date=October 20, 2022 |archive-date=March 15, 2021 |archive-url=https://web.archive.org/web/20210315121016/https://www.foxnews.com/politics/republican-party-launching-new-election-integrity-committee |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Montellaro |first=Zach |date=January 24, 2021 |title=State Republicans push new voting restrictions after Trump&#039;s loss |url=https://www.politico.com/news/2021/01/24/republicans-voter-id-laws-461707 |website=[[Politico]] |access-date=October 20, 2022 |archive-date=March 29, 2021 |archive-url=https://web.archive.org/web/20210329192348/https://www.politico.com/news/2021/01/24/republicans-voter-id-laws-461707 |url-status=live }}&amp;lt;/ref&amp;gt; Political analysts say that the efforts amount to [[voter suppression]], are intended to advantage Republicans by reducing the number of people who vote, and would disproportionately affect [[Race and ethnicity in the United States|minority]] voters.&amp;lt;ref&amp;gt;{{cite journal|first1=Davita|last1=Glasberg|first2=William|last2=Armaline|first3=Bandana|last3=Purkayastha|title=I Exist, Therefore I Should Vote: Political Human Rights, Voter Suppression and Undermining Democracy in the U.S.|url=https://scholarlycommons.law.case.edu/swb/vol16/iss1/2|journal=Societies Without Borders|date=January 1, 2022|issn=1872-1915|pages=20–47|volume=16|issue=1|access-date=October 28, 2022|archive-date=October 28, 2022|archive-url=https://web.archive.org/web/20221028052113/https://scholarlycommons.law.case.edu/swb/vol16/iss1/2/|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal|first1=Lydia|last1=Hardy|title=Voter Suppression Post-Shelby: Impacts and Issues of Voter Purge and Voter ID Laws|url=https://digitalcommons.law.mercer.edu/jour_mlr/vol71/iss3/10|journal=Mercer Law Review|date=May 1, 2020|issn=0025-987X|volume=71|issue=3|access-date=October 28, 2022|archive-date=October 28, 2022|archive-url=https://web.archive.org/web/20221028052111/https://digitalcommons.law.mercer.edu/jour_mlr/vol71/iss3/10/|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last1=Brewster |first1=Adam |last2=Huey-Burns |first2=Caitlin |date=February 25, 2021 |title=Proposals to restrict voting gain traction in Republican states |url=https://www.cbsnews.com/news/voting-restriction-proposals-republican-states/ |website=[[CBS News]] |access-date=October 20, 2022 |archive-date=March 30, 2021 |archive-url=https://web.archive.org/web/20210330114129/https://www.cbsnews.com/news/voting-restriction-proposals-republican-states/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Skelley |first=Geoffrey |date=May 17, 2021 |title=How The Republican Push To Restrict Voting Could Affect Our Elections |url=https://fivethirtyeight.com/features/how-the-republican-push-to-restrict-voting-could-affect-our-elections/ |access-date=November 28, 2022 |website=[[FiveThirtyEight]] |language=en-US |archive-date=October 21, 2023 |archive-url=https://web.archive.org/web/20231021064741/https://fivethirtyeight.com/features/how-the-republican-push-to-restrict-voting-could-affect-our-elections/ |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Composition and demographics&amp;lt;span class=&amp;quot;anchor&amp;quot; id=&amp;quot;Composition&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;anchor&amp;quot; id=&amp;quot;Demographics&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
According to a 2025 [[Gallup poll]], 46% of Americans identify or lean towards Republicans, and 45% identify or lean towards Democrats. Republicans have held an edge since 2022, while the Democratic Party had previously held an overall edge in party identification from 1992 to 2021, since Gallup began polling on the issue in 1991.&amp;lt;ref&amp;gt;{{cite web|title=GOP Holds Edge in Party Affiliation for Third Straight Year|website=Gallup|date=January 16, 2025|access-date=January 16, 2025|url=https://news.gallup.com/poll/655157/gop-holds-edge-party-affiliation-third-straight-year.aspx|first1=Jeffrey M.|last1=Jones}}&amp;lt;/ref&amp;gt; In 2016, &#039;&#039;The New York Times&#039;&#039; stated that the party was strongest in the [[Southern United States|South]], most of the [[Midwestern United States|Midwestern]] and [[Mountain States]], and [[Alaska]].&amp;lt;ref&amp;gt;{{cite news|url=https://www.nytimes.com/2016/09/22/opinion/campaign-stops/the-divided-states-of-america.html|title=Opinion – The Divided States of America|first=Lee|last=Drutman|date=September 22, 2016|work=[[The New York Times]]|access-date=March 7, 2019|archive-url=https://web.archive.org/web/20190308003039/https://www.nytimes.com/2016/09/22/opinion/campaign-stops/the-divided-states-of-america.html|archive-date=March 8, 2019|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Republican party&#039;s core voting demographics are White voters without college degrees and [[White Southerners]].&amp;lt;ref name=&amp;quot;White Voters&amp;quot; /&amp;gt; Racial polarization is extremely high in the Southern United States, with [[White Southerners]] almost entirely voting for the Republican Party and [[Black Southerners]] almost entirely voting for the Democratic Party.&amp;lt;ref name=&amp;quot;Cohn-2014&amp;quot;&amp;gt;{{Cite web|url=https://www.nytimes.com/2014/04/24/upshot/southern-whites-loyalty-to-gop-nearing-that-of-blacks-to-democrats.html|title=Southern Whites&#039; Loyalty to GOP Nearing that of Blacks to Democrats|first1=Nate|last1=Cohn|website=The New York Times|date=April 23, 2014}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As of 2024, the Republican Party has support from a majority of [[White Americans|White]]&amp;lt;ref name=&amp;quot;Staff-2024&amp;quot;&amp;gt;{{Cite web |last=Staff |date=November 6, 2024 |title=National Exit Polls: Election 2024 Results |url=https://www.nbcnews.com/politics/2024-elections/exit-polls |access-date=November 13, 2024 |website=[[NBC News]] |language=en}}&amp;lt;/ref&amp;gt; voters, and increasingly among [[Hispanic]]s&amp;lt;ref name=&amp;quot;Lange-2024&amp;quot;&amp;gt;{{Cite web |last1=Lange |first1=Jason |last2=Erickson |first2=Bo |last3=Heath |first3=Brad |date=November 7, 2024 |title=Trump&#039;s return to power fueled by Hispanic, working-class voter support |url=https://www.reuters.com/world/us/trumps-return-power-fueled-by-hispanic-working-class-voter-support-2024-11-06/ |access-date=November 13, 2024 |website=[[Reuters]]}}&amp;lt;/ref&amp;gt; and [[Asian people|Asians]].&amp;lt;ref name=&amp;quot;Yam-2024&amp;quot;&amp;gt;{{Cite web |last=Yam |first=Kimmy |date=2024-11-06 |title=Asian Americans favored Harris but shifted right by 5 points |url=https://www.nbcnews.com/news/asian-america/asian-americans-exit-poll-harris-trump-rcna179005 |access-date=2024-11-13 |website=[[NBC News]] |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A majority of [[Working class in the United States|working-class]],&amp;lt;ref name=&amp;quot;Lange-2024&amp;quot; /&amp;gt; [[Urban–rural political divide|rural]],&amp;lt;ref name=&amp;quot;Maxwell 2019&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;The World Trump Wants&amp;quot; /&amp;gt; [[Man|men]],&amp;lt;ref name=&amp;quot;Staff-2024&amp;quot; /&amp;gt; individuals without [[educational attainment in the United States|college degrees]],&amp;lt;ref name=&amp;quot;Staff-2024&amp;quot; /&amp;gt; and [[Developing country|lower income]] voters vote for the party.&amp;lt;ref name=&amp;quot;Suss-2024&amp;quot;&amp;gt;{{Cite news |last1=Suss |first1=Joel |last2=Xiao |first2=Eva |last3=Burn-Murdoch |first3=John |last4=Murray |first4=Clara |last5=Vincent |first5=Jonathan |date=2024-11-09 |title=Poorer voters flocked to Trump — and other data points from the election |url=https://www.ft.com/content/6de668c7-64e9-4196-b2c5-9ceca966fe3f |access-date=2024-11-12 |work=Financial Times |quote=In contrast to 2020, the majority of lower-income households or those earning less than $50,000 a year voted for Trump this election. Conversely, those making more than $100,000 voted for Harris, according to exit polls.}}&amp;lt;/ref&amp;gt; Traditionalist religious voters,&amp;lt;ref&amp;gt;{{Cite web |last=Dallas |first=Kelsey |date=2024-11-06 |title=The faith vote in 2024 |url=https://www.deseret.com/faith/2024/11/06/religious-voters-2024/ |access-date=2024-11-13 |website=[[Deseret News]] |language=en}}&amp;lt;/ref&amp;gt; including [[Evangelicalism|Evangelicals]]&amp;lt;ref name=&amp;quot;Staff-2024&amp;quot; /&amp;gt; [[Latter Day Saint movement|Latter-Day Saints]], [[Muslims]],&amp;lt;ref name=&amp;quot;Aleaziz-2024&amp;quot;&amp;gt;{{Cite web |last=Aleaziz |first=Hamed |date=November 6, 2024 |title=For Many Arab Americans in Dearborn, Trump Made the Case for Their Votes |url=https://www.nytimes.com/2024/11/06/us/dearborn-michigan-trump-arab-voters.html |access-date=November 13, 2024 |website=[[The New York Times]]}}&amp;lt;/ref&amp;gt; and [[Catholic Church in the United States|Catholic]]&amp;lt;ref name=&amp;quot;Staff-2024&amp;quot; /&amp;gt; voters lean towards the Republicans.&amp;lt;ref name=&amp;quot;Polarization by education&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;cambridge.org&amp;quot; /&amp;gt; The party has made significant gains among the [[Working class|white working class]],&amp;lt;ref name=&amp;quot;Lange-2024&amp;quot; /&amp;gt; [[Asian Americans|Asians]],&amp;lt;ref name=&amp;quot;Yam-2024&amp;quot; /&amp;gt; and [[Hispanic]]s.&amp;lt;ref name=&amp;quot;Staff-2024&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Republicans have lost support among [[Upper middle class in the United States|upper middle class]] and [[Postgraduate education|college-educated]] whites.&amp;lt;ref name=&amp;quot;Nate Silver&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Suss-2024&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Levitz-2022&amp;quot;&amp;gt;{{Cite web |last=Levitz |first=Eric |date=October 19, 2022 |title=How the Diploma Divide Is Remaking American Politics |url=https://nymag.com/intelligencer/2022/10/education-polarization-diploma-divide-democratic-party-working-class.html |access-date=October 21, 2022 |website=[[New York (magazine)|New York]] |language=en-us |quote=Blue America is an increasingly wealthy and well-educated place. Throughout the second half of the 20th century, Americans without college degrees were more likely than university graduates to vote Democratic. But that gap began narrowing in the late 1960s before finally flipping in 2004... A more educated Democratic coalition is, naturally, a more affluent one... In every presidential election from 1948 to 2012, white voters in the top 5 percent of America&#039;s income distribution were more Republican than those in the bottom 95 percent. Now, the opposite is true: Among America&#039;s white majority, the rich voted to the left of the middle class and the poor in 2016 and 2020, while the poor voted to the right of the middle class and the rich. |archive-date=October 20, 2022 |archive-url=https://web.archive.org/web/20221020215535/https://nymag.com/intelligencer/2022/10/education-polarization-diploma-divide-democratic-party-working-class.html |url-status=live }}&amp;lt;/ref&amp;gt; In 2024, Trump only narrowly won White voters making $100,000 to $199,999 (50-49%), over $200,000 (51-48%), and White men with college degrees (50-48%), all on par with Trump winning the popular vote 50-48%.&amp;lt;ref name=&amp;quot;Harry Enten&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Income ===&lt;br /&gt;
[[File:Median_Household_Income_per_County_as_of_2021_according_to_the_USDA_Economic_Research_Service_(3).png|thumb|300px|Median U.S. household income per County in 2021, showing the distribution of income geographically in the United States]]&lt;br /&gt;
Until 2016, higher income was strongly correlated to voting for the Republican Party among the general electorate. However, in all three of Trump&#039;s elections in 2016, 2020, and 2024, the previous correlation between higher incomes and voting for the Republican Party was largely eliminated among the electorate as a whole.&amp;lt;ref name=&amp;quot;culture trumps economic class&amp;quot; /&amp;gt; For White voters, instead higher educational attainment was strongly correlated with higher support for the Democratic Party.&amp;lt;ref name=&amp;quot;Harry Enten&amp;quot;/&amp;gt; According to a 2024 Pew Research Center poll, homeowners are slightly more likely to be Republicans (51-45%), while renters are much more likely to be Democrats (64-32%).&amp;lt;ref&amp;gt;{{Cite web|url=https://www.pewresearch.org/politics/2024/04/09/partisanship-by-family-income-home-ownership-union-membership-and-veteran-status/|title=Partisanship by family income, home ownership, union membership and veteran status|website=Pew Research Center|date=April 9, 2024|access-date=February 16, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the 2024 presidential election, Trump did better among lower-income voters than high-income voters, the first time ever for the Republican nominee in modern American political history.&amp;lt;ref name=&amp;quot;Suss-2024&amp;quot;/&amp;gt; Trump lost voters making annual incomes over $100,000 (47-51%) and $200,000 (46-52%) to Democrat [[Kamala Harris]], with voters making over $200,000 a year being Trump&#039;s weakest income demographic. Trump won voters making less than $100,000 (51-47%) and $50,000 (50-48%), though Trump did lose voters making less than $30,000 (46-50%).&amp;lt;ref name=&amp;quot;Exit poll results 2024&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Trump won some of the [[List of lowest-income counties in the United States|lowest-income counties]], mainly majority-White counties in [[Appalachia]].&amp;lt;ref&amp;gt;{{cite web|last1=Lowrey|first1=Annie|title=What&#039;s the Matter With Eastern Kentucky?|url=https://www.nytimes.com/2014/06/29/magazine/whats-the-matter-with-eastern-kentucky.html?_r=0|work=[[The New York Times]]|date=June 29, 2014|url-status=live|archive-url=https://web.archive.org/web/20171201203726/https://www.nytimes.com/2014/06/29/magazine/whats-the-matter-with-eastern-kentucky.html?_r=0|archive-date=December 1, 2017}}&amp;lt;/ref&amp;gt; Most of the lowest-income counties are [[List of majority-Black counties in the United States|majority-Black counties]] in the [[Black Belt in the American South|Southern Black Belt]], which Trump lost.&amp;lt;ref&amp;gt;Derrick Shapley, &#039;&#039;Isolation in the South: Poverty and Transportation Infrastructure in the Black Belt&#039;&#039; (Mississippi State University, 2015).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Men without college degrees, particularly [[Blue-collar worker|blue-collar]] men, are Donald Trump&#039;s strongest demographic. Per exit polls, Trump won White men without college degrees (69-29%) and around half of Hispanic men in the 2024 presidential election.&amp;lt;ref name=&amp;quot;gap within the gender gap&amp;quot;&amp;gt;{{Cite web|url=https://www.nbcnews.com/politics/elections/steve-kornacki-white-men-white-women-gap-gender-gap-rcna196791|title=Steve Kornacki: White men, white women, and the gap within the gender gap|quote=New NBC News polling data illustrates the cultural and political gulf separating white men without college degrees and white women with college degrees.|first1=Steve|last1=Kornacki|website=NBC News|date=March 18, 2025|access-date=March 19, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Region ===&lt;br /&gt;
{{Main|Solid South}}&lt;br /&gt;
[[File:BibleBelt.png|300px|thumb|right|Approximate boundaries of the Bible Belt]]&lt;br /&gt;
Some of the oldest Republican strongholds in the country are in the [[Southern United States]], particularly majority-White [[Southern Unionist|Unionist]] counties in [[Appalachia]].&amp;lt;ref name=&amp;quot;temple&amp;quot;&amp;gt;Oliver Perry Temple, &#039;&#039;East Tennessee and the Civil War&#039;&#039; (Cincinnati: R. Clarke, 1972), pp. 15–17, 547, 556–8.&amp;lt;/ref&amp;gt; The Republican Party gradually gained power in the [[Southern United States]] since [[1964 United States presidential election|1964]]. Although [[Richard Nixon]] carried 49 states in [[1972 United States presidential election|1972]], including every Southern state, the Republican Party remained quite weak at the local and state levels across the entire South for decades. Republicans first won a majority of U.S. House seats in the South in the [[1994 United States elections|1994]] &amp;quot;[[Republican Revolution]]&amp;quot;, and only began to dominate the South after the [[2010 United States elections|2010 elections]].&amp;lt;ref name=&amp;quot;The long goodbye&amp;quot;&amp;gt;{{Cite news|url=https://www.economist.com/united-states/2010/11/11/the-long-goodbye|date=November 11, 2010|newspaper=The Economist|title=The long goodbye|quote=In 1981 Republicans took control of the Senate for the first time since 1953, but most Southern elected officials remained white Democrats. When Republicans took control of the House in 1995, white Democrats still comprised one-third of the South&#039;s tally. ... white Southern Democrats have met their Appomattox: they will account for just 24 of the South&#039;s 155 senators and congressmen in the 112th United States Congress.|access-date=February 20, 2023}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the 2010s, [[White Southerners]] are the Republican Party&#039;s strongest racial demographic, in some [[Deep South]] states voting nearly as Republican as African Americans vote Democratic.&amp;lt;ref name=&amp;quot;Cohn-2014&amp;quot;/&amp;gt; This is partially attributable to religiosity, with White [[evangelical Christianity|evangelical Christians]] in the [[Bible Belt]], which covers most of the South, being the Republican Party&#039;s strongest religious demographic.&amp;lt;ref name=&amp;quot;White Voters&amp;quot;/&amp;gt; In particular, in 2024 Trump won every state with a significant presence in the Bible Belt except Virginia, because [[Northern Virginia]] is part of the heavily Democratic [[Washington metropolitan area]].&amp;lt;ref&amp;gt;{{Cite news|title=Without Northern Virginia, Trump would have won the state|work=Inside Nova|url=https://www.insidenova.com/headlines/without-northern-virginia-trump-would-have-won-the-state/article_c937d4de-2516-11eb-9178-bbdf2f2c7b16.html|access-date=17 November 2020}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Bible Belt&amp;quot;&amp;gt;{{cite book| title=Southern Cross: The Beginnings of the Bible Belt | publisher=Knopf| year= 1997| isbn= 978-0-679-44638-5|quote=Revealing a surprising paradox at the heart of America&#039;s &amp;quot;Bible Belt,&amp;quot; Christine Leigh Heyrman examines how the conservative religious traditions so strongly associated with the South evolved out of an evangelical Protestantism that began with very different social and political attitudes. Although the American Revolution swept away the institutional structures of the Anglican Church in the South, the itinerant evangelical preachers who subsequently flooded the region at first encountered resistance from southern whites, who were affronted by their opposition to slaveholding and traditional ideals of masculinity, their lack of respect for generational hierarchy, their encouragement of women&#039;s public involvement in church affairs, and their allowance for spiritual intimacy with blacks. As Heyrman shows, these evangelicals achieved dominance in the region over the course of a century by deliberately changing their own &amp;quot;traditional values&amp;quot; and assimilating the conventional southern understandings of family relationships, masculine prerogatives, classic patriotism, and martial honor. In so doing, religious groups earlier associated with nonviolence and antislavery activity came to the defense of slavery and secession and the holy cause of upholding both by force of arms--and adopted the values we now associate with the &amp;quot;Bible Belt.&amp;quot;}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
White Southerners with college degrees remain strongly Republican. In 2024, Trump won White Southerners 67-32%, including White Southerners with college degrees 57-41%. Trump won White evangelicals 82-17%, including White evangelicals with college degrees 75-23%.&amp;lt;ref name=&amp;quot;White Voters&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Age ===&lt;br /&gt;
The Republican Party does best with [[middle age]] and [[Old age|older]] voters, particularly voters over the age of 50. In the 2024 presidential election, Trump lost voters aged 18–29 (43-54%) and 30-39 (45-51%), tied with voters aged 40–49 (49-49%), did best among voters aged 50–64 (54-44%), and narrowly won voters 65 and older (50-49%). This also holds when controlling for race.&amp;lt;ref name=&amp;quot;Exit poll results 2024&amp;quot;/&amp;gt;&lt;br /&gt;
*Trump tied among Whites aged 18–29 (49-49%), and won Whites aged 30–44 (54-44%), 45-64 (61-37%), and 65 and older (56-43%).&lt;br /&gt;
*There was little difference among Black voters, with Trump losing Black voters aged 18–29 (16-83%), 30-44 (15-83%), 45-64 (14-84%), and particularly Black voters 65 and older (6-93%).&lt;br /&gt;
*Trump narrowly lost Hispanic voters aged 18–29 (45-51%) and 30-44 (45-52%), narrowly won Hispanic voters aged 45–64 (51-48%), and lost Hispanic voters 65 and older (58-41%).&lt;br /&gt;
&lt;br /&gt;
=== Gender ===&lt;br /&gt;
[[File:2021 Median wealth by marital status - US.svg|thumb|The median wealth of married couples exceeds that of single individuals, regardless of gender and across all age categories.&amp;lt;ref name=WealthMaritalStatus_2021&amp;gt;{{cite web |title=The Wealth of Households: 2021 / Current Population Reports / P70BR-183 |url=https://www.census.gov/content/dam/Census/library/publications/2023/demo/p70br-183.pdf |last1=Sullivan |first1=Brianna |last2=Hays |first2=Donald |last3=Bennett |first3=Neil |page=5 (Figure 2) |publisher=United States Census Bureau |archive-url=https://web.archive.org/web/20240524023705/https://www.census.gov/content/dam/Census/library/publications/2023/demo/p70br-183.pdf |archive-date=May 24, 2024 |date=June 2023 |url-status=live }}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
Since 1980, a &amp;quot;gender gap&amp;quot; has seen stronger support for the Republican Party among men than among women. Unmarried and divorced women were far more likely to vote for Democrat [[John Kerry]] than for Republican [[George W. Bush]] in the 2004 presidential election.&amp;lt;ref name=wvwv2004&amp;gt;[http://www.wvwv.org/docs/WVWV_2004_post-election_memo.pdf &amp;quot;Unmarried Women in the 2004 Presidential Election&amp;quot;] {{webarchive|url=https://web.archive.org/web/20160101195440/http://www.wvwv.org/docs/WVWV_2004_post-election_memo.pdf|date=January 1, 2016}} ([[PDF]]). Report by Greenberg Quinlan Rosner Research, January 2005. p. 3: &amp;quot;The marriage gap is one of the most important cleavages in electoral politics. Unmarried women voted for Kerry by a 25-point margin (62 to 37 percent), while married women voted for President Bush by an 11-point margin (55 percent to 44 percent). Indeed, the 25-point margin Kerry posted among unmarried women represented one of the high water marks for the Senator among all demographic groups.&amp;quot;&amp;lt;/ref&amp;gt; Exit polls from the 2012 elections revealed a continued weakness among unmarried women for the GOP, a large and growing portion of the electorate.&amp;lt;ref&amp;gt;{{cite news|url=https://www.economist.com/news/united-states/21591624-republicans-should-worry-unmarried-women-shun-them-marriage-gap?fsrc=scn/tw/te/pe/themarriagegap|title=Republicans should worry that unmarried women shun them|date=December 14, 2013|newspaper=[[The Economist]]|access-date=September 18, 2019|archive-url=https://web.archive.org/web/20180115185951/https://www.economist.com/news/united-states/21591624-republicans-should-worry-unmarried-women-shun-them-marriage-gap?fsrc=scn%2Ftw%2Fte%2Fpe%2Fthemarriagegap|archive-date=January 15, 2018|url-status=live}}&amp;lt;/ref&amp;gt; Although women supported Obama over [[Mitt Romney]] by a margin of 55–44% in 2012, Romney prevailed amongst married women, 53–46%.&amp;lt;ref&amp;gt;{{cite news|date=December 3, 2012|title=The Marriage Gap in the Women&#039;s Vote|first=Meg T.|last=McDonnell|url=http://www.crisismagazine.com/2012/the-marriage-gap-in-the-womens-vote|work=Crisis Magazine|access-date=December 11, 2014|archive-url=https://web.archive.org/web/20141031034237/http://www.crisismagazine.com/2012/the-marriage-gap-in-the-womens-vote|archive-date=October 31, 2014|url-status=dead}}&amp;lt;/ref&amp;gt; Obama won unmarried women 67–31%.&amp;lt;ref&amp;gt;{{cite news|first=Suzanne|last=Goldenberg|date=November 9, 2012|title=Single women voted overwhelmingly in favour of Obama, researchers find|newspaper=[[The Guardian]]|url=https://www.theguardian.com/world/2012/nov/09/single-women-voted-favour-obama|access-date=December 11, 2014|archive-url=https://web.archive.org/web/20141231035001/http://www.theguardian.com/world/2012/nov/09/single-women-voted-favour-obama|archive-date=December 31, 2014|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, according to a December 2019 study, &amp;quot;White women are the only group of female voters who support Republican Party candidates for president. They have done so by a majority in all but 2 of the last 18 elections&amp;quot;.&amp;lt;ref&amp;gt;{{Cite journal|last1=Junn|first1=Jane|author-link1=Jane Junn|last2=Masuoka|first2=Natalie|date=2020|title=The Gender Gap Is a Race Gap: Women Voters in US Presidential Elections|journal=Perspectives on Politics|volume=18|issue=4|pages=1135–1145|doi=10.1017/S1537592719003876|issn=1537-5927|doi-access=free}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://www.theatlantic.com/politics/archive/2016/11/white-women-support-gop/507617/|title=White Female Voters Continue to Support the Republican Party|quote=Hard-core partisans don&#039;t switch teams over the personal shortcomings of their champion.|website=[[The Atlantic]]|date=November 14, 2016|access-date=January 30, 2021|archive-date=December 15, 2023|archive-url=https://web.archive.org/web/20231215024943/https://www.theatlantic.com/politics/archive/2016/11/white-women-support-gop/507617/|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Education ===&lt;br /&gt;
{{see also|Educational attainment in the United States}}&lt;br /&gt;
{{multiple image&lt;br /&gt;
 | direction = vertical&lt;br /&gt;
 | total_width = 300&lt;br /&gt;
 | image1 =Non-College White vote by state.jpg&lt;br /&gt;
 | alt1 = Map of the Non-college White vote in the [[2020 United States presidential election|2020 presidential election]] by state.&lt;br /&gt;
 | image2 = College white vote by state.jpg&lt;br /&gt;
 | alt2 = Map of the College White vote in the [[2020 United States presidential election|2020 presidential election]] by state.&lt;br /&gt;
| footer = {{center|&#039;&#039;&#039;Top to bottom:&#039;&#039;&#039;}} Non-College and College White vote in the [[2020 United States presidential election|2020 presidential election]] by state. A key for approximate margins is provided.&amp;lt;ref name=&amp;quot;White Vote and Educational Polarization&amp;quot;&amp;gt;{{Cite web|url=https://split-ticket.org/2022/01/03/the-white-vote-and-educational-polarization/|title=The White Vote and Educational Polarization|first1=Lakshya|last1=Jain|date=January 3, 2022|access-date=January 4, 2025|website=Split Ticket}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
In all three of Donald Trump&#039;s elections in 2016, 2020, and 2024, for White voters lower educational attainment was strongly correlated with higher support for Trump.&amp;lt;ref name=&amp;quot;Nate Silver&amp;quot;&amp;gt;{{Cite web|url=https://fivethirtyeight.com/features/education-not-income-predicted-who-would-vote-for-trump/|title=Education, Not Income, Predicted Who Would Vote For Trump|date=November 22, 2016|website=FiveThirtyEight|first1=Nate|last1=Silver}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Harry Enten&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Higher Education&amp;quot;&amp;gt;{{Cite news |last=Brenan |first=Megan |date=July 11, 2023 |title=Americans&#039; Confidence in Higher Education Down Sharply |work=Gallup |url=https://news.gallup.com/poll/508352/americans-confidence-higher-education-down-sharply.aspx |access-date=July 12, 2023|quote=All Major Subgroups, Led by Republicans, Less Confident in Higher Ed}}&amp;lt;/ref&amp;gt; When controlling for educational attainment among White voters, there still remain large variations by state and region. In particular, college-educated [[White Southerners]] remain strongly Republican.&amp;lt;ref name=&amp;quot;White Vote and Educational Polarization&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Republican Party has steadily increased the percentage of votes it receives from white voters without college degrees since the 1970s, while the [[educational attainment in the United States|educational attainment]] of the United States has steadily increased.&amp;lt;ref name=&amp;quot;cambridge.org&amp;quot; /&amp;gt; White voters without college degrees are more likely to live in rural areas.&amp;lt;ref&amp;gt;{{cite news|url=https://www.cnn.com/2018/06/12/politics/republicans-democrats-different-worlds/index.html|title=Republicans and Democrats increasingly really do occupy different worlds|last=Brownstein|first=Ronald|work=CNN|access-date=October 24, 2018|archive-date=October 24, 2018|archive-url=https://web.archive.org/web/20181024113248/https://www.cnn.com/2018/06/12/politics/republicans-democrats-different-worlds/index.html|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://www.vox.com/2014/9/24/6840037/white-high-school-dropouts-have-more-wealth-than-black-and-hispanic|title=White high school dropouts are wealthier than Black or Latino college graduates|first1=Danielle|last1=Kurtzleben|date=September 24, 2014|website=Vox}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voters with college degrees as a whole were a Republican-voting group until the 1990s. Despite losing in a landslide, Republican nominee [[Barry Goldwater]] nearly won a majority of voters with college degrees 48–52% in [[1964 United States presidential election|1964]].&amp;lt;ref name=&amp;quot;auto&amp;quot;/&amp;gt; Republican president [[Gerald Ford]] won voters with college degrees 55-43% in [[1976 United States presidential election|1976]], while narrowly losing to [[Jimmy Carter]].&amp;lt;ref name=&amp;quot;1976 Presidential Election Data&amp;quot;&amp;gt;{{cite web|url=http://uselectionatlas.org/RESULTS/data.php?year=1976&amp;amp;datatype=national&amp;amp;def=1&amp;amp;f=0&amp;amp;off=0&amp;amp;elect=0|title=1976 Presidential General Election Data – National|access-date=March 18, 2013|archive-date=August 14, 2020|archive-url=https://web.archive.org/web/20200814021625/https://uselectionatlas.org/RESULTS/data.php?year=1976&amp;amp;datatype=national&amp;amp;def=1&amp;amp;f=0&amp;amp;off=0&amp;amp;elect=0|url-status=live}}&amp;lt;/ref&amp;gt; Since the 1990s, a majority of voters with graduate degrees have consistently voted for the Democratic Party. For example, [[George W. Bush]] won voters with just a bachelor&#039;s degree 52-46% while losing voters with a graduate degree 44–55%, while winning re-election in [[2004 United States presidential election|2004]].&amp;lt;ref&amp;gt;{{cite news |title=CNN.com Election 2004 |url=http://www.cnn.com/ELECTION/2004/pages/results/states/US/P/00/epolls.0.html |access-date=January 2, 2018 |publisher=CNN |archive-date=May 14, 2007 |archive-url=https://web.archive.org/web/20070514025413/http://www.cnn.com/ELECTION/2004/pages/results/states/US/P/00/epolls.0.html |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Until 2016, white voters with college degrees were a Republican-leaning group.&amp;lt;ref name=&amp;quot;Polarization by education&amp;quot;/&amp;gt; Despite Obama&#039;s decisive [[2008 United States presidential election|2008]] victory, Republican nominee [[John McCain]] won a majority of white voters with college degrees 51-47% and white voters without college degrees 58-40%.&amp;lt;ref&amp;gt;{{cite news|url=http://www.cnn.com/ELECTION/2008/results/polls/#val=USP00p1|title=National Exit Poll|publisher=CNN|access-date=January 28, 2013|archive-date=June 5, 2010|archive-url=https://web.archive.org/web/20100605132422/http://www.cnn.com/ELECTION/2008/results/polls/#val=USP00p1|url-status=live}}&amp;lt;/ref&amp;gt; In [[2012 United States presidential election|2012]], Republican nominee [[Mitt Romney]] won white voters with college degrees 56-42%, though Obama won voters with college degrees as a whole 50-48% while winning re-election.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.pewresearch.org/short-reads/2016/09/15/educational-divide-in-vote-preferences-on-track-to-be-wider-than-in-recent-elections/|date=September 15, 2016|website=Pew Research Center|title=Educational divide in vote preferences on track to be wider than in recent elections|first1=Rob|last1=Suls}}&amp;lt;/ref&amp;gt; Since the 2010s,&amp;lt;ref name=&amp;quot;Polarization by education&amp;quot;&amp;gt;{{Cite news|url=https://www.economist.com/united-states/2024/10/13/polarisation-by-education-is-remaking-american-politics|title=Polarisation by education is remaking American politics|newspaper=The Economist|date=October 13, 2024|quote=From 1952 to 2000, a majority of white voters with college degrees self-identified as Republicans. Starting with the 2012 election, this affiliation began to weaken. It loosened even more once [Donald] Trump became the Republican standard-bearer in 2016. By 2020, the college-educated called themselves Democrats by a 2:1 margin. And there were many more of them; their share of the electorate rose from 8% in 1952 to 40% in 2020. Had the party held on to the rest of its support, this would have ensured an enduring majority. Yet at the same time, Democrats lost support among whites without college degrees. They now favour Republicans by their own margin of 2:1.}}&amp;lt;/ref&amp;gt; white voters with college degrees have been increasingly voting for the Democratic Party.&amp;lt;ref name=&amp;quot;nymag.com&amp;quot;&amp;gt;{{cite web|url=https://nymag.com/intelligencer/2022/10/education-polarization-diploma-divide-democratic-party-working-class.html|title=How the Diploma Divide Is Remaking American Politics|first1=Eric|last1=Levitz|website=[[New York (magazine)|New York Intelligencer]]|date=October 19, 2022|access-date=April 24, 2023|archive-date=October 20, 2022|archive-url=https://web.archive.org/web/20221020215535/https://nymag.com/intelligencer/2022/10/education-polarization-diploma-divide-democratic-party-working-class.html|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;nytimes.com&amp;quot;&amp;gt;{{cite web|url=https://www.nytimes.com/2023/04/17/opinion/education-american-politics.html|title=The &#039;Diploma Divide&#039; Is the New Fault Line in American Politics|website=[[The New York Times]]|date=April 17, 2023|access-date=April 24, 2023|first1=Doug|last1=Sosnik|archive-date=April 24, 2023|archive-url=https://web.archive.org/web/20230424073901/https://www.nytimes.com/2023/04/17/opinion/education-american-politics.html|url-status=live}}&amp;lt;/ref&amp;gt; Following the 2016 presidential election, exit polls indicated that &amp;quot;Donald Trump attracted a large share of the vote from Whites without a college degree, receiving 72 percent of the White non-college male vote and 62 percent of the White non-college female vote.&amp;quot; Overall, 52% of voters with college degrees voted for Hillary Clinton in 2016, while 52% of voters without college degrees voted for Trump.&amp;lt;ref&amp;gt;{{cite web|url=https://www.brookings.edu/blog/fixgov/2016/11/18/educational-rift-in-2016-election/|title=The educational rift in the 2016 election|first=William A. Galston and Clara|last=Hendrickson|date=November 18, 2016|access-date=March 7, 2019|archive-url=https://web.archive.org/web/20190308080815/https://www.brookings.edu/blog/fixgov/2016/11/18/educational-rift-in-2016-election/|archive-date=March 8, 2019|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the [[2020 United States presidential election]], Donald Trump won white voters without college degrees 67-32%, while losing white voters with a college degree 48–51%.&amp;lt;ref name=&amp;quot;nymag.com&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;nytimes.com&amp;quot;/&amp;gt;&amp;lt;ref name=cnn2020PresidentialResults/&amp;gt; In the [[2024 United States presidential election]], Trump maintained his margins among white voters without college degrees 66-32% and lost white voters with a college degree 45-52%. In 2024, Trump won 56% of voters without a college degree, compared to 42% of voters with a college degree.&amp;lt;ref name=&amp;quot;Exit poll results 2024&amp;quot;&amp;gt;{{cite news|date=November 6, 2024|title=Exit poll results 2024|url=https://www.cnn.com/election/2024/exit-polls/national-results/general/president/0|access-date=November 6, 2024|publisher=CNN}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ethnicity ===&lt;br /&gt;
{{see also|Race and ethnicity in the United States}}&lt;br /&gt;
{{multiple image&lt;br /&gt;
 | direction = vertical&lt;br /&gt;
 | total_width = 300&lt;br /&gt;
 | image1 =White vote by state margin.jpg&lt;br /&gt;
 | alt1 = White vote in the [[2020 United States presidential election|2020 presidential election]] by state&lt;br /&gt;
 | image2 = White Vote by County in 2020.jpg&lt;br /&gt;
 | alt2 = White vote in the [[2020 United States presidential election|2020 presidential election]] by county&lt;br /&gt;
| footer = {{center|&#039;&#039;&#039;Top to bottom:&#039;&#039;&#039;}} White vote in the [[2020 United States presidential election|2020 presidential election]] by state and county. A key for approximate margins is provided for states, while the county map uses [[binary classification]].&amp;lt;ref name=&amp;quot;White Voters&amp;quot;&amp;gt;{{Cite web|url=https://split-ticket.org/2023/03/24/where-do-democrats-win-white-voters/|title=Where Do Democrats Win White Voters?|website=Split Ticket|first1=Lakshya|last1=Jain|first2=Harrison|last2=Lavelle|first3=Armin|last3=Thomas|access-date=December 20, 2024|date=March 24, 2023|quote=More generally, evangelicalism is heavily correlated with Republican vote share among whites, and so its relative absence in secular and Catholic areas helps explain why these regions tend to have higher-than-expected white Democratic vote shares. Meanwhile, Protestant denominations that affiliate with evangelicalism are much more Republican. Nowhere is this religious and cultural contrast among similarly-educated white voters on greater display than in the South. Southern rural areas have some of the highest levels of religiosity and racial polarization in the nation, and this combination makes them much more Republican than similarly-white areas elsewhere in the country — in fact, Democrats did not win the white vote in a single rural county in the South. But this is not just limited to rural areas; Biden still failed to win the white vote in diverse, Democratic-trending Atlanta metro counties like Gwinnett and Cobb, and the surprisingly more Republican white splits extend to other southern metros, such as Fort Worth and the Charlotte suburbs. This likely has a good deal to do with southern cultural conservatism, which is elevated relative to the nation thanks in part to marked Protestant religiosity, particularly among white Baptists. For this reason, support for abortion is exceptionally high in the Midwest, but extremely low in the South. &#039;&#039;&#039;This regional mix of religiosity and racial polarization results in something quite striking: whites in virtually every southern county are significantly more Republican than their northern counterparts.&#039;&#039;&#039;}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Cohn-2014&amp;quot;/&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Republicans have consistently won the White vote in every presidential election after the [[1964 United States presidential election|1964 presidential election]].&amp;lt;ref&amp;gt;{{cite journal|last1=Miller|first1=Gary|last2=Schofield|first2=Norman|year=2008|title=The Transformation of the Republican and Democratic Party Coalitions in the U.S.|journal=Perspectives on Politics|volume=6|issue=3|pages=433–450|doi=10.1017/S1537592708081218|s2cid=145321253|issn=1541-0986|quote=1964 was the last presidential election in which the Democrats earned more than 50 percent of the white vote in the United States.}}&amp;lt;/ref&amp;gt; There exist large variations among White voters by region and state. In particular, Republicans lose White voters in the [[Northeastern United States|Northeast]], parts of the [[Upper Midwest]] and [[West Coast of the United States|West Coast]].&amp;lt;ref name=&amp;quot;White Voters&amp;quot;/&amp;gt; Republicans are strongest with [[White Southerners]], particularly White [[evangelical Christianity|evangelical Christians]] in the [[Bible Belt]], which covers most of the [[Southern United States]]. White Southerners with college degrees remain strongly Republican. In some [[Deep South]] states, Whites vote nearly as Republican as African Americans vote Democratic. In the 2024 presidential election, Trump won White Southerners 67-32%.&amp;lt;ref name=&amp;quot;Cohn-2014&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Republicans have been winning under 15% of the African American vote in national elections since 1980. Until the [[New Deal]] of the 1930s, Black people supported the Republican Party by large margins.&amp;lt;ref name=South&amp;gt;In the South, they were often not allowed to vote, but still received some Federal patronage appointments from the Republicans&amp;lt;/ref&amp;gt; Black delegates were a sizable share of southern delegates to the national Republican convention from Reconstruction until the start of the 20th century when their share began to decline.&amp;lt;ref&amp;gt;{{Cite journal|last1=Heersink|first1=Boris|last2=Jenkins|first2=Jeffery A.|date=2020|title=Whiteness and the Emergence of the Republican Party in the Early Twentieth-Century South|url=https://www.cambridge.org/core/journals/studies-in-american-political-development/article/whiteness-and-the-emergence-of-the-republican-party-in-the-early-twentiethcentury-south/899B4B98A78353683C3C6050DFA5771B/core-reader|journal=Studies in American Political Development|volume=34|pages=71–90|doi=10.1017/S0898588X19000208|s2cid=213551748|issn=0898-588X|access-date=January 11, 2020|archive-date=February 22, 2021|archive-url=https://web.archive.org/web/20210222013516/https://www.cambridge.org/core/journals/studies-in-american-political-development/article/abs/whiteness-and-the-emergence-of-the-republican-party-in-the-early-twentiethcentury-south/899B4B98A78353683C3C6050DFA5771B|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt; Black people shifted in large margins to the Democratic Party in the 1930s, when Black politicians such as Arthur Mitchell and William Dawson supported the New Deal because it would better serve the interest of Black Americans.&amp;lt;ref&amp;gt;{{Cite web |title=Party Realignment – US House of Representatives: History, Art &amp;amp; Archives |url=https://history.house.gov/Exhibitions-and-Publications/BAIC/Historical-Essays/Temporary-Farewell/Party-Realignment/ |access-date=June 24, 2020 |website=history.house.gov |archive-date=December 21, 2020 |archive-url=https://web.archive.org/web/20201221074318/https://history.house.gov/Exhibitions-and-Publications/BAIC/Historical-Essays/Temporary-Farewell/Party-Realignment/ |url-status=live }}&amp;lt;/ref&amp;gt; Black voters would become one of the core components of the [[New Deal coalition]]. In the South, after the [[Voting Rights Act]] to prohibit racial discrimination in elections was passed by a bipartisan coalition in 1965, Black people were able to vote again and ever since have formed a significant portion (20–50%) of the Democratic vote in that region.&amp;lt;ref name=Sitkoff&amp;gt;Harvard Sitkoff, &#039;&#039;A New Deal for Blacks&#039;&#039; (1978).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the 2010 elections, two African American Republicans, [[Tim Scott]] and [[Allen West (politician)|Allen West]], were elected to the House of Representatives. As of January 2023, there are four African-American Republicans in the House of Representatives and one African American Republican in the United States Senate.&amp;lt;ref name=Holmes2010&amp;gt;{{cite news|author=L. A. Holmes|url=http://politics.blogs.foxnews.com/2010/11/03/black-republicans-win-first-congress-seats-2003|archive-url=https://web.archive.org/web/20101104213733/http://politics.blogs.foxnews.com/2010/11/03/black-republicans-win-first-congress-seats-2003|url-status=dead|archive-date=November 4, 2010|title=Black Republicans Win First Congress Seats Since 2003|publisher=[[Fox News]]|date=April 7, 2010|access-date=January 30, 2011}}&amp;lt;/ref&amp;gt; In recent decades, Republicans have been moderately successful in gaining support from [[Hispanic]] and [[Asian American]] voters. George W. Bush, who campaigned energetically for Hispanic votes, received 35% of their vote in 2000 and 44% in 2004.&amp;lt;ref&amp;gt;{{Cite web |title=CNN.com Election 2004 |url=https://www.cnn.com/ELECTION/2004/pages/results/states/US/P/00/epolls.0.html |access-date=January 12, 2023 |website=www.cnn.com |archive-date=January 4, 2023 |archive-url=https://web.archive.org/web/20230104035510/https://www.cnn.com/ELECTION/2004/pages/results/states/US/P/00/epolls.0.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Leal |first=David |date=2004 |title=The Latino Vote in the 2004 Election |url=http://mattbarreto.com/papers/2004vote.pdf |url-status=live |archive-url=https://web.archive.org/web/20170128155620/http://mattbarreto.com/papers/2004vote.pdf |archive-date=January 28, 2017 |access-date=January 12, 2023 |website=mattbarreto.com/}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=2004cnnexitpolls&amp;gt;{{cite news|title=Exit Polls|work=[[CNN]]|url=http://www.cnn.com/ELECTION/2004/pages/results/states/US/P/00/epolls.4.html|date=November 2, 2004|access-date=November 18, 2006|archive-url=https://web.archive.org/web/20060421062126/http://www.cnn.com/ELECTION/2004/pages/results/states/US/P/00/epolls.4.html|archive-date=April 21, 2006|url-status=live}}&amp;lt;/ref&amp;gt; The party&#039;s strong anti-communist stance has made it popular among some minority groups from current and former Communist states, in particular [[Cuban American]]s, [[Korean American]]s, [[Chinese American]]s and [[Vietnamese American]]s. The 2007 election of [[Bobby Jindal]] as Governor of Louisiana was hailed as pathbreaking.&amp;lt;ref name=BBC7412&amp;gt;{{cite news|url=http://news.bbc.co.uk/2/hi/americas/7907412.stm|title=Americas Profile: Bobby Jindal|work=[[BBC News]]|date=February 25, 2009|access-date=May 16, 2010|archive-url=https://web.archive.org/web/20101102154911/http://news.bbc.co.uk/2/hi/americas/7907412.stm|archive-date=November 2, 2010|url-status=live}}&amp;lt;/ref&amp;gt; Jindal became the first elected minority governor in [[Louisiana]] and the first state governor of [[Non-resident Indian and person of Indian origin|Indian]] descent.&amp;lt;ref name=deccanherald&amp;gt;{{cite news|url=http://www.deccanherald.com/content/31998/bobby-jindal-may-become-first.html|title=Bobby Jindal may become first Indian-American to be US prez|newspaper=Deccan Herald|date=October 23, 2009|access-date=May 16, 2010|archive-url=https://web.archive.org/web/20100420065245/http://www.deccanherald.com/content/31998/bobby-jindal-may-become-first.html|archive-date=April 20, 2010|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Republicans have gained support among racial and ethnic minorities, particularly among those who are working class, Hispanic or Latino, or Asian American since the 2010s.&amp;lt;ref&amp;gt;{{Cite web |title=Vietnamese Americans and Donald Trump – DW – 11/23/2020 |url=https://www.dw.com/en/trump-popular-among-vietnamese-americans/a-55702032 |access-date=January 18, 2023 |website=dw.com |language=en |archive-date=January 14, 2023 |archive-url=https://web.archive.org/web/20230114184033/https://www.dw.com/en/trump-popular-among-vietnamese-americans/a-55702032 |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Teixeira-2022&amp;quot;&amp;gt;{{Cite web |last=Teixeira |first=Ruy |author-link=Ruy Teixeira |date=November 6, 2022 |title=Democrats&#039; Long Goodbye to the Working Class |url=https://www.theatlantic.com/ideas/archive/2022/11/democrats-long-goodbye-to-the-working-class/672016/ |access-date=November 8, 2022 |website=[[The Atlantic]] |language=en |quote=As we move into the endgame of the 2022 election, the Democrats face a familiar problem. America&#039;s historical party of the working class keeps losing working-class support. And not just among White voters. Not only has the emerging Democratic majority I once predicted failed to materialize, but many of the non-White voters who were supposed to deliver it are instead voting for Republicans... From 2012 to 2020, the Democrats not only saw their support among White working-class voters — those without college degrees — crater, they also saw their advantage among non-White working-class voters fall by 18 points. And between 2016 and 2020 alone, the Democratic advantage among Hispanic voters declined by 16 points, overwhelmingly driven by the defection of working-class voters. In contrast, Democrats&#039; advantage among White college-educated voters improved by 16 points from 2012 to 2020, an edge that delivered Joe Biden the White House. |archive-date=January 7, 2023 |archive-url=https://web.archive.org/web/20230107212010/https://www.theatlantic.com/ideas/archive/2022/11/democrats-long-goodbye-to-the-working-class/672016/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Cohn-2022&amp;quot;&amp;gt;{{Cite news |last=Cohn |first=Nate |date=July 13, 2022 |title=Poll Shows Tight Race for Control of Congress as Class Divide Widens |language=en-US |work=[[The New York Times]] |url=https://www.nytimes.com/2022/07/13/upshot/poll-2022-midterms-congress.html |access-date=August 27, 2022 |issn=0362-4331 |quote=But the cofluence of economic problems and resurgent cultural issues has helped turn the emerging class divide in the Democratic coalition into a chasm, as Republicans appear to be making new inroads among non-White and working class voters... For the first time in a Times/Siena national survey, Democrats had a larger share of support among White college graduates than among non-White voters – a striking indication of the shifting balance of political energy... |archive-date=July 20, 2022 |archive-url=https://web.archive.org/web/20220720164749/https://www.nytimes.com/2022/07/13/upshot/poll-2022-midterms-congress.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Zitner-2022&amp;quot;&amp;gt;{{Cite web |last1=Zitner |first1=Aaron |last2=Mena |first2=Bryan |date=October 2, 2022 |title=Working-Class Latino Voters, Once Solidly Democratic, Are Shifting Toward Republicans |url=https://www.wsj.com/story/working-class-latino-voters-once-solidly-democratic-are-shifting-toward-republicans-a7578ecc |access-date=October 3, 2022 |website=[[Wall Street Journal]] |quote=Latinos across America are splitting among economic lines, with a pronounced shift among working-class voters toward the Republican party. |archive-date=October 8, 2022 |archive-url=https://web.archive.org/web/20221008131525/https://www.wsj.com/story/working-class-latino-voters-once-solidly-democratic-are-shifting-toward-republicans-a7578ecc |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Kraushaar-2022a&amp;quot;&amp;gt;{{Cite web |last=Kraushaar |first=Josh |date=July 14, 2022 |title=The Great American Realignment |url=https://www.axios.com/2022/07/14/republicans-democrats-hispnanic-voters |access-date=August 2, 2022 |website=[[Axios (website)|Axios]] |language=en |quote=Shifts in the demographics of the two parties&#039; supporters — taking place before our eyes — are arguably the biggest political story of our time. Republicans are becoming more working class and a little more multiracial. Democrats are becoming more elite and a little more White... |archive-date=July 20, 2022 |archive-url=https://web.archive.org/web/20220720132417/https://www.axios.com/2022/07/14/republicans-democrats-hispnanic-voters |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Kraushaar-2022b&amp;quot;&amp;gt;{{Cite web |last=Kraushaar |first=Josh |date=July 13, 2022 |title=The Democratic electorate&#039;s seismic shift |url=https://www.axios.com/2022/07/13/democrats-biden-white-college-graduates-poll |access-date=August 2, 2022 |website=[[Axios (website)|Axios]] |language=en |quote=Democrats are becoming the party of upscale voters concerned more about issues like gun control and abortion rights. Republicans are quietly building a multiracial coalition of working-class voters, with inflation as an accelerant... In the Times/Siena poll, Ds hold a 20-point advantage over Rs among White college-educated voters — but are statistically tied among Hispanics. |archive-date=July 20, 2022 |archive-url=https://web.archive.org/web/20220720140825/https://www.axios.com/2022/07/13/democrats-biden-white-college-graduates-poll |url-status=live }}&amp;lt;/ref&amp;gt; According to [[John Avlon]], in 2013, the Republican party was more ethnically diverse at the statewide elected official level than the Democratic Party was; GOP statewide elected officials included Latino Nevada Governor [[Brian Sandoval]] and African-American U.S. senator [[Tim Scott]] of South Carolina.&amp;lt;ref&amp;gt;{{cite news|title=GOP&#039;s surprising edge on diversity|first=John|last=Avlon|url=http://www.cnn.com/2013/01/18/opinion/avlon-gop-diversity/index.html?c=&amp;amp;page=0|work=[[CNN]]|date=January 18, 2013|access-date=January 22, 2013|archive-url=https://web.archive.org/web/20130131025447/http://www.cnn.com/2013/01/18/opinion/avlon-gop-diversity/index.html?c=&amp;amp;page=0|archive-date=January 31, 2013|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the [[2008 United States presidential election|2008 presidential election]], Republican presidential candidate [[John McCain]] won 55% of White votes, 35% of Asian votes, 31% of Hispanic votes and 4% of African American votes.&amp;lt;ref name=pewresearch&amp;gt;[http://pewresearch.org/pubs/1209/racial-ethnic-voters-presidential-election?src=prc-latest&amp;amp;proj=peoplepress &amp;quot;Dissecting the 2008 Electorate: Most Diverse in U.S. History&amp;quot;] {{webarchive|url=https://web.archive.org/web/20120618075224/http://pewresearch.org/pubs/1209/racial-ethnic-voters-presidential-election?src=prc-latest&amp;amp;proj=peoplepress|date=June 18, 2012}}. Pew Research Center. April 30, 2009.&amp;lt;/ref&amp;gt; In 2012, 88% of Romney voters were White while 56% of Obama voters were White.&amp;lt;ref&amp;gt;Tom Scocca, &amp;quot;Eighty-Eight Percent of Romney Voters Were White&amp;quot;, [http://www.slate.com/articles/news_and_politics/scocca/2012/11/mitt_romney_white_voters_the_gop_candidate_s_race_based_monochromatic_campaign.html &#039;&#039;Slate&#039;&#039; November 7, 2012] {{Webarchive|url=https://web.archive.org/web/20150706035304/http://www.slate.com/articles/news_and_politics/scocca/2012/11/mitt_romney_white_voters_the_gop_candidate_s_race_based_monochromatic_campaign.html |date=July 6, 2015 }}&amp;lt;/ref&amp;gt; In the [[2024 United States presidential election|2024 presidential election]], Trump won 57% of White voters, 46% of Hispanic voters, 39% of Asian voters, and 13% of African American voters.&amp;lt;ref name=&amp;quot;Exit poll results 2024&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Donald Trump]] won the popular vote in the [[2024 United States presidential election]] as White voters without college degrees still strongly backed him, in addition to the gains made with Asian and Latino voters in comparison to the [[2020 United States presidential election]]. As a whole, 84% of Trump voters were White.&amp;lt;ref&amp;gt;{{Cite web |title=Trump gained some minority voters, but the GOP is hardly a multiracial coalition |url=https://www.brookings.edu/articles/trump-gained-some-minority-voters-but-the-gop-is-hardly-a-multiracial-coalition/ |access-date=28 November 2024 |website=Brookings |language=en-US}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Religious communities ===&lt;br /&gt;
{{main|Religion and politics in the United States|Bible Belt}}&lt;br /&gt;
{{see also|The Church of Jesus Christ of Latter-day Saints and politics in the United States}}&lt;br /&gt;
Religion has always played a major role for both parties, but in the course of a century, the parties&#039; religious compositions have changed. Religion was a major dividing line between the parties before [[1960 United States presidential election|1960]], with Catholics, Jews, and southern Protestants heavily Democratic and northeastern Protestants heavily Republican. Most of the old differences faded away after the realignment of the 1970s and 1980s that undercut the New Deal coalition.&amp;lt;ref&amp;gt;To some extent the [[United States Supreme Court]] decision &#039;&#039;[[Roe v. Wade]]&#039;&#039; (1973) caused American Christians to blur their historical division along the line between Catholics and Protestants and instead to realign as conservatives or liberals, irrespective of the [[Protestant Reformation|Reformation Era]] distinction.&amp;lt;/ref&amp;gt; Since 1980, a large majority of [[Evangelicalism|evangelicals]] has voted Republican; 70–80% voted for Bush in 2000 and 2004 and 70% for Republican House candidates in [[United States general elections, 2006|2006]].&lt;br /&gt;
&lt;br /&gt;
Members of the Mormon faith had a mixed relationship with Donald Trump during his tenure, despite 67% of them voting for him in [[2016 United States presidential election|2016]] and 56% of them supporting his presidency in [[2018 United States elections|2018]], disapproving of his personal behavior such as that shown during the [[Donald Trump Access Hollywood tape|&#039;&#039;Access Hollywood&#039;&#039; controversy]].&amp;lt;ref&amp;gt;{{cite news|url=https://www.theguardian.com/world/2018/feb/15/mormons-want-to-save-the-republican-partys-soul-but-is-it-too-late|title=Mormons want to save the Republican party&#039;s soul. But is it too late?|first=J. Oliver|last=Conroy|website=[[The Guardian]]|date=February 15, 2018|access-date=May 7, 2020|archive-date=November 9, 2020|archive-url=https://web.archive.org/web/20201109035828/https://www.theguardian.com/world/2018/feb/15/mormons-want-to-save-the-republican-partys-soul-but-is-it-too-late|url-status=live}}&amp;lt;/ref&amp;gt; In the [[2020 United States presidential election in Utah]], Trump won the state by about 21.5%, by a margin more than 20% lower compared to Mitt Romney (who is Mormon) in [[2012 United States presidential election in Utah|2012]] and George W. Bush in [[2004 United States presidential election in Utah|2004]]. Their opinion on Trump had not affected their party affiliation, however, as 76% of Mormons in 2018 expressed preference for generic Republican congressional candidates.&amp;lt;ref&amp;gt;{{cite news|url=https://www.sltrib.com/religion/2018/11/29/most-mormons-voted/|title=Most Mormons voted Republican in the midterms—but their Trump approval rating continues to decline, study finds|first1=Hannah|last1=Fingerhut|first2=Brady|last2=McCombs|website=The Salt Lake Tribune|date=November 29, 2018|access-date=May 7, 2020|archive-date=January 11, 2021|archive-url=https://web.archive.org/web/20210111065741/https://www.sltrib.com/religion/2018/11/29/most-mormons-voted/|url-status=live}}&amp;lt;/ref&amp;gt; Similarly, while Trump again won majority-Mormon [[2024 United States presidential election in Utah|Utah in 2024]], the state had one of the smallest swings to the right and Trump&#039;s 22% margin was well below that of prior Republican presidential nominees.&amp;lt;ref&amp;gt;{{Cite web |date=8 November 2024 |title=A &#039;blue trickle&#039; against the red wave? Utah may skew slightly to the left |url=https://www.fox13now.com/news/politics/a-blue-trickle-against-the-red-wave-utah-may-skew-slightly-to-the-left |access-date=20 November 2024 |website=FOX 13 News Utah (KSTU) |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Jews continue to vote 70–80% Democratic; however, a slim majority of [[Orthodox Judaism|Orthodox Jews]] voted for the Republican Party in 2016, following years of growing Orthodox Jewish support for the party due to its social conservatism and increasingly pro-Israel foreign policy stance.&amp;lt;ref name=&amp;quot;Sales-Adkins-2020&amp;quot;&amp;gt;{{cite news|work=[[Jewish Telegraphic Agency]]|title=&#039;I think it&#039;s Israel&#039;: How Orthodox Jews became Republicans|date=February 3, 2020|url=https://www.jta.org/2020/02/03/politics/i-think-its-israel-how-orthodox-jews-became-republicans|access-date=June 12, 2020|archive-date=January 15, 2021|archive-url=https://web.archive.org/web/20210115111043/https://www.jta.org/2020/02/03/politics/i-think-its-israel-how-orthodox-jews-became-republicans|url-status=live}}&amp;lt;/ref&amp;gt; Over 70% of Orthodox Jews identify as Republican or Republican leaning as of 2021.&amp;lt;ref&amp;gt;{{Cite web |last=Hanau |first=Shira |date=May 11, 2021 |title=New Pew study shows 75% of Orthodox Jews identify as Republicans, up from 57% in 2013 |url=https://www.jta.org/2021/05/11/united-states/new-pew-study-shows-75-of-orthodox-jews-identify-as-republicans-up-from-57-in-2013 |access-date=November 23, 2022 |website=Jewish Telegraphic Agency |language=en-US |archive-date=November 8, 2022 |archive-url=https://web.archive.org/web/20221108140806/https://www.jta.org/2021/05/11/united-states/new-pew-study-shows-75-of-orthodox-jews-identify-as-republicans-up-from-57-in-2013 |url-status=live }}&amp;lt;/ref&amp;gt; An exit poll conducted by the [[Associated Press]] for 2020 found 35% of [[Muslims]] voted for Donald Trump.&amp;lt;ref&amp;gt;{{cite news|url=https://www.npr.org/2020/11/03/929478378/understanding-the-2020-electorate-ap-votecast-survey|title=Understanding The 2020 Electorate: AP VoteCast Survey|work=[[NPR]]|date=November 3, 2020|access-date=November 17, 2020|archive-date=February 19, 2021|archive-url=https://web.archive.org/web/20210219064318/https://www.npr.org/2020/11/03/929478378/understanding-the-2020-electorate-ap-votecast-survey|url-status=live}}&amp;lt;/ref&amp;gt; The mainline traditional Protestants (Methodists, Lutherans, Presbyterians, Episcopalians and Disciples) have dropped to about 55% Republican (in contrast to 75% before 1968). Democrats have close links with the African American churches, especially the [[National Baptist Convention, USA, Inc.|National Baptists]], while their historic dominance among Catholic voters has eroded to 54–46 in the 2010 midterms.&amp;lt;ref&amp;gt;{{cite web|url=http://pewresearch.org/pubs/1791/2010-midterm-elections-exit-poll-religion-vote|title=Religion in the 2010 Elections|publisher=[[Pew Research Center]]|date=November 3, 2010|access-date=January 30, 2011|archive-url=https://web.archive.org/web/20110206111210/http://pewresearch.org/pubs/1791/2010-midterm-elections-exit-poll-religion-vote|archive-date=February 6, 2011|url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Although once strongly Democratic, [[Catholic Church in the United States|American Catholic]] voters have been politically divided in the 21st century with 52% of Catholic voters voting for Trump in [[2016 United States presidential election|2016]] and 52% voting for Biden in [[2020 United States presidential election|2020]]. While Catholic Republican leaders try to stay in line with the teachings of the Catholic Church on subjects such as abortion, contraception, euthanasia, and embryonic stem cell research, they tend to differ on the death penalty and same-sex marriage.&amp;lt;ref&amp;gt;{{cite news|last=Lee|url=http://edition.cnn.com/2015/06/18/politics/pope-encyclical-climate-change-catholic-republicans/|title=Pope hands GOP climate change dilemma|work=[[CNN]]|date=June 18, 2015|access-date=July 3, 2015|archive-url=https://web.archive.org/web/20150705234555/http://edition.cnn.com/2015/06/18/politics/pope-encyclical-climate-change-catholic-republicans/|archive-date=July 5, 2015|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Republican presidents ==&lt;br /&gt;
{{see also|List of presidents of the United States|Democratic Party (United States)#Democratic presidents}}&lt;br /&gt;
As of 2025, there have been 19 Republican presidents.&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot; {{vertical header|Order of presidency}}&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|Name (lifespan)&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|Portrait&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|State&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|Presidency&amp;lt;br /&amp;gt;start date&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|Presidency&amp;lt;br /&amp;gt;end date&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|Time in office&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|16&lt;br /&gt;
|{{sortname|Abraham|Lincoln}} (1809–1865)&lt;br /&gt;
|[[File:Abraham Lincoln O-77 matte collodion print.jpg|65px]]&lt;br /&gt;
|[[Illinois]]&lt;br /&gt;
|[[First inauguration of Abraham Lincoln|March 4, 1861]]&lt;br /&gt;
|[[Assassination of Abraham Lincoln|April 15, 1865]]{{efn|name=died|Died in office.}}&lt;br /&gt;
|{{ayd|1861|3|4|1865|4|15}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|18&lt;br /&gt;
|{{sortname|Ulysses S.|Grant}} (1822–1885)&lt;br /&gt;
|[[File:Ulysses S Grant by Brady c1870-restored.jpg|65px]]&lt;br /&gt;
|[[Illinois]]&lt;br /&gt;
|[[First inauguration of Ulysses S. Grant|March 4, 1869]]&lt;br /&gt;
|[[Inauguration of Rutherford B. Hayes|March 4, 1877]]&lt;br /&gt;
|{{ayd|1869|3|4|1877|3|4}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|19&lt;br /&gt;
|{{sortname|Rutherford B.|Hayes}} (1822–1893)&lt;br /&gt;
|[[File:President Rutherford Hayes 1870 - 1880 Restored.jpg|65px]]&lt;br /&gt;
|[[Ohio]]&lt;br /&gt;
|[[Inauguration of Rutherford B. Hayes|March 4, 1877]]&lt;br /&gt;
|[[Inauguration of James A. Garfield|March 4, 1881]]&lt;br /&gt;
|{{ayd|1877|3|4|1881|3|4}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|20&lt;br /&gt;
|{{sortname|James A.|Garfield}} (1831–1881)&lt;br /&gt;
|[[File:James Abram Garfield, photo portrait seated.jpg|65px]]&lt;br /&gt;
|[[Ohio]]&lt;br /&gt;
|[[Inauguration of James A. Garfield|March 4, 1881]]&lt;br /&gt;
|[[Assassination of James A. Garfield|September 19, 1881]]{{efn|name=died|Died in office.}}&lt;br /&gt;
|{{ayd|1881|3|4|1881|9|19}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|21&lt;br /&gt;
|{{sortname|Chester A.|Arthur}} (1829–1886)&lt;br /&gt;
|[[File:Chester A. Arthur by Abraham Bogardus (cropped).jpg|65px]]&lt;br /&gt;
|[[New York (state)|New York]]&lt;br /&gt;
|[[Inauguration of Chester A. Arthur|September 19, 1881]]&lt;br /&gt;
|[[First inauguration of Grover Cleveland|March 4, 1885]]&lt;br /&gt;
|{{ayd|1881|9|19|1885|3|4}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|23&lt;br /&gt;
|{{sortname|Benjamin|Harrison}} (1833–1901)&lt;br /&gt;
|[[File:Benjamin Harrison, head and shoulders bw photo, 1896.jpg|65px]]&lt;br /&gt;
|[[Indiana]]&lt;br /&gt;
|[[Inauguration of Benjamin Harrison|March 4, 1889]]&lt;br /&gt;
|[[Second inauguration of Grover Cleveland|March 4, 1893]]&lt;br /&gt;
|{{ayd|1889|3|4|1893|3|4}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|25&lt;br /&gt;
|{{sortname|William|McKinley}} (1843–1901)&lt;br /&gt;
|[[File:Mckinley.jpg|65px]]&lt;br /&gt;
|[[Ohio]]&lt;br /&gt;
|[[First inauguration of William McKinley|March 4, 1897]]&lt;br /&gt;
|[[Assassination of William McKinley|September 14, 1901]]{{efn|name=died|Died in office.}}&lt;br /&gt;
|{{ayd|1897|3|4|1901|9|14}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|26&lt;br /&gt;
|{{sortname|Theodore|Roosevelt}} (1858–1919)&lt;br /&gt;
|[[File:Theodore Roosevelt by the Pach Bros.jpg|65px]]&lt;br /&gt;
|[[New York (state)|New York]]&lt;br /&gt;
|[[First inauguration of Theodore Roosevelt|September 14, 1901]]&lt;br /&gt;
|[[Inauguration of William Howard Taft|March 4, 1909]]&lt;br /&gt;
|{{ayd|1901|9|14|1909|3|4}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|27&lt;br /&gt;
|{{sortname|William Howard|Taft}} (1857–1930)&lt;br /&gt;
|[[File:Cabinet card of William Howard Taft by Pach Brothers - Cropped to image.jpg|65px]]&lt;br /&gt;
|[[Ohio]]&lt;br /&gt;
|[[Inauguration of William Howard Taft|March 4, 1909]]&lt;br /&gt;
|[[First inauguration of Woodrow Wilson|March 4, 1913]]&lt;br /&gt;
|{{ayd|1909|3|4|1913|3|4}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|29&lt;br /&gt;
|{{sortname|Warren G.|Harding}} (1865–1923)&lt;br /&gt;
|[[File:Warren G Harding-Harris &amp;amp; Ewing.jpg|65px]]&lt;br /&gt;
|[[Ohio]]&lt;br /&gt;
|[[Inauguration of Warren G. Harding|March 4, 1921]]&lt;br /&gt;
|[[Death of Warren G. Harding|August 2, 1923]]{{efn|name=died|Died in office.}}&lt;br /&gt;
|{{ayd|1921|3|4|1923|8|2}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|30&lt;br /&gt;
|{{sortname|Calvin|Coolidge}} (1872–1933)&lt;br /&gt;
|[[File:Calvin Coolidge cph.3g10777 (cropped).jpg|65px]]&lt;br /&gt;
|[[Massachusetts]]&lt;br /&gt;
|[[First inauguration of Calvin Coolidge|August 2, 1923]]&lt;br /&gt;
|[[Inauguration of Herbert Hoover|March 4, 1929]]&lt;br /&gt;
|{{ayd|1923|8|2|1929|3|4}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|31&lt;br /&gt;
|{{sortname|Herbert|Hoover}} (1874–1964)&lt;br /&gt;
|[[File:President Hoover portrait.jpg|65px]]&lt;br /&gt;
|[[California]]&lt;br /&gt;
|[[Inauguration of Herbert Hoover|March 4, 1929]]&lt;br /&gt;
|[[First inauguration of Franklin D. Roosevelt|March 4, 1933]]&lt;br /&gt;
|{{ayd|1929|3|4|1933|3|4}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|34&lt;br /&gt;
|{{sortname|Dwight D.|Eisenhower}} (1890–1969)&lt;br /&gt;
|[[File:Dwight D. Eisenhower, official photo portrait, May 29, 1959 (cropped).jpg|65px]]&lt;br /&gt;
|[[Kansas]]&lt;br /&gt;
|[[First inauguration of Dwight D. Eisenhower|January 20, 1953]]&lt;br /&gt;
|[[Inauguration of John F. Kennedy|January 20, 1961]]&lt;br /&gt;
|{{ayd|1953|1|20|1961|1|20}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|37&lt;br /&gt;
|{{sortname|Richard|Nixon}} (1913–1994)&lt;br /&gt;
|[[File:Richard Nixon presidential portrait (cropped).jpg|65px]]&lt;br /&gt;
|[[California]]&lt;br /&gt;
|[[First inauguration of Richard Nixon|January 20, 1969]]&lt;br /&gt;
|[[Watergate scandal|August 9, 1974]]{{efn|Resigned from office.}}&lt;br /&gt;
|{{ayd|1969|1|20|1974|8|9}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|38&lt;br /&gt;
|{{sortname|Gerald|Ford}} (1913–2006)&lt;br /&gt;
|[[File:Gerald Ford presidential portrait (cropped 2).jpg|65px]]&lt;br /&gt;
|[[Michigan]]&lt;br /&gt;
|[[Inauguration of Gerald Ford|August 9, 1974]]&lt;br /&gt;
|[[Inauguration of Jimmy Carter|January 20, 1977]]&lt;br /&gt;
|{{ayd|1974|8|9|1977|1|20}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|40&lt;br /&gt;
|{{sortname|Ronald|Reagan}} (1911–2004)&lt;br /&gt;
|[[File:Official Portrait of President Reagan 1981-cropped.jpg|65px]]&lt;br /&gt;
|[[California]]&lt;br /&gt;
|[[First inauguration of Ronald Reagan|January 20, 1981]]&lt;br /&gt;
|[[Inauguration of George H. W. Bush|January 20, 1989]]&lt;br /&gt;
|{{ayd|1981|1|20|1989|1|20}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|41&lt;br /&gt;
|{{sortname|George H. W.|Bush}} (1924–2018)&lt;br /&gt;
|[[File:George H. W. Bush presidential portrait (cropped 2).jpg|65px]]&lt;br /&gt;
|[[Texas]]&lt;br /&gt;
|[[Inauguration of George H. W. Bush|January 20, 1989]]&lt;br /&gt;
|[[First inauguration of Bill Clinton|January 20, 1993]]&lt;br /&gt;
|{{ayd|1989|1|20|1993|1|20}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|43&lt;br /&gt;
|{{sortname|George W.|Bush}} (born 1946)&lt;br /&gt;
|[[File:George-W-Bush.jpeg|65px]]&lt;br /&gt;
|[[Texas]]&lt;br /&gt;
|[[First inauguration of George W. Bush|January 20, 2001]]&lt;br /&gt;
|[[First inauguration of Barack Obama|January 20, 2009]]&lt;br /&gt;
|{{ayd|2001|1|20|2009|1|20}}&lt;br /&gt;
|- style=&amp;quot;text-align:left; background:#fff;&amp;quot;&lt;br /&gt;
|45&lt;br /&gt;
|rowspan=2|{{sortname|Donald|Trump}} (born 1946)&lt;br /&gt;
|rowspan=2|[[File:Official Presidential Portrait of President Donald J. Trump (2025).jpg|81x81px]]&lt;br /&gt;
|[[New York (state)|New York]]/&amp;lt;br&amp;gt;[[Florida]]&lt;br /&gt;
|[[First inauguration of Donald Trump|January 20, 2017]]&lt;br /&gt;
|[[Inauguration of Joe Biden|January 20, 2021]]&lt;br /&gt;
|rowspan=2|{{ayd|2021|1|20}}&lt;br /&gt;
|-&lt;br /&gt;
|47&lt;br /&gt;
|Florida&lt;br /&gt;
|[[Second inauguration of Donald Trump|January 20, 2025]]&lt;br /&gt;
|Incumbent&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Recent electoral history==&lt;br /&gt;
=== In congressional elections: 1950–present ===&lt;br /&gt;
{{See also|Party divisions of United States Congresses}}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|+United States&amp;lt;br /&amp;gt;congressional elections&lt;br /&gt;
|-&lt;br /&gt;
!House election year&lt;br /&gt;
!No. of&amp;lt;br /&amp;gt;overall House seats won&lt;br /&gt;
!+/–&lt;br /&gt;
!Presidency&lt;br /&gt;
!No. of&amp;lt;br /&amp;gt;overall Senate seats won&lt;br /&gt;
!+/–{{efn|Comparing seats held immediately preceding and following the general election.}}&lt;br /&gt;
!Senate election year&lt;br /&gt;
|-&lt;br /&gt;
![[1950 United States House of Representatives elections|1950]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|199|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 28&lt;br /&gt;
|{{Party shading/Democratic}}|[[Harry S. Truman]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|47|96|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 5&lt;br /&gt;
![[1950 United States Senate elections|1950]]&lt;br /&gt;
|-&lt;br /&gt;
![[1952 United States House of Representatives elections|1952]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|221|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 22&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot; {{Party shading/Republican}} |[[Dwight D. Eisenhower]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|49|96|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 2&lt;br /&gt;
![[1952 United States Senate elections|1952]]&lt;br /&gt;
|-&lt;br /&gt;
![[1954 United States House of Representatives elections|1954]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|203|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 18&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|47|96|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 2&lt;br /&gt;
![[1954 United States Senate elections|1954]]&lt;br /&gt;
|-&lt;br /&gt;
![[1956 United States House of Representatives elections|1956]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|201|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 2&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|47|96|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{steady}} 0&lt;br /&gt;
![[1956 United States Senate elections|1956]]&lt;br /&gt;
|-&lt;br /&gt;
![[1958 United States House of Representatives elections|1958]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|153|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 48&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|34|98|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 13&lt;br /&gt;
![[1958 United States Senate elections|1958]]&lt;br /&gt;
|-&lt;br /&gt;
![[1960 United States House of Representatives elections|1960]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|175|437|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 22&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; {{Party shading/Democratic}}|[[John F. Kennedy]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|35|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 1&lt;br /&gt;
![[1960 United States Senate elections|1960]]&lt;br /&gt;
|-&lt;br /&gt;
![[1962 United States House of Representatives elections|1962]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|176|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 1&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|34|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 3&lt;br /&gt;
![[1962 United States Senate elections|1962]]&lt;br /&gt;
|-&lt;br /&gt;
![[1964 United States House of Representatives elections|1964]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|140|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 36&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; {{Party shading/Democratic}}|[[Lyndon B. Johnson]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|32|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 2&lt;br /&gt;
![[1964 United States Senate elections|1964]]&lt;br /&gt;
|-&lt;br /&gt;
![[1966 United States House of Representatives elections|1966]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|187|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 47&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|38|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 3&lt;br /&gt;
![[1966 United States Senate elections|1966]]&lt;br /&gt;
|-&lt;br /&gt;
![[1968 United States House of Representatives elections|1968]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|192|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 5&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot; {{Party shading/Republican}}|[[Richard Nixon]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|42|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 5&lt;br /&gt;
![[1968 United States Senate elections|1968]]&lt;br /&gt;
|-&lt;br /&gt;
![[1970 United States House of Representatives elections|1970]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|180|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 12&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|44|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 2&lt;br /&gt;
![[1970 United States Senate elections|1970]]&lt;br /&gt;
|-&lt;br /&gt;
![[1972 United States House of Representatives elections|1972]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|192|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 12&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|41|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 2&lt;br /&gt;
![[1972 United States Senate elections|1972]]&lt;br /&gt;
|-&lt;br /&gt;
![[1974 United States House of Representatives elections|1974]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|144|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 48&lt;br /&gt;
|{{Party shading/Republican}}|[[Gerald Ford]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|38|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 3&lt;br /&gt;
![[1974 United States Senate elections|1974]]&lt;br /&gt;
|-&lt;br /&gt;
![[1976 United States House of Representatives elections|1976]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|143|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 1&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; {{Party shading/Democratic}}|[[Jimmy Carter]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|38|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 1&lt;br /&gt;
![[1976 United States Senate elections|1976]]&lt;br /&gt;
|-&lt;br /&gt;
![[1978 United States House of Representatives elections|1978]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|158|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 15&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|41|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 3&lt;br /&gt;
![[1978 United States Senate elections|1978]]&lt;br /&gt;
|-&lt;br /&gt;
![[1980 United States House of Representatives elections|1980]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|192|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 34&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot; {{Party shading/Republican}}|[[Ronald Reagan]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|53|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 12&lt;br /&gt;
![[1980 United States Senate elections|1980]]&lt;br /&gt;
|-&lt;br /&gt;
![[1982 United States House of Representatives elections|1982]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|166|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 26&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|54|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{steady}} 0&lt;br /&gt;
![[1982 United States Senate elections|1982]]&lt;br /&gt;
|-&lt;br /&gt;
![[1984 United States House of Representatives elections|1984]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|182|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 16&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|53|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{decrease}} 2&lt;br /&gt;
![[1984 United States Senate elections|1984]]&lt;br /&gt;
|-&lt;br /&gt;
![[1986 United States House of Representatives elections|1986]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|177|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 5&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|45|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 8&lt;br /&gt;
![[1986 United States Senate elections|1986]]&lt;br /&gt;
|-&lt;br /&gt;
![[1988 United States House of Representatives elections|1988]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|175|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 2&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; {{Party shading/Republican}}|[[George H. W. Bush]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|45|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 1&lt;br /&gt;
![[1988 United States Senate elections|1988]]&lt;br /&gt;
|-&lt;br /&gt;
![[1990 United States House of Representatives elections|1990]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|167|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 8&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|44|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 1&lt;br /&gt;
![[1990 United States Senate elections|1990]]&lt;br /&gt;
|-&lt;br /&gt;
![[1992 United States House of Representatives elections|1992]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|176|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 9&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot; {{Party shading/Democratic}}|[[Bill Clinton]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|43|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{steady}} 0&lt;br /&gt;
![[1992 United States Senate elections|1992]]&lt;br /&gt;
|-&lt;br /&gt;
![[1994 United States House of Representatives elections|1994]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|230|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 54&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|53|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 8&lt;br /&gt;
![[1994 United States Senate elections|1994]]&lt;br /&gt;
|-&lt;br /&gt;
![[1996 United States House of Representatives elections|1996]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|227|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{decrease}} 3&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|55|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 2&lt;br /&gt;
![[1996 United States Senate elections|1996]]&lt;br /&gt;
|-&lt;br /&gt;
![[1998 United States House of Representatives elections|1998]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|223|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{decrease}} 4&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|55|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{steady}} 0&lt;br /&gt;
![[1998 United States Senate elections|1998]]&lt;br /&gt;
|-&lt;br /&gt;
![[2000 United States House of Representatives elections|2000]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|221|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{decrease}} 2&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot; {{Party shading/Republican}}|[[George W. Bush]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|50|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{decrease}} 4&lt;br /&gt;
![[2000 United States Senate elections|2000]]{{efn|name=tie1|Republican Vice President [[Dick Cheney]] provided a [[List of tie-breaking votes cast by the vice president of the United States|tie-breaking vote]], initially giving Republicans a majority from [[First inauguration of George W. Bush|Inauguration Day]] until [[Jim Jeffords]] left the Republican Party to caucus with the Democrats on June 6, 2001.}}&lt;br /&gt;
|-&lt;br /&gt;
![[2002 United States House of Representatives elections|2002]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|229|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 8&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|51|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 2&lt;br /&gt;
![[2002 United States Senate elections|2002]]&lt;br /&gt;
|-&lt;br /&gt;
![[2004 United States House of Representatives elections|2004]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|232|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 3&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|55|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 4&lt;br /&gt;
![[2004 United States Senate elections|2004]]&lt;br /&gt;
|-&lt;br /&gt;
![[2006 United States House of Representatives elections|2006]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|202|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 30&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|49|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 6&lt;br /&gt;
![[2006 United States Senate elections|2006]]&lt;br /&gt;
|-&lt;br /&gt;
![[2008 United States House of Representatives elections|2008]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|178|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 21&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot; {{Party shading/Democratic}}|[[Barack Obama]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|41|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 8&lt;br /&gt;
![[2008 United States Senate elections|2008]]&lt;br /&gt;
|-&lt;br /&gt;
![[2010 United States House of Representatives elections|2010]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|242|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 63&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|47|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 6&lt;br /&gt;
![[2010 United States Senate elections|2010]]&lt;br /&gt;
|-&lt;br /&gt;
![[2012 United States House of Representatives elections|2012]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|234|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{decrease}} 8&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|45|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 2&lt;br /&gt;
![[2012 United States Senate elections|2012]]&lt;br /&gt;
|-&lt;br /&gt;
![[2014 United States House of Representatives elections|2014]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|247|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 13&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|54|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 9&lt;br /&gt;
![[2014 United States Senate elections|2014]]&lt;br /&gt;
|-&lt;br /&gt;
![[2016 United States House of Representatives elections|2016]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|241|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{decrease}} 6&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; {{Party shading/Republican}}|[[Donald Trump]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|52|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{decrease}} 2&lt;br /&gt;
![[2016 United States Senate elections|2016]]&lt;br /&gt;
|-&lt;br /&gt;
![[2018 United States House of Representatives elections|2018]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|200|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 41&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|53|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 1&lt;br /&gt;
![[2018 United States Senate elections|2018]]&lt;br /&gt;
|-&lt;br /&gt;
![[2020 United States House of Representatives elections|2020]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|213|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{increase}} 13&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot; {{Party shading/Democratic}}|[[Joe Biden]]&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|50|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}| {{decrease}} 3&lt;br /&gt;
![[2020 United States Senate elections|2020]]{{efn|name=tie2|Democratic Vice President [[Kamala Harris]] provided a [[List of tie-breaking votes cast by the vice president of the United States|tie-breaking vote]], giving Democrats a majority from [[Inauguration of Joe Biden|Inauguration Day]] until the end of the [[117th Congress]].}}&lt;br /&gt;
|-&lt;br /&gt;
![[2022 United States House of Representatives elections|2022]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|222|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 9&lt;br /&gt;
|{{Party shading/Democratic}}|{{Composition bar|49|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Democratic}}|{{decrease}} 1&lt;br /&gt;
![[2022 United States Senate elections|2022]]&lt;br /&gt;
|-&lt;br /&gt;
![[2024 United States House of Representatives elections|2024]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|220|435|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{decrease}} 2&lt;br /&gt;
|{{Party shading/Republican}}|[[Donald Trump]]&lt;br /&gt;
|{{Party shading/Republican}}|{{Composition bar|53|100|hex={{party color|Republican Party (United States)}}}}&lt;br /&gt;
|{{Party shading/Republican}}|{{increase}} 4&lt;br /&gt;
![[2024 United States Senate elections|2024]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== In presidential elections: 1856–present ===&lt;br /&gt;
{{See also|List of United States Republican Party presidential tickets}}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Election&lt;br /&gt;
!Presidential ticket&lt;br /&gt;
!Votes&lt;br /&gt;
!Vote %&lt;br /&gt;
!Electoral votes&lt;br /&gt;
!+/–&lt;br /&gt;
!Result&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1856 United States presidential election|1856]]&lt;br /&gt;
|[[John C. Frémont]]&amp;lt;br&amp;gt;[[William L. Dayton]]&lt;br /&gt;
|align=center|1,342,345&lt;br /&gt;
|align=center|33.1&lt;br /&gt;
|align=left|{{Composition bar|114|296|hex=#FF0000}}&lt;br /&gt;
|align=left|&#039;&#039;New party&#039;&#039;&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1860 United States presidential election|1860]]&lt;br /&gt;
|[[Abraham Lincoln]]&amp;lt;br&amp;gt;[[Hannibal Hamlin]]&lt;br /&gt;
|align=center|1,865,908&lt;br /&gt;
|align=center|39.8&lt;br /&gt;
|align=left|{{Composition bar|180|303|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}66&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1864 United States presidential election|1864]]&lt;br /&gt;
|[[Abraham Lincoln]]&amp;lt;br&amp;gt;[[Andrew Johnson]]{{efn|group=upper-alpha|Lincoln and Johnson were nominated by the [[National Union Party (United States)|National Union Party]], a [[American Civil War|wartime]] coalition of Republicans, [[War Democrat]]s, and [[Unconditional Union Party|Unconditional Unionists]].}}&lt;br /&gt;
|align=center|2,218,388&lt;br /&gt;
|align=center|55.0&lt;br /&gt;
|align=left|{{Composition bar|212|233|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}32&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1868 United States presidential election|1868]]&lt;br /&gt;
|[[Ulysses S. Grant]]&amp;lt;br&amp;gt;[[Schuyler Colfax]]&lt;br /&gt;
|align=center|3,013,421&lt;br /&gt;
|align=center|52.7&lt;br /&gt;
|align=left|{{Composition bar|214|294|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}2&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1872 United States presidential election|1872]]&lt;br /&gt;
|[[Ulysses S. Grant]]&amp;lt;br&amp;gt;[[Henry Wilson]]&lt;br /&gt;
|align=center|3,598,235&lt;br /&gt;
|align=center|55.6&lt;br /&gt;
|align=left|{{Composition bar|286|352|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}72&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1876 United States presidential election|1876]]&lt;br /&gt;
|[[Rutherford B. Hayes]]&amp;lt;br&amp;gt;[[William A. Wheeler]]&lt;br /&gt;
|align=center|4,034,311&lt;br /&gt;
|align=center|47.9&lt;br /&gt;
|align=left|{{Composition bar|185|369|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}134&lt;br /&gt;
|{{won}}{{efn|group=upper-alpha|Although Hayes won a majority of votes in the Electoral College, Democrat [[Samuel J. Tilden]] won a majority of the popular vote.}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1880 United States presidential election|1880]]&lt;br /&gt;
|[[James A. Garfield]]&amp;lt;br&amp;gt;[[Chester A. Arthur]]&lt;br /&gt;
|align=center|4,446,158&lt;br /&gt;
|align=center|48.3&lt;br /&gt;
|align=left|{{Composition bar|214|369|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}29&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1884 United States presidential election|1884]]&lt;br /&gt;
|[[James G. Blaine]]&amp;lt;br&amp;gt;[[John A. Logan]]&lt;br /&gt;
|align=center|4,856,905&lt;br /&gt;
|align=center|48.3&lt;br /&gt;
|align=left|{{Composition bar|182|401|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}32&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1888 United States presidential election|1888]]&lt;br /&gt;
|[[Benjamin Harrison]]&amp;lt;br&amp;gt;[[Levi P. Morton]]&lt;br /&gt;
|align=center|5,443,892&lt;br /&gt;
|align=center|47.8&lt;br /&gt;
|align=left|{{Composition bar|233|401|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}51&lt;br /&gt;
|{{won}}{{efn|group=upper-alpha|Although Harrison won a majority of votes in the Electoral College, Democrat [[Grover Cleveland]] won a plurality of the popular vote.}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1892 United States presidential election|1892]]&lt;br /&gt;
|[[Benjamin Harrison]]&amp;lt;br&amp;gt;[[Whitelaw Reid]]&lt;br /&gt;
|align=center|5,176,108&lt;br /&gt;
|align=center|43.0&lt;br /&gt;
|align=left|{{Composition bar|145|444|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}88&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1896 United States presidential election|1896]]&lt;br /&gt;
|[[William McKinley]]&amp;lt;br&amp;gt;[[Garret Hobart]]&lt;br /&gt;
|align=center|7,111,607&lt;br /&gt;
|align=center|51.0&lt;br /&gt;
|align=left|{{Composition bar|271|447|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}126&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1900 United States presidential election|1900]]&lt;br /&gt;
|[[William McKinley]]&amp;lt;br&amp;gt;[[Theodore Roosevelt]]&lt;br /&gt;
|align=center|7,228,864&lt;br /&gt;
|align=center|51.6&lt;br /&gt;
|align=left|{{Composition bar|292|447|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}21&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1904 United States presidential election|1904]]&lt;br /&gt;
|[[Theodore Roosevelt]]&amp;lt;br&amp;gt;[[Charles W. Fairbanks]]&lt;br /&gt;
|align=center|7,630,457&lt;br /&gt;
|align=center|56.4&lt;br /&gt;
|align=left|{{Composition bar|336|476|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}44&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1908 United States presidential election|1908]]&lt;br /&gt;
|[[William Howard Taft]]&amp;lt;br&amp;gt;[[James S. Sherman]]&lt;br /&gt;
|align=center|7,678,395&lt;br /&gt;
|align=center|51.6&lt;br /&gt;
|align=left|{{Composition bar|321|483|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}15&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1912 United States presidential election|1912]]&lt;br /&gt;
|[[William Howard Taft]]&amp;lt;br&amp;gt;[[Nicholas M. Butler]]{{efn|Incumbent vice-president [[James S. Sherman]] was re-nominated as Taft&#039;s running-mate, but died six days prior to the election. Butler was chosen to receive the Republican vice-presidential votes after the election.}}&lt;br /&gt;
|align=center|3,486,242&lt;br /&gt;
|align=center|23.2&lt;br /&gt;
|align=left|{{Composition bar|8|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}313&lt;br /&gt;
|{{lost}}{{efn|group=upper-alpha|Taft finished in third place in both the electoral and popular vote, behind [[Progressive Party (United States, 1912)|Progressive]] [[Theodore Roosevelt]].}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1916 United States presidential election|1916]]&lt;br /&gt;
|[[Charles Evans Hughes|Charles E. Hughes]]&amp;lt;br&amp;gt;[[Charles W. Fairbanks]]&lt;br /&gt;
|align=center|8,548,728&lt;br /&gt;
|align=center|46.1&lt;br /&gt;
|align=left|{{Composition bar|254|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}246&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1920 United States presidential election|1920]]&lt;br /&gt;
|[[Warren G. Harding]]&amp;lt;br&amp;gt;[[Calvin Coolidge]]&lt;br /&gt;
|align=center|16,144,093&lt;br /&gt;
|align=center|60.3&lt;br /&gt;
|align=left|{{Composition bar|404|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}150&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1924 United States presidential election|1924]]&lt;br /&gt;
|[[Calvin Coolidge]]&amp;lt;br&amp;gt;[[Charles G. Dawes]]&lt;br /&gt;
|align=center|15,723,789&lt;br /&gt;
|align=center|54.0&lt;br /&gt;
|align=left|{{Composition bar|382|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}22&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1928 United States presidential election|1928]]&lt;br /&gt;
|[[Herbert Hoover]]&amp;lt;br&amp;gt;[[Charles Curtis]]&lt;br /&gt;
|align=center|21,427,123&lt;br /&gt;
|align=center|58.2&lt;br /&gt;
|align=left|{{Composition bar|444|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}62&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1932 United States presidential election|1932]]&lt;br /&gt;
|[[Herbert Hoover]]&amp;lt;br&amp;gt;[[Charles Curtis]]&lt;br /&gt;
|align=center|15,761,254&lt;br /&gt;
|align=center|39.7&lt;br /&gt;
|align=left|{{Composition bar|59|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}385&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1936 United States presidential election|1936]]&lt;br /&gt;
|[[Alf Landon]]&amp;lt;br&amp;gt;[[Frank Knox]]&lt;br /&gt;
|align=center|16,679,543&lt;br /&gt;
|align=center|36.5&lt;br /&gt;
|align=left|{{Composition bar|8|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}51&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1940 United States presidential election|1940]]&lt;br /&gt;
|[[Wendell Willkie]]&amp;lt;br&amp;gt;[[Charles L. McNary]]&lt;br /&gt;
|align=center|22,347,744&lt;br /&gt;
|align=center|44.8&lt;br /&gt;
|align=left|{{Composition bar|82|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}74&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1944 United States presidential election|1944]]&lt;br /&gt;
|[[Thomas E. Dewey]]&amp;lt;br&amp;gt;[[John W. Bricker]]&lt;br /&gt;
|align=center|22,017,929&lt;br /&gt;
|align=center|45.9&lt;br /&gt;
|align=left|{{Composition bar|99|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}17&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1948 United States presidential election|1948]]&lt;br /&gt;
|[[Thomas E. Dewey]]&amp;lt;br&amp;gt;[[Earl Warren]]&lt;br /&gt;
|align=center|21,991,292&lt;br /&gt;
|align=center|45.1&lt;br /&gt;
|align=left|{{Composition bar|189|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}90&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1952 United States presidential election|1952]]&lt;br /&gt;
|[[Dwight D. Eisenhower]]&amp;lt;br&amp;gt;[[Richard Nixon]]&lt;br /&gt;
|align=center|34,075,529&lt;br /&gt;
|align=center|55.2&lt;br /&gt;
|align=left|{{Composition bar|442|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}253&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1956 United States presidential election|1956]]&lt;br /&gt;
|[[Dwight D. Eisenhower]]&amp;lt;br&amp;gt;[[Richard Nixon]]&lt;br /&gt;
|align=center|35,579,180&lt;br /&gt;
|align=center|57.4&lt;br /&gt;
|align=left|{{Composition bar|457|531|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}15&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1960 United States presidential election|1960]]&lt;br /&gt;
|[[Richard Nixon]]&amp;lt;br&amp;gt;[[Henry Cabot Lodge Jr.]]&lt;br /&gt;
|align=center|34,108,157&lt;br /&gt;
|align=center|49.6&lt;br /&gt;
|align=left|{{Composition bar|219|537|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}238&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1964 United States presidential election|1964]]&lt;br /&gt;
|[[Barry Goldwater]]&amp;lt;br&amp;gt;[[William E. Miller]]&lt;br /&gt;
|align=center|27,175,754&lt;br /&gt;
|align=center|38.5&lt;br /&gt;
|align=left|{{Composition bar|52|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}167&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1968 United States presidential election|1968]]&lt;br /&gt;
|[[Richard Nixon]]&amp;lt;br&amp;gt;[[Spiro Agnew]]&lt;br /&gt;
|align=center|31,783,783&lt;br /&gt;
|align=center|43.4&lt;br /&gt;
|align=left|{{Composition bar|301|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}249&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1972 United States presidential election|1972]]&lt;br /&gt;
|[[Richard Nixon]]&amp;lt;br&amp;gt;[[Spiro Agnew]]&lt;br /&gt;
|align=center|47,168,710&lt;br /&gt;
|align=center|60.7&lt;br /&gt;
|align=left|{{Composition bar|520|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}219&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1976 United States presidential election|1976]]&lt;br /&gt;
|[[Gerald Ford]]&amp;lt;br&amp;gt;[[Bob Dole]]&lt;br /&gt;
|align=center|38,148,634&lt;br /&gt;
|align=center|48.0&lt;br /&gt;
|align=left|{{Composition bar|240|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}280&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1980 United States presidential election|1980]]&lt;br /&gt;
|[[Ronald Reagan]]&amp;lt;br&amp;gt;[[George H. W. Bush]]&lt;br /&gt;
|align=center|43,903,230&lt;br /&gt;
|align=center|50.7&lt;br /&gt;
|align=left|{{Composition bar|489|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}249&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1984 United States presidential election|1984]]&lt;br /&gt;
|[[Ronald Reagan]]&amp;lt;br&amp;gt;[[George H. W. Bush]]&lt;br /&gt;
|align=center|54,455,472&lt;br /&gt;
|align=center|58.8&lt;br /&gt;
|align=left|{{Composition bar|525|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}36&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1988 United States presidential election|1988]]&lt;br /&gt;
|[[George H. W. Bush]]&amp;lt;br&amp;gt;[[Dan Quayle]]&lt;br /&gt;
|align=center|48,886,097&lt;br /&gt;
|align=center|53.4&lt;br /&gt;
|align=left|{{Composition bar|426|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}99&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1992 United States presidential election|1992]]&lt;br /&gt;
|[[George H. W. Bush]]&amp;lt;br&amp;gt;[[Dan Quayle]]&lt;br /&gt;
|align=center|39,104,550&lt;br /&gt;
|align=center|37.4&lt;br /&gt;
|align=left|{{Composition bar|168|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}258&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[1996 United States presidential election|1996]]&lt;br /&gt;
|[[Bob Dole]]&amp;lt;br&amp;gt;[[Jack Kemp]]&lt;br /&gt;
|align=center|39,197,469&lt;br /&gt;
|align=center|40.7&lt;br /&gt;
|align=left|{{Composition bar|159|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}9&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[2000 United States presidential election|2000]]&lt;br /&gt;
|[[George W. Bush]]&amp;lt;br&amp;gt;[[Dick Cheney]]&lt;br /&gt;
|align=center|50,456,002&lt;br /&gt;
|align=center|47.9&lt;br /&gt;
|align=left|{{Composition bar|271|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}112&lt;br /&gt;
|{{won}}{{efn|group=upper-alpha|Although Bush won a majority of votes in the Electoral College, Democrat [[Al Gore]] won a plurality of the popular vote.}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[2004 United States presidential election|2004]]&lt;br /&gt;
|[[George W. Bush]]&amp;lt;br&amp;gt;[[Dick Cheney]]&lt;br /&gt;
|align=center|62,040,610&lt;br /&gt;
|align=center|50.7&lt;br /&gt;
|align=left|{{Composition bar|286|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}15&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[2008 United States presidential election|2008]]&lt;br /&gt;
|[[John McCain]]&amp;lt;br&amp;gt;[[Sarah Palin]]&lt;br /&gt;
|align=center|59,948,323&lt;br /&gt;
|align=center|45.7&lt;br /&gt;
|align=left|{{Composition bar|173|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}113&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[2012 United States presidential election|2012]]&lt;br /&gt;
|[[Mitt Romney]]&amp;lt;br&amp;gt;[[Paul Ryan]]&lt;br /&gt;
|align=center|60,933,504&lt;br /&gt;
|align=center|47.2&lt;br /&gt;
|align=left|{{Composition bar|206|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}33&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[2016 United States presidential election|2016]]&lt;br /&gt;
|[[Donald Trump]]&amp;lt;br&amp;gt;[[Mike Pence]]&lt;br /&gt;
|align=center|62,984,828&lt;br /&gt;
|align=center|46.1&lt;br /&gt;
|align=left|{{Composition bar|304|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}98&lt;br /&gt;
|{{won}}{{efn|group=upper-alpha|Although Trump won a majority of votes in the Electoral College, Democrat [[Hillary Clinton]] won a plurality of the popular vote.}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[2020 United States presidential election|2020]]&lt;br /&gt;
|[[Donald Trump]]&amp;lt;br&amp;gt;[[Mike Pence]]&lt;br /&gt;
|align=center|74,223,975&lt;br /&gt;
|align=center|46.8&lt;br /&gt;
|align=left|{{Composition bar|232|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{decrease}}72&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[2024 United States presidential election|2024]]&lt;br /&gt;
|[[Donald Trump]]&amp;lt;br&amp;gt;[[JD Vance]]&lt;br /&gt;
|align=center|77,302,580&lt;br /&gt;
|align=center|49.8&lt;br /&gt;
|align=left|{{Composition bar|312|538|hex=#FF0000}}&lt;br /&gt;
|align=left|{{increase}}80&lt;br /&gt;
|{{won}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{Portal|Politics|Conservatism|United States}}&lt;br /&gt;
{{div col|colwidth=50em}}&lt;br /&gt;
* [[History of the Republican Party (United States)]]&lt;br /&gt;
* [[History of the Democratic Party (United States)]]&lt;br /&gt;
* [[List of African-American Republicans]]&lt;br /&gt;
* [[List of Hispanic and Latino Republicans]]&lt;br /&gt;
* [[List of state parties of the Republican Party (United States)]]&lt;br /&gt;
* [[Political party strength in U.S. states]]&lt;br /&gt;
{{div col end}}&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
{{Notelist}}&lt;br /&gt;
{{notelist-ua}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
{{Main|Bibliography of the history of the Republican Party}}&lt;br /&gt;
&amp;lt;!-- Alphabetical order please. --&amp;gt;&lt;br /&gt;
{{Refbegin|30em}}&lt;br /&gt;
* &#039;&#039;The Almanac of American Politics 2022&#039;&#039; (2022) details on members of Congress, and the governors: their records and election results; also state and district politics; revised every two years since 1975. [https://www.amazon.com/Almanac-American-Politics-Richard-Cohen/dp/195237409X/ details] {{Webarchive|url=https://web.archive.org/web/20220107175827/https://www.amazon.com/Almanac-American-Politics-Richard-Cohen/dp/195237409X |date=January 7, 2022 }}; see [[The Almanac of American Politics]]&lt;br /&gt;
* &#039;&#039;American National Biography&#039;&#039; (20 volumes, 1999) covers all politicians no longer alive; online at many academic libraries and at [https://wikipedialibrary.wmflabs.org/partners/84/ Wikipedia Library] {{Webarchive|url=https://web.archive.org/web/20201030170202/https://wikipedialibrary.wmflabs.org/partners/84/ |date=October 30, 2020 }}.&lt;br /&gt;
* Aberbach, Joel D., ed. and Peele, Gillian, ed. &#039;&#039;Crisis of Conservatism?: The Republican Party, the Conservative Movement, and American Politics after Bush&#039;&#039; (Oxford UP, 2011). 403pp&lt;br /&gt;
* Aistrup, Joseph A. &#039;&#039;The Southern Strategy Revisited: Republican Top-Down Advancement in the South&#039;&#039; (1996).&lt;br /&gt;
* Bauman, Dan, and Brock Read. &amp;quot;A Brief History of GOP Attempts to Kill the Education Dept&amp;quot; &#039;&#039;Chronicle of Higher Education&#039;&#039; (June 21, 2018)&lt;br /&gt;
* Black, Earl and Merle Black. &#039;&#039;The Rise of Southern Republicans&#039;&#039; (2002).&lt;br /&gt;
* Bowen, Michael, &#039;&#039;The Roots of Modern Conservatism: Dewey, Taft, and the Battle for the Soul of the Republican Party.&#039;&#039; (U of North Carolina Press, 2011). xii, 254pp.&lt;br /&gt;
* Brennan, Mary C. &#039;&#039;Turning Right in the Sixties: The Conservative Capture of the GOP&#039;&#039; (1995).&lt;br /&gt;
* Conger, Kimberly H. &#039;&#039;The Christian Right in Republican State Politics&#039;&#039; (2010) 202 pages; focuses on Arizona, Indiana, and Missouri.&lt;br /&gt;
* Crane, Michael. &#039;&#039;The Political Junkie Handbook: The Definitive Reference Books on Politics&#039;&#039; (2004) covers all the major issues explaining the parties&#039; positions.&lt;br /&gt;
* Critchlow, Donald T. &#039;&#039;The Conservative Ascendancy: How the Republican Right Rose to Power in Modern America&#039;&#039; (2nd ed. 2011).&lt;br /&gt;
* Ehrman, John, &#039;&#039;The Eighties: America in the Age of Reagan&#039;&#039; (2005).&lt;br /&gt;
* Fauntroy, Michael K. &#039;&#039;Republicans and the Black vote&#039;&#039; (2007).&lt;br /&gt;
* {{cite book |last=Fried|first=J|title=Democrats and Republicans – Rhetoric and Reality|publisher=Algora Publishing|location=New York|year=2008}}&lt;br /&gt;
* Frank, Thomas. &#039;&#039;What&#039;s the Matter with Kansas? How Conservatives Won the Heart of America&#039;&#039; (2005).&lt;br /&gt;
* [[David Frum|Frum, David.]] &#039;&#039;What&#039;s Right: The New Conservative Majority and the Remaking of America&#039;&#039; (1996).&lt;br /&gt;
* Gould, Lewis L. &#039;&#039;The Republicans : A History of the Grand Old Party&#039;&#039; (2nd ed, 2014); First edition 2003 was entitled: &#039;&#039;Grand Old Party: A History of the Republicans&#039;&#039; [https://archive.org/details/republicanshisto0000goul online 2nd edition]&#039; th standard scholarly history&lt;br /&gt;
* Hemmer, Nicole. &#039;&#039;Partisans: The Conservative Revolutionaries Who Remade American Politics in the 1990s&#039;&#039; (2022)&lt;br /&gt;
* {{cite book|last=Jensen|first=Richard|title=Grass Roots Politics: Parties, Issues, and Voters, 1854–1983|date=1983|publisher=Greenwood Press|location=Westport, CT|url=https://www.questia.com/library/2038656/grass-roots-politics-parties-issues-and-voters|isbn=083716382X|access-date=September 10, 2017|archive-date=May 19, 2020|archive-url=https://web.archive.org/web/20200519103011/https://www.questia.com/library/2038656/grass-roots-politics-parties-issues-and-voters|url-status=dead}}&lt;br /&gt;
* [[John Judis|Judis, John B.]] and [[Ruy Teixeira]]. &#039;&#039;The Emerging Democratic Majority&#039;&#039; (2004), two Democrats project social trends.&lt;br /&gt;
* Kabaservice, Geoffrey. &#039;&#039;Rule and Ruin: The Downfall of Moderation and the Destruction of the Republican Party, From Eisenhower to the Tea Party&#039;&#039; (2012) scholarly history {{ISBN|978-0199768400}}.&lt;br /&gt;
* Kleppner, Paul, et al. &#039;&#039;The Evolution of American Electoral Systems&#039;&#039; (1983), applies party systems model.&lt;br /&gt;
* Kurian, George Thomas ed. &#039;&#039;The Encyclopedia of the Republican Party&#039;&#039; (4 vol., 2002).&lt;br /&gt;
* Lamis, Alexander P. ed. &#039;&#039;Southern Politics in the 1990s&#039;&#039; (1999).&lt;br /&gt;
* Levendusky, Matthew. &#039;&#039;The Partisan Sort: How Liberals Became Democrats and Conservatives Became Republicans&#039;&#039; (2009). Chicago Studies in American Politics.&lt;br /&gt;
* Mason, Robert. &#039;&#039;The Republican Party and American Politics from Hoover to Reagan&#039;&#039; (2011).&lt;br /&gt;
* Mason, Robert and Morgan, Iwan (eds.) &#039;&#039;Seeking a New Majority: The Republican Party and American Politics, 1960–1980.&#039;&#039; (2013) Nashville, TN. Vanderbilt University Press. 2013.&lt;br /&gt;
* Mayer, George H. &#039;&#039;The Republican Party, 1854–1966.&#039;&#039; 2d ed. (1967); a standard scholarly history; [https://archive.org/details/republicanparty100maye online]&lt;br /&gt;
* {{cite book|last=McPherson|first=James M.|title=Battle Cry of Freedom: The Civil War Era|year=1988|publisher=Oxford University Press|location=Oxford; New York|isbn=978-0195038637|title-link=Battle Cry of Freedom: The Civil War Era}}&lt;br /&gt;
* Oakes, James. &#039;&#039;The Crooked Path to Abolition: Abraham Lincoln and the Antislavery Constitution&#039;&#039; (W.W. Norton, 2021).&lt;br /&gt;
* Oakes, James. &#039;&#039;Freedom National: The Destruction of Slavery in the United States, 1861–1865&#039;&#039; (W. W. Norton, 2012)&lt;br /&gt;
* [[Rick Perlstein|Perlstein, Rick]]. &#039;&#039;Before the Storm: Barry Goldwater and the Unmaking of the American Consensus&#039;&#039; (2002), broad account of 1964.&lt;br /&gt;
* Perlstein, Rick. &#039;&#039;[[Nixonland: The Rise of a President and the Fracturing of America]]&#039;&#039; (2009).&lt;br /&gt;
* Reinhard, David W. &#039;&#039;The Republican Right since 1945&#039;&#039; (1983).&lt;br /&gt;
* Rutland, Robert Allen. &#039;&#039;The Republicans: From Lincoln to Bush&#039;&#039; (1996).&lt;br /&gt;
* [[Larry Sabato|Sabato, Larry J.]] &#039;&#039;Divided States of America: The Slash and Burn Politics of the 2004 Presidential Election&#039;&#039; (2005).&lt;br /&gt;
* Sabato, Larry J. and Bruce Larson. &#039;&#039;The Party&#039;s Just Begun: Shaping Political Parties for America&#039;s Future&#039;&#039; (2001), textbook.&lt;br /&gt;
* [[Arthur M. Schlesinger Jr.|Schlesinger, Arthur Meier Jr.]] ed. &#039;&#039;History of American Presidential Elections, 1789–2000&#039;&#039; (various multivolume editions, latest is 2001). Essays on the most important election are reprinted in Schlesinger, &#039;&#039;The Coming to Power: Critical presidential elections in American history&#039;&#039; (1972). [https://archive.org/search?query=title%3A%28%20History%20of%20American%20Presidential%20Elections%29%20AND%20creator%3A%28Schlesinger%29 online editions]&lt;br /&gt;
* Shafer, Byron E. and Anthony J. Badger, eds. &#039;&#039;Contesting Democracy: Substance and Structure in American Political History, 1775–2000&#039;&#039; (2001), essays by specialists on each time period:&lt;br /&gt;
** includes: &amp;quot;To One or Another of These Parties Every Man Belongs&amp;quot;: 1820–1865 by [[Joel H. Silbey]]; &amp;quot;Change and Continuity in the Party Period: 1835–1885&amp;quot; by Michael F. Holt; &amp;quot;The Transformation of American Politics: 1865–1910&amp;quot; by Peter H. Argersinger; &amp;quot;Democracy, Republicanism, and Efficiency: 1885–1930&amp;quot; by Richard Jensen; &amp;quot;The Limits of Federal Power and Social Policy: 1910–1955&amp;quot; by Anthony J. Badger; &amp;quot;The Rise of Rights and Rights Consciousness: 1930–1980&amp;quot; by James T. Patterson; and &amp;quot;Economic Growth, Issue Evolution, and Divided Government: 1955–2000&amp;quot; by Byron E. Shafer.&lt;br /&gt;
* Shafer, Byron and Richard Johnston. &#039;&#039;The End of Southern Exceptionalism&#039;&#039; (2006), uses statistical election data and polls to argue GOP growth was primarily a response to economic change.&lt;br /&gt;
* Steely, Mel. &#039;&#039;The Gentleman from Georgia: The Biography of Newt Gingrich&#039;&#039; Mercer University Press, 2000. {{ISBN|0865546711}}.&lt;br /&gt;
* Sundquist, James L. &#039;&#039;Dynamics of the Party System: Alignment and Realignment of Political Parties in the United States&#039;&#039; (1983).&lt;br /&gt;
* Wooldridge, Adrian and John Micklethwait. &#039;&#039;[[The Right Nation]]: Conservative Power in America&#039;&#039; (2004).&lt;br /&gt;
{{Refend}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
{{Prone to spam|date=October 2022}}&lt;br /&gt;
&amp;lt;!-- {{No more links}}&lt;br /&gt;
&lt;br /&gt;
Please be cautious adding more external links.&lt;br /&gt;
&lt;br /&gt;
Wikipedia is not a collection of links and should not be used for advertising.&lt;br /&gt;
&lt;br /&gt;
Excessive or inappropriate links will be removed.&lt;br /&gt;
&lt;br /&gt;
See [[Wikipedia:External links]] and [[Wikipedia:Spam]] for details.&lt;br /&gt;
&lt;br /&gt;
If there are already suitable links, propose additions or replacements on the article&#039;s talk page. --&amp;gt;&lt;br /&gt;
{{#invoke:Sister project links|main|display=Republican Party|d=Q29468|voy=no|m=no|mw=no|species=no|n=Category:Republican Party (United States)|wikt=Republican|s=Category:Republican Party (United States)|b=Voter&#039;s Guide/United States/Republican Party|v=no}}&lt;br /&gt;
* {{official website}}&lt;br /&gt;
* {{Britannica|498842}}&lt;br /&gt;
&lt;br /&gt;
{{Republican Party|state=expanded}}&lt;br /&gt;
{{Anti-slavery parties (US)}}&lt;br /&gt;
{{United States political parties}}&lt;br /&gt;
{{United States topics}}&lt;br /&gt;
{{#invoke:Authority control|authorityControl}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Republican Party}}&lt;br /&gt;
[[Category:Republican Party (United States)| ]]&lt;br /&gt;
[[Category:1854 establishments in Wisconsin]]&lt;br /&gt;
[[Category:American abolitionist organizations]]&lt;br /&gt;
[[Category:American Civil War political groups]]&lt;br /&gt;
[[Category:Anti-abortion organizations in the United States]]&lt;br /&gt;
[[Category:Conservative parties in the United States]]&lt;br /&gt;
[[Category:International Democracy Union member parties]]&lt;br /&gt;
[[Category:Organizations that oppose transgender rights in the United States]]&lt;br /&gt;
[[Category:Political parties established in 1854]]&lt;br /&gt;
[[Category:Political parties in the United States]]&lt;br /&gt;
[[Category:Politics of the American Civil War]]&lt;br /&gt;
[[Category:Reconstruction Era]]&lt;br /&gt;
[[Category:Republicanism in the United States]]&lt;br /&gt;
[[Category:Right-wing parties in the United States]]&lt;br /&gt;
[[Category:Right-wing populist parties]]&lt;br /&gt;
[[Category:Socially conservative parties]]&lt;br /&gt;
[[Category:Trumpist political parties]]&lt;br /&gt;
[[Category:Federalist parties]]&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Democratic_Party_(United_States)&amp;diff=82</id>
		<title>Democratic Party (United States)</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Democratic_Party_(United_States)&amp;diff=82"/>
		<updated>2025-08-04T18:18:00Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;{{Short description|American political party}} {{for|the 1792–1824 party|Democratic-Republican Party}} {{pp-dispute|small=yes}} {{pp-vandalism|small=yes}} {{pp-move}} {{Use American English|date=December 2014}} {{Use mdy dates|date=August 2024}} {{Infobox political party | name             = Democratic Party | logo             = US Democratic Party 2025 logo (positive).svg | symbol           = 100px | logo_alt         =  | logo_size...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Short description|American political party}}&lt;br /&gt;
{{for|the 1792–1824 party|Democratic-Republican Party}}&lt;br /&gt;
{{pp-dispute|small=yes}}&lt;br /&gt;
{{pp-vandalism|small=yes}}&lt;br /&gt;
{{pp-move}}&lt;br /&gt;
{{Use American English|date=December 2014}}&lt;br /&gt;
{{Use mdy dates|date=August 2024}}&lt;br /&gt;
{{Infobox political party&lt;br /&gt;
| name             = Democratic Party&lt;br /&gt;
| logo             = US Democratic Party 2025 logo (positive).svg&lt;br /&gt;
| symbol           = [[File:Democratic Disc.svg|100px]]&lt;br /&gt;
| logo_alt         = &lt;br /&gt;
| logo_size        = 250px&lt;br /&gt;
| colorcode        = {{party color|Democratic Party (United States)}}&amp;lt;!-- Please DO NOT change or remove. Thank you. --&amp;gt;&lt;br /&gt;
| chairperson      = [[Ken Martin]]&lt;br /&gt;
| governing_body   = [[Democratic National Committee]]&amp;lt;ref&amp;gt;{{cite news |title=About the Democratic Party |url=https://democrats.org/who-we-are/about-the-democratic-party/ |newspaper=Democrats|date=March 4, 2019|access-date=April 15, 2022 |quote=For 171 years, [the Democratic National Committee] has been responsible for governing the Democratic Party |archive-date=April 6, 2022 |archive-url=https://web.archive.org/web/20220406235005/https://democrats.org/who-we-are/about-the-democratic-party/ |url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |author1=Democratic Party |title=The Charter &amp;amp; The Bylaws of the Democratic Party of the United States |url=https://democrats.org/wp-content/uploads/2024/12/DNC-Charter-Bylaws-09.10.1022.pdf |access-date=March 24, 2025 |page=3 |date=September 10, 2022 |quote=The Democratic National Committee shall have general responsibility for the affairs of the Democratic Party between National Conventions |archive-date=January 22, 2025 |archive-url=https://web.archive.org/web/20250122102947/https://democrats.org/wp-content/uploads/2024/12/DNC-Charter-Bylaws-09.10.1022.pdf |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| leader2_title    = [[Party leaders of the United States Senate|Senate Minority Leader]]&lt;br /&gt;
| leader2_name     = [[Chuck Schumer]]&lt;br /&gt;
| leader3_title    = [[Party leaders of the United States House of Representatives|House Minority Leader]]&lt;br /&gt;
| leader3_name     = [[Hakeem Jeffries]]&lt;br /&gt;
| founders         = {{plainlist|&lt;br /&gt;
* [[Andrew Jackson]]&lt;br /&gt;
* [[Martin Van Buren]]&lt;br /&gt;
}}&lt;br /&gt;
| founded          = {{start date and age|1828|1|8}}&amp;lt;ref&amp;gt;{{cite book |title=Jacksonian Democracy in New Hampshire, 1800–1851 |last=Cole |first=Donald B. |date=1970 |publisher=Harvard University Press |page=69 |isbn=978-0-67-428368-8}}&amp;lt;/ref&amp;gt;&amp;lt;br /&amp;gt;{{nowrap|[[Baltimore]], Maryland, U.S.}}&lt;br /&gt;
| predecessor      = [[Democratic-Republican Party]]&lt;br /&gt;
| headquarters     = 430 [[South Capitol Street|South Capitol St.]] SE,&amp;lt;br /&amp;gt;Washington, D.C., U.S.&lt;br /&gt;
| student_wing     = {{ubl|[[High School Democrats of America]]|[[College Democrats of America]]}}&lt;br /&gt;
| youth_wing       = [[Young Democrats of America]]&lt;br /&gt;
| womens_wing      = [[National Federation of Democratic Women]]&lt;br /&gt;
| wing2_title      = Overseas wing&lt;br /&gt;
| wing2            = [[Democrats Abroad]]&lt;br /&gt;
| ideology         = &amp;lt;!-- Do not change without consensus at talk page. --&amp;gt;&lt;br /&gt;
{{unbulleted list|class=nowrap|&lt;br /&gt;
 | [[Liberalism]] ([[Modern liberalism in the United States|US]])&amp;lt;ref name=&amp;quot;sarnold&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Geismer |first=Lily |title=Don&#039;t blame us: suburban liberals and the transformation of the Democratic party |date=2015 |publisher=Princeton University Press |isbn=978-0-691-15723-8 |series=Politics and society in twentieth-century America |location=Princeton}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |title=Mastery and drift: professional-class liberals since the 1960s |date=2025 |publisher=The University of Chicago Press |isbn=978-0-226-83811-3 |editor-last=Cebul |editor-first=Brent |location=Chicago |editor-last2=Geismer |editor-first2=Lily}}&amp;lt;/ref&amp;gt;&amp;lt;!-- Concise list of factions below. --&amp;gt;&lt;br /&gt;
 |&#039;&#039;&#039;[[Factions in the Democratic Party (United States)|Factions]]:&#039;&#039;&#039;&lt;br /&gt;
 | [[Centrism]]{{refn|&amp;lt;ref name=&amp;quot;Bacon&amp;quot;&amp;gt;{{Cite news|url=https://fivethirtyeight.com/features/the-six-wings-of-the-democratic-party/|title=The Six Wings Of The Democratic Party|first=Perry Jr.|last=Bacon|work=[[FiveThirtyEight]]|date=March 11, 2019|access-date=October 21, 2021|archive-date=August 15, 2021|archive-url=https://web.archive.org/web/20210815092648/https://fivethirtyeight.com/features/the-six-wings-of-the-democratic-party/|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=Levitz |first=Eric |date=October 18, 2018 |title=America Already Has a Centrist Party. It&#039;s Called the Democrats. |url=https://nymag.com/intelligencer/2018/10/tribalism-exhausted-majority-centrism-david-brooks-democratic-party.html |access-date=October 2, 2024 |website=Intelligencer |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|last1=Ball|first1=Molly|title=No, Liberals Don&#039;t Control the Democratic Party|url=https://www.theatlantic.com/politics/archive/2014/02/no-liberals-dont-control-the-democratic-party/283653/|website=The Atlantic|date=February 7, 2014 |accessdate=March 13, 2017}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;gaudiano&amp;quot;&amp;gt;{{cite web|last1=Gaudiano|first1=Nicole|title=Liberals seek &#039;ideological shift&#039; in the Democratic Party|url=http://www.usatoday.com/story/news/politics/elections/2016/2016/11/09/liberals-seek-ideological-shift-democratic-party/93548156/|website=USA Today|publisher=Gannett Satellite Information Network, LLC.|accessdate=March 13, 2017}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book|last1=Alterman|first1=Eric|title=Why We&#039;re Liberals: A Political Handbook for Post-Bush America|date=2008|publisher=Penguin|isbn=9780670018604|page=339|url=https://books.google.com/books?id=mhO41uVWOQIC&amp;amp;q=huge+swing+away+from+the+center&amp;amp;pg=PA339|accessdate=March 13, 2017|quote=Suffice to say that there has not been a huge swing away from the center since the 1970s.}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
 | [[Progressivism]] ([[Progressivism in the United States|US]])&amp;lt;ref name=&amp;quot;SteinCornwellTanfani2018&amp;quot;&amp;gt;{{Cite news |last1=Stein |first1=Letita |last2=Cornwell |first2=Susan |last3 =Tanfani |first3 =Joseph |date=August 23, 2018 |title=Inside the progressive movement roiling the Democratic Party |work=[[Reuters]] |url=https://www.reuters.com/article/us-usa-election-progressives-specialrepo/inside-the-progressive-movement-roiling-the-democratic-party-idUSKCN1L81GI |access-date=June 13, 2022|url-status=live|archive-url=https://web.archive.org/web/20220613163545/https://www.reuters.com/article/us-usa-election-progressives-specialrepo/inside-the-progressive-movement-roiling-the-democratic-party-idUSKCN1L81GI|archive-date=June 13, 2022}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Do not add socialism or democratic socialism as per multiple talk page discussions. --&amp;gt;&lt;br /&gt;
 }}&lt;br /&gt;
| position         = [[Centre-left politics|Center-left]]{{refn|&lt;br /&gt;
&amp;lt;ref&amp;gt;{{Cite journal |last1=Rae |first1=Nicol C. |date=June 2007 |title=Be Careful What You Wish For: The Rise of Responsible Parties in American National Politics |journal=Annual Review of Political Science | publisher=[[Annual Reviews (publisher)|Annual Reviews]] |language=en |volume=10 |issue=1 |pages=169–191 |doi=10.1146/annurev.polisci.10.071105.100750 |issn=1094-2939 |quote=What are we to make of American parties at the dawn of the twenty-first century? ... The impact of the 1960s civil rights revolution has been to create two more ideologically coherent parties: a generally liberal or center-left party and a conservative party.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book|last1=Cronin|first1=James E.|last2=Ross|first2=George W.|last3=Shoch|first3=James|date=August 24, 2011|title=What&#039;s Left of the Left: Democrats and Social Democrats in Challenging Times|url=https://books.google.com/books?id=9O15MzNKMuoC|chapter=Introduction: The New World of the Center-Left|publisher=[[Duke University Press]]|isbn=978-0-8223-5079-8|quote-pages=17, 22, 182|quote=Including the American Democratic Party in a comparative analysis of center-left parties is unorthodox, since unlike Europe, America has not produced a socialist movement tied to a strong union movement. Yet the Democrats may have become center-left before anyone else, obliged by their different historical trajectory to build complex alliances with social groups other than the working class and to deal with unusually powerful capitalists ... Taken together, the three chapters devoted to the United States show that the center-left in America faces much the same set of problems as elsewhere and, especially in light of the election results from 2008, that the Democratic Party&#039;s potential to win elections, despite its current slide in approval, may be at least equal to that of any center-left party in Europe ... Despite the setback in the 2010 midterms, together the foregoing trends have put the Democrats in a position to eventually build a dominant center-left majority in the United States.|access-date=August 7, 2024|archive-date=August 20, 2024|archive-url=https://web.archive.org/web/20240820005545/https://books.google.com/books?id=9O15MzNKMuoC|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |url=https://digitalcommons.law.uga.edu/cgi/viewcontent.cgi?article=2192&amp;amp;context=fac_artchop |last=Bruner |first=Christopher |title=Center-Left Politics and Corporate Governance: What Is the &#039;Progressive&#039; Agenda? |journal=[[Brigham Young University Law Review]] |date=January 1, 2018|pages=267–338|quote=While these dynamics have remained have remained important to the Democratic Party&#039;s electoral strategy since the 1990s, the finance-driven coalition described above remains high controverisal and unstable, reflecting the fact that core intellectual and ideological tensions in the platform of the U.S. center-left persist.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Bridging the Blue Divide&amp;quot;&amp;gt;{{Cite journal |last1=Hacker |first1=Jacob S. |last2=Malpas |first2=Amelia |last3=Pierson |first3=Paul |last4=Zacher |first4=Sam |date=December 27, 2023 |title=Bridging the Blue Divide: The Democrats&#039; New Metro Coalition and the Unexpected Prominence of Redistribution |journal=[[Perspectives on Politics]] |volume=22 |issue=3 | publisher=[[Cambridge University Press]] on behalf of the [[American Political Science Association]] |language=en |doi=10.1017/S1537592723002931 |issn=1537-5927 |page=3|quote=We conclude by considering why Democrats have taken this course, why they are not perceived as having done so, and why, at this fraught juncture for American democratic capitalism, political scientists could learn much from closer examination of the rich world&#039;s largest center-left party.|doi-access=free}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Polarization of the Rich: The New Democratic Allegiance of Affluent Americans and the Politics of Redistribution&amp;quot;&amp;gt;{{cite journal |last1=Zacher |first1=Sam |title=Polarization of the Rich: The New Democratic Allegiance of Affluent Americans and the Politics of Redistribution |journal=[[Perspectives on Politics]] |date=June 2024 |volume=22 |issue=2 |pages=338–356 |doi=10.1017/S1537592722003310 |quote=It is clear that the Democratic Party—the center-left United States political party—does enact some forms of a redistributive economic policy agenda.|doi-access=free }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
| affiliation1_title = [[Congressional caucuses|Caucuses]]&lt;br /&gt;
| affiliation1     = [[Blue Dog Coalition]]&amp;lt;br /&amp;gt;[[New Democrat Coalition]]&amp;lt;br /&amp;gt;[[Congressional Progressive Caucus]]&lt;br /&gt;
| international    = &amp;lt;!--- Please do not re-insert &amp;quot;Progressive Alliance&amp;quot; unless you can find a reliable published source for the oft-repeated, never-documented assertion that the Democrats are part of the organization, other than a listing on that organization&#039;s website (see [[WP:SPS]]). ---&amp;gt;&lt;br /&gt;
| colors           = {{color box|{{party color|Democratic Party (US)}}|border=darkgray}} [[Blue]]&amp;lt;!-- Please DO &#039;&#039;not&#039;&#039; change the HTML color formatting in this field or in any of the below fields. Thank you. --&amp;gt;&lt;br /&gt;
| seats1_title     = [[United States Senate|Senate]]&lt;br /&gt;
| seats1           = &amp;lt;!--Keep at 45, as the Independents caucus with the Democrats--&amp;gt;{{composition bar|45|100|hex={{party color|Democratic Party (US)}}|ref={{Efn|There are 45 senators who are members of the party; however, two [[Independent Democrat|independent]] senators, [[Angus King]] and [[Bernie Sanders]], caucus with the Democrats.|name=|group=}}}}&lt;br /&gt;
| seats2_title     = [[United States House of Representatives|House of Representatives]]&lt;br /&gt;
| seats2           = {{composition bar|212|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
| seats3_title     = [[List of current United States governors#State governors|State governors]]&lt;br /&gt;
| seats3           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|23|50|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
| seats4_title     = [[State legislature (United States)|State upper chambers]]&lt;br /&gt;
| seats4           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|832|1973|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
| seats5_title     = [[State legislature (United States)|State lower chambers]]&lt;br /&gt;
| seats5           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|2385|5413|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
| seats6_title     = [[List of current United States governors#Territory governors|Territorial governors]]&lt;br /&gt;
| seats6           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|2|5|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
| seats7_title     = Seats in [[Territories of the United States#Governments and legislatures|Territorial upper chambers]]&lt;br /&gt;
| seats7           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|21|97|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
| seats8_title     = Seats in [[Territories of the United States#Governments and legislatures|Territorial lower chambers]]&lt;br /&gt;
| seats8           = &amp;lt;!--Don&#039;t change numbers until terms begin--&amp;gt; {{composition bar|9|91|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
| website          = {{Official URL}}&lt;br /&gt;
| country          = the United States&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Democratic Party&#039;&#039;&#039; is a [[Centre-left politics|center-left]] [[political parties in the United States|political party in the United States]]. One of the [[Major party|major parties]] of the U.S., it was founded in 1828, making it the world&#039;s oldest active political party. Its main rival since the 1850s has been the [[Right-wing politics|right-wing]] [[Republican Party (United States)|Republican Party]], and the two have since dominated [[American politics]].&lt;br /&gt;
&lt;br /&gt;
The Democratic Party was founded in 1828 from remnants of the [[Democratic-Republican Party]]. Senator [[Martin Van Buren]] played the central role in building the coalition of state organizations which formed the new party as a vehicle to help elect [[Andrew Jackson]] as president that year. It initially supported [[Jacksonian democracy]], [[agrarianism]], and [[Manifest destiny|geographical expansionism]], while opposing [[Bank War|a national bank]] and high [[tariff]]s. Democrats won six of the eight presidential elections from 1828 to 1856, losing twice to the [[Whig Party (United States)|Whigs]]. In 1860, the party split into [[Northern Democrats|Northern]] and [[Southern Democrats|Southern]] factions over [[Slavery in the United States|slavery]]. The party remained dominated by agrarian interests, contrasting with Republican support for the [[big business]] of the [[Gilded Age]]. Democratic candidates won the presidency only twice{{efn|[[Grover Cleveland]] in 1884 and 1892}} between 1860 and 1908, though they [[List of United States presidential elections in which the winner lost the popular vote|won the popular vote]] two more times in that period. During the [[Progressive Era]], some factions of the party supported [[Progressivism in the United States|progressive]] reforms, with [[Woodrow Wilson]] being elected president in 1912 and 1916.&lt;br /&gt;
&lt;br /&gt;
In 1932, [[Franklin D. Roosevelt]] was elected president after campaigning on a strong response to the [[Great Depression]]. His [[New Deal]] programs created [[New Deal coalition|a broad Democratic coalition]] which united White southerners, Northern workers, [[Labor unions in the United States|labor unions]], [[African Americans]], [[Catholic Church in the United States|Catholic]] and [[American Jews|Jewish communities]], progressives, and [[Modern liberalism in the United States|liberals]]. From the late 1930s, [[Conservative coalition|a conservative minority]] in the party&#039;s Southern wing joined with Republicans to slow and stop further progressive domestic reforms.&amp;lt;ref&amp;gt;{{Cite news |last=Zeitz |first=Joshua |date=October 16, 2023 |title=The &#039;Unprecedented&#039; House GOP Meltdown Isn&#039;t as Novel as You Think. And There Is a Way Out. |language=en |url=https://www.politico.com/news/magazine/2023/10/16/broken-congress-history-00121564 |access-date=October 16, 2023 |archive-date=October 16, 2023 |archive-url=https://web.archive.org/web/20231016094650/https://www.politico.com/news/magazine/2023/10/16/broken-congress-history-00121564 |url-status=live}}&amp;lt;/ref&amp;gt; After the [[civil rights movement]] and [[Great Society]] era of progressive legislation under [[Lyndon B. Johnson]], who was often able to overcome the conservative coalition in the 1960s, many White southerners [[Southern strategy|switched to the Republican Party]] as the Northeastern states became more reliably Democratic.&amp;lt;ref&amp;gt;{{Cite magazine |date=February 15, 2015 |title=How Medicare Was Made |url=https://www.newyorker.com/news/news-desk/medicare-made |access-date=August 23, 2022 |magazine=The New Yorker |language=en-US |url-access=limited |last=Zelizer |first=Julian E. |archive-date=March 4, 2015 |archive-url=https://web.archive.org/web/20150304221801/https://www.newyorker.com/news/news-desk/medicare-made |url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;gallup2010&amp;quot;&amp;gt;{{cite web |date=June 12, 2009 |title=Women More Likely to Be Democrats, Regardless of Age |url=http://www.gallup.com/poll/120839/Women-Likely-Democrats-Regardless-Age.aspx |url-status=live |archive-url=https://web.archive.org/web/20100614010429/http://www.gallup.com/poll/120839/Women-Likely-Democrats-Regardless-Age.aspx |archive-date=June 14, 2010 |access-date=June 17, 2010 |publisher=Gallup}}&amp;lt;/ref&amp;gt; The party&#039;s labor union element has weakened since the 1970s amid [[deindustrialization]], and during the 1980s it lost many White working-class voters to the Republicans under [[Ronald Reagan]]. The election of [[Bill Clinton]] in 1992 marked a shift for the party toward [[centrism]] and the [[Third Way]], shifting its economic stance toward [[Neoliberalism|market-based policies]].&amp;lt;ref name=&amp;quot;Hale-1995&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Wills-1997&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last=Edsall |first=Thomas B. |date=June 28, 1998 |title=Clinton and Blair envision a &#039;Third Way&#039; international movement |language=en-US |newspaper=The Washington Post |url=https://www.washingtonpost.com/archive/politics/1998/06/28/clinton-and-blair-envision-a-third-way-international-movement/0bc00486-bd6d-4da4-a970-5255d7aa25d8/ |access-date=November 1, 2022 |issn=0190-8286 |archive-date=November 27, 2020 |archive-url=https://web.archive.org/web/20201127213150/https://www.washingtonpost.com/archive/politics/1998/06/28/clinton-and-blair-envision-a-third-way-international-movement/0bc00486-bd6d-4da4-a970-5255d7aa25d8/ |url-status=live}}&amp;lt;/ref&amp;gt; [[Barack Obama]] oversaw the party&#039;s passage of the [[Affordable Care Act]] in 2010.&lt;br /&gt;
&lt;br /&gt;
In the 21st century, the Democratic Party&#039;s strongest demographics are [[Urban–rural political divide|urban voters]], [[Educational attainment in the United States|college graduates]] (especially those with [[postgraduate education|graduate degrees]]), [[African Americans]], women, younger voters, irreligious voters, the unmarried and [[LGBTQ people in the United States|LGBTQ people]].&amp;lt;ref&amp;gt;{{Cite web |last=Nadeem |first=Reem |date=April 9, 2024 |title=Changing Partisan Coalitions in a Politically Divided Nation |url=https://www.pewresearch.org/politics/2024/04/09/changing-partisan-coalitions-in-a-politically-divided-nation/ |access-date=March 21, 2025 |website=Pew Research Center |language=en-US}}&amp;lt;/ref&amp;gt; On social issues, it advocates for [[Abortion-rights movements|abortion rights]],&amp;lt;ref name=&amp;quot;Traister-2023&amp;quot;&amp;gt;{{Cite web |last=Traister |first=Rebecca |date=March 27, 2023 |title=Abortion Wins Elections |url=https://www.thecut.com/article/abortion-democratic-party-2024-elections.html |access-date=April 7, 2023 |website=The Cut |language=en-us |archive-date=April 6, 2023 |archive-url=https://web.archive.org/web/20230406181341/https://www.thecut.com/article/abortion-democratic-party-2024-elections.html |url-status=live}}&amp;lt;/ref&amp;gt; [[LGBTQ rights in the United States|LGBTQ rights]],&amp;lt;ref name=&amp;quot;NPR-2012a&amp;quot;&amp;gt;{{Cite news|last = Migdon|first = Brooke|date=June 21, 2023|title=Democrats reintroduce Equality Act amid Pride Month|url=https://thehill.com/blogs/blog-briefing-room/4060836-democrats-reintroduce-equality-act-amid-pride-month/|access-date=May 12, 2025}}&amp;lt;/ref&amp;gt; action on [[climate change]],&amp;lt;ref&amp;gt;{{cite news |title=Combating the Climate Crisis and Pursuing Environmental Justic |newspaper=Democrats |url=https://democrats.org/where-we-stand/party-platform/combating-the-climate-crisis-and-pursuing-environmental-justice/ |publisher=Democratic National Committee |access-date=July 17, 2024 |archive-date=July 17, 2024 |archive-url=https://web.archive.org/web/20240717200005/https://democrats.org/where-we-stand/party-platform/combating-the-climate-crisis-and-pursuing-environmental-justice/ |url-status=live}}&amp;lt;/ref&amp;gt; and the [[Legality of cannabis by U.S. jurisdiction|legalization of marijuana]]. On economic issues, the party favors [[Healthcare reform in the United States|healthcare reform]], [[paid sick leave]], [[paid family leave]] and [[Unionization|supporting unions]].&amp;lt;ref name=&amp;quot;Miranda Ollstein-2022&amp;quot;&amp;gt;{{Cite web |last=Miranda Ollstein |first=Alice |date=August 12, 2022 |title=A bittersweet health care win for Democrats |url=https://www.politico.com/news/2022/08/12/a-bittersweet-health-care-win-for-democrats-00051264 |access-date=April 7, 2023 |website=Politico |language=en |archive-date=April 7, 2023 |archive-url=https://web.archive.org/web/20230407081105/https://www.politico.com/news/2022/08/12/a-bittersweet-health-care-win-for-democrats-00051264 |url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Goodnough-2019&amp;quot;&amp;gt;{{cite news |last1=Goodnough |first1=Abby |last2=Kaplan |first2=Thomas |date=June 28, 2019 |title=Democrat vs. Democrat: How Health Care Is Dividing the Party |website=The New York Times |url=https://www.nytimes.com/2019/06/28/health/democratic-debate-healthcare.html |url-access=limited |access-date=July 22, 2020 |archive-date=July 22, 2020 |archive-url=https://web.archive.org/web/20200722004441/https://www.nytimes.com/2019/06/28/health/democratic-debate-healthcare.html |url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last1=Mueller |first1=Eleanor |last2=Olander |first2=Olivia |date=2023-11-27 |title=Paid leave support up ahead of &#039;24 |url=https://www.politico.com/newsletters/weekly-shift/2023/11/27/support-for-paid-leave-hits-historic-high-00128648 |access-date=2025-05-17 |website=POLITICO |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;jlevy&amp;quot;&amp;gt;{{cite book |last=Levy |first=Jonah |url=https://books.google.com/books?id=xGNRRwkZFysC |title=The State after Statism: New State Activities in the Age of Liberalization |publisher=Harvard University Press |year=2006 |isbn=9780495501121 |page=198 |quote=In the corporate governance area, the center-left repositioned itself to press for reform. The Democratic Party in the United States used the postbubble scandals and the collapse of share prices to attack the Republican Party&amp;amp;nbsp;... Corporate governance reform fit surprisingly well within the contours of the center-left ideology. The Democratic Party and the SPD have both been committed to the development of the regulatory state as a counterweight to managerial authority, corporate power, and market failure.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;U.S. Department of State&amp;quot;&amp;gt;{{cite web |author=[[U.S. Department of State]] |title=A Mixed Economy: The Role of the Market |url=https://www.thoughtco.com/overview-of-a-mixed-economy-1147547 |archive-url=https://web.archive.org/web/20170524222737/https://www.thoughtco.com/overview-of-a-mixed-economy-1147547 |archive-date=May 24, 2017 |publisher=Thoughtco.com}}&amp;lt;/ref&amp;gt; In foreign policy, the party supports [[liberal internationalism]] as well as tough stances against [[China]] and [[Russia]].&amp;lt;ref name=&amp;quot;Ikenberry 2020&amp;quot;&amp;gt;{{Cite web |last=Ikenberry |first=John |date=2020 |title=America&#039;s Asia Policy after Trump |url=https://www.globalasia.org/v15no4/focus/americas-asia-policy-after-trump_g-john-ikenberry |website=Global Asia |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Wong 2022&amp;quot;&amp;gt;{{Cite news |last=Wong |first=Edward |date=September 6, 2022 |title=Biden Puts Defense of Democracy at Center of Agenda, at Home and Abroad |language=en-US |work=The New York Times |url=https://www.nytimes.com/2022/09/06/us/politics/biden-democracy-threat.html |access-date=December 27, 2023 |issn=0362-4331}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;The World Trump Wants&amp;quot;&amp;gt;{{Cite web|url=https://www.foreignaffairs.com/united-states/world-trump-wants-michael-kimmage|title=The World Trump Wants: American Power in the New Age of Nationalism|date=February 25, 2025|access-date=March 18, 2025|website=Foreign Affairs|first1=Michael|last1=Kimmage|quote=In the two decades that followed the Cold War’s end, globalism gained ground over nationalism. Simultaneously, the rise of increasingly complex systems and networks—institutional, financial, and technological—overshadowed the role of the individual in politics. But in the early 2010s, a profound shift began. By learning to harness the tools of this century, a cadre of charismatic figures revived the archetypes of the previous one: the strong leader, the great nation, the proud civilization. ... They are self-styled strongmen who place little stock in rules-based systems, alliances, or multinational forums. They embrace the once and future glory of the countries they govern, asserting an almost mystical mandate for their rule. &#039;&#039;&#039;Although their programs can involve radical change, their political strategies rely on strains of conservatism, appealing over the heads of liberal, urban, cosmopolitan elites to constituencies animated by a hunger for tradition and a desire for belonging.&#039;&#039;&#039;}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
{{TOC limit|4}}&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
{{main|History of the Democratic Party (United States)}}[[File:Political Parties Derivation in the United States.svg|thumb|300px|Political parties&#039; derivation in the United States. A dotted line denotes an unofficial connection.|left]]Democratic Party officials often trace its origins to the [[Democratic-Republican Party]], founded by [[Thomas Jefferson]], [[James Madison]] and other influential opponents of the conservative [[Federalist Party|Federalists]] in 1792.&amp;lt;ref name=&amp;quot;US Congress-1991&amp;quot;&amp;gt;The party has claimed a founding date of 1792 as noted in S.2047 which passed in the United States Senate in 1991. {{citation|title= S.2047&amp;amp;nbsp;– A bill to establish a commission to commemorate the bicentennial of the establishment of the Democratic Party of the United States.|author= ((102nd Congress))|url= https://www.congress.gov/bill/102nd-congress/senate-bill/2047/text?r=90&amp;amp;s=1|year= 1991|access-date= February 20, 2021|archive-date= February 22, 2021|archive-url= https://web.archive.org/web/20210222013940/https://www.congress.gov/bill/102nd-congress/senate-bill/2047/text?r=90&amp;amp;s=1|url-status= live}} &amp;quot;[I]n 1992, the Democratic Party of the United States will celebrate the 200th anniversary of its establishment on May 13, 1792.&amp;quot;&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Larson |first=Edward |title=A Magnificent Catastrophe: The Tumultuous Election of 1800, America&#039;s First Presidential Campaign |publisher=[[Free Press (publisher)|Free Press]] |year=2007 |isbn=9780743293167 |pages=21 |quote=The divisions between Adams and Jefferson were exasperated by the more extreme views expressed by some of their partisans, particularly the High Federalists led by Hamilton on what was becoming known as the political right, and the democratic wing of the Republican Party on the left, associated with New York Governor George Clinton and Pennsylvania legislator Albert Gallatin, among others. |author-link=Edward J. Larson}}&amp;lt;/ref&amp;gt; That party died out before the modern Democratic Party was organized;&amp;lt;ref&amp;gt;{{cite journal|last=Ericson|first=David F.|title=The Evolution of the Democratic Party|journal=The American Historical Review|volume=70|issue=1|year=1964|pages=22–43}}&amp;lt;/ref&amp;gt; the Jeffersonian party also inspired the [[Whig Party (United States)|Whigs]] and modern Republicans.&amp;lt;ref&amp;gt;{{cite book|last=Banning|first=Lance|title=The Jeffersonian Persuasion: Evolution of a Party Ideology|publisher=Cornell University Press|year=1978|page=208}}&amp;lt;/ref&amp;gt; Historians argue that the modern Democratic Party was first organized in the late 1820s with the election of war hero [[Andrew Jackson]]&amp;lt;ref name=&amp;quot;Kazin-2022&amp;quot;&amp;gt;Michael Kazin, &#039;&#039;What It Took to Win: A History of the Democratic Party&#039;&#039; (2022) pp 5, 12.&amp;lt;/ref&amp;gt; of Tennessee, making it the world&#039;s oldest active political party.&amp;lt;ref name=&amp;quot;Lucas-2014&amp;quot;&amp;gt;M. Philip Lucas, &amp;quot;Martin Van Buren as Party Leader and at Andrew Jackson&#039;s Right Hand.&amp;quot; in &#039;&#039;A Companion to the Antebellum Presidents 1837–1861&#039;&#039; (2014): 107–129.&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Janda-2010&amp;quot;&amp;gt;&amp;quot;The Democratic Party, founded in 1828, is the world&#039;s oldest political party&amp;quot; states {{Cite book |last1=Janda |first1=Kenneth |url=https://archive.org/details/jandachallengeof00houg |title=The Challenge of Democracy: American Government in Global Politics |last2=Berry |first2=Jeffrey M. |last3=Goldman |first3=Jerry |publisher=Cengage Learning |year=2010 |isbn=9780495906186 |page=276 |url-access=registration}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Kazin-2022&amp;quot; /&amp;gt; It was predominately built by [[Martin Van Buren]], who assembled a wide cadre of politicians in every state behind Jackson.&amp;lt;ref name=&amp;quot;Lucas-2014&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Kazin-2022&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the nomination of [[William Jennings Bryan]] in 1896, the party has generally positioned itself to the left of the [[Republican Party (United States)|Republican Party]] on economic issues. Democrats have been more liberal on civil rights since 1948, although conservative factions within the Democratic Party that opposed them persisted in the South until the 1960s. On foreign policy, both parties have changed positions several times.&amp;lt;ref&amp;gt;Arthur Paulson, &#039;&#039;Realignment and Party Revival: Understanding American Electoral Politics at the Turn of the Twenty-First Century&#039;&#039; (2000) pp. 46–72.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Background ===&lt;br /&gt;
[[File:Andrew jackson head.jpg|thumb|upright|[[Andrew Jackson]] was the seventh president (1829–1837) and the first Democratic president.]]&lt;br /&gt;
The Democratic Party evolved from the [[Jeffersonian Republican]] or [[Democratic-Republican Party]] organized by Jefferson and Madison in opposition to the Federalist Party.&amp;lt;ref&amp;gt;{{cite book|last=Berman|first=Jay|title=The Democratic Party: Evolution and America&#039;s Longing for a Lasting Majority|publisher=Taylor &amp;amp; Francis|year=2012|page=8}}&amp;lt;/ref&amp;gt; The Democratic-Republican Party favored [[Republicanism in the United States|republicanism]], a weak [[Federal government of the United States|federal government]], [[states&#039; rights]], agrarian interests (especially Southern planters), and strict adherence to the Constitution. The party opposed a national bank and [[Kingdom of Great Britain|Great Britain]].&amp;lt;ref&amp;gt;James Roger Sharp, &#039;&#039;American Politics in the Early Republic: The New Nation in Crisis&#039;&#039; (1993).&amp;lt;/ref&amp;gt; After the [[War of 1812]], the Federalists virtually disappeared and the only national political party left was the Democratic-Republicans, which was prone to splinter along regional lines.&amp;lt;ref&amp;gt;{{cite book|title=The American Republic Since 1877, Student Edition|publisher=McGraw-Hill Education|year=2006|page=193}}&amp;lt;/ref&amp;gt; The era of one-party rule in the United States, known as the [[Era of Good Feelings]], lasted from 1816 until 1828, when Andrew Jackson became president. Jackson and Martin Van Buren worked with allies in each state to form a new Democratic Party on a national basis. In the 1830s, the [[Whig Party (United States)|Whig Party]] coalesced into the main rival to the Democrats.&lt;br /&gt;
&lt;br /&gt;
When exactly the Democratic party formed is still debated among Historians, with many putting forth the 1828 date of the creation of a federal structure for the various Jacksonian movements as the foundation date, however, it could also be argued that the foundation of these Jacksonian groups could be the foundation date. In that case the Democratic Party would be formed on December 23, 1823 when the Greensburg Committee, the first verifiably &amp;quot;Jacksonian&amp;quot; organization, read the &#039;&#039;Greensburg Resolution&#039;&#039; outside the [[Westmoreland County, Pennsylvania|Westmoreland County]] [[Westmoreland County Courthouse|courthouse]] in [[Greensburg, Pennsylvania|Greensburg]], [[Pennsylvania]]. The committee consisted of five of Greensburg&#039;s most prominent political figures, the brothers [[Jacob M. Wise]] (state senator), [[John H. Wise (Pennsylvania politician)|John H. Wise]] (state representative and brigadier general), and Frederick A. Wise (owner and editor of the &#039;&#039;[[Westmoreland Republican]]&#039;&#039;), alongside [[David Marchand]] (state representative), and [[James Clarke (Pennsylvania politician)|James Clarke]] (state representative). The &#039;&#039;Greensburg Resolution&#039;&#039; was the first published call for Jackson to run for President with the committee being the first overtly &amp;quot;Jacksonian&amp;quot; organization, dubbed the &#039;origin&#039; of the Jackson movement that turned into the Democratic party.&amp;lt;ref&amp;gt;{{cite journal |last1=Phillips |first1=Kim T. |title=The Pennsylvania Origins of the Jackson Movement |journal=Political Science Quarterly |date=1976 |volume=91 |issue=3 |pages=489–508 |doi=10.2307/2148938 |jstor=2148938 |url=https://www.jstor.org/stable/2148938 |access-date=13 June 2025 |issn=0032-3195}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The event that transformed the Jacksonians from just another faction of the Democratic-Republican party into a divergent political force would be the so-called &amp;quot;[[corrupt bargain]]&amp;quot; of 1824, where, despite winning the most popular and electoral votes, the House of Representatives did not confirm Jackson as the newly elected president, instead [[Henry Clay]], who was both a candidate and the speaker of the house, [[Whip (politics)|whipped]] his supporters in congress to vote for the runner-up, [[John Quincy Adams]], in exchange for Adams naming Clay the Secretary of State. Jackson and his followers began to more seriously coalesce into a structured party for the next election in 1828.&lt;br /&gt;
&lt;br /&gt;
Before 1860, the Democratic Party supported [[Unitary executive theory|expansive presidential power]],&amp;lt;ref name=&amp;quot;Holt-1992&amp;quot;&amp;gt;{{Cite book |last=Holt |first=Michael F. |url=https://books.google.com/books?id=VEhYhbouR3QC&amp;amp;pg=PA27 |title=Political Parties and American Political Development: From the Age of Jackson to the Age of Lincoln |publisher=[[Louisiana State University Press]] |year=1992 |isbn=978-0807126097 |pages=27–28 |access-date=March 19, 2023 |archive-url=https://web.archive.org/web/20230405015907/https://books.google.com/books?id=VEhYhbouR3QC&amp;amp;pg=PA27 |archive-date=April 5, 2023 |url-status=live}}&amp;lt;/ref&amp;gt; [[Slave Power|the interests]] of [[Slave states and free states|slave states]],&amp;lt;ref name=&amp;quot;Bates-2015&amp;quot;&amp;gt;{{Cite book |last=Bates |first=Christopher |title=The Early Republic and Antebellum America: An Encyclopedia of Social, Political, Cultural, and Economic History |publisher=[[Taylor &amp;amp; Francis]] |year=2015 |isbn=9781317457404 |pages=293 |quote=The expansion engineered by Polk rendered the Democratic Party increasingly beholden to Southern slave interests, which dominated the party from 1848 to the Civil War.}}&amp;lt;/ref&amp;gt; [[agrarianism]],&amp;lt;ref name=&amp;quot;EB-2023&amp;quot;&amp;gt;{{Cite web |last=Staff |title=Jacksonian Democracy: The Democratization of Politics |url=https://www.britannica.com/place/United-States/Jacksonian-democracy |url-status=live |archive-url=https://web.archive.org/web/20220712100142/https://www.britannica.com/place/United-States/Jacksonian-democracy |archive-date=July 12, 2022 |access-date=October 6, 2022 |website=[[Encyclopædia Britannica]] |quote=By the 1840s, Whig and Democratic congressmen voted as rival blocs. Whigs supported and Democrats opposed a weak executive, a new Bank of the United States, a high tariff, distribution of land revenues to the states, relief legislation to mitigate the effects of the depression, and federal reapportionment of House seats. Whigs voted against and Democrats approved an independent treasury, an aggressive foreign policy, and expansionism. These were important issues, capable of dividing the electorate just as they divided the major parties in Congress.}}&amp;lt;/ref&amp;gt; and [[expansionism]],&amp;lt;ref name=&amp;quot;EB-2023&amp;quot; /&amp;gt; while opposing [[Bank War|a national bank]] and high [[tariff]]s.&amp;lt;ref name=&amp;quot;EB-2023&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 19th century ===&lt;br /&gt;
==== Jacksonian Era ====&lt;br /&gt;
{{Further|Second Party System|Third Party System}}&lt;br /&gt;
[[File:Martin Van Buren by Mathew Brady c1855-58.jpg|thumb|upright|left|[[Martin Van Buren]] was the eighth president (1837–1841).]]&lt;br /&gt;
The [[Democratic-Republican Party]] split over the choice of a successor to President [[James Monroe]].&amp;lt;ref&amp;gt;{{cite book|last=Banning|first=Lance|title=The Jeffersonian Persuasion: Evolution of a Party Ideology|publisher=Cornell University Press|year=1978|page=253}}&amp;lt;/ref&amp;gt; The faction that supported many of the old [[Jeffersonian democracy|Jeffersonian principles]], led by Andrew Jackson and Martin Van Buren, became the modern Democratic Party.&amp;lt;ref&amp;gt;{{cite magazine |last1=Traub |first1=James |title=The Ugly Election That Birthed Modern American Politics |url=https://www.nationalgeographic.com/archaeology-and-history/magazine/2016/11-12/america-presidential-elections-1824-corrupt-bargain/ |magazine=National Geographic |access-date=July 6, 2018 |archive-date=July 7, 2018 |archive-url=https://web.archive.org/web/20180707010137/https://www.nationalgeographic.com/archaeology-and-history/magazine/2016/11-12/america-presidential-elections-1824-corrupt-bargain/ |url-status=dead}}&amp;lt;/ref&amp;gt; Historian [[Mary Beth Norton]] explains the transformation in 1828: {{blockquote|Jacksonians believed the people&#039;s will had finally prevailed. Through a lavishly financed coalition of state parties, political leaders, and newspaper editors, a popular movement had elected the president. The Democrats became the nation&#039;s first well-organized national party ... and tight party organization became the hallmark of nineteenth-century American politics.&amp;lt;ref&amp;gt;Mary Beth Norton et al., &#039;&#039;A People and a Nation, Volume I: to 1877&#039;&#039; (Houghton Mifflin, 2007) p. 287.&amp;lt;/ref&amp;gt;|sign=|source=}}&lt;br /&gt;
&lt;br /&gt;
[[File:Polk crop.jpg|thumb|upright|left|[[James K. Polk]] was the 11th president (1845–1849). He significantly extended the territory of the United States.]]&lt;br /&gt;
Behind the platforms issued by state and national parties stood a widely shared political outlook that characterized the Democrats: {{blockquote|The Democrats represented a wide range of views but shared a fundamental commitment to the Jeffersonian concept of an agrarian society. They viewed the central government as the enemy of individual liberty. The [[Corrupt bargain#Election of 1824|1824 &amp;quot;corrupt bargain&amp;quot;]] had strengthened their suspicion of Washington politics. ... Jacksonians feared the concentration of economic and political power. They believed that government intervention in the economy benefited special-interest groups and created corporate monopolies that favored the rich. They sought to restore the independence of the individual—the artisan and the ordinary farmer—by ending federal support of banks and corporations and restricting the use of paper currency, which they distrusted. Their definition of the proper role of government tended to be negative, and Jackson&#039;s political power was largely expressed in negative acts. He exercised the veto more than all previous presidents combined. ... Nor did Jackson share reformers&#039; humanitarian concerns. He had no sympathy for American Indians, initiating the removal of the Cherokees along the [[Trail of Tears]].&amp;lt;ref&amp;gt;Mary Beth Norton et al., &#039;&#039;A People and a Nation, Volume I: to 1877&#039;&#039; (2007) pp. 287–288.&amp;lt;/ref&amp;gt;|sign=|source=}}&lt;br /&gt;
&lt;br /&gt;
Opposing factions led by [[Henry Clay]] helped form the Whig Party. The Democratic Party had a small yet decisive advantage over the Whigs until the 1850s when the Whigs fell apart over the issue of slavery. In 1854, angry with the [[Kansas–Nebraska Act]], anti-slavery Democrats left the party and joined Northern Whigs to form the [[History of the United States Republican Party|Republican Party]].&amp;lt;ref&amp;gt;Galbraith Schlisinger, &#039;&#039;Of the People: The 200 Year History of the Democratic Party&#039;&#039; (1992) ch. 1–3.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Robert Allen Rutland, &#039;&#039;The Democrats: From Jefferson to Clinton&#039;&#039; (U. of Missouri Press, 1995) ch. 1–4.&amp;lt;/ref&amp;gt; Martin van Buren also helped found the [[Free Soil Party]] to oppose the spread of slavery, running as its candidate in the [[1848 United States presidential election|1848 presidential election]], before returning to the Democratic Party and staying loyal to the Union.&amp;lt;ref&amp;gt;{{cite book |last= Ferrell |first=Claudine L. |date=2006 |title=The Abolitionist Movement|url=https://books.google.com/books?id=mG_MNzwawSAC&amp;amp;pg=PA88 |location=Westport|publisher=Greenwood Press |page=88 |isbn=978-0-313-33180-0}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== U.S. Civil War ====&lt;br /&gt;
[[File:Stephen A Douglas - headshot.jpg|thumb|upright|[[Stephen A. Douglas]] was a United States senator for Illinois.]]&lt;br /&gt;
The Democrats split over slavery, with Northern and Southern tickets in the [[1860 United States presidential election|election of 1860]], in which the Republican Party gained ascendancy.&amp;lt;ref&amp;gt;Jean H. Baker, &#039;&#039;Affairs of Party: Political Culture of Northern Democrats in the Mid-nineteenth Century&#039;&#039; (1983)&amp;lt;/ref&amp;gt; The radical pro-slavery [[Fire-Eaters]] led walkouts at the two conventions when the delegates would not adopt a resolution supporting the extension of slavery into territories even if the voters of those territories did not want it. These [[1860 United States presidential election#Constitutional (Southern) Democratic|Southern Democrats]] nominated the pro-slavery incumbent vice president, [[John C. Breckinridge]] of Kentucky, for president and General [[Joseph Lane]], of Oregon, for vice president. The [[1860 United States presidential election#National (Northern) Democratic|Northern Democrats]] nominated Senator [[Stephen A. Douglas]] of Illinois for president and former Georgia Governor [[Herschel Vespasian Johnson|Herschel V. Johnson]] for vice president. This fracturing of the Democrats led to a Republican victory and [[Abraham Lincoln]] was elected the 16th president of the United States.&amp;lt;ref&amp;gt;David M. Potter. &#039;&#039;The Impending Crisis, 1848–1861&#039;&#039; (1976). ch. 16.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As the [[American Civil War]] broke out, Northern Democrats were divided into [[War Democrats]] and [[Copperheads (politics)|Peace Democrats]]. The [[Confederate States of America]] deliberately avoided organized political parties. Most War Democrats rallied to Republican President Abraham Lincoln and the Republicans&#039; [[National Union Party (United States)|National Union Party]] in the [[1864 United States presidential election|election of 1864]], which featured [[Andrew Johnson]] on the Union ticket to attract fellow Democrats. Johnson replaced Lincoln in 1865, but he stayed independent of both parties.&amp;lt;ref&amp;gt;Mark E. Neely. &#039;&#039;Lincoln and the Democrats: The Politics of Opposition in the Civil War&#039;&#039; (2017).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Reconstruction and Redemption ====&lt;br /&gt;
The Democrats benefited from white Southerners&#039; resentment of [[Reconstruction era of the United States|Reconstruction]] after the war and consequent hostility to the Republican Party. After [[Redeemers]] ended Reconstruction in the 1870s and following the often extremely violent [[Disenfranchisement after the Reconstruction Era|disenfranchisement]] of African Americans led by such [[White supremacy#Academic use of the term|white supremacist]] Democratic politicians as [[Benjamin Tillman]] of [[South Carolina]] in the 1880s and 1890s, the South, voting Democratic, became known as the &amp;quot;[[Solid South]]&amp;quot;. Although Republicans won all but two presidential elections, the Democrats remained competitive. The party was dominated by pro-business [[Bourbon Democrat]]s led by [[Samuel J. Tilden]] and [[Grover Cleveland]], who represented mercantile, banking, and railroad interests; opposed [[imperialism]] and overseas expansion; fought for the [[gold standard]]; opposed [[bimetallism]]; and crusaded against corruption, high taxes and tariffs. Cleveland was elected to non-consecutive presidential terms in [[1884 United States presidential election|1884]] and [[1892 United States presidential election|1892]].&amp;lt;ref&amp;gt;Rutland, &#039;&#039;The Democrats: From Jefferson to Clinton&#039;&#039; (1995) ch. 5–6.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 20th century ===&lt;br /&gt;
{{Further|Fourth Party System|Fifth Party System|Sixth Party System}}&lt;br /&gt;
&lt;br /&gt;
==== Progressive era ====&lt;br /&gt;
[[File:Breckinridgelong2.jpg|thumb|Leaders of the Democratic Party during the first half of the 20th century on in 1913: William Jennings Bryan, [[Josephus Daniels]], [[Woodrow Wilson]], [[Breckinridge Long]], [[William Phillips (diplomat)|William Phillips]], and Franklin D. Roosevelt]]&lt;br /&gt;
Agrarian Democrats demanding [[free silver]], drawing on Populist ideas, overthrew the Bourbon Democrats in 1896 and nominated [[William Jennings Bryan]] for the presidency (a nomination repeated by Democrats in 1900 and 1908). Bryan waged a vigorous campaign attacking Eastern moneyed interests, but he lost to Republican [[William McKinley]].&amp;lt;ref&amp;gt;Robert W. Cherny, &#039;&#039;A Righteous Cause: The Life of William Jennings Bryan&#039;&#039; (1994)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Democrats took control of the House in 1910, and [[Woodrow Wilson]] won election as president in 1912 (when the Republicans split) and 1916. Wilson effectively led Congress to put to rest the issues of tariffs, money, and antitrust, which had dominated politics for 40 years, with new progressive laws. He failed to secure Senate passage of the [[Versailles Treaty]] (ending the war with Germany and joining the League of Nations).&amp;lt;ref&amp;gt;H.W. Brands, &#039;&#039;Woodrow Wilson&#039;&#039; (2003).&amp;lt;/ref&amp;gt; The weakened party was deeply divided by issues such as the KKK and prohibition in the 1920s. However, it did organize new ethnic voters in Northern cities.&amp;lt;ref&amp;gt;Douglas B. Craig, &#039;&#039;After Wilson: The Struggle for the Democratic Party, 1920–1934&#039;&#039; (1993)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After [[World War I]] ended and continuing through the [[Great Depression]], the Democratic and Republican Parties both largely believed in [[American exceptionalism]] over European monarchies and [[state socialism]] that existed elsewhere in the world.&amp;lt;ref&amp;gt;{{Cite book |last=Davis |first=Kenneth C. |title=Don&#039;t Know Much About History: Everything You Need to Know About American History but Never Learned |publisher=HarperCollins |year=2003 |isbn=978-0-06-008381-6 |edition=1st |location=New York |pages=321, 341 |author-link=Kenneth C. Davis}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 1930s–1960s and the rise of the New Deal coalition ====&lt;br /&gt;
[[File:RooseveltTruman1944poster.jpg|thumb|upright|left|Franklin D. Roosevelt and Harry S. Truman, the 32nd and 33rd presidents (1933–1945; 1945–1953), featured on a campaign poster for the [[1944 United States presidential election|1944 presidential election]]; note the rooster logo of the Democratic Party (see [[#Name and symbols|Names and Symbols]] below)]]&lt;br /&gt;
The [[Great Depression]] in 1929 that began under Republican President [[Herbert Hoover]] and the Republican Congress set the stage for a more liberal government as the Democrats controlled the House of Representatives nearly uninterrupted from 1930 until 1994, the Senate for 44 of 48 years from 1930, and won most presidential elections until 1968. [[Franklin D. Roosevelt]], elected to the presidency in 1932, came forth with federal government programs called the [[New Deal]]. New Deal liberalism meant the regulation of business (especially finance and banking) and the promotion of labor unions as well as federal spending to aid the unemployed, help distressed farmers and undertake large-scale public works projects. It marked the start of the American welfare state.&amp;lt;ref&amp;gt;{{cite book|first=Ellen|last=Russell|title=New Deal Banking Reforms and Keynesian Welfare State Capitalism|url=https://books.google.com/books?id=qzOUAgAAQBAJ&amp;amp;pg=PA4|year=2007|publisher=Routledge|pages=3–4|isbn=9781135910655|access-date=April 28, 2020|archive-date=October 2, 2020|archive-url=https://web.archive.org/web/20201002180941/https://books.google.com/books?id=qzOUAgAAQBAJ&amp;amp;pg=PA4&amp;amp;hl=en|url-status=live}}&amp;lt;/ref&amp;gt; The opponents, who stressed opposition to unions, support for business and low taxes, started calling themselves &amp;quot;conservatives&amp;quot;.&amp;lt;ref&amp;gt;Rutland, &#039;&#039;The Democrats: From Jefferson to Clinton&#039;&#039; (1995) ch. 7.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Until the 1980s, the Democratic Party was a coalition of two parties divided by the Mason–Dixon line: liberal Democrats in the North and culturally conservative voters in the South, who though benefitting from many of the New Deal public works projects, opposed increasing [[Civil and political rights|civil rights]] initiatives advocated by northeastern liberals. The polarization grew stronger after Roosevelt died. Southern Democrats formed a key part of the bipartisan [[conservative coalition]] in an alliance with most of the Midwestern Republicans. The economically activist philosophy of Franklin D. Roosevelt, which has strongly influenced [[Liberalism in the United States|American liberalism]], shaped much of the party&#039;s economic agenda after 1932.&amp;lt;ref&amp;gt;David M. Kennedy, &#039;&#039;Freedom from Fear: The American People in Depression and War, 1929–1945&#039;&#039; (2001).&amp;lt;/ref&amp;gt; From the 1930s to the mid-1960s, the liberal [[New Deal coalition]] usually controlled the presidency while the conservative coalition usually controlled Congress.&amp;lt;ref&amp;gt;Paul Finkelman and Peter Wallenstein, eds. &#039;&#039;The Encyclopedia Of American Political History&#039;&#039; (CQ Press, 2001) pp. 124–126.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 1960s–1980s and the collapse of the New Deal coalition ====&lt;br /&gt;
{{see also|Civil Rights Movement}}&lt;br /&gt;
Issues facing parties and the United States after World War II included the [[Cold War]] and the [[civil rights movement]]. Republicans attracted conservatives and, after the 1960s, white Southerners from the Democratic coalition with their use of the [[Southern strategy]] and resistance to New Deal and [[Great Society]] liberalism. Until the 1950s, African Americans had traditionally supported the Republican Party because of its anti-slavery civil rights policies. Following the passage of the [[Civil Rights Act of 1964]] and [[Voting Rights Act of 1965]], the Southern states became more reliably Republican in presidential politics, while Northeastern states became more reliably Democratic.&amp;lt;ref name=&amp;quot;Regional Variations in the Realignment of American Politics, 1944–2004&amp;quot;&amp;gt;{{cite journal|last1=Bullock|first1=Charles S.|last2=Hoffman|first2=Donna R.|last3=Gaddie|first3=Ronald Keith|year=2006|title=Regional Variations in the Realignment of American Politics, 1944–2004|journal=Social Science Quarterly|volume=87|issue=3|pages=494–518|doi=10.1111/j.1540-6237.2006.00393.x|issn=0038-4941|quote=The events of 1964 laid open the divisions between the South and national Democrats and elicited distinctly different voter behavior in the two regions. The agitation for civil rights by southern blacks continued white violence toward the civil rights movement, and President Lyndon Johnson&#039;s aggressive leadership all facilitated passage of the 1964 Civil Rights Act. ... In the South, 1964 should be associated with GOP growth while in the Northeast this election contributed to the eradication of Republicans.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal|last=Stanley|first=Harold W.|year=1988|title=Southern Partisan Changes: Dealignment, Realignment or Both?|journal=The Journal of Politics|volume=50|issue=1|pages=64–88|doi=10.2307/2131041|issn=0022-3816|quote=Events surrounding the presidential election of 1964 marked a watershed in terms of the parties and the South (Pomper, 1972). The Solid South was built around the identification of the Democratic party with the cause of white supremacy. Events before 1964 gave white southerners pause about the linkage between the Democratic Party and white supremacy, but the 1964 election, passage of the Civil Rights Act of 1964, and the Voting Rights Act of 1965 altered in the minds of most the positions of the national parties on racial issues.|jstor=2131041|s2cid=154860857}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=Black-2003&amp;gt;{{cite book|url=http://www.hup.harvard.edu/catalog.php?isbn=9780674012486|title=The Rise of Southern Republicans |first1= Earl|last1= Black|first2= Merle |last2= Black|date=September 30, 2003 |publisher=Harvard University Press|isbn=9780674012486 |access-date=June 9, 2018|quote=When the Republican party nominated Arizona Senator Barry Goldwater—one of the few senators who had opposed the Civil Rights Act—as their presidential candidate in 1964, the party attracted many southern whites but permanently alienated African-American voters. Beginning with the Goldwater-versus-Johnson campaign more southern whites voted Republican than Democratic, a pattern that has recurred in every subsequent presidential election. ... Before the 1964 presidential election the Republican party had not carried any Deep South state for eighty-eight years. Yet shortly after Congress passed the Civil Rights Act, hundreds of Deep South counties gave Barry Goldwater landslide majorities.|archive-date=June 12, 2018|archive-url=https://web.archive.org/web/20180612135934/http://www.hup.harvard.edu/catalog.php?isbn=9780674012486|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Activists and Partisan Realignment&amp;quot;&amp;gt;{{cite journal|last1=Miller|first1=Gary|last2=Schofield|first2=Norman|year=2003|title=Activists and Partisan Realignment in the United States|journal=American Political Science Review|volume=97|issue=2|pages=245–260|doi=10.1017/S0003055403000650|s2cid=12885628|issn=1537-5943|quote=By 2000, however, the New Deal party alignment no longer captured patterns of partisan voting. In the intervening 40 years, the Civil Rights and Voting Rights Acts had triggered an increasingly race-driven distinction between the parties. ... Goldwater won the electoral votes of five states of the Deep South in 1964, four of them states that had voted Democratic for 84 years (Califano 1991, 55). He forged a new identification of the Republican party with racial conservatism, reversing a century-long association of the GOP with racial liberalism. This in turn opened the door for Nixon&#039;s &amp;quot;Southern strategy&amp;quot; and the Reagan victories of the eighties.}}&amp;lt;/ref&amp;gt; Studies show that Southern whites, which were a core constituency in the Democratic Party, shifted to the Republican Party due to [[White backlash|racial backlash]] and [[social conservatism]].&amp;lt;ref name=&amp;quot;Issue Evolution&amp;quot;&amp;gt;{{cite book|url=https://press.princeton.edu/titles/4385.html|title=Issue Evolution|date=September 6, 1990|publisher=Princeton University Press|isbn=9780691023311|access-date=June 9, 2018|archive-date=May 16, 2018|archive-url=https://web.archive.org/web/20180516081536/https://press.princeton.edu/titles/4385.html|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=Valentino-2005&amp;gt;{{cite journal|last1=Valentino|first1=Nicholas A.|last2=Sears|first2=David O.|author-link2=David O. Sears|year=2005|title=Old Times There Are Not Forgotten: Race and Partisan Realignment in the Contemporary South|journal=American Journal of Political Science|volume=49|issue=3|pages=672–88|doi=10.1111/j.1540-5907.2005.00136.x|issn=0092-5853|author-link1=Nicholas Valentino}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal|first1=Ilyana|last1=Kuziemko|first2=Ebonya|last2=Washington|title=Why Did the Democrats Lose the South? Bringing New Data to an Old Debate|journal=American Economic Review|year=2018|volume=108|issue=10|pages=2830–2867|doi=10.1257/aer.20161413|issn=0002-8282|doi-access=free}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{multiple image&lt;br /&gt;
| total_width   = 300&lt;br /&gt;
| caption_align = center&lt;br /&gt;
| image1        = John F. Kennedy, White House color photo portrait.jpg&lt;br /&gt;
| caption1      = [[John F. Kennedy]], the 35th president (1961–1963)&lt;br /&gt;
| image2        = 37 Lyndon Johnson 3x4.jpg&lt;br /&gt;
| caption2      = [[Lyndon B. Johnson]], the 36th president (1963–1969)&lt;br /&gt;
}}&lt;br /&gt;
The election of President [[John F. Kennedy]] from Massachusetts in 1960 partially reflected this shift. In the campaign, Kennedy attracted a new generation of younger voters. In his agenda dubbed the [[New Frontier]], Kennedy introduced a host of social programs and public works projects, along with enhanced support of the [[NASA|space program]], proposing a crewed spacecraft [[Apollo 11|trip to the moon]] by the end of the decade. He pushed for civil rights initiatives and proposed the [[Civil Rights Act of 1964]], but with his [[Assassination of John F. Kennedy|assassination]] in November 1963, he was not able to see its passage.&amp;lt;ref&amp;gt;James T. Patterson, &#039;&#039;Grand Expectations: The United States, 1945–1974&#039;&#039; (1997).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Kennedy&#039;s successor [[Lyndon B. Johnson]] was able to persuade the largely conservative Congress to pass the Civil Rights Act of 1964, and with a more progressive Congress in 1965 passed much of the [[Great Society]], including [[Medicare (United States)|Medicare]] and [[Medicaid]], which consisted of an array of social programs designed to help the poor, sick, and elderly. Kennedy and Johnson&#039;s advocacy of civil rights further solidified black support for the Democrats but had the effect of alienating Southern whites who would eventually gravitate toward the Republican Party, particularly after the election of [[Ronald Reagan]] to the presidency in 1980. Many conservative [[Southern Democrats]] defected to the [[Republican Party (United States)|Republican Party]], beginning with the passage of the [[Civil Rights Act of 1964]] and the general leftward shift of the party.&amp;lt;ref&amp;gt;{{cite journal|last1=Miller|first1=Gary|last2=Schofield|first2=Norman|year=2008|title=The Transformation of the Republican and Democratic Party Coalitions in the U.S.|journal=Perspectives on Politics|volume=6|issue=3|pages=433–450|doi=10.1017/S1537592708081218|s2cid=145321253|issn=1541-0986|quote=1964 was the last presidential election in which the Democrats earned more than 50 percent of the white vote in the United States.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=Black-2003/&amp;gt;&amp;lt;ref name=&amp;quot;Activists and Partisan Realignment&amp;quot;/&amp;gt;&amp;lt;ref name=Valentino-2005/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The United States&#039; involvement in the [[Vietnam War]] in the 1960s was another divisive issue that further fractured the fault lines of the Democrats&#039; coalition. After the [[Gulf of Tonkin Resolution]] in 1964, President Johnson committed a large contingency of combat troops to Vietnam, but the escalation failed to drive the [[Viet Cong]] from South Vietnam, resulting in an increasing [[Quagmire theory|quagmire]], which by 1968 had become the subject of widespread anti-war protests in the United States and elsewhere. With increasing casualties and nightly news reports bringing home troubling images from Vietnam, the costly military engagement became increasingly unpopular, alienating many of the kinds of young voters that the Democrats had attracted in the early 1960s. The protests that year along with assassinations of [[Martin Luther King Jr.]] and Democratic presidential candidate Senator [[Robert F. Kennedy]] (younger brother of John F. Kennedy) climaxed in turbulence at the hotly-contested [[1968 Democratic National Convention|Democratic National Convention]] that summer in Chicago (which amongst the ensuing turmoil inside and outside of the convention hall nominated Vice President [[Hubert Humphrey]]) in a series of events that proved to mark a significant turning point in the decline of the Democratic Party&#039;s broad coalition.&amp;lt;ref&amp;gt;Patterson, &#039;&#039;Grand Expectations: The United States, 1945–1974&#039;&#039; (1997).&amp;lt;/ref&amp;gt;&lt;br /&gt;
[[File:JimmyCarterPortrait2.jpg|thumb|upright|[[Jimmy Carter]], the 39th president (1977–1981)]]&lt;br /&gt;
Republican presidential nominee [[Richard Nixon]] was able to capitalize on the confusion of the Democrats that year, and won the 1968 election to become the 37th president. He won re-election in a [[1972 United States presidential election|landslide]] in 1972 against Democratic nominee [[George McGovern]], who like Robert F. Kennedy, reached out to the younger anti-war and counterculture voters, but unlike Kennedy, was not able to appeal to the party&#039;s more traditional white working-class constituencies. During Nixon&#039;s second term, his presidency was rocked by the [[Watergate]] scandal, which forced him to resign in 1974. He was succeeded by vice president [[Gerald Ford]], who served a brief tenure.&lt;br /&gt;
&lt;br /&gt;
Watergate offered the Democrats an opportunity to recoup, and their nominee [[Jimmy Carter]] won the 1976 presidential election. With the initial support of [[evangelical]] Christian voters in the South, Carter was temporarily able to reunite the disparate factions within the party, but inflation and the [[Iran Hostage Crisis]] of 1979–1980 took their toll, resulting in a [[1980 United States presidential election|landslide]] victory for Republican presidential nominee [[Ronald Reagan]] in 1980, which shifted the political landscape in favor of the Republicans for years to come. The influx of conservative Democrats into the Republican Party is often cited as a reason for the Republican Party&#039;s shift further to the right during the late 20th century as well as the shift of its base from the Northeast and Midwest to the South.&amp;lt;ref&amp;gt;{{Cite journal |last1=Smyth |first1=David J. |last2=Taylor |first2=Susan Washburn |year=1992 |title=Why Do the Republicans Win the White House More Often than the Democrats? |url=https://www.jstor.org/stable/27550992 |journal=Presidential Studies Quarterly |volume=22 |issue=3 |pages=481–491 |jstor=27550992 |issn=0360-4918 |access-date=January 19, 2023 |archive-date=January 19, 2023 |archive-url=https://web.archive.org/web/20230119034446/https://www.jstor.org/stable/27550992 |url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last=Jr |first=R. W. Apple |date=July 12, 1992 |title=Donkey&#039;s Years; Is There Room At the Top For Democrats? |language=en-US |work=The New York Times |url=https://www.nytimes.com/1992/07/12/weekinreview/donkey-s-years-is-there-room-at-the-top-for-democrats.html |access-date=January 19, 2023 |issn=0362-4331 |archive-date=January 19, 2023 |archive-url=https://web.archive.org/web/20230119034446/https://www.nytimes.com/1992/07/12/weekinreview/donkey-s-years-is-there-room-at-the-top-for-democrats.html |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 1990s and Third Way centrism ====&lt;br /&gt;
[[File:Bill Clinton.jpg|thumb|upright|left|[[Bill Clinton]], the 42nd president (1993–2001)]]&lt;br /&gt;
With the ascendancy of the Republicans under Ronald Reagan, the Democrats searched for ways to respond yet were unable to succeed by running traditional candidates, such as former vice president and Democratic presidential nominee [[Walter Mondale]] and Massachusetts Governor [[Michael Dukakis]], who lost to Reagan and [[George H.W. Bush]] in the [[1984 United States presidential election|1984]] and [[1988 United States presidential election|1988 presidential elections]], respectively. Many Democrats attached their hopes to the future star of [[Gary Hart]], who had challenged Mondale in the [[1984 Democratic Party presidential primaries|1984 primaries]] running on a theme of &amp;quot;New Ideas&amp;quot;; and in the subsequent [[1988 Democratic Party presidential primaries|1988 primaries]] became the de facto front-runner and virtual &amp;quot;shoo-in&amp;quot; for the Democratic presidential nomination before a sex scandal ended his campaign. The party nevertheless began to seek out a younger generation of leaders, who like Hart had been inspired by the pragmatic idealism of John F. Kennedy.&amp;lt;ref&amp;gt;James T. Patterson, &#039;&#039;Restless Giant: The United States from Watergate to Bush v. Gore&#039;&#039; (2011).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Arkansas governor [[Bill Clinton]] was one such figure, who was [[1992 United States presidential election|elected]] president in 1992 as the Democratic nominee. The [[Democratic Leadership Council]] was a campaign organization connected to Clinton that advocated a [[Political realignment|realignment]] and [[Triangulation (politics)|triangulation]] under the re-branded &amp;quot;[[New Democrats (United States)|New Democrat]]&amp;quot; label.&amp;lt;ref name=&amp;quot;Geismer-2019&amp;quot;&amp;gt;{{Cite web |last=Geismer |first=Lily |date=June 11, 2019 |title=Democrats and neoliberalism |url=https://www.vox.com/polyarchy/2019/6/11/18660240/democrats-neoliberalism |access-date=November 5, 2022 |website=Vox |language=en |quote=The version of neoliberalism embedded in these policies understood a distinct role for government to stimulate market-oriented solutions to address social ills such as unemployment and poverty. It thereby aimed not to eradicate the welfare state but rather to reformulate it. It extended the importance of poverty alleviation, which had long served as a benchmark of liberal policy, and had many similarities with the basic ideas of the war on poverty. |archive-date=November 5, 2022 |archive-url=https://web.archive.org/web/20221105045200/https://www.vox.com/polyarchy/2019/6/11/18660240/democrats-neoliberalism |url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Hale-1995&amp;quot;&amp;gt;{{Cite journal |last=Hale |first=Jon F. |year=1995 |title=The Making of the New Democrats |url=https://www.jstor.org/stable/2152360 |journal=Political Science Quarterly |volume=110 |issue=2 |pages=207–232 |doi=10.2307/2152360 |jstor=2152360 |issn=0032-3195 |access-date=August 24, 2022 |archive-date=December 12, 2021 |archive-url=https://web.archive.org/web/20211212194604/https://www.jstor.org/stable/2152360 |url-status=live|url-access=subscription }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Wills-1997&amp;quot;&amp;gt;{{Cite news |last=Wills |first=Garry |date=January 19, 1997 |title=The Clinton Principle |language=en-US |work=The New York Times |url=https://www.nytimes.com/1997/01/19/magazine/the-clinton-principle.html |access-date=August 24, 2022 |issn=0362-4331 |archive-date=August 24, 2022 |archive-url=https://web.archive.org/web/20220824024151/https://www.nytimes.com/1997/01/19/magazine/the-clinton-principle.html |url-status=live}}&amp;lt;/ref&amp;gt; The party adopted a synthesis of [[Neoliberalism|neoliberal]] [[economic policies]] with [[cultural liberalism]], with the voter base after Reagan having shifted considerably to the [[Right (politics)|right]].&amp;lt;ref name=&amp;quot;Geismer-2019&amp;quot; /&amp;gt; In an effort to appeal both to liberals and to fiscal conservatives, Democrats began to advocate for a [[balanced budget]] and [[market economy]] tempered by [[Economic interventionism|government intervention]] ([[mixed economy]]), along with a continued emphasis on [[social justice]] and [[affirmative action]]. The economic policy adopted by the Democratic Party, including the former [[Presidency of Bill Clinton|Clinton administration]], has been referred to as &amp;quot;[[Third Way]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The Democrats lost control of Congress in the [[Republican Revolution|1994 elections]] to the Republicans. However, in [[1996 United States Presidential Election|1996]], Clinton was re-elected; he wae the first Democratic president since Franklin D. Roosevelt to win a second full term.&amp;lt;ref&amp;gt;Patterson. &#039;&#039;Restless Giant: The United States from Watergate to Bush v. Gore&#039;&#039; (2011).&amp;lt;/ref&amp;gt; Clinton&#039;s vice president [[Al Gore]] ran to succeed him as president, and won the [[List of United States presidential elections in which the winner lost the popular vote|popular vote]], but after a controversial election dispute over a Florida recount settled by the [[U.S. Supreme Court]] (which [[Bush v. Gore|ruled 5–4 in favor of Bush]]), he lost the [[2000 United States Presidential Election|2000 election]] to Republican opponent [[George W. Bush]] in the [[United States Electoral College|Electoral College]].&amp;lt;ref name=&amp;quot;Cornell-BushvGore&amp;quot;&amp;gt;{{cite web|url=https://www.law.cornell.edu/supct/html/00-949.ZPC.html|title=George W. Bush, et al., Petitioners v. Albert Gore, Jr., et al., 531 U.S. 98 (2000)|access-date=June 26, 2010|author=Supreme Court of the US|date=December 12, 2000|publisher=[[Cornell Law School]]|archive-date=October 15, 2007|archive-url=https://web.archive.org/web/20071015060335/https://www.law.cornell.edu/supct/html/00-949.ZPC.html|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 21st century ===&lt;br /&gt;
[[File:President Barack Obama.jpg|thumb|upright|right|[[Barack Obama]], the 44th president (2009–2017)]]&lt;br /&gt;
In the wake of the 2001 [[September 11 attacks|terrorist attacks]] on the [[World Trade Center (1973–2001)|World Trade Center]] and [[the Pentagon]] as well as the growing concern over [[global warming]], some of the party&#039;s key issues in the early 21st century have included combating [[terrorism]] while preserving human rights, expanding access to health care, [[labor rights]], and environmental protection. Democrats regained majority control of both the House and the Senate in the [[United States general elections, 2006|2006 elections]]. [[Barack Obama]] won the Democratic Party&#039;s nomination and was elected as the first African American president in 2008. Under the Obama presidency, the party moved forward reforms including an [[American Recovery and Reinvestment Act of 2009|economic stimulus]] package, the [[Dodd-Frank Act|Dodd–Frank]] financial reform act and, in its biggest impact, reshaped the nation&#039;s healthcare with the [[Affordable Care Act]].&amp;lt;ref&amp;gt;{{cite news|last1=Lerer|first1=Lisa|title=No Congress Since 1960s Has Impact on Public as 111th|url=https://www.bloomberg.com/news/articles/2010-12-22/no-congress-since-1960s-makes-most-laws-for-americans-as-111th|access-date=April 20, 2016|publisher=Bloomberg L.P.|date=December 22, 2010|archive-date=March 29, 2020|archive-url=https://web.archive.org/web/20200329224729/https://www.bloomberg.com/news/articles/2010-12-22/no-congress-since-1960s-makes-most-laws-for-americans-as-111th|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Dayen 2024&amp;quot;&amp;gt;{{Cite web |last1=Dayen |first1=David |date=December 2, 2024 |title=What Is the Democratic Party? |url=https://prospect.org/politics/2024-12-02-what-is-democratic-party/ |website=The American Prospect |quote=The statistic that best defines our politics over the past 20 years is this: Nine of the past ten national elections have resulted in a change in power in at least one chamber of Congress or the White House. (The sole outlier is 2012.) Several of those elections were considered at the time to be realignments that would lead to a sustained majority for one of the major parties. ... After Republicans defeated John Kerry in 2004 and snatched five Senate seats across the South, commentators believed social issues like gay marriage would set an unwinnable trap for Democrats. Hugh Hewitt wrote a book called Painting the Map Red, imagining a permanent conservative majority. Democrats then took the House and Senate in the 2006 midterms. When Barack Obama crushed John McCain in post–financial crisis 2008, Democratic pundits decided they had an enduring majority. The Tea Party thrashed them in 2010. The conventional wisdom was that Obama was toast; he won in 2012. Donald Trump’s 2016 victory signaled a changed electorate, until Democrats won the House in 2018 and the presidency in 2020, only to lose both in 2022 and 2024.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2000s–2010s and the Obama era ====&lt;br /&gt;
In the [[2010 United States elections|2010 midterm elections]], the Democratic Party lost control of the House as well as its majorities in several state legislatures and governorships. The 2010 elections also marked the end of the Democratic Party&#039;s electoral dominance in the [[Southern United States]].&amp;lt;ref name=&amp;quot;The long goodbye&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the [[2012 United States presidential election|2012 elections]], President Obama was re-elected, but the party remained in the minority in the House of Representatives and lost control of the Senate in the [[2014 United States elections|2014 midterm elections]]. After the [[2016 United States presidential election|2016 election]] of [[Donald Trump]], who lost the [[List of United States presidential elections in which the winner lost the popular vote|popular vote]] to Democratic nominee [[Hillary Clinton]], the Democratic Party transitioned into the role of an opposition party and held neither the presidency nor Congress for two years.&amp;lt;ref name=&amp;quot;Revolt of the Rust Belt&amp;quot;&amp;gt;{{cite journal|title=The revolt of the Rust Belt: place and politics in the age of anger|journal=The British Journal of Sociology|volume=68|issue=S1|pages=S120–S152|first=Michael|last=McQuarrie|date=November 8, 2017|doi=10.1111/1468-4446.12328|pmid=29114874|s2cid=26010609 |doi-access=free|quote=Today, the Democratic Party is a party of professionals, minorities and the New Economy.}}&amp;lt;/ref&amp;gt; However, the party won back the House in the [[2018 United States House of Representatives elections|2018 midterm elections]] under the leadership of [[Nancy Pelosi]].&lt;br /&gt;
&lt;br /&gt;
Democrats were extremely critical of President Trump, particularly his policies on immigration, healthcare, and abortion, as well as his response to the [[COVID-19 pandemic]].&amp;lt;ref&amp;gt;{{cite news|last=York|first=David Smith Molly Redden in New|date=April 1, 2016|title=Donald Trump&#039;s abortion remarks provoke biggest crisis of his campaign|language=en-GB|work=The Guardian|url=https://www.theguardian.com/us-news/2016/mar/31/donald-trump-abortion-remarks-biggest-campaign-crisis |access-date=June 29, 2020|issn=0261-3077|archive-date=July 29, 2020|archive-url=https://web.archive.org/web/20200729191734/https://www.theguardian.com/us-news/2016/mar/31/donald-trump-abortion-remarks-biggest-campaign-crisis|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|last=McCormick|first=Stephanie Armour and John|date=March 14, 2020|title=Democrats Sharpen Criticism of Trump&#039;s Health-Care Policy in Coronavirus Pandemic|language=en-US|work=[[The Wall Street Journal]]|url=https://www.wsj.com/articles/democrats-sharpen-criticism-of-trumps-health-care-policy-in-coronavirus-pandemic-11584195089 |access-date=June 29, 2020|issn=0099-9660|archive-date=July 29, 2020|archive-url=https://web.archive.org/web/20200729182405/https://www.wsj.com/articles/democrats-sharpen-criticism-of-trumps-health-care-policy-in-coronavirus-pandemic-11584195089|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|title=Trump WHO decision draws criticism from Democrats in US Congress|url=https://www.aljazeera.com/news/2020/04/trump-decision-draws-criticism-democrats-congress-200415184644345.html |access-date=June 29, 2020|publisher=Al Jazeera |archive-date=July 29, 2020|archive-url=https://web.archive.org/web/20200729193902/https://www.aljazeera.com/news/2020/04/trump-decision-draws-criticism-democrats-congress-200415184644345.html|url-status=live}}&amp;lt;/ref&amp;gt; In December 2019, Democrats in the House of Representatives [[First impeachment of Donald Trump|impeached Trump]], although he was acquitted in the Republican-controlled Senate.&amp;lt;ref&amp;gt;{{Cite news |last1=Ewing |first1=Philip |date=February 5, 2020 |title=&#039;Not Guilty&#039;: Trump Acquitted On 2 Articles Of Impeachment As Historic Trial Closes |language=en |publisher=[[NPR]] |url=https://www.npr.org/2020/02/05/801429948/not-guilty-trump-acquitted-on-2-articles-of-impeachment-as-historic-trial-closes |access-date=February 8, 2021 |archive-date=February 6, 2020 |archive-url=https://web.archive.org/web/20200206152432/https://www.npr.org/2020/02/05/801429948/not-guilty-trump-acquitted-on-2-articles-of-impeachment-as-historic-trial-closes |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 2020s and opposition to Trumpism ====&lt;br /&gt;
[[File:Joe Biden presidential portrait.jpg|thumb|upright|left|[[Joe Biden]], the 46th president (2021–2025)]]&lt;br /&gt;
In November 2020, Democrat [[Joe Biden]] defeated Trump to win the [[2020 United States presidential election|2020 presidential election]].&amp;lt;ref&amp;gt;{{Cite web |date=November 7, 2020 |title=Biden defeats Trump for White House, says &#039;time to heal&#039; |url=https://apnews.com/article/joe-biden-wins-white-house-ap-fd58df73aa677acb74fce2a69adb71f9 |access-date=November 7, 2020 |website=AP NEWS |archive-date=November 17, 2020 |archive-url=https://web.archive.org/web/20201117190428/https://apnews.com/article/joe-biden-wins-white-house-ap-fd58df73aa677acb74fce2a69adb71f9 |url-status=live}}&amp;lt;/ref&amp;gt; After Trump [[January 6 United States Capitol attack|attempted to challenge the election]], he began his term with extremely narrow Democratic majorities in the U.S. House and Senate.&amp;lt;ref&amp;gt;{{cite news |last1=Martin |first1=Jonathan |last2=Fausset |first2=Richard |last3=Epstein |first3=Reid J. |date=January 6, 2021 |title=Georgia Highlights: Democrats Win the Senate as Ossoff Defeats Perdue |website=The New York Times |url=https://www.nytimes.com/live/2021/01/06/us/georgia-election-results |access-date=January 11, 2021 |archive-date=January 7, 2021 |archive-url=https://web.archive.org/web/20210107140603/https://www.nytimes.com/live/2021/01/06/us/georgia-election-results |url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |title=U.S. House Election Results |language=en-US |work=The New York Times |date=November 3, 2020 |url=https://www.nytimes.com/interactive/2020/11/03/us/elections/results-house.html |access-date=February 8, 2021 |issn=0362-4331 |archive-date=February 20, 2021 |archive-url=https://web.archive.org/web/20210220074106/https://www.nytimes.com/interactive/2020/11/03/us/elections/results-house.html |url-status=live}}&amp;lt;/ref&amp;gt; During the Biden presidency, the party had been characterized as adopting an increasingly [[Economic progressivism|progressive economic agenda]].&amp;lt;ref name=&amp;quot;Bridging the Blue Divide&amp;quot; /&amp;gt; In 2022, Biden appointed [[Ketanji Brown Jackson]], the first [[Black women|Black woman]] on the [[demographics of the Supreme Court of the United States|Supreme Court]]. However, she was replacing liberal justice [[Stephen Breyer]], thus she did not alter the court&#039;s 6–3 split between conservatives (the majority) and liberals.&amp;lt;ref&amp;gt;{{Cite news |last=Fritze |first=John |date=March 6, 2022 |title=Judge Ketanji Brown Jackson would add another Protestant voice to heavily Catholic Supreme Court |url=https://news.yahoo.com/judge-ketanji-brown-jackson-add-100016272.html |publisher=Yahoo! News |language=en-US |access-date=June 30, 2022 |archive-date=June 30, 2022 |archive-url=https://web.archive.org/web/20220630163930/https://news.yahoo.com/judge-ketanji-brown-jackson-add-100016272.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |last=de Vogue |first=Ariane |date=June 30, 2022 |title=Ketanji Brown Jackson to join a Supreme Court in turmoil |url=https://www.cnn.com/2022/06/29/politics/ketanji-brown-jackson-fractured-supreme-court/index.html |publisher=CNN |access-date=June 30, 2022 |archive-date=June 29, 2022 |archive-url=https://web.archive.org/web/20220629222838/https://www.cnn.com/2022/06/29/politics/ketanji-brown-jackson-fractured-supreme-court/index.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |date=June 30, 2022 |title=Watch Live: Judge Ketanji Brown Jackson sworn in as first Black woman on Supreme Court |url=https://www.pbs.org/newshour/politics/watch-live-judge-ketanji-brown-jackson-sworn-in-as-first-black-woman-on-supreme-court |website=PBS NewsHour |language=en-US |access-date=June 30, 2022 |archive-date=June 30, 2022 |archive-url=https://web.archive.org/web/20220630145216/https://www.pbs.org/newshour/politics/watch-live-judge-ketanji-brown-jackson-sworn-in-as-first-black-woman-on-supreme-court |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |title=Ketanji Brown Jackson sworn in as first Black woman on US top court |url=https://www.bbc.com/news/world-us-canada-62003518.amp |website=BBC News |date=June 30, 2022 |access-date=July 1, 2022 |archive-date=July 1, 2022 |archive-url=https://web.archive.org/web/20220701024904/https://www.bbc.com/news/world-us-canada-62003518.amp |url-status=live }}&amp;lt;/ref&amp;gt; After &#039;&#039;[[Dobbs v. Jackson Women&#039;s Health Organization|Dobbs v. Jackson]]&#039;&#039; (decided June 24, 2022), which led to [[Abortion law in the United States by state|abortion bans in much of the country]], the Democratic Party rallied behind [[Abortion-rights movements|abortion rights]].&amp;lt;ref name=&amp;quot;Traister-2023&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the [[2022 United States elections|2022 midterm elections]], Democrats dramatically outperformed historical trends and a widely anticipated [[Wave elections in the United States|red wave]] did not materialize.&amp;lt;ref name=&amp;quot;Tumulty 2022&amp;quot;&amp;gt;{{cite news |last=Tumulty |first=Karen |date=November 9, 2022 |title=The expected red wave looks more like a puddle |newspaper=[[The Washington Post]] |url=https://www.washingtonpost.com/opinions/2022/11/09/no-red-wave-midterm-outcome-analysis/ |access-date=November 10, 2022 |issn=0190-8286 |archive-date=November 12, 2022 |archive-url=https://web.archive.org/web/20221112060937/https://www.washingtonpost.com/opinions/2022/11/09/no-red-wave-midterm-outcome-analysis/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Blake 20222&amp;quot;&amp;gt;{{cite news |last=Blake |first=Aaron |date=November 10, 2022 |title=How bad the 2022 election was for the GOP, historically speaking |newspaper=[[The Washington Post]] |url=https://www.washingtonpost.com/politics/2022/11/10/republican-losses-2022-midterms/ |access-date=November 13, 2022 |issn=0190-8286 |archive-date=February 19, 2023 |archive-url=https://web.archive.org/web/20230219205348/https://www.washingtonpost.com/politics/2022/11/10/republican-losses-2022-midterms/ |url-status=live }}&amp;lt;/ref&amp;gt; The party only narrowly lost its majority in the U.S. House and expanded its majority in the U.S. Senate,&amp;lt;ref name=&amp;quot;Kinery 2022&amp;quot;&amp;gt;{{cite web |last=Kinery |first=Emma |date=November 9, 2022 |title=Midterm results are looking increasingly sunny for Biden as he touts &#039;strong night&#039; for Democrats |url=https://www.cnbc.com/2022/11/09/midterm-election-results-look-better-for-biden-as-democrats-avoid-red-wave.html |access-date=November 10, 2022 |publisher=[[CNBC]] |archive-date=November 9, 2022 |archive-url=https://web.archive.org/web/20221109235327/https://www.cnbc.com/2022/11/09/midterm-election-results-look-better-for-biden-as-democrats-avoid-red-wave.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Enter 2022&amp;quot;&amp;gt;{{cite news |last=Enten |first=Harry |date=November 13, 2022 |title=How Joe Biden and the Democratic Party defied midterm history |url=https://www.cnn.com/2022/11/13/politics/democrats-biden-midterm-elections-senate-house/index.html |access-date=November 28, 2022 |publisher=[[CNN]] |archive-date=November 28, 2022 |archive-url=https://web.archive.org/web/20221128185931/https://www.cnn.com/2022/11/13/politics/democrats-biden-midterm-elections-senate-house/index.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Crampton 2022&amp;quot;&amp;gt;{{cite web |last=Crampton |first=Liz |date=November 9, 2022 |title=Democrats take legislatures in Michigan, Minnesota and eye Pennsylvania |url=https://www.politico.com/news/2022/11/09/democrats-take-legislatures-00065953 |access-date=November 10, 2022 |website=[[Politico]] |archive-date=January 5, 2023 |archive-url=https://web.archive.org/web/20230105195034/https://www.politico.com/news/2022/11/09/democrats-take-legislatures-00065953 |url-status=live }}&amp;lt;/ref&amp;gt; along with several gains at the state level.&amp;lt;ref name=&amp;quot;composition_2023_05_23_ncsl_org&amp;quot;&amp;gt;[https://www.ncsl.org/about-state-legislatures/state-partisan-composition &amp;quot;State Partisan Composition,&amp;quot;] {{Webarchive|url=https://web.archive.org/web/20230704082911/https://www.ncsl.org/about-state-legislatures/state-partisan-composition |date=July 4, 2023 }} May 23, 2023, [[National Conference of State Legislatures]]. Retrieved July 4, 2023&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;statehouse_2023_01_18_nytimes&amp;quot;&amp;gt;[https://www.nytimes.com/2023/01/18/us/democrats-michigan-minnesota-maryland.html &amp;quot;Statehouse Democrats Embrace an Unfamiliar Reality: Full Power,&amp;quot;] {{Webarchive|url=https://web.archive.org/web/20230605070246/https://www.nytimes.com/2023/01/18/us/democrats-michigan-minnesota-maryland.html |date=June 5, 2023 }} January 18, 2023, &#039;&#039;[[New York Times]],&#039;&#039; retrieved July 4, 2023&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;trifectas_2022_11_11_ap_foxnews&amp;quot;&amp;gt;[[Associated Press]]: [https://www.foxnews.com/politics/midterm-election-trifectas-democrats-won-full-government-control-these-states &amp;quot;Midterm election trifectas: Democrats won full government control in these states,&amp;quot;] {{Webarchive|url=https://web.archive.org/web/20230704090351/https://www.foxnews.com/politics/midterm-election-trifectas-democrats-won-full-government-control-these-states |date=July 4, 2023 }} November 10, 2022, &#039;&#039;[[Fox News]],&#039;&#039; retrieved July 4, 2023&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;states_2023_07_01_gazette&amp;quot;&amp;gt;[[Thomas Cronin|Cronin, Tom]] and Bob Loevy: [https://gazette.com/news/american-federalism-states-veer-far-left-or-far-right-cronin-and-loevy/article_47b241d8-1604-11ee-a860-3383285a990d.html &amp;quot;American federalism: States veer far left or far right,&amp;quot;] {{Webarchive|url=https://web.archive.org/web/20230704082911/https://gazette.com/news/american-federalism-states-veer-far-left-or-far-right-cronin-and-loevy/article_47b241d8-1604-11ee-a860-3383285a990d.html |date=July 4, 2023 }}, July 1, 2023, updated July 2, 2023, &#039;&#039;[[Colorado Springs Gazette]],&#039;&#039; retrieved July 4, 2023&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In July 2024, after a series of [[Age and health concerns about Joe Biden|age and health concerns]], Biden became the first incumbent president since [[Withdrawal of Lyndon B. Johnson from the 1968 United States presidential election|Lyndon B. Johnson in 1968]] to [[Withdrawal of Joe Biden from the 2024 United States presidential election|withdraw]] from running for reelection, the first since the 19th century to withdraw after serving only one term,{{efn|All three incumbents in the 20th century to withdraw or not seek reelection—Calvin Coolidge, Harry S. Truman, and Lyndon B. Johnson—had succeeded to the presidency when their predecessor died, then won a second term in their own right.&amp;lt;ref name=&amp;quot;Klassen-2024&amp;quot;/&amp;gt; Three presidents in the 1800s made and kept pledges to serve only one term, most recently [[Rutherford B. Hayes]].&amp;lt;ref&amp;gt;{{cite news |last1=Gendler |first1=Alex |title=US presidents who did not seek reelection |url=https://www.voanews.com/a/us-presidents-who-did-not-seek-reelection/7709836.html |publisher=Voice of America |date=July 23, 2024 |language=en |access-date=July 24, 2024 |archive-date=July 24, 2024 |archive-url=https://web.archive.org/web/20240724054720/https://www.voanews.com/a/us-presidents-who-did-not-seek-reelection/7709836.html |url-status=live }}&amp;lt;/ref&amp;gt;}} and the only one to ever withdraw after already winning [[Democratic Party presidential primaries|the primaries]].&amp;lt;ref name=&amp;quot;Klassen-2024&amp;quot;&amp;gt;{{cite news |last1=Klassen |first1=Thomas |title=Biden steps aside, setting in motion an unprecedented period in American politics |url=https://theconversation.com/biden-steps-aside-setting-in-motion-an-unprecedented-period-in-american-politics-235189 |access-date=July 24, 2024 |work=The Conversation |date=July 21, 2024 |archive-date=July 22, 2024 |archive-url=https://web.archive.org/web/20240722044605/https://theconversation.com/biden-steps-aside-setting-in-motion-an-unprecedented-period-in-american-politics-235189 |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last1=Kenning |first1=Chris |last2=Samuelsohn |first2=Darren |title=&#039;It&#039;s unprecedented&#039;: Biden&#039;s exit is a history-making moment in the American presidency |url=https://www.usatoday.com/story/news/politics/elections/2024/07/22/biden-drops-out-presidential-history/74491426007/ |access-date=July 23, 2024 |work=USA Today |archive-date=July 25, 2024 |archive-url=https://web.archive.org/web/20240725003155/https://www.usatoday.com/story/news/politics/elections/2024/07/22/biden-drops-out-presidential-history/74491426007/ |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Vice President [[Kamala Harris]]—who became Biden&#039;s replacement on the ballot after his withdrawal from the race—became the first [[black women|black woman]] to be nominated by a major party, but she was defeated in the [[2024 United States presidential election|2024 election]] by Donald Trump. Harris lost the [[United States electoral college|electoral college]] 312–226 (including all seven of the anticipated [[swing state]]s) as well as the popular vote, becoming the first Democratic candidate to do so since [[John Kerry]] in 2004, amid what was a global anti-incumbent backlash.&amp;lt;ref name=&amp;quot;graveyard&amp;quot;&amp;gt;{{cite news |last=Burn-Murdoch |first=John |date=November 7, 2024 |title=Democrats join 2024&#039;s graveyard of incumbents |url=https://www.ft.com/content/e8ac09ea-c300-4249-af7d-109003afb893 |access-date=November 8, 2024 |work=Financial Times}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://abcnews.go.com/538/democrats-incumbent-parties-lost-elections-world/story?id=115972068|title=Democrats aren&#039;t alone&amp;amp;nbsp;— incumbent parties have lost elections all around the world|website=ABC News|first1=Cooper|last1=Burton|date=November 18, 2024|access-date=November 20, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Global Politics&amp;quot;&amp;gt;{{Cite web|url=https://www.wsj.com/world/global-politics-conservative-right-shift-ea0e8d05|title=The Progressive Moment in Global Politics is Over|date=December 27, 2024|access-date=December 27, 2024|first1=Bertrand|last1=Benoit|first2=David|last2=Luhnow|first3=Vipal|last3=Monga|website=The Wall Street Journal|quote=Weak economic growth and record immigration are driving gains by the right, especially populists.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last1=Burn-Murdoch |first1=John |title=Trump broke the Democrats&#039; thermostat |url=https://www.ft.com/content/73a1836d-0faa-4c84-b973-554e2ca3a227 |website=[[Financial Times]] |access-date=November 15, 2024 |date=November 15, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Current status ====&lt;br /&gt;
As of 2025, Democrats hold 23 [[List of United States governors|state governorships]], 17 [[List of United States state legislatures|state legislatures]], 15 state government [[Government trifecta|trifectas]], and the mayorships in the majority of the country&#039;s major cities.&amp;lt;ref&amp;gt;{{Cite web |url=https://www.worldpress.org/article.cfm/mayors-of-the-30-largest-cities-in-the-united-states |title=Mayors of the 30 Largest Cities in the U.S. |access-date=July 11, 2023 |archive-date=July 11, 2023 |archive-url=https://web.archive.org/web/20230711234205/https://www.worldpress.org/article.cfm/mayors-of-the-30-largest-cities-in-the-united-states |url-status=live}}&amp;lt;/ref&amp;gt; Three of the nine current [[U.S. Supreme Court]] justices were appointed by Democratic presidents. By registered members, the Democratic Party is the largest party in the U.S. and the [[List of largest political parties|fourth largest in the world]]. All totaled, 16 Democrats have served as president of the United States.&amp;lt;ref name=&amp;quot;sarnold&amp;quot;&amp;gt;{{cite book |last=Arnold |first=N. Scott |url=https://books.google.com/books?id=xGNRRwkZFysC |title=Imposing values: an essay on liberalism and regulation |publisher=Oxford University Press |year=2009 |isbn=9780495501121 |page=3 |quote=Modern liberalism occupies the left-of-center in the traditional political spectrum and is represented by the Democratic Party in the United States. |access-date=April 28, 2020 |archive-url=https://web.archive.org/web/20201002180929/https://books.google.com/books?id=xGNRRwkZFysC&amp;amp;hl=en |archive-date=October 2, 2020}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Name and symbols ==&lt;br /&gt;
{{split portions|portions=mascots|talk=Talk:Political parties in the United States#Article on party mascots|date=August 2024}}&lt;br /&gt;
{{multiple image&lt;br /&gt;
| align             = right&lt;br /&gt;
| direction         = vertical&lt;br /&gt;
| width             = 150&lt;br /&gt;
| image1            = Democraticjackass.jpg&lt;br /&gt;
| caption1          = &amp;quot;A Live Jackass Kicking a Dead Lion&amp;quot; by Thomas Nast, &#039;&#039;[[Harper&#039;s Magazine|Harper&#039;s Weekly]]&#039;&#039;, January 19, 1870&lt;br /&gt;
| image2            = DemocraticLogo.svg&lt;br /&gt;
| caption2          = The donkey party logo remains a well-known symbol for the Democratic Party despite not being the official logo of the party.&lt;br /&gt;
| image3            = US Democratic Party Logo.svg&lt;br /&gt;
| caption3          = In use since 2010, the letter &amp;quot;D&amp;quot; enclosed in a circle has been one of the Democratic Party&#039;s main symbols.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The [[Democratic-Republican Party]] splintered in 1824 into the short-lived [[National Republican Party]] and the Jacksonian movement which in 1828 became the Democratic Party. During the Jacksonian era, the term &amp;quot;The Democracy&amp;quot; was in use by the party, but the name &amp;quot;Democratic Party&amp;quot; was eventually settled upon&amp;lt;ref&amp;gt;{{cite book|author=Appleby, Joyce|title=Thomas Jefferson|year=2003|page=4|publisher=Cambridge University Press |isbn=978-0-521-64841-7|author-link=Joyce Appleby|url=https://books.google.com/books?id=6rOu3WYEiiQC|access-date=April 28, 2020|archive-date=October 2, 2020|archive-url=https://web.archive.org/web/20201002180948/https://books.google.com/books?id=6rOu3WYEiiQC&amp;amp;hl=en|url-status=live}}&amp;lt;/ref&amp;gt; and became the official name in 1844.&amp;lt;ref&amp;gt;{{cite encyclopedia|url=https://www.britannica.com/EBchecked/topic/157244/Democratic-Party/308570/Slavery-and-the-emergence-of-the-bipartisan-system|title=Democratic Party|encyclopedia=Encyclopædia Britannica|access-date=January 19, 2015|archive-date=February 17, 2015|archive-url=https://web.archive.org/web/20150217133844/https://www.britannica.com/EBchecked/topic/157244/Democratic-Party/308570/Slavery-and-the-emergence-of-the-bipartisan-system|url-status=live}}&amp;lt;/ref&amp;gt; Members of the party are called &amp;quot;Democrats&amp;quot; or &amp;quot;Dems&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The most common mascot symbol for the party has been the donkey, or jackass.&amp;lt;ref&amp;gt;see [https://web.archive.org/web/20090307093800/https://www.democrats.org/a/2005/06/history_of_the.php &amp;quot;History of the Democratic Donkey&amp;quot;]&amp;lt;/ref&amp;gt; [[Andrew Jackson]]&#039;s enemies twisted his name to &amp;quot;jackass&amp;quot; as a term of ridicule regarding a stupid and stubborn animal. However, the Democrats liked the common-man implications and picked it up too, therefore the image persisted and evolved.&amp;lt;ref&amp;gt;{{cite book|author=John William Ward|title=Andrew Jackson: Symbol for an Age|url=https://archive.org/details/andrewjacksonsym0000ward|url-access=registration|year=1962|publisher=Oxford Up|pages=[https://archive.org/details/andrewjacksonsym0000ward/page/87 87]–88|isbn=9780199923205}}&amp;lt;/ref&amp;gt; Its most lasting impression came from the cartoons of [[Thomas Nast]] from 1870 in &#039;&#039;[[Harper&#039;s Magazine|Harper&#039;s Weekly]]&#039;&#039;. Cartoonists followed Nast and used the donkey to represent the Democrats and the elephant to represent the Republicans.&lt;br /&gt;
&lt;br /&gt;
[[File:Alabama Democrats logo 1904-1996.jpg|thumb|In many states, the logo of the Democratic Party was a rooster, for instance, in Alabama: Logo of the [[Alabama Democratic Party]], 1904–1966 (left) and 1966–1996 (right)&amp;lt;ref name=&amp;quot;Ingram&amp;quot;&amp;gt;{{Cite news|url=https://archive.org/details/RacistDemocraticPartyLogo|title=Loyalist Faction Wins; &#039;White Supremacy&#039; Goes|last=Ingram|first=Bob|date=January 21, 1966|work=Birmingham News|access-date=July 22, 2017}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Bad symbol removed&amp;quot;&amp;gt;{{Cite news|url=https://news.google.com/newspapers?id=MXw0AAAAIBAJ&amp;amp;pg=2082%2C1717940|title=Bad symbol removed|date=March 14, 1996|work=Times Daily|access-date=July 22, 2017|page=7B|archive-date=May 31, 2022|archive-url=https://web.archive.org/web/20220531190400/https://news.google.com/newspapers?id=MXw0AAAAIBAJ&amp;amp;pg=2082%2C1717940|url-status=live}}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
In the early 20th century, the traditional symbol of the Democratic Party in Indiana, Kentucky, Oklahoma and Ohio was the rooster, as opposed to the Republican eagle.&amp;lt;ref name=&amp;quot;Barbour County-2008&amp;quot;&amp;gt;{{cite web|title=Barbour County, West Virginia General Election Ballot|date=November 4, 2008|url=http://www.wvsos.com/elections/ballots/barbourgen.pdf|url-status=dead|archive-url=https://web.archive.org/web/20081024032144/https://www.wvsos.com/elections/ballots/barbourgen.pdf|archive-date=October 24, 2008}}&amp;lt;/ref&amp;gt; The rooster was also adopted as an official symbol of the national Democratic Party.&amp;lt;ref&amp;gt;{{cite web|url=http://www.ithaca.edu/rhp/programs/cmd/blogs/posters_and_election_propaganda/the_rooster_as_the_symbol_of_the_u.s._democratic_p/|title=The Rooster as the Symbol of the U.S. Democratic Party|first=Steven|last= Seidman| publisher=Ithaca College|date=June 12, 2010|archive-url=https://web.archive.org/web/20171024043133/http://www.ithaca.edu/rhp/programs/cmd/blogs/posters_and_election_propaganda/the_rooster_as_the_symbol_of_the_u.s._democratic_p/|&lt;br /&gt;
archive-date=October 24, 2017}}&amp;lt;/ref&amp;gt; In 1904, the Alabama Democratic Party chose, as the logo to put on its ballots, a rooster with the motto &amp;quot;White supremacy&amp;amp;nbsp;– For the right.&amp;quot;&amp;lt;ref&amp;gt;{{Cite news|url=https://www.snopes.com/dem-party-logo-white-supremacy/|title=FACT CHECK: Did a State Democratic Party Logo Once Feature the Slogan &#039;White Supremacy&#039;?|date=September 25, 2017|work=Snopes.com|access-date=December 9, 2017|language=en-US|archive-date=September 13, 2024|archive-url=https://web.archive.org/web/20240913230553/https://www.snopes.com/fact-check/dem-party-logo-white-supremacy/|url-status=live}}&amp;lt;/ref&amp;gt; The words &amp;quot;White supremacy&amp;quot; were replaced with &amp;quot;Democrats&amp;quot; in 1966.&amp;lt;ref&amp;gt;{{Cite news|url=https://news.google.com/newspapers?nid=1356&amp;amp;dat=19660123&amp;amp;id=63VPAAAAIBAJ&amp;amp;pg=3996,5100480|title=Alabama Democratic Party Strikes &#039;White Supremacy&#039; From Its Motto|date=January 23, 1966|work=Ocala Star-Banner|access-date=July 22, 2017|agency=Associated Press|page=1|archive-date=November 28, 2020|archive-url=https://web.archive.org/web/20201128030021/https://news.google.com/newspapers?nid=1356&amp;amp;dat=19660123&amp;amp;id=63VPAAAAIBAJ&amp;amp;pg=3996,5100480|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Ingram&amp;quot;/&amp;gt; In 1996, the Alabama Democratic Party dropped the rooster, citing racist and white supremacist connotations linked with the symbol.&amp;lt;ref name=&amp;quot;Bad symbol removed&amp;quot;/&amp;gt; The rooster symbol still appears on Oklahoma, Kentucky, Indiana, and West Virginia [[ballot]]s.&amp;lt;ref name=&amp;quot;Barbour County-2008&amp;quot;/&amp;gt; In New York, the Democratic ballot symbol is a five-pointed star.&amp;lt;ref&amp;gt;{{cite web|title=Poor Ballot Design Hurts New York&#039;s Minor Parties{{nbsp}}... Again|publisher=[[Brennan Center for Justice]]|first=Tomas|last=Lopez|date=October 23, 2014|url=https://www.brennancenter.org/blog/poor-ballot-design-hurts-new-yorks-minor-parties-again|access-date=February 6, 2017|archive-date=February 7, 2017|archive-url=https://web.archive.org/web/20170207031521/https://www.brennancenter.org/blog/poor-ballot-design-hurts-new-yorks-minor-parties-again|url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Although both major political parties (and many minor ones) use the traditional American colors of red, white, and blue in their marketing and representations, since [[2000 United States presidential election|election night 2000]] blue has become the identifying color for the Democratic Party while red has become the identifying color for the Republican Party. That night, for the first time all major broadcast television networks used the same color scheme for the electoral map: [[Red states and blue states|blue states]] for [[Al Gore]] (Democratic nominee) and red states for [[George W. Bush]] (Republican nominee). Since then, the color blue has been widely used by the media to represent the party. This is contrary to common practice outside of the United States where blue is the traditional color of the right and red the color of the left.&amp;lt;ref name=&amp;quot;WP Nov 2004&amp;quot;&amp;gt;{{cite news|url=https://www.washingtonpost.com/wp-dyn/articles/A17079-2004Nov1.html|archive-url=https://web.archive.org/web/20080509144731/http://www.washingtonpost.com/wp-dyn/articles/A17079-2004Nov1.html|url-status=dead|archive-date=May 9, 2008|title=Elephants Are Red, Donkeys Are Blue|last=Farhi|first=Paul|date=November 2, 2004|newspaper=The Washington Post|page=C01|access-date=October 11, 2016}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In 2025, a new logo was introduced, which incorporates a white donkey facing to the right instead of the left, with three blue stars in the center instead of four, on a blue background. The modified donkey design has been characterized by some as resembling a [[piñata]].&amp;lt;ref&amp;gt;{{cite news |last1=Foley |first1=Joe |title=People are mocking the Democrat&#039;s new logo, but a rebrand was needed |url=https://www.yahoo.com/news/people-bashing-democrats-logo-rebrand-080716192.html |agency=Yahoo! News |date=March 16, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Jefferson-Jackson Day]] is the annual fundraising event (dinner) held by Democratic Party organizations across the United States.&amp;lt;ref&amp;gt;{{cite news|first=Bill|last=Trotter|title=Obama sets sights on November battle|newspaper=[[Bangor Daily News]]|date=February 11, 2008|url=http://www.bangornews.com/news/t/city.aspx?articleid=160039&amp;amp;zoneid=176|access-date=February 12, 2008|archive-url=https://web.archive.org/web/20080228050855/http://www.bangornews.com/news/t/city.aspx?articleid=160039&amp;amp;zoneid=176|archive-date=February 28, 2008}}&amp;lt;/ref&amp;gt; It is named after Presidents [[Thomas Jefferson]] and [[Andrew Jackson]], whom the party regards as its distinguished early leaders.&lt;br /&gt;
&lt;br /&gt;
The song &amp;quot;[[Happy Days Are Here Again]]&amp;quot; is the unofficial song of the Democratic Party. It was used prominently when [[Franklin D. Roosevelt]] was nominated for president at the [[1932 Democratic National Convention]] and remains a sentimental favorite for Democrats. For example, [[Paul Shaffer]] played the theme on the &#039;&#039;[[Late Show with David Letterman]]&#039;&#039; after the Democrats won Congress in 2006. &amp;quot;[[Don&#039;t Stop (Fleetwood Mac song)|Don&#039;t Stop]]&amp;quot; by [[Fleetwood Mac]] was adopted by [[Bill Clinton]]&#039;s presidential campaign in 1992 and has endured as a popular Democratic song. The emotionally similar song &amp;quot;[[Beautiful Day]]&amp;quot; by the band [[U2]] has also become a favorite theme song for Democratic candidates. [[John Kerry]] used the song during his 2004 presidential campaign and several Democratic congressional candidates used it as a celebratory tune in 2006.&amp;lt;ref&amp;gt;{{cite news|first=Michael|last=Gruss|title=Local roast becomes political pep rally for Democrats|newspaper=[[The Virginian-Pilot]]|date=November 21, 2006|url=http://hamptonroads.com/node/185421|access-date=April 15, 2007|archive-date=February 25, 2015|archive-url=https://web.archive.org/web/20150225035614/http://hamptonroads.com/node/185421|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|first=Michael|last=Scherer|title=The Democrats are ready to lead|work=[[Salon.com]]|date=November 8, 2006|url=https://www.salon.com/news/feature/2006/11/08/pelosi/|access-date=March 18, 2007|archive-date=August 11, 2009|archive-url=https://web.archive.org/web/20090811050908/http://www.salon.com/news/feature/2006/11/08/pelosi/|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As a traditional anthem for its presidential nominating convention, [[Aaron Copland]]&#039;s &amp;quot;[[Fanfare for the Common Man]]&amp;quot; is traditionally performed at the beginning of the Democratic National Convention.&lt;br /&gt;
&lt;br /&gt;
== Structure ==&lt;br /&gt;
[[File:Democratic National Headquarters (53832041544).jpg|thumb|Democratic National Headquarters (2024)]]&lt;br /&gt;
&lt;br /&gt;
=== National committee ===&lt;br /&gt;
The [[Democratic National Committee]] (DNC) is responsible for promoting Democratic campaign activities. While the DNC is responsible for overseeing the process of writing the Democratic Platform, the DNC is more focused on campaign and organizational strategy than [[public policy]]. In presidential elections, it supervises the [[Democratic National Convention]]. The national convention is subject to the charter of the party and the ultimate authority within the Democratic Party when it is in session, with the DNC running the party&#039;s organization at other times. Since {{Date|Feb 1, 2025|MDY}}, the DNC has been chaired by [[Ken Martin]].&amp;lt;ref&amp;gt;{{Cite web |last=Kamisar |first=Ben |date=2025-02-01 |title=Ken Martin wins election as the next chair of the Democratic National Committee |url=https://www.nbcnews.com/politics/elections/ken-martin-wins-election-chair-democratic-national-committee-rcna190018 |access-date=2025-06-15 |website=[[NBC News]] |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State parties ===&lt;br /&gt;
{{main|List of state parties of the Democratic Party (United States)}}&lt;br /&gt;
&lt;br /&gt;
Each state also has a state committee, made up of elected committee members as well as ex officio committee members (usually elected officials and representatives of major constituencies), which in turn elects a chair. County, town, city, and ward committees generally are composed of individuals elected at the local level. State and local committees often coordinate campaign activities within their jurisdiction, oversee local conventions, and in some cases primaries or caucuses, and may have a role in nominating candidates for elected office under state law. Rarely do they have much direct funding, but in 2005 DNC Chairman Dean began a program (called the &amp;quot;50 State Strategy&amp;quot;) of using DNC national funds to assist all state parties and pay for full-time professional staffers.&amp;lt;ref&amp;gt;{{cite news|last=Gilgoff|first=Dan|title=Dean&#039;s List|date=July 16, 2006|url=https://www.usnews.com/usnews/news/articles/060716/24dems.htm|work=[[U.S. News &amp;amp; World Report]]|archive-url=https://web.archive.org/web/20120709100930/http://www.usnews.com/usnews/news/articles/060716/24dems.htm|archive-date=July 9, 2012|access-date=April 26, 2007|url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In addition, state-level party committees operate in the territories of [[American Samoa Democratic Party|American Samoa]], [[Democratic Party of Guam|Guam]], and [[Democratic Party of the Virgin Islands|Virgin Islands]], the commonwealths of [[Democratic Party (Northern Mariana Islands)|Northern Mariana Islands]] and [[Democratic Party (Puerto Rico)|Puerto Rico]], and the [[District of Columbia Democratic State Committee|District of Columbia]], with all but Puerto Rico being active in nominating candidates for both presidential and territorial contests, while Puerto Rico&#039;s Democratic Party is organized only to nominate presidential candidates. The [[Democrats Abroad]] committee is organized by American voters who reside outside of U.S. territory to nominate presidential candidates. All such party committees are accorded recognition as state parties and are allowed to elect both members to the National Committee as well as delegates to the National Convention.&lt;br /&gt;
&lt;br /&gt;
=== Major party committees and groups ===&lt;br /&gt;
[[File:Barack Obama Speaks to College Democrats.jpg|thumb|right|Then-Senator Obama speaking to College Democrats of America in 2007]]&lt;br /&gt;
The [[Democratic Congressional Campaign Committee]] (DCCC) assists party candidates in House races and is chaired by Representative [[Suzan DelBene]] of [[Washington (state)|Washington]]. Similarly, the [[Democratic Senatorial Campaign Committee]] (DSCC), chaired by Senator [[Gary Peters]] of Michigan, raises funds for Senate races. The [[Democratic Legislative Campaign Committee]] (DLCC), chaired by [[Majority Leader of the New York State Senate]] [[Andrea Stewart-Cousins]], is a smaller organization that focuses on state legislative races. The [[Democratic Governors Association]] (DGA) is an organization supporting the candidacies of Democratic gubernatorial nominees and incumbents. Likewise, the mayors of the largest cities and urban centers convene as the [[National Conference of Democratic Mayors]].&amp;lt;ref&amp;gt;{{cite web |title=Home |url=http://www.democraticmayors.org/ |website=National Conference of Democratic Mayors |access-date=March 21, 2020 |archive-date=October 2, 2020 |archive-url=https://web.archive.org/web/20201002181004/https://www.democraticmayors.org/ |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The DNC sponsors the [[College Democrats of America]] (CDA), a student-outreach organization with the goal of training and engaging a new generation of Democratic activists. [[Democrats Abroad]] is the organization for Americans living outside the United States. They work to advance the party&#039;s goals and encourage Americans living abroad to support the Democrats. The [[Young Democrats of America]] (YDA) and the [[High School Democrats of America]] (HSDA) are young adult and youth-led organizations respectively that attempt to draw in and mobilize young people for Democratic candidates but operates outside of the DNC.&lt;br /&gt;
&lt;br /&gt;
== Political positions ==&lt;br /&gt;
{{main|Political positions of the Democratic Party (United States)}}&lt;br /&gt;
[[File:US real median household income 1967 - 2011.PNG|thumb|300px|This graph shows the real median [[Household income in the United States|US household income]] by race: 1967 to 2011, in 2011 dollars.&amp;lt;ref name=&amp;quot;Income by Race&amp;quot;&amp;gt;{{cite book|first1=Carmen|last1=DeNavas-Walt|first2=Bernadette D.|last2=Proctor|first3=Jessica C.|last3=Smith|date=September 2012|chapter=Real Median Household Income by Race and Hispanic Origin: 1967 to 2010|page=8|title=Income, Poverty, and Health Insurance Coverage in the United States: 2011|chapter-url=https://www.census.gov/prod/2012pubs/p60-243.pdf |archive-url=https://ghostarchive.org/archive/20221009/https://www.census.gov/prod/2012pubs/p60-243.pdf |archive-date=October 9, 2022 |url-status=live|publisher=United States Census Bureau}}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
The 21st century Democratic Party differs from other [[Centre-left politics|center-left parties]] around the world in its ideological orientation, in part due to its [[Homogeneity and heterogeneity|heterogenous]] demographic composition. In particular, the Democratic Party&#039;s ideology derives from being supported by both racial minorities, particularly [[African Americans]], as well as White voters with high [[educational attainment in the United States|educational attainment]].&amp;lt;ref name=&amp;quot;Harry Enten&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Nate Silver&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This makes the Democratic Party different, because it is a [[Big tent|big tent party]], neither a [[Classical liberalism|classically liberal]] nor a [[Social democracy|social democratic]] party ideologically. Its voting demographics are heavily educationally and racially-polarized, but not income polarized.&amp;lt;ref name=&amp;quot;culture trumps economic class&amp;quot;/&amp;gt; The Democratic Party is weakest among White voters without college degrees in the 21st century.&amp;lt;ref&amp;gt;{{cite magazine|last1=Cohn|first1=Nate|date=June 11, 2012|title=Obama&#039;s Problem With White, Non-College Educated Voters is Getting Worse|url=https://newrepublic.com/article/103969/obamas-problem-white-non-college-educated-voters-getting-worse|magazine=[[The New Republic]]|access-date=February 13, 2017}}&amp;lt;/ref&amp;gt; Higher educational attainment is strongly correlated with higher income and wealth, and also strongly correlated with increased ideological support for the Democratic Party&#039;s positions among White voters.&amp;lt;ref name=&amp;quot;Abramowitz 2021&amp;quot;&amp;gt;{{Cite web|url=https://centerforpolitics.org/crystalball/can-democrats-win-back-the-white-working-class/|title=Can Democrats Win Back the White Working Class?|website=Sabato&#039;s Crystal Ball|first1=Alan I.|last1=Abramowitz|date=September 23, 2021|access-date=February 7, 2022|quote=The data in Table 3 show that ideology had a powerful influence on vote choice in the 2020 presidential election. Almost all white voters located to the left of center on the ideology scale, regardless of education, voted for Biden, while almost all white voters located to the right of center, regardless of education, voted for Trump. Those in the center, just over one-fifth of white voters, favored Biden overall by a margin of 57% to 43%. However, there is little evidence that economic insecurity had any impact on the candidate preferences of even this group. Finally, it is worth noting that after controlling for ideology, there is almost no remaining difference between the candidate preferences of college and non-college whites. The class divide in candidate preference among white voters in 2020 is almost entirely explained by the fact that non-college white voters are now far more conservative across the board than are white college graduates.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This derives in part from unique regional characteristics of the United States, particularly the [[Southern United States]]. Racial polarization is extremely high in the Southern United States, with [[Black Southerners]] almost entirely voting for the Democratic Party, and [[White Southerners]] almost entirely voting for the Republican Party.&amp;lt;ref name=&amp;quot;Cohn-2014&amp;quot;&amp;gt;{{Cite web|url=https://www.nytimes.com/2014/04/24/upshot/southern-whites-loyalty-to-gop-nearing-that-of-blacks-to-democrats.html|title=Southern Whites&#039; Loyalty to GOP Nearing that of Blacks to Democrats|first1=Nate|last1=Cohn|website=The New York Times|date=April 23, 2014|quote=President Obama’s landslide victory in 2008 was supposed to herald the beginning of a new Democratic era. And yet, six years later, there is not even a clear Democratic majority in the country, let alone one poised for 30 years of dominance. It’s not because Mr. Obama’s so-called new coalition of young and nonwhite voters failed to live up to its potential. They again turned out in record numbers in 2012. The Democratic majority has failed to materialize because the Republicans made large, countervailing and unappreciated gains of their own among white Southerners.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Dogs&amp;quot;/&amp;gt; Also, White Southerners with college degrees are strongly Republican, unlike in most of the rest of the country.&amp;lt;ref name=&amp;quot;White Vote and Educational Polarization&amp;quot;&amp;gt;{{Cite web|url=https://split-ticket.org/2022/01/03/the-white-vote-and-educational-polarization/|title=The White Vote and Educational Polarization|first1=Lakshya|last1=Jain|date=January 3, 2022|access-date=January 4, 2025|website=Split Ticket|quote=Before proceeding, it is worth pointing out that educational attainment, while highly informative, is by no means definitive. As David Shor and Ezra Klein have both said, the metric really serves as a proxy for class polarization, but while it is increasingly predictive, it is not the sole determining factor in a person’s vote.}}&amp;lt;/ref&amp;gt; [[African Americans]] continue to have the lowest incomes of any racial group in the United States.&amp;lt;ref name=&amp;quot;Income by Race&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Democratic Party&#039;s contemporary liberalism has its origins in the [[Puritans]] of [[New England]], with their emphasis on education and science dating back to the colonial era and the [[Scientific Revolution]]. This liberalism is older than the [[classical liberalism]] or [[social democracy]] of the 19th century.&amp;lt;ref&amp;gt;{{Cite book|url=https://books.google.com/books?id=eBLst8a8uYYC|title=The Bible, Protestantism, and the Rise of Natural Science|last=Harrison|first=Peter|year=2001|publisher=Cambridge University Press|isbn=978-0521000963|access-date=September 5, 2016|archive-date=April 4, 2023|archive-url=https://web.archive.org/web/20230404154022/https://books.google.com/books?id=eBLst8a8uYYC|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Democratic party&#039;s social positions derive from those of the [[New Left]], that is [[cultural liberalism]]. These include [[feminism]], LGBT rights, [[Drug liberalization|drug policy reforms]], and [[environmentalism]].&amp;lt;ref name=&amp;quot;Carmines and Layman&amp;quot;&amp;gt;{{cite book |last1=Carmines |first1=Edward G. |author1-link=Edward Carmines |last2=Layman |first2=Geoffrey C. |date=1997 |chapter=Issue Evolution in Postwar American Politics |editor-last=Shafer |editor-first=Byron |title=Present Discontents |location=NJ |publisher=Chatham House Publishers |isbn=978-1-56643-050-0 |chapter-url=https://archive.org/details/presentdisconten0000shaf/page/89/mode/2up |pages=92–93}}&amp;lt;/ref&amp;gt;&amp;lt;ref name= &amp;quot;Kaufman&amp;quot;&amp;gt;{{cite book |first=Cynthia |last=Kaufman |url=https://books.google.com/books?id=3nJUwFqRLTwC&amp;amp;pg=PA275 |title=Ideas for Action: Relevant Theory for Radical Change |isbn=978-0-89608-693-7 |year=2003 |publisher=[[South End Press]] |via=[[Google Books]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |last1=Gitlin |first1=Todd |author1-link=Todd Gitlin |chapter=The Left&#039;s Lost Universalism |editor1-last=Melzer |editor1-first=Arthur M. |editor2-last=Weinberger |editor2-first=Jerry |editor3-last=Zinman |editor3-first=M. Richard |title=Politics at the Turn of the Century |pages=3–26 |location=Lanham, MD |publisher=[[Rowman &amp;amp; Littlefield]] |date=2001}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |first=Grant |last=Farred |author-link=Grant Farred |year=2000 |title=Endgame Identity? Mapping the New Left Roots of Identity Politics |journal=[[New Literary History]] |volume=31 |issue=4 |pages=627–48 |jstor=20057628 |doi=10.1353/nlh.2000.0045 |s2cid=144650061}}&amp;lt;/ref&amp;gt; The party&#039;s platform favors a generous [[welfare state]] and a greater measure of social and economic equality.&amp;lt;ref name=&amp;quot;Larry E. Sullivan 2009 p 291&amp;quot;&amp;gt;Larry E. Sullivan. &#039;&#039;The SAGE glossary of the social and behavioral sciences&#039;&#039; (2009). p. 291: &amp;quot;This liberalism favors a generous welfare state and a greater measure of social and economic equality. Liberty thus exists when all citizens have access to basic necessities such as education, healthcare, and economic opportunities.&amp;quot;&amp;lt;/ref&amp;gt; On social issues, it advocates for [[Abortion-rights movements|the continued legality of abortion]],&amp;lt;ref name=&amp;quot;Traister-2023&amp;quot; /&amp;gt; the [[Legality of cannabis by U.S. jurisdiction|legalization of marijuana]],&amp;lt;ref name=&amp;quot;Gurley-2020&amp;quot;&amp;gt;{{Cite web |last=Gurley |first=Gabrielle |date=November 23, 2020 |title=Biden at the Cannabis Crossroads |url=https://prospect.org/api/content/1ee9a272-2b7f-11eb-b7ea-1244d5f7c7c6/ |url-status=live |archive-url=https://web.archive.org/web/20220826123917/https://prospect.org/day-one-agenda/biden-at-the-cannabis-crossroads/ |archive-date=August 26, 2022 |access-date=August 24, 2022 |website=[[The American Prospect]] |language=en-us}}&amp;lt;/ref&amp;gt; and [[LGBT rights]].&amp;lt;ref name=&amp;quot;NPR-2012a&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Economic issues ===&lt;br /&gt;
The [[social safety net]] and strong [[Labor unions in the United States|labor unions]] have been at the heart of Democratic economic policy since the [[New Deal]] in the 1930s.&amp;lt;ref name=&amp;quot;Larry E. Sullivan 2009 p 291&amp;quot; /&amp;gt; The Democratic Party&#039;s economic policy positions, as measured by votes in Congress, tend to align with those of the middle class.&amp;lt;ref name=Grossmann-2021&amp;gt;{{Cite journal |last1=Grossmann |first1=Matt |last2=Mahmood |first2=Zuhaib |last3=Isaac |first3=William |date=October 1, 2021 |title=Political Parties, Interest Groups, and Unequal Class Influence in American Policy |url=https://www.journals.uchicago.edu/doi/10.1086/711900 |journal=The Journal of Politics |language=en |volume=83 |issue=4 |pages=1706–1720 |doi=10.1086/711900 |s2cid=224851520 |issn=0022-3816 |access-date=October 12, 2021 |archive-date=October 29, 2021 |archive-url=https://web.archive.org/web/20211029170940/https://www.journals.uchicago.edu/doi/10.1086/711900 |url-status=live|url-access=subscription }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Bartels|first=Larry M.|url=https://muse.jhu.edu/book/64558|title=Unequal Democracy: The Political Economy of the New Gilded Age&amp;amp;nbsp;– Second Edition|date=2016|publisher=Princeton University Press|isbn=978-1-4008-8336-3|access-date=November 5, 2021|archive-date=November 5, 2021|archive-url=https://web.archive.org/web/20211105222439/https://muse.jhu.edu/book/64558|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal|last1=Rhodes|first1=Jesse H.|last2=Schaffner|first2=Brian F.|year=2017|title=Testing Models of Unequal Representation: Democratic Populists and Republican Oligarchs?|url=http://www.nowpublishers.com/article/Details/QJPS-16077|journal=Quarterly Journal of Political Science|volume=12|issue=2|pages=185–204|doi=10.1561/100.00016077|access-date=November 5, 2021|archive-date=October 29, 2021|archive-url=https://web.archive.org/web/20211029183431/https://www.nowpublishers.com/article/Details/QJPS-16077|url-status=live | issn = 1554-0626 |url-access=subscription}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal|last1=Lax|first1=Jeffrey R.|last2=Phillips|first2=Justin H.|last3=Zelizer|first3=Adam|year=2019|title=The Party or the Purse? Unequal Representation in the US Senate|url=https://www.cambridge.org/core/journals/american-political-science-review/article/abs/party-or-the-purse-unequal-representation-in-the-us-senate/286BFEAA039374759DE14D782A0BB8DD|journal=American Political Science Review|language=en|volume=113|issue=4|pages=917–940|doi=10.1017/S0003055419000315|s2cid=21669533|issn=0003-0554|access-date=November 5, 2021|archive-date=October 29, 2021|archive-url=https://web.archive.org/web/20211029000457/https://www.cambridge.org/core/journals/american-political-science-review/article/abs/party-or-the-purse-unequal-representation-in-the-us-senate/286BFEAA039374759DE14D782A0BB8DD|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last1=Hacker|first1=Jacob S.|url=https://books.google.com/books?id=Kqu6DwAAQBAJ|title=Let them Eat Tweets: How the Right Rules in an Age of Extreme Inequality|last2=Pierson|first2=Paul|date=2020|publisher=Liveright Publishing|isbn=978-1-63149-685-1|language=en}}&amp;lt;/ref&amp;gt; Democrats support a [[progressive tax]] system, higher [[Minimum wage in the United States|minimum wages]], [[equal opportunity employment]], [[Social Security (United States)|Social Security]], [[universal health care]], [[Education in the United States|public education]], and [[Subsidized housing in the United States|subsidized housing]].&amp;lt;ref name=&amp;quot;Larry E. Sullivan 2009 p 291&amp;quot; /&amp;gt; They also support [[Infrastructure Investment and Jobs Act|infrastructure development]] and clean energy investments to achieve economic development and job creation.&amp;lt;ref&amp;gt;{{cite web|url=http://www.democrats.org/issues/economy_and_job_creation|title=Jobs and the Economy|work=Democrats.org|access-date=July 14, 2014|archive-url=https://web.archive.org/web/20150320195530/http://www.democrats.org/issues/economy_and_job_creation|archive-date=March 20, 2015|url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the 1990s, the party has at times supported [[Centrism|centrist]] economic reforms that cut the size of government and reduced market regulations.&amp;lt;ref&amp;gt;{{cite news|url=https://www.theguardian.com/world/2014/apr/19/wall-street-deregulation-clinton-advisers-obama|title=Wall Street deregulation pushed by Clinton advisers, documents reveal|first=Dan|last=Roberts|newspaper=The Guardian |date=April 19, 2014|access-date=December 14, 2016|archive-date=January 6, 2020|archive-url=https://web.archive.org/web/20200106185232/https://www.theguardian.com/world/2014/apr/19/wall-street-deregulation-clinton-advisers-obama|url-status=live}}&amp;lt;/ref&amp;gt; The party has generally rejected both [[Laissez-faire|&#039;&#039;laissez-faire&#039;&#039; economics]] and [[market socialism]], instead favoring [[Keynesian economics]] within a capitalist market-based system.&amp;lt;ref&amp;gt;{{cite book |last1=Mudge |first1=Stephanie |title=Leftism Reinvented: Western Parties from Socialism to Neoliberalism |date=2018 |publisher=Harvard University Press |location=Cambridge, Massachusetts |pages=167–213}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fiscal policy ====&lt;br /&gt;
Democrats support a more [[progressive tax]] structure to provide more services and reduce [[economic inequality]] by making sure that the wealthiest Americans pay more in taxes.&amp;lt;ref name=&amp;quot;how-high&amp;quot;&amp;gt;{{cite web |url=http://economics.about.com/od/monetaryandfiscalpolicy/a/high_taxes.htm |title=How High Should Taxes Be? |publisher=Economics.about.com |date=June 12, 2010 |access-date=June 17, 2010 |archive-date=April 14, 2016 |archive-url=https://web.archive.org/web/20160414204158/http://economics.about.com/od/monetaryandfiscalpolicy/a/high_taxes.htm |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
Democrats and Republicans traditionally take differing stances on eradicating poverty. Brady said &amp;quot;Our poverty level is the direct consequence of our weak social policies, which are a direct consequence of weak political actors&amp;quot;.&amp;lt;ref&amp;gt;{{cite news |last1=CARBONARO |first1=GIULIA |title=Poverty Is Killing Nearly 200,000 Americans a Year |url=https://www.newsweek.com/poverty-killing-nearly-200000-americans-year-1806002 |work=Newsweek |year=2023 |access-date=June 29, 2023 |archive-date=June 29, 2023 |archive-url=https://web.archive.org/web/20230629052853/https://www.newsweek.com/poverty-killing-nearly-200000-americans-year-1806002 |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
They oppose the cutting of social services, such as [[Social Security (United States)|Social Security]], [[Medicare (United States)|Medicare]], and [[Medicaid]],&amp;lt;ref&amp;gt;{{cite web|url=http://usinfo.state.gov/infousa/government/social/ch9.htm|title=The Social Safety Net|publisher=usinfo.state.gov|url-status=dead|archive-url=https://web.archive.org/web/20080410221216/http://usinfo.state.gov/infousa/government/social/ch9.htm|archive-date=April 10, 2008}}&amp;lt;/ref&amp;gt; believing it to be harmful to efficiency and [[social justice]]. Democrats believe the benefits of social services in monetary and non-monetary terms are a more [[Productive and unproductive labour|productive labor]] force and cultured population and believe that the benefits of this are greater than any benefits that could be derived from lower taxes, especially on top earners, or cuts to social services. Furthermore, Democrats see social services as essential toward providing [[Positive liberty|positive freedom]], freedom derived from economic opportunity. The Democratic-led House of Representatives reinstated the [[PAYGO]] (pay-as-you-go) budget rule at the start of the [[110th United States Congress|110th Congress]].&amp;lt;ref&amp;gt;{{cite news|title=Day Two: House passes new budget rules|date=January 5, 2007|url=https://www.nbcnews.com/id/wbna16487187|agency=Associated Press|access-date=January 5, 2007|archive-date=December 4, 2019|archive-url=https://web.archive.org/web/20191204034031/http://www.nbcnews.com/id/16487187|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Minimum wage ====&lt;br /&gt;
{{see also|Minimum wage in the United States}}&lt;br /&gt;
The Democratic Party favors raising the [[minimum wage]]. The [[Fair Minimum Wage Act of 2007]] was an early component of the Democrats&#039; agenda during the [[110th United States Congress|110th Congress]]. In 2006, the Democrats supported six state-ballot initiatives to increase the minimum wage and all six initiatives passed.&amp;lt;ref name=&amp;quot;democrats.org&amp;quot;&amp;gt;{{cite web|url=http://www.democrats.org/democratic-national-platform |title=The Democratic Party Platform |publisher=Democrats.org |access-date=March 18, 2014 |url-status=dead |archive-url=https://web.archive.org/web/20140315234633/http://www.democrats.org/democratic-national-platform |archive-date=March 15, 2014}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In 2017, Senate Democrats introduced the Raise the Wage Act which would raise the minimum wage to $15 an hour by 2024.&amp;lt;ref&amp;gt;{{cite news|last=Kulwin|first=Noah|date=May 25, 2017|title=Democrats just united on a $15-an-hour minimum wage|url=https://www.vice.com/en/article/democrats-just-united-on-a-15-an-hour-minimum-wage/|work=Vice|access-date=May 29, 2017|archive-date=May 26, 2017|archive-url=https://web.archive.org/web/20170526052042/https://news.vice.com/story/democrats-just-united-on-a-15-an-hour-minimum-wage|url-status=live}}&amp;lt;/ref&amp;gt; In 2021, Democratic president [[Joe Biden]] proposed increasing the minimum wage to $15 by 2025.&amp;lt;ref&amp;gt;{{cite web |last1=Freking |first1=Kevin |title=Biden, Democrats hit gas on push for $15 minimum wage |url=https://apnews.com/article/joe-biden-business-rashida-tlaib-coronavirus-pandemic-minimum-wage-ee0e8cc7c96a30d9581723b2c6bb4189 |work=Associated Press News |date=January 30, 2021 |access-date=February 6, 2021 |archive-date=February 19, 2021 |archive-url=https://web.archive.org/web/20210219102902/https://apnews.com/article/joe-biden-business-rashida-tlaib-coronavirus-pandemic-minimum-wage-ee0e8cc7c96a30d9581723b2c6bb4189 |url-status=live }}&amp;lt;/ref&amp;gt; In many states controlled by Democrats, the state minimum wage has been increased to a rate above the federal minimum wage.&amp;lt;ref&amp;gt;{{cite news |last1=Marr |first1=Chris |title=Blue State Minimum Wages Inch Upward, Widening Gap With South |url=https://news.bloomberglaw.com/daily-labor-report/blue-state-minimum-wages-inch-upward-widening-gap-with-south |website=Bloomberg Law |access-date=July 24, 2022 |archive-date=May 25, 2022 |archive-url=https://web.archive.org/web/20220525224046/https://news.bloomberglaw.com/daily-labor-report/blue-state-minimum-wages-inch-upward-widening-gap-with-south |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Health care ====&lt;br /&gt;
[[File:Obama signing health care-20100323.jpg|thumb|President Obama signing the [[Patient Protection and Affordable Care Act]] into law in 2010]]&lt;br /&gt;
Democrats call for &amp;quot;affordable and quality health care&amp;quot; and favor moving toward [[universal health care]] in a variety of forms to address rising healthcare costs. Progressive Democrats politicians favor a [[single-payer health care|single-payer program]] or [[Medicare for All]], while liberals prefer creating a [[public health insurance option]].&amp;lt;ref name=&amp;quot;Goodnough-2019&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Patient Protection and Affordable Care Act]], signed into law by President [[Barack Obama]] on March 23, 2010, has been one of the most significant pushes for universal health care. As of December 2019, more than 20&amp;amp;nbsp;million Americans have gained health insurance under the Affordable Care Act.&amp;lt;ref&amp;gt;{{cite web |last1=Nova |first1=Annie |title=How the Affordable Care Act transformed our health-care system |url=https://www.cnbc.com/2019/12/29/how-the-affordable-care-act-transformed-the-us-health-care-system.html |publisher=CNBC |date=December 29, 2019 |access-date=July 22, 2020 |archive-date=July 27, 2020 |archive-url=https://web.archive.org/web/20200727041849/https://www.cnbc.com/2019/12/29/how-the-affordable-care-act-transformed-the-us-health-care-system.html |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Education ====&lt;br /&gt;
Democrats favor improving [[public education]] by raising school standards and reforming the [[Head Start (program)|Head Start program]]. They also support [[universal preschool]], expanding access to primary education, including through [[charter schools]], and are generally opposed to [[school voucher]] programs. They call for addressing [[student loan]] debt and reforms to reduce college tuition.&amp;lt;ref&amp;gt;{{cite web |url=http://www.presidency.ucsb.edu/papers_pdf/101962.pdf |title=Moving America Forward 2012 Democratic National Platform |publisher=presidency.ucsb.edu |date=September 14, 2012 |access-date=January 13, 2018 |archive-date=August 19, 2018 |archive-url=https://web.archive.org/web/20180819093203/http://www.presidency.ucsb.edu/papers_pdf/101962.pdf |url-status=live}}&amp;lt;/ref&amp;gt; Other proposals have included tuition-free public universities and reform of [[standardized testing]]. Democrats have the long-term aim of having publicly funded college education with low tuition fees (like in much of Europe and Canada), which would be available to every eligible American student. Alternatively, they encourage expanding access to post-secondary education by increasing state funding for student financial aid such as [[Pell Grants]] and [[college tuition]] [[tax deductions]].&amp;lt;ref&amp;gt;{{cite web|title=Clinton Joins Key Senate Democrats to Release Report on &#039;The College Cost Crunch&#039;|date=June 28, 2006|url=http://clinton.senate.gov/news/statements/details.cfm?id=258005|work=clinton.senate.gov|access-date=November 25, 2006|url-status=dead|archive-url=https://web.archive.org/web/20061025234254/http://www.clinton.senate.gov/news/statements/details.cfm?id=258005|archive-date=October 25, 2006}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Environment ====&lt;br /&gt;
{{main|Environmental policy of the United States}}&lt;br /&gt;
&lt;br /&gt;
{{multiple image&lt;br /&gt;
| align             = right&lt;br /&gt;
| direction         = horizontal&lt;br /&gt;
| total_width       = 450&lt;br /&gt;
| image1            = 2009- Pew survey - is climate change a major threat, by political party.svg&lt;br /&gt;
| caption1          = Democrats and Republicans have diverged on the seriousness of the threat posed by climate change, with Democrats&#039; assessment rising significantly in the mid-2010s.&amp;lt;ref name=PewClimateChange_20230418&amp;gt;● {{cite web |title=54% of Americans view climate change as a major threat, but the partisan divide has grown |url=https://www.pewresearch.org/short-reads/2023/04/18/for-earth-day-key-facts-about-americans-views-of-climate-change-and-renewable-energy/sr_2023-04-18_climate_5/ |publisher=Pew Research Center |archive-url=https://web.archive.org/web/20230422182323/https://www.pewresearch.org/short-reads/2023/04/18/for-earth-day-key-facts-about-americans-views-of-climate-change-and-renewable-energy/sr_2023-04-18_climate_5/ |archive-date=April 22, 2023 |date=April 18, 2023 |url-status=live }} ● Broader discussion by {{cite web |last1=Tyson |first1=Alec |last2=Funk |first2=Cary |last3=Kennedy |first3=Brian |title=What the data says about Americans&#039; views of climate change |url=https://www.pewresearch.org/short-reads/2023/04/18/for-earth-day-key-facts-about-americans-views-of-climate-change-and-renewable-energy/ |publisher=Pew Research Center |archive-url=https://web.archive.org/web/20230512193458/https://www.pewresearch.org/short-reads/2023/04/18/for-earth-day-key-facts-about-americans-views-of-climate-change-and-renewable-energy/ |archive-date=May 12, 2023 |date=April 18, 2023 |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| image2            = 2021 Survey on existence of global warming and responsibility for climate change - bar chart.svg&lt;br /&gt;
| caption2          = The sharp divide over the existence of and responsibility for global warming and climate change falls largely along political lines. Overall, 60% of those surveyed said oil and gas companies were &amp;quot;completely or mostly responsible&amp;quot; for climate change.&amp;lt;ref name=Guardian_20211026&amp;gt;{{cite news |last1=McGreal |first1=Chris |title=Revealed: 60% of Americans say oil firms are to blame for the climate crisis |url=https://www.theguardian.com/environment/2021/oct/26/climate-change-poll-oil-gas-companies-environment |work=The Guardian |date=October 26, 2021 |archive-url=https://web.archive.org/web/20211026122356/https://www.theguardian.com/environment/2021/oct/26/climate-change-poll-oil-gas-companies-environment |archive-date=October 26, 2021 |url-status=live |quote=Source: Guardian/Vice/CCN/YouGov poll. Note: ±4% margin of error.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{multiple image&lt;br /&gt;
| align             = right&lt;br /&gt;
| direction         = horizontal&lt;br /&gt;
| total_width       = 450&lt;br /&gt;
| image3            = 20220301 Opinions by political party - Climate change causation - Action for carbon neutral 2050 - Pew Research.svg&lt;br /&gt;
| caption3          = Opinion about human causation of climate change increased substantially with education among Democrats, but not among Republicans.&amp;lt;ref name=Pew_20220301/&amp;gt; Conversely, opinions favoring becoming carbon neutral declined substantially with age among Republicans, but not among Democrats.&amp;lt;ref name=Pew_20220301&amp;gt;{{cite web |last1=Tyson |first1=Alec |last2=Funk |first2=Cary |last3=Kennedy |first3=Brian |title=Americans Largely Favor U.S. Taking Steps To Become Carbon Neutral by 2050 / Appendix (Detailed charts and tables) |url=https://www.pewresearch.org/science/2022/03/01/carbon-neutral-2050-appendix/ |website=Pew Research |archive-url=https://web.archive.org/web/20220418220503/https://www.pewresearch.org/science/2022/03/01/carbon-neutral-2050-appendix/ |archive-date=April 18, 2022 |date=March 1, 2022 |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| image4            = 20220411 Support for policies to combat climate change, by political party - Gallup poll.svg&lt;br /&gt;
| caption4          = A broad range of policies to reduce greenhouse gas emissions has been proposed. Democrats&#039; support for such policies consistently exceeds that of Republicans.&amp;lt;ref name=Gallup_20220411&amp;gt;{{cite web |last1=Jones |first1=Jeffrey M. |title=Climate Change Proposals Favored by Solid Majorities in U.S. / Support for Policies Designed to Limit Greenhouse Gases, by Political Party |url=https://news.gallup.com/poll/391679/climate-change-proposals-favored-solid-majorities.aspx |website=Gallup |archive-url=https://web.archive.org/web/20221001132301/https://news.gallup.com/poll/391679/climate-change-proposals-favored-solid-majorities.aspx |archive-date=October 1, 2022 |date=April 11, 2022 |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[File:202307 Survey - comfortable with solar wind nuclear in my community.svg|thumb|Acceptance of wind and solar facilities in one&#039;s community is stronger among Democrats (blue), while acceptance of nuclear power plants is stronger among Republicans (red).&amp;lt;ref name=&amp;quot;WashPost_20231003&amp;quot;&amp;gt;{{cite news |last1=Chiu |first1=Allyson |last2=Guskin |first2=Emily |last3=Clement |first3=Scott |title=Americans don&#039;t hate living near solar and wind farms as much as you might think |url=https://www.washingtonpost.com/climate-solutions/2023/10/03/solar-panels-wind-turbines-nimby/ |newspaper=The Washington Post |date=October 3, 2023 |archive-url=https://web.archive.org/web/20231003211732/https://www.washingtonpost.com/climate-solutions/2023/10/03/solar-panels-wind-turbines-nimby/ |archive-date=October 3, 2023 | url-status=live }}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
Democrats believe that the government should protect the environment and have a history of environmentalism. In more recent years, this stance has emphasized [[renewable energy]] generation as the basis for an improved economy, greater [[national security]], and general environmental benefits.&amp;lt;ref&amp;gt;{{cite web|url=http://www.democrats.org/a/national/clean_environment/ |title=Agenda&amp;amp;nbsp;— Environment |access-date=March 18, 2007 |url-status=dead |archive-url=https://web.archive.org/web/20070315113030/http://www.democrats.org/a/national/clean_environment/ |archive-date=March 15, 2007}}&amp;lt;/ref&amp;gt; The Democratic Party is substantially more likely than the Republican Party to support environmental regulation and policies that are supportive of renewable energy.&amp;lt;ref&amp;gt;{{Cite journal|last1=Coley|first1=Jonathan S.|last2=Hess|first2=David J.|year=2012|title=Green energy laws and Republican legislators in the United States|url=https://www.sciencedirect.com/science/article/pii/S0301421512004752|journal=Energy Policy|language=en|volume=48|pages=576–583|doi=10.1016/j.enpol.2012.05.062|bibcode=2012EnPol..48..576C |issn=0301-4215|access-date=November 7, 2021|archive-date=June 18, 2019|archive-url=https://web.archive.org/web/20190618224202/https://www.sciencedirect.com/science/article/pii/S0301421512004752|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal|last1=Bergquist|first1=Parrish|last2=Warshaw|first2=Christopher|year=2020|title=Elections and parties in environmental politics|url=https://www.elgaronline.com/view/edcoll/9781788972833/9781788972833.00017.xml|journal=Handbook of U.S. Environmental Policy|pages=126–141|language=en-US|doi=10.4337/9781788972840.00017|isbn=9781788972840|s2cid=219077951|access-date=November 7, 2021|archive-date=November 7, 2021|archive-url=https://web.archive.org/web/20211107233114/https://www.elgaronline.com/view/edcoll/9781788972833/9781788972833.00017.xml|url-status=live|url-access=subscription}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Democratic Party also favors expansion of conservation lands and encourages open space and rail travel to relieve highway and airport congestion and improve air quality and the economy as it &amp;quot;believe[s] that communities, environmental interests, and the government should work together to protect resources while ensuring the vitality of local economies. Once Americans were led to believe they had to make a choice between the economy and the environment. They now know this is a false choice&amp;quot;.&amp;lt;ref&amp;gt;{{cite web|url=http://www.ontheissues.org/Celeb/Democratic_Party_Environment.htm|title=Democratic Party on Environment|access-date=October 24, 2007|archive-date=July 3, 2019|archive-url=https://web.archive.org/web/20190703223850/http://ontheissues.org/Celeb/Democratic_Party_Environment.htm|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The foremost environmental concern of the Democratic Party is [[climate change]]. Democrats, most notably former Vice President [[Al Gore]], have pressed for stern regulation of [[greenhouse gas]]es. On October 15, 2007, Gore won the [[Nobel Peace Prize]] for his efforts to build greater knowledge about man-made climate change and laying the foundations for the measures needed to counteract it.&amp;lt;ref&amp;gt;{{cite magazine|first=John|last=Nicols|title=Al Gore Wins Nobel Peace Prize|magazine=The Nation|date=October 12, 2007}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Renewable energy and fossil fuels ====&lt;br /&gt;
Democrats have supported increased domestic [[renewable energy]] development, including wind and solar power farms, in an effort to reduce carbon pollution. The party&#039;s platform calls for an &amp;quot;all of the above&amp;quot; energy policy including clean energy, natural gas and domestic oil, with the desire of becoming energy independent.&amp;lt;ref name=&amp;quot;democrats.org&amp;quot; /&amp;gt; The party has supported higher taxes on [[oil companies]] and increased regulations on [[coal power plant]]s, favoring a policy of reducing long-term reliance on [[fossil fuels]].&amp;lt;ref&amp;gt;{{cite web|url=http://www.democrats.org/issues/energy_independence|archive-url=https://web.archive.org/web/20100920002824/http://www.democrats.org/issues/energy_independence|url-status=dead|archive-date=September 20, 2010|title=Energy Independence|work=Democrats.org}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|url=https://www.washingtonpost.com/blogs/post-politics/wp/2014/06/02/coal-state-democrats-to-obama-curb-emissions-um-no-thanks/|title=Coal state Democrats to Obama: Curb emissions? Um, no thanks.|newspaper=[[The Washington Post]]|first=Sean|last=Sullivan|date=June 2, 2014|access-date=August 22, 2017|archive-date=May 13, 2015|archive-url=https://web.archive.org/web/20150513225106/http://www.washingtonpost.com/blogs/post-politics/wp/2014/06/02/coal-state-democrats-to-obama-curb-emissions-um-no-thanks/|url-status=live}}&amp;lt;/ref&amp;gt; Additionally, the party supports stricter [[fuel emissions standard]]s to prevent air pollution.&lt;br /&gt;
&lt;br /&gt;
During his presidency, Joe Biden enacted the [[Inflation Reduction Act of 2022]], which is the largest allocation of funds for [[Climate change mitigation|addressing climate change]] in the history of the United States.&amp;lt;ref&amp;gt;{{Cite web |last=Wells |first=Joey Garrison and Dylan |title=Sen. Kyrsten Sinema backs Inflation Reduction Act, giving Biden the votes for Senate passage |url=https://www.usatoday.com/story/news/politics/2022/08/04/krysten-sinema-inflation-reduction-act-senator-democrats-vote/10234906002/ |access-date=August 24, 2022 |website=USA Today |language=en-US |archive-date=August 24, 2022 |archive-url=https://web.archive.org/web/20220824023439/https://www.usatoday.com/story/news/politics/2022/08/04/krysten-sinema-inflation-reduction-act-senator-democrats-vote/10234906002/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |title=What The Climate Package Means For A Warming Planet : Consider This from NPR |language=en |work=NPR.org |url=https://www.npr.org/2022/08/11/1117017336/what-the-climate-package-means-for-a-warming-planet |access-date=August 24, 2022 |archive-date=August 24, 2022 |archive-url=https://web.archive.org/web/20220824100551/https://www.npr.org/2022/08/11/1117017336/what-the-climate-package-means-for-a-warming-planet |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last1=Nilsen |first1=Ella |title=Clean energy package would be biggest legislative climate investment in US history |url=https://edition.cnn.com/2022/07/28/politics/climate-deal-joe-manchin/index.html |publisher=CNN |access-date=July 31, 2022 |date=July 28, 2022 |archive-date=February 2, 2023 |archive-url=https://web.archive.org/web/20230202005446/https://edition.cnn.com/2022/07/28/politics/climate-deal-joe-manchin/index.html |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Trade ====&lt;br /&gt;
Like the Republican Party, the Democratic Party has taken widely varying views on [[international trade]] throughout its history. The Democratic Party has usually been more supportive of [[free trade]] than the Republican Party.&lt;br /&gt;
&lt;br /&gt;
The Democrats dominated the [[Second Party System]] and set low tariffs designed to pay for the government but not protect industry. Their opponents the Whigs wanted high protective tariffs but usually were outvoted in Congress. Tariffs soon became a major political issue as the [[Whig Party (United States)|Whigs]] (1832–1852) and (after 1854) the Republicans wanted to protect their mostly northern industries and constituents by voting for higher tariffs and the [[Southern Democrats]], which had very little industry but imported many goods voted for lower tariffs. After the Second Party System ended in 1854 the Democrats lost control and the new Republican Party had its opportunity to raise rates.&amp;lt;ref&amp;gt;Taussig, &#039;&#039;Tariff History&#039;&#039; pp. 109–24&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the [[Third Party System]], Democratic president [[Grover Cleveland]] made low tariffs the centerpiece of Democratic Party policies, arguing that high tariffs were an unnecessary and unfair tax on consumers. The South and [[Western United States|West]] generally supported low tariffs, while the industrial [[Northern United States|North]] high tariffs.&amp;lt;ref&amp;gt;Joanne R. Reitano, &#039;&#039;The Tariff Question in the Gilded Age: The Great Debate of 1888&#039;&#039; (Penn State Press, 1994)&amp;lt;/ref&amp;gt; During the [[Fourth Party System]], Democratic president [[Woodrow Wilson]] made a drastic lowering of tariff rates a major priority for his presidency. The 1913 [[Underwood Tariff]] cut rates, and the new revenues generated by the [[federal income tax]] made tariffs much less important in terms of economic impact and political rhetoric.&amp;lt;ref&amp;gt;Woodrow Wilson: &amp;quot;Address to a Joint Session of Congress on the Banking System,&amp;quot; June 23, 1913. Online by Gerhard Peters and John T. Woolley, The American Presidency Project. http://www.presidency.ucsb.edu/ws/index.php?pid=65369 {{Webarchive|url=https://web.archive.org/web/20181012012358/http://www.presidency.ucsb.edu/ws/index.php?pid=65369 |date=October 12, 2018 }}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the [[Fifth Party System]], the [[Reciprocal Tariff Act]] of 1934 was enacted during [[Franklin D. Roosevelt|FDR&#039;s]] administration, marking a sharp departure from the era of [[protectionism in the United States]]. American duties on foreign products declined from an average of 46% in 1934 to 12% by 1962.&amp;lt;ref name=&amp;quot;Bailey&amp;quot;&amp;gt;{{cite journal|last=Bailey|first=Michael A.|author2=Goldstein, Weingast |title=The Institutional Roots of American Trade Policy|journal=World Politics|date=April 1997|volume=49|issue=3|pages=309–38|doi=10.1353/wp.1997.0007|s2cid=154711958 }}&amp;lt;/ref&amp;gt; After World War II, the U.S. promoted the [[General Agreement on Tariffs and Trade]] (GATT) established in 1947 during the [[Presidency of Harry S. Truman|Truman administration]], to minimize tariffs liberalize trade among all capitalist countries.&amp;lt;ref name=barton&amp;gt;John H. Barton, [[Judith L. Goldstein]], Timothy E. Josling, and Richard H. Steinberg, &#039;&#039;The Evolution of the Trade Regime: Politics, Law, and Economics of the GATT and the WTO&#039;&#039; (2008)&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |last1=McClenahan |first1=William |title=The Growth of Voluntary Export Restraints and American Foreign Economic Policy, 1956–1969 |journal=Business and Economic History |year=1991 |volume=20 |pages=180–190 |jstor=23702815 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the 1990s, the Clinton administration and a number of prominent Democrats pushed through a number of agreements such as the [[North American Free Trade Agreement]] (NAFTA).&amp;lt;ref&amp;gt;{{Cite news|url=https://democrats.org/where-we-stand/party-platform/building-a-stronger-fairer-economy/|title=Building A Stronger, Fairer Economy|newspaper=Democrats|access-date=August 10, 2021|archive-date=August 18, 2021|archive-url=https://web.archive.org/web/20210818204036/https://democrats.org/where-we-stand/party-platform/building-a-stronger-fairer-economy/|url-status=live}}&amp;lt;/ref&amp;gt; [[Barack Obama]] signed several free trade agreements during his presidency while [[Joe Biden]] did not sign any free trade agreements during his presidency and increased some tariffs on China.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.forbes.com/sites/kenroberts/2024/04/26/biden-could-be-1st-president-since-carter-to-not-negotiate-sign-fta/|title=Biden Could Be 1st President Since Carter To Not Negotiate, Sign FTA|website=Forbes|first1=Ken|last1=Roberts|date=April 26, 2024|access-date=April 27, 2024|archive-date=April 27, 2024|archive-url=https://web.archive.org/web/20240427230502/https://www.forbes.com/sites/kenroberts/2024/04/26/biden-could-be-1st-president-since-carter-to-not-negotiate-sign-fta/|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last1=Swanson |first1=Ana |last2=Holman |first2=Jordyn |date=2024-09-13 |title=Biden Administration Ratchets Up Tariffs on Chinese Goods |url=https://www.nytimes.com/2024/09/13/us/politics/biden-tariffs-chinese-goods-clothing.html |access-date=2025-04-30 |work=The New York Times |language=en-US |issn=0362-4331}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During Republican Donald Trump&#039;s two terms as president, the Democratic Party has been more in favor of free trade than the Republican Party. The Democratic Party remains supportive of the [[United States–Mexico–Canada Agreement|USMCA]] free trade agreement with Mexico and Canada.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.nytimes.com/2025/03/17/us/politics/trump-tariffs-auto-industry-corporate-executives.html|title=Trump&#039;s Unwelcome News to Auto Chiefs: Buckle Up for What&#039;s to Come|quote=President Trump’s approach to tariffs has unsettled many corporate leaders who believed he would use the levies as a negotiating tool. As it turns out, he sees them as an end in themselves.|date=March 17, 2025|first1=Jonathan|last1=Swan|first2=Maggie|last2=Haberman|first3=Ana|last3=Swanson|website=[[The New York Times]] }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://www.axios.com/2025/03/06/trump-tariffs-poll-republicans-china-mexico-canada|title=Republicans favor Trump tariffs despite anticipated price hikes: poll|date=March 6, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Social issues ===&lt;br /&gt;
[[File:Shirley Chisholm.jpg|thumb|[[Shirley Chisholm]] was the first major-party African American candidate to run nationwide primary campaigns.]]&lt;br /&gt;
The modern Democratic Party emphasizes [[social equality]] and [[equal opportunity]]. Democrats support [[Voting rights in the United States|voting rights]] and [[minority rights]], including [[LGBT rights in the United States|LGBT rights]]. Democratic president [[Lyndon B. Johnson]] signed the [[Civil Rights Act of 1964]], which outlawed racial segregation. Carmines and Stimson wrote &amp;quot;the Democratic Party appropriated racial liberalism and assumed federal responsibility for ending racial discrimination.&amp;quot;&amp;lt;ref&amp;gt;Carmines, Edward G.; Stimson, James A. &amp;quot;Racial Issues and The Structure of Mass Belief Systems,&amp;quot; &#039;&#039;Journal of Politics&#039;&#039; (1982) 44#1 pp 2–20 [https://www.jstor.org/stable/2130281 in JSTOR] {{Webarchive|url=https://web.archive.org/web/20200731011758/https://www.jstor.org/stable/2130281 |date=July 31, 2020 }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book|first1=Talmadge|last1=Anderson|author2=James Benjamin Stewart|name-list-style=amp|title=Introduction to African American Studies: Transdisciplinary Approaches and Implications|url=https://books.google.com/books?id=49tXR1Ok6poC&amp;amp;pg=PA205|year=2007|publisher=Black Classic Press|page=205|isbn=9781580730396|access-date=October 16, 2015|archive-date=September 13, 2024|archive-url=https://web.archive.org/web/20240913230625/https://books.google.com/books?id=49tXR1Ok6poC&amp;amp;pg=PA205#v=onepage&amp;amp;q&amp;amp;f=false|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book|first=Jeffrey M.|last=Stonecash|title=New Directions in American Political Parties|url=https://books.google.com/books?id=ZNuOAgAAQBAJ&amp;amp;pg=PA131|year=2010|publisher=Routledge|page=131|isbn=9781135282059|access-date=October 16, 2015|archive-date=September 13, 2024|archive-url=https://web.archive.org/web/20240913230554/https://books.google.com/books?id=ZNuOAgAAQBAJ&amp;amp;pg=PA131#v=onepage&amp;amp;q&amp;amp;f=false|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ideological social elements in the party include [[cultural liberalism]], [[civil libertarianism]], and [[feminism]]. Some Democratic social policies are immigration reform, [[electoral reform]], and women&#039;s [[reproductive rights]].&lt;br /&gt;
&lt;br /&gt;
==== Equal opportunity ====&lt;br /&gt;
The Democratic Party is a staunch supporter of [[equal opportunity]] for all Americans regardless of sex, age, race, ethnicity, [[sexual orientation]], [[gender identity]], religion, creed, or national origin. The Democratic Party has broad appeal across most socioeconomic and ethnic demographics, as seen in recent exit polls.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.pewresearch.org/politics/2021/06/30/behind-bidens-2020-victory/|title=Behind Biden&#039;s 2020 Victory|date=June 30, 2021|website=Pew Research Center|access-date=August 19, 2023|archive-date=August 19, 2023|archive-url=https://web.archive.org/web/20230819144304/https://www.pewresearch.org/politics/2021/06/30/behind-bidens-2020-victory/|url-status=live}}&amp;lt;/ref&amp;gt; Democrats also strongly support the [[Americans with Disabilities Act of 1990|Americans with Disabilities Act]] to prohibit discrimination against people based on physical or mental disability. As such, the Democrats pushed as well the [[ADA Amendments Act of 2008]], a disability rights expansion that became law.&amp;lt;ref&amp;gt;{{cite web|url=http://www.democrats.org/issues/civil_rights|title=Civil Rights|work=Democrats.org|access-date=February 2, 2014|archive-url=https://web.archive.org/web/20140209053820/http://www.democrats.org/issues/civil_rights|archive-date=February 9, 2014|url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Most Democrats support [[affirmative action]] to further equal opportunity. However, in 2020 [[2020 California Proposition 16|57% voters in California]] voted to keep their state constitution&#039;s ban on affirmative action, despite Biden [[2020 United States presidential election in California|winning 63% of the vote in California]] in the same election.&amp;lt;ref&amp;gt;{{Cite web|url=https://elections.cdn.sos.ca.gov/sov/2020-general/sov/complete-sov.pdf|title=STATEMENT OF VOTE|first1=Alex|last1=Padilla|date=November 3, 2020|access-date=March 15, 2024|archive-date=December 14, 2020|archive-url=https://web.archive.org/web/20201214232555/https://elections.cdn.sos.ca.gov/sov/2020-general/sov/complete-sov.pdf|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Voting rights ====&lt;br /&gt;
The party is very supportive of improving &amp;quot;voting rights&amp;quot; as well as election accuracy and accessibility.&amp;lt;ref&amp;gt;{{cite web|url=http://usliberals.about.com/od/electionreform/a/VotingAgenda.htm|title=Liberalism 101: Democratic Party Agenda on Electoral Reform|first=Deborah|last=White|work=About|access-date=April 17, 2014|archive-date=March 10, 2016|archive-url=https://web.archive.org/web/20160310140253/http://usliberals.about.com/od/electionreform/a/VotingAgenda.htm|url-status=live}}&amp;lt;/ref&amp;gt; They support extensions of voting time, including making election day a holiday. They support reforming the electoral system to eliminate [[gerrymandering]], abolishing the [[United States Electoral College|electoral college]], as well as passing comprehensive [[Campaign finance reform in the United States|campaign finance reform]].&amp;lt;ref name=&amp;quot;ontheissues.org&amp;quot;&amp;gt;{{cite web|url=http://www.ontheissues.org/celeb/Democratic_Party_Government_Reform.htm|title=Democratic Party on Government Reform|publisher=Ontheissues.org|access-date=January 19, 2015|archive-date=April 30, 2016|archive-url=https://web.archive.org/web/20160430084041/http://www.ontheissues.org/Celeb/Democratic_Party_Government_Reform.htm|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Abortion and reproductive rights ====&lt;br /&gt;
{{see also|Abortion in the United States}}&lt;br /&gt;
The Democratic position on abortion has changed significantly over time.&amp;lt;ref name=&amp;quot;Williams-2015&amp;quot;&amp;gt;{{Cite journal |last=Williams |first=Daniel K. |date=June 2015 |title=The Partisan Trajectory of the American Pro-Life Movement: How a Liberal Catholic Campaign Became a Conservative Evangelical Cause |journal=Religions |language=en |volume=6 |issue=2 |pages=451–475 |doi=10.3390/rel6020451 |issn=2077-1444 |doi-access=free}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Williams-2022b&amp;quot;&amp;gt;{{Cite web |last=Williams |first=Daniel K. |date=May 9, 2022 |title=This Really Is a Different Pro-Life Movement |url=https://www.theatlantic.com/ideas/archive/2022/05/south-abortion-pro-life-protestants-catholics/629779/ |access-date=February 2, 2023 |website=The Atlantic |language=en |quote=This was not merely a geographic shift, trading one region for another, but a more fundamental transformation of the anti-abortion movement&#039;s political ideology. In 1973 many of the most vocal opponents of abortion were northern Democrats who believed in an expanded social-welfare state and who wanted to reduce abortion rates through prenatal insurance and federally funded day care. In 2022, most anti-abortion politicians are conservative Republicans who are skeptical of such measures. What happened was a seismic religious and political shift in opposition to abortion that has not occurred in any other Western country. |archive-date=May 10, 2022 |archive-url=https://web.archive.org/web/20220510043840/https://www.theatlantic.com/ideas/archive/2022/05/south-abortion-pro-life-protestants-catholics/629779/ |url-status=live }}&amp;lt;/ref&amp;gt; During the late 1960s and early 1970s, Republicans generally favored legalized abortion more than Democrats,&amp;lt;ref name=&amp;quot;Halpern-2018&amp;quot;&amp;gt;{{Cite news |last=Halpern |first=Sue |date=November 8, 2018 |title=How Republicans Became Anti-Choice |language=en |work=[[The New York Review of Books]] |url=https://www.nybooks.com/articles/2018/11/08/how-republicans-became-anti-choice/ |access-date=February 4, 2023 |issn=0028-7504 |archive-date=February 4, 2023 |archive-url=https://web.archive.org/web/20230204085532/https://www.nybooks.com/articles/2018/11/08/how-republicans-became-anti-choice/ |url-status=live }}&amp;lt;/ref&amp;gt; although significant heterogeneity could be found within both parties.&amp;lt;ref name=&amp;quot;Taylor-2018&amp;quot;&amp;gt;{{Cite web |last=Taylor |first=Justin |date=May 9, 2018 |title=How the Christian Right Became Prolife on Abortion and Transformed the Culture Wars |url=https://www.thegospelcoalition.org/blogs/evangelical-history/christian-right-discovered-abortion-rights-transformed-culture-wars/ |access-date=February 4, 2023 |website=[[The Gospel Coalition]] |language=en-US |archive-date=February 4, 2023 |archive-url=https://web.archive.org/web/20230204085533/https://www.thegospelcoalition.org/blogs/evangelical-history/christian-right-discovered-abortion-rights-transformed-culture-wars/ |url-status=live }}&amp;lt;/ref&amp;gt; During this time, opposition to abortion tended to be concentrated within the political left in the United States. Liberal Protestants and Catholics (many of whom were Democratic voters) opposed abortion, while most conservative Protestants supported legal access to abortion services.&amp;lt;ref name=&amp;quot;Williams-2015&amp;quot; /&amp;gt;{{clarify|date=April 2024}}&lt;br /&gt;
&lt;br /&gt;
In its national platforms from 1992 to 2004, the Democratic Party has called for abortion to be &amp;quot;safe, legal and rare&amp;quot;—namely, keeping it legal by rejecting laws that allow governmental interference in abortion decisions and reducing the number of abortions by promoting both knowledge of reproduction and contraception and incentives for adoption. When Congress voted on the [[Partial-Birth Abortion Ban Act]] in 2003, congressional Democrats were split, with a minority (including former [[Party leaders of the United States Senate|Senate Majority Leader]] [[Harry Reid]]) supporting the ban and the majority of Democrats opposing the legislation.&amp;lt;ref&amp;gt;{{cite web|url=http://www.ontheissues.org/HouseVote/Party_2003-530.htm|title=House Votes on 2003-530|publisher=Ontheissues.org|date=October 2, 2003|access-date=March 18, 2014|archive-date=February 28, 2014|archive-url=https://web.archive.org/web/20140228171204/http://www.ontheissues.org/HouseVote/Party_2003-530.htm|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to the 2020 Democratic Party platform, &amp;quot;Democrats believe every woman should be able to access high-quality reproductive health care services, including safe and legal abortion.&amp;quot;&amp;lt;ref&amp;gt;{{cite web |title=2020 Democratic Party Platform |url=https://www.demconvention.com/wp-content/uploads/2020/08/2020-07-31-Democratic-Party-Platform-For-Distribution.pdf |website=2020 Democratic National Convention |access-date=January 10, 2021 |archive-date=February 16, 2021 |archive-url=https://web.archive.org/web/20210216091833/https://www.demconvention.com/wp-content/uploads/2020/08/2020-07-31-Democratic-Party-Platform-For-Distribution.pdf |url-status=dead }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After &#039;&#039;[[Roe v. Wade]]&#039;&#039; (1973) was overturned in &#039;&#039;[[Dobbs v. Jackson Women&#039;s Health Organization]]&#039;&#039; (2022), Democratic-controlled states and ballot initiatives were able to ensure access to abortion. The number of abortions in the United States increased after &#039;&#039;Dobbs&#039;&#039;, due to the [[Freedom of movement under United States law|right to travel]] between states.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.nytimes.com/2024/10/22/upshot/abortions-rising-state-bans.html|title=Abortions Have Increased, Even for Women in States With Rigid Bans, Study Says|date=October 22, 2024|website=The New York Times|first1=Claire Cain|last1=Miller|first2=Margot|last2=Sanger-Katz|first3=Josh|last3=Katz|access-date=December 2, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|title=After Dobbs: How the Supreme Court Ended Roe but Not Abortion|date=2025|first1=David S.|last1=Cohen|first2=Carole|last2=Joffe|publisher=Beacon Press |isbn=978-0807017661 |quote=When the Supreme Court overturned &#039;&#039;Roe v. Wade&#039;&#039; in June 2022, many feared it meant the end of abortion access in the United States. Yet the courageous work of people on the ground has allowed abortion to survive post-Dobbs in ways that no one predicted. ... Taking place across three intervals throughout 2022—pre-Dobbs in early 2022, right after Dobbs, and then six months later—these interviews showcase how nimble thinking on the part of providers, growth and new delivery models of abortion pills, and the never-ending work of those who help with abortion travel and funding have ensured most people who want them are still getting abortions, even without Roe.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Immigration ====&lt;br /&gt;
{{see also|Immigration to the United States|Illegal immigration to the United States}}&lt;br /&gt;
[[File:2000- Border apprehensions at southwest border.svg|250px|right|thumb|Apprehensions at the southwest border since 2000]]&lt;br /&gt;
Like the Republican Party, the Democratic Party has taken widely varying views on immigration throughout its history. Since the 1990s, the Democratic Party has been more supportive overall of immigration than the Republican Party.&amp;lt;ref&amp;gt;{{cite book|url=https://press.princeton.edu/titles/11040.html|title=Trading Barriers|last=Peters|first=Margaret|date=2017|pages=154–155|publisher=Princeton University Press |isbn=978-0691174471|archive-url=https://web.archive.org/web/20180303043905/https://press.princeton.edu/titles/11040.html|archive-date=March 3, 2018|url-status=live}}&amp;lt;/ref&amp;gt; Many Democratic politicians have called for systematic reform of the immigration system such that residents that have [[Illegal immigration to the United States|come into the United States illegally]] have a pathway to legal citizenship. President Obama remarked in November 2013 that he felt it was &amp;quot;long past time to fix our broken immigration system,&amp;quot; particularly to allow &amp;quot;incredibly bright young people&amp;quot; that came over as students to become full citizens.&amp;lt;ref name=&amp;quot;long-past&amp;quot;&amp;gt;{{cite news |last=Frumin |first=Aliyah |title=Obama: &#039;Long past time&#039; for immigration reform |date=November 25, 2013 |url=https://msnbc.com/hardball/obama-long-past-time-reform |publisher=[[MSNBC]] |access-date=January 26, 2014 |archive-date=January 21, 2014 |archive-url=https://web.archive.org/web/20140121145422/http://www.msnbc.com/hardball/obama-long-past-time-reform |url-status=live}}&amp;lt;/ref&amp;gt; In 2013, Democrats in the Senate passed [[Border Security, Economic Opportunity, and Immigration Modernization Act of 2013|S. 744]], which would reform immigration policy to allow citizenship for illegal immigrants in the United States. The law failed to pass in the House and was never re-introduced after the [[113th Congress]].&amp;lt;ref&amp;gt;{{Cite web|url=https://www.wsj.com/politics/policy/senate-border-vote-immigration-policies-trump-19977804?mod=hp_lead_pos1|title=Why Both Parties Have Shifted Right on Immigration—and Still Can&#039;t Agree|website=The Wall Street Journal|first1=Michelle|last1=Hackman|first2=Aaron|last2=Zitner|date=February 2, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Opposition to immigration has increased in the 2020s, with a majority of Democrats supporting increasing border security.&amp;lt;ref&amp;gt;{{Cite web|url=https://news.gallup.com/poll/647123/sharply-americans-curb-immigration.aspx|title=Sharply More Americans Want to Curb Immigration to U.S.|date=July 12, 2024|first1=Jeffrey M.|last1=Jones|quote=55% want immigration levels reduced, highest since 2001|website=Gallup|access-date=August 4, 2024|archive-date=July 20, 2024|archive-url=https://web.archive.org/web/20240720215320/https://news.gallup.com/poll/647123/sharply-americans-curb-immigration.aspx|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite magazine|url=https://www.newyorker.com/news/q-and-a/how-democrats-lost-their-way-on-immigration|title=How Democrats Lost Their Way on Immigration|first1=Isaac|last1=Chotiner|magazine=The New Yorker|date=March 3, 2025|access-date=March 3, 2025}}&amp;lt;/ref&amp;gt; In the [[2024 United States presidential election|2024 presidential election]], Trump increased his vote share in counties along the [[Mexico–United States border]], including in [[List of majority-Hispanic or Latino counties in the United States|majority-Hispanic counties]].&amp;lt;ref&amp;gt;{{Cite web|url=https://www.theatlantic.com/ideas/archive/2024/12/democrats-latino-vote-immigration/680945/|title=Why Democrats Got the Politics of Immigration So Wrong for So Long|date=December 10, 2024|website=The Atlantic|first1=Rogé|last1=Karma|access-date=December 10, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://www.nytimes.com/2025/02/24/magazine/denmark-immigration-policy-progressives.html|title=In an Age of Right-Wing Populism, Why Are Denmark&#039;s Liberals Winning?|quote=Around the world, progressive parties have come to see tight immigration restrictions as unnecessary, even cruel. What if they’re actually the only way for progressivism to flourish?|date=February 24, 2025|access-date=February 24, 2025|website=The New York Times|first1=David|last1=Leonhardt}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== LGBT rights ====&lt;br /&gt;
{{see also|LGBT rights in the United States}}&lt;br /&gt;
The Democratic position on [[LGBT rights in the United States|LGBT rights]] has changed significantly over time.&amp;lt;ref name=&amp;quot;Igielnik-2022&amp;quot;&amp;gt;{{Cite web |last=Igielnik |first=Ruth |date=November 16, 2022 |title=Backdrop for Vote on Same-Sex Marriage Rights: A Big Shift in Public Opinion |url=https://www.nytimes.com/2022/11/16/us/politics/same-sex-marriage-public-opinion.html |access-date=November 17, 2022 |website=[[The New York Times]] |archive-date=November 16, 2022 |archive-url=https://web.archive.org/web/20221116235133/https://www.nytimes.com/2022/11/16/us/politics/same-sex-marriage-public-opinion.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Lindberg-2022&amp;quot;&amp;gt;{{Cite web |last=Lindberg |first=Tim |date=August 2, 2022 |title=Congress is considering making same-sex marriage federal law&amp;amp;nbsp;– a political scientist explains how this issue became less polarized over time |url=https://theconversation.com/congress-is-considering-making-same-sex-marriage-federal-law-a-political-scientist-explains-how-this-issue-became-less-polarized-over-time-187509 |access-date=August 14, 2022 |website=Kansas Reflector |language=en-US |archive-date=August 23, 2022 |archive-url=https://web.archive.org/web/20220823203344/http://theconversation.com/congress-is-considering-making-same-sex-marriage-federal-law-a-political-scientist-explains-how-this-issue-became-less-polarized-over-time-187509 |url-status=live }}&amp;lt;/ref&amp;gt; Before the 2000s, like the Republicans, the Democratic Party often took positions hostile to LGBT rights. As of the 2020s, both voters and elected representatives within the Democratic Party are overwhelmingly supportive of [[LGBT]] rights.&amp;lt;ref name=&amp;quot;Igielnik-2022&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Support for same-sex marriage has steadily increased among the general public, including voters in both major parties, since the start of the 21st century. An April 2009 ABC News/&#039;&#039;Washington Post&#039;&#039; public opinion poll put support among Democrats at 62%.&amp;lt;ref&amp;gt;{{cite news|url=https://abcnews.go.com/images/PollingUnit/1089a6HotButtonIssues.pdf|title=Changing Views on Social Issues|date=April 30, 2009|access-date=May 14, 2009|archive-date=November 10, 2010|archive-url=https://web.archive.org/web/20101110130400/http://abcnews.go.com/images/PollingUnit/1089a6HotButtonIssues.pdf|url-status=live}}&amp;lt;/ref&amp;gt; A 2006 [[Pew Research Center]] poll of Democrats found that 55% supported gays adopting children with 40% opposed while 70% support [[Sexual orientation and military service|gays in the military]], with only 23% opposed.&amp;lt;ref&amp;gt;[http://people-press.org/report/273/less-opposition-to-gay-marriage-adoption-and-military-service Less Opposition to Gay Marriage, Adoption and Military Service] {{Webarchive|url=https://web.archive.org/web/20110310052909/http://people-press.org/report/273/less-opposition-to-gay-marriage-adoption-and-military-service |date=March 10, 2011}}. [[Pew Research Center]]. March 22, 2006.&amp;lt;/ref&amp;gt; Gallup polling from May 2009 stated that 82% of Democrats support open enlistment.&amp;lt;ref&amp;gt;{{cite web|url=http://www.gallup.com/poll/120764/conservatives-shift-favor-openly-gay-service-members.aspx|title=Conservatives Shift in Favor of Openly Gay Service Members|publisher=[[The Gallup Organization|Gallup.com]]|date=June 5, 2009|first=Lymari|last=Morales|access-date=August 25, 2010|archive-date=May 1, 2016|archive-url=https://web.archive.org/web/20160501214245/http://www.gallup.com/poll/120764/Conservatives-Shift-Favor-Openly-Gay-Service-Members.aspx|url-status=live}}&amp;lt;/ref&amp;gt; A 2023 Gallup public opinion poll found 84% of Democrats support same-sex marriage, compared to 71% support by the general public and 49% support by Republicans.&amp;lt;ref&amp;gt;{{Cite web|url=https://news.gallup.com/poll/506636/sex-marriage-support-holds-high.aspx|date=June 5, 2023|title=U.S. Same-Sex Marriage Support Holds at 71% High|first1=Justin|last1=McCarthy|access-date=June 5, 2023|archive-date=June 5, 2023|archive-url=https://web.archive.org/web/20230605083325/https://news.gallup.com/poll/506636/sex-marriage-support-holds-high.aspx|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 2004 Democratic National Platform stated that marriage should be defined at the state level and it repudiated the [[Federal Marriage Amendment]].&amp;lt;ref name=&amp;quot;platform&amp;quot;&amp;gt;{{cite web|url=http://www.democrats.org/pdfs/2004platform.pdf |title=The 2004 Democratic National Platform for America|url-status = dead|archive-url=https://web.archive.org/web/20041013001521/http://www.democrats.org/pdfs/2004platform.pdf |archive-date=October 13, 2004 }}&amp;amp;nbsp;{{small|(111&amp;amp;nbsp;KB)}}&amp;lt;/ref&amp;gt; [[John Kerry]], the Democratic presidential nominee in 2004, did not support same-sex marriage in [[John Kerry 2004 presidential campaign|his campaign.]] While not stating support of same-sex marriage, the 2008 platform called for repeal of the [[Defense of Marriage Act]], which banned federal recognition of same-sex marriage and removed the need for interstate recognition, supported antidiscrimination laws and the extension of hate crime laws to LGBT people and opposed &amp;quot;don&#039;t ask, don&#039;t tell&amp;quot;.&amp;lt;ref name=&amp;quot;UCLA press&amp;quot;&amp;gt;{{cite web |date=November 26, 2008 |title=Gay Support for Obama Similar to Dems in Past Elections |url=http://www.law.ucla.edu/williamsinstitute/press/GaySupportForObamaSimilarToDemsInPastElections.html |url-status=dead |archive-url=https://web.archive.org/web/20091209021908/http://www.law.ucla.edu/williamsinstitute/press/GaySupportForObamaSimilarToDemsInPastElections.html |archive-date=December 9, 2009 |access-date=June 17, 2010 |publisher=Law.ucla.edu}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last=Garcia |first=Michelle |url=http://www.advocate.com/print-issue/advance/2012/04/22/year-democrats-embrace-marriage-equality |title=Is This the Year Democrats Embrace Marriage Equality? |publisher=Advocate.com |date=April 22, 2012 |access-date=October 2, 2013 |archive-date=October 4, 2013 |archive-url=https://web.archive.org/web/20131004234045/http://www.advocate.com/print-issue/advance/2012/04/22/year-democrats-embrace-marriage-equality |url-status=live}}&amp;lt;/ref&amp;gt; The 2012 platform included support for same-sex marriage and for the repeal of DOMA.&amp;lt;ref name=&amp;quot;NPR-2012a&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On May 9, 2012, [[Barack Obama]] became the first sitting president to say he supports same-sex marriage.&amp;lt;ref&amp;gt;{{cite news|url=https://www.cbsnews.com/news/obama-backs-same-sex-marriage/|title=Obama backs same-sex marriage|publisher=[[CBS News]]|date=May 9, 2012|access-date=May 9, 2012|archive-date=May 10, 2012|archive-url=https://web.archive.org/web/20120510010911/http://www.cbsnews.com/8301-503544_162-57431122-503544/obama-backs-same-sex-marriage/|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;The Huffington Post&amp;quot;&amp;gt;{{cite news|url=https://huffingtonpost.com/2012/05/09/obama-gay-marriage_n_1503245.html|title=Obama Backs Gay Marriage|first=Sam|last=Stein|date=May 9, 2012|work=HuffPost|access-date=December 6, 2019|archive-date=September 20, 2018|archive-url=https://web.archive.org/web/20180920002222/https://www.huffingtonpost.com/2012/05/09/obama-gay-marriage_n_1503245.html|url-status=dead }}&amp;lt;/ref&amp;gt; Previously, he had opposed restrictions on same-sex marriage such as the [[Defense of Marriage Act]], which he promised to repeal,&amp;lt;ref name=&amp;quot;LGBT&amp;quot;&amp;gt;{{cite news|url=http://www.cnn.com/ELECTION/2008/issues/issues.samesexmarriage.html|title=Same-sex Marriage&amp;amp;nbsp;– Issues&amp;amp;nbsp;– Election Center 2008 |publisher=CNN |access-date=January 19, 2015|archive-date=April 28, 2016|archive-url=https://web.archive.org/web/20160428162155/http://www.cnn.com/ELECTION/2008/issues/issues.samesexmarriage.html|url-status=live}}&amp;lt;/ref&amp;gt; California&#039;s [[Prop 8]],&amp;lt;ref&amp;gt;[http://voices.washingtonpost.com/the-trail/2008/07/02/obama_opposes_gay_marriage_ban.html Obama Opposes Gay Marriage Ban] {{Webarchive|url=https://web.archive.org/web/20110926223051/http://voices.washingtonpost.com/the-trail/2008/07/02/obama_opposes_gay_marriage_ban.html |date=September 26, 2011}}. &#039;&#039;[[The Washington Post]]&#039;&#039;. By Perry Bacon Jr. July 2, 2008.&amp;lt;/ref&amp;gt; and a [[constitutional amendment]] to ban same-sex marriage (which he opposed saying that &amp;quot;decisions about marriage should be left to the states as they always have been&amp;quot;),&amp;lt;ref&amp;gt;[http://obama.senate.gov/press/060607-obama_statement_26/index.php Obama Statement on Vote Against Constitutional Amendment to Ban Gay Marriage] {{webarchive|url=https://web.archive.org/web/20081208020010/http://obama.senate.gov/press/060607-obama_statement_26/index.php |date=December 8, 2008}}. [[United States Senate]] [http://senate.gov/ Official Website] {{Webarchive|url=https://web.archive.org/web/20161228084718/http://www.senate.gov/ |date=December 28, 2016}}. June 7, 2006.&amp;lt;/ref&amp;gt; but also stated that he personally believed marriage to be between a man and a woman and that he favored civil unions that would &amp;quot;give same-sex couples equal legal rights and privileges as married couples&amp;quot;.&amp;lt;ref name=&amp;quot;LGBT&amp;quot; /&amp;gt; Earlier, when running for the Illinois Senate in 1996 he said, &amp;quot;I favor legalizing same-sex marriages, and would fight efforts to prohibit such marriages&amp;quot;.&amp;lt;ref&amp;gt;{{cite news |url=https://huffingtonpost.com/2009/01/13/obama-once-supported-same_n_157656.html |title=Obama Once Supported Same-Sex Marriage &#039;Unequivocally&#039; |work=HuffPost |date=January 13, 2009 |access-date=June 17, 2010 |first=Jason |last=Linkins |archive-date=May 12, 2011 |archive-url=https://web.archive.org/web/20110512012736/http://www.huffingtonpost.com/2009/01/13/obama-once-supported-same_n_157656.html |url-status=live}}&amp;lt;/ref&amp;gt; Former presidents [[Bill Clinton]]&amp;lt;ref&amp;gt;{{cite news | url=http://ac360.blogs.cnn.com/2009/09/25/video-clinton-shifts-on-gay-marriage/ |publisher=CNN |title=Video: Clinton shifts on gay marriage |access-date=May 1, 2010 |date=September 25, 2009 |archive-date=December 26, 2009 |archive-url=https://web.archive.org/web/20091226140541/http://ac360.blogs.cnn.com/2009/09/25/video-clinton-shifts-on-gay-marriage/ |url-status=dead}}&amp;lt;/ref&amp;gt; and [[Jimmy Carter]]&amp;lt;ref&amp;gt;{{cite news|date=March 19, 2012|url=https://huffingtonpost.com/2012/03/19/president-jimmy-carter-bible-book_n_1349570.html|title=President Jimmy Carter Authors New Bible Book, Answers Hard Biblical Questions|work=HuffPost|access-date=June 26, 2012|first=Paul|last=Raushenbush|archive-date=June 25, 2012|archive-url=https://web.archive.org/web/20120625134951/http://www.huffingtonpost.com/2012/03/19/president-jimmy-carter-bible-book_n_1349570.html|url-status=live}}&amp;lt;/ref&amp;gt; along with former Democratic presidential nominees [[Al Gore]]&amp;lt;ref&amp;gt;{{cite web |url=http://current.com/items/88817757_gay-men-and-women-should-have-the-same-rights.htm |title=Gay men and women should have the same rights // Current |publisher=Current.com |date=January 17, 2008 |access-date=June 17, 2010 |archive-url=https://web.archive.org/web/20091129220957/http://current.com/items/88817757_gay-men-and-women-should-have-the-same-rights.htm |archive-date=November 29, 2009 |url-status=dead }}&amp;lt;/ref&amp;gt; and [[Michael Dukakis]]&amp;lt;ref&amp;gt;{{cite web|last=Israel|first=Josh|title=Mondale and Dukakis Back Marriage Equality|website=[[ThinkProgress]]|date=May 16, 2013|url=https://thinkprogress.org/mondale-dukakis-back-marriage-equality-joining-every-living-democratic-presidential-nominee-56a1d402991d/|access-date=November 4, 2019|archive-date=November 4, 2019|archive-url=https://web.archive.org/web/20191104164913/https://thinkprogress.org/mondale-dukakis-back-marriage-equality-joining-every-living-democratic-presidential-nominee-56a1d402991d/|url-status=live}}&amp;lt;/ref&amp;gt; support same-sex marriage. President [[Joe Biden]] has supported [[same-sex marriage]] since 2012, when he became the highest-ranking government official to support it. In 2022, Biden signed the [[Respect for Marriage Act]]; the law repealed the Defense of Marriage Act, which Biden had voted for during his Senate tenure.&amp;lt;ref&amp;gt;{{cite web |last1=Cournoyer |first1=Caroline |title=Joe Biden Endorses Gay Marriage |url=https://www.governing.com/archive/Joseph-Biden-Endorses-Gay-Marriage.html |website=Governing |date=May 7, 2012 |access-date=February 9, 2021 |archive-date=February 22, 2021 |archive-url=https://web.archive.org/web/20210222013528/https://www.governing.com/archive/Joseph-Biden-Endorses-Gay-Marriage.html |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Status of Puerto Rico and D.C. ====&lt;br /&gt;
The 2016 Democratic Party platform declares, regarding the status of Puerto Rico: &amp;quot;We are committed to addressing the extraordinary challenges faced by our fellow citizens in Puerto Rico. Many stem from the fundamental question of Puerto Rico&#039;s political status. Democrats believe that the people of Puerto Rico should determine their ultimate political status from permanent options that do not conflict with the Constitution, laws, and policies of the United States. Democrats are committed to promoting economic opportunity and good-paying jobs for the hardworking people of Puerto Rico. We also believe that Puerto Ricans must be treated equally by Medicare, Medicaid, and other programs that benefit families. Puerto Ricans should be able to vote for the people who make their laws, just as they should be treated equally. All American citizens, no matter where they reside, should have the right to vote for the president of the United States. Finally, we believe that federal officials must respect Puerto Rico&#039;s local self-government as laws are implemented and Puerto Rico&#039;s budget and debt are restructured so that it can get on a path towards stability and prosperity&amp;quot;.&amp;lt;ref name=&amp;quot;2016platform&amp;quot;&amp;gt;{{cite web|url=https://www.demconvention.com/wp-content/uploads/2016/07/Democratic-Party-Platform-7.21.16-no-lines.pdf|title=Democratic Party Platform 2016|access-date=November 11, 2016|url-status=dead|archive-url=https://web.archive.org/web/20161110225904/https://www.demconvention.com/wp-content/uploads/2016/07/Democratic-Party-Platform-7.21.16-no-lines.pdf|archive-date=November 10, 2016}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, it declares that regarding the status of the [[District of Columbia]]: &amp;quot;Restoring our democracy also means finally passing statehood for the District of Columbia, so that the American citizens who reside in the nation&#039;s capital have full and equal congressional rights as well as the right to have the laws and budget of their local government respected without Congressional interference.&amp;quot;&amp;lt;ref name=&amp;quot;2016platform&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Legal issues ===&lt;br /&gt;
&lt;br /&gt;
==== Gun control ====&lt;br /&gt;
[[File:20210420 Gun control survey by political party - Pew Research.svg|thumb|upright=1.5| U.S. opinion on gun control issues is deeply divided along political lines, as shown in this 2021 survey.&amp;lt;ref name=&amp;quot;Pew_20210420&amp;quot;&amp;gt;{{cite web |title=Amid a Series of Mass Shootings in the U.S., Gun Policy Remains Deeply Divisive |url=https://www.pewresearch.org/politics/2021/04/20/amid-a-series-of-mass-shootings-in-the-u-s-gun-policy-remains-deeply-divisive/ |website=PewResearch.org |archive-url=https://web.archive.org/web/20220530202009/https://www.pewresearch.org/politics/2021/04/20/amid-a-series-of-mass-shootings-in-the-u-s-gun-policy-remains-deeply-divisive/ |archive-date=May 30, 2022 |date=April 20, 2021 |url-status=live }}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
With a stated goal of reducing crime and homicide, the Democratic Party has introduced various [[Gun politics in the United States|gun control]] measures, most notably the [[Gun Control Act of 1968]], the [[Brady Handgun Violence Prevention Act|Brady Bill]] of 1993 and the [[Violent Crime Control and Law Enforcement Act]] (1994). In its national platform for 2008, the only statement explicitly favoring gun control was a plan calling for renewal of the 1994 [[Federal Assault Weapons Ban|Assault Weapons Ban]].&amp;lt;ref&amp;gt;{{cite web|url=http://www.queerty.com/wp/docs/2008/08/2008-democratic-platform-080808.pdf|title=The Draft 2008 Democratic National Platform: Renewing America&#039;s Promise|access-date=February 4, 2014|url-status=dead|archive-url=https://web.archive.org/web/20120512191810/http://www.queerty.com/wp/docs/2008/08/2008-democratic-platform-080808.pdf|archive-date=May 12, 2012}}&amp;lt;/ref&amp;gt; In 2022, Democratic president [[Joe Biden]] signed the [[Bipartisan Safer Communities Act]], which among other things expanded background checks and provided incentives for states to pass [[red flag laws]].&amp;lt;ref&amp;gt;{{cite web |last1=Clyde |first1=Don |last2=Miranda |first2=Shauneen |title=Biden signs gun safety bill into law |url=https://www.npr.org/2022/06/25/1107626030/biden-signs-gun-safety-law |publisher=NPR |date=June 25, 2022 |access-date=September 20, 2022 |archive-date=September 24, 2022 |archive-url=https://web.archive.org/web/20220924024307/https://www.npr.org/2022/06/25/1107626030/biden-signs-gun-safety-law |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Democratic Party does not oppose gun ownership.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.wsj.com/us-news/liberal-gun-ownership-growth-2a20af81|title=The Most Surprising New Gun Owners Are U.S. Liberals|date=September 20, 2024|website=The Wall Street Journal|first1=Cameron|last1=McWhirter|first2=Zusha|last2=Elinson|access-date=September 21, 2024}}&amp;lt;/ref&amp;gt; According to a 2023 Pew Research Center poll, 20% of Democrats owned firearms, compared to 32% of the general public and 45% of Republicans.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.pewresearch.org/short-reads/2023/09/13/key-facts-about-americans-and-guns/|access-date=September 19, 2023|date=September 13, 2023|title=Key facts about Americans and guns|website=Pew Research Center|first1=Katherine|last1=Schaeffer}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Death penalty ====&lt;br /&gt;
{{See also|Capital punishment in the United States}}&lt;br /&gt;
 &lt;br /&gt;
The Democratic position on capital punishment has shifted multiple times over the decades. In 1968,  Attorney General [[Ramsey Clark]], representing the [[Presidency of Lyndon B. Johnson|Johnson Administration]], asked Congress to abolish the [[Capital punishment by the United States federal government|federal death penalty]].&amp;lt;ref&amp;gt;{{cite web |title=Statement by Attorney General Ramsey Clark before the Subcommittee on Criminal Laws and Procedures of the Senate Judiciary Committee |url=https://www.justice.gov/sites/default/files/ag/legacy/2011/08/23/07-02-1968.pdf |website=Department of Justice |access-date=25 June 2025}}&amp;lt;/ref&amp;gt; In 1972, the Democratic Party platform called for the abolition of capital punishment.&amp;lt;ref name=&amp;quot;1972-Platform&amp;quot;&amp;gt;{{cite web |title=1972 Democratic Party Platform |via=American Presidency Project|url=https://www.presidency.ucsb.edu/documents/1972-democratic-party-platform|date=July 11, 1972|archive-url=https://web.archive.org/web/20220408133915/https://www.presidency.ucsb.edu/documents/1972-democratic-party-platform|archive-date=April 8, 2022|url-status=live}}&amp;lt;/ref&amp;gt; In 1988, Democratic Presidential nominee [[Michael Dukakis]]&#039;s statement in the [[1988 United States presidential debates]] that he would oppose the death penalty even if his wife were raped and murdered was seen by many viewers as callous and emotionless and was widely viewed as having contributed to his loss to [[George H.W. Bush]] in the general election.&amp;lt;ref&amp;gt;{{cite news |last1=Simon |first1=Roger |title=Questions that kill candidates&#039; careers |url=https://www.politico.com/story/2007/04/questions-that-kill-candidates-careers-003617 |access-date=25 June 2025 |agency=Politico |date=April 20, 2007}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During his [[Bill Clinton 1992 presidential campaign|presidential campaign]], [[Bill Clinton]] sought to distance himself from his party&#039;s left flank through his strong support for the death penalty, including by personally supervising the execution of [[Ricky Ray Rector]], a lobotomized African-American man convicted of killing a police officer.&amp;lt;ref&amp;gt;{{cite magazine |last1=Hitchens |first1=Christopher |title=A Hard Dog to Keep on the Porch |url=https://www.lrb.co.uk/the-paper/v18/n11/christopher-hitchens/a-hard-dog-to-keep-on-the-porch |website=London Review of Books |date=June 6, 1996 |volume=18 |issue=11 |access-date=25 June 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last1=Edsall |first1=Thomas B. |title=Death Penalty Opposition Seen as Impolitic in &#039;92; Strong Public Backing Frustrates Liberal Foes |url=https://www.proquest.com/docview/307529579 |access-date=2 July 2025 |agency=The Washington Post |date=22 April 1992|id={{ProQuest|307529579}} }}&amp;lt;/ref&amp;gt; During [[Presidency of Bill Clinton|Clinton&#039;s presidency]], Democrats led the expansion of the federal death penalty. These efforts were manifested in the 1994 [[Violent Crime Control and Law Enforcement Act]], which expanded the federal death penalty to around 60 offenses, and the [[Antiterrorism and Effective Death Penalty Act of 1996]], which heavily limited appeals in death penalty cases.&amp;lt;ref&amp;gt;{{cite web |title=History of the Death Penalty |url=https://deathpenaltyinfo.org/resources/high-school/about-the-death-penalty/history-of-the-death-penalty |website=Death Penalty Information Center |access-date=25 June 2025}}&amp;lt;/ref&amp;gt; The Democratic Party platforms of 1996 and 2000 supported capital punishment outright, while the Democratic Party platforms of 2008 and 2012 warned against arbitrary application and the execution of innocents.&amp;lt;ref&amp;gt;{{cite web |title=Political Party Platforms and the Death Penalty |url=https://deathpenaltyinfo.org/policy-issues/policy/public-opinion-polls/political-party-platforms-and-the-death-penalty |website=Death Penalty Information Center |access-date=25 June 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In June 2016, the Democratic Platform Drafting Committee unanimously adopted an amendment to abolish the death penalty.&amp;lt;ref&amp;gt;{{cite web|title=Democratic Platform Drafting Meeting Concludes|url=https://demconvention.com/news/democratic-platform-drafting-meeting-concludes/|date=June 25, 2016|access-date=June 29, 2016|publisher=DNCC|url-status=dead|archive-url=https://archive.today/20160802094026/https://demconvention.com/news/democratic-platform-drafting-meeting-concludes/|archive-date=August 2, 2016}}&amp;lt;/ref&amp;gt; The 2020 Democratic Party platform reiterated the Party&#039;s opposition to capital punishment.&amp;lt;ref&amp;gt;{{cite web |title=2020 Democratic Party Platform |url=https://www.presidency.ucsb.edu/documents/2020-democratic-party-platform |website=American Presidency Project |publisher=UC Santa Barbara |access-date=25 June 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
The 2024 platform is the first since the [[2004 Democratic National Convention|2004 platform]] that does not mention the death penalty, and the first since 2016 not to call for abolition.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.huffpost.com/entry/democrats-scrub-death-penalty-campaign-platform_n_66c67a0de4b0b9c7b360296b#|title=Democrats Scrubbed An Issue From Their Party Platform&amp;amp;nbsp;— And It&#039;s Going Under The Radar|date=August 22, 2024|website=HuffPost}}&amp;lt;/ref&amp;gt; However, on December 23, 2024, President Biden commuted the sentences of 37 out of 40 [[List of death row inmates in the United States#Federal|federal death row inmates]] to life in prison without parole.&amp;lt;ref&amp;gt;{{Cite news|url=https://www.washingtonpost.com/national-security/2024/12/23/biden-death-penalty-commutation/|title=Biden commutes most federal death sentences before Trump takes office|access-date=December 23, 2024|date=December 23, 2024|first1=Mark|last1=Berman|first2=Matt|last2=Viser|newspaper=The Washington Post}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Torture ====&lt;br /&gt;
Many Democrats are opposed to the [[Torture and the United States|use of torture]] against individuals apprehended and held prisoner by the [[United States armed forces|United States military]], and hold that categorizing such prisoners as [[unlawful combatant]]s does not release the United States from its obligations under the [[Geneva Conventions]]. Democrats contend that torture is inhumane, damages the United States&#039; moral standing in the world, and produces questionable results. Democrats are largely against [[waterboarding]].&amp;lt;ref&amp;gt;{{cite news |last1=Tyson |first1=Alec |title=Americans divided in views of use of torture in U.S. anti-terror efforts |url=https://www.pewresearch.org/fact-tank/2017/01/26/americans-divided-in-views-of-use-of-torture-in-u-s-anti-terror-efforts/ |access-date=March 21, 2020 |date=January 26, 2017 |archive-date=March 21, 2020 |archive-url=https://web.archive.org/web/20200321214249/https://www.pewresearch.org/fact-tank/2017/01/26/americans-divided-in-views-of-use-of-torture-in-u-s-anti-terror-efforts/ |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Torture became a divisive issue in the party after Barack Obama was elected president.&amp;lt;ref&amp;gt;{{cite web|url=https://www.usnews.com/news/obama/articles/2009/05/22/obama-and-democrats-torture-problem|title=Obama and Democrats&#039; Torture Problem|first=Kenneth T.|last=Walsh|work=U.S. News &amp;amp; World Report|access-date=August 26, 2017|archive-date=July 6, 2017|archive-url=https://web.archive.org/web/20170706211938/https://www.usnews.com/news/obama/articles/2009/05/22/obama-and-democrats-torture-problem|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Privacy ====&lt;br /&gt;
The Democratic Party believes that individuals should have a [[privacy law|right to privacy]]. For example, many Democrats have opposed the [[NSA warrantless surveillance (2001–07)|NSA warrantless surveillance of American citizens]].&amp;lt;ref&amp;gt;{{cite web |url=https://www.senate.gov/legislative/LIS/roll_call_lists/roll_call_vote_cfm.cfm?congress=107&amp;amp;session=1&amp;amp;vote=00313 |title=Senate roll call on passage of the PATRIOT Act |publisher=Senate.gov |date=April 25, 2017 |access-date=January 13, 2018 |archive-date=December 5, 2017 |archive-url=https://web.archive.org/web/20171205074052/https://www.senate.gov/legislative/LIS/roll_call_lists/roll_call_vote_cfm.cfm?congress=107&amp;amp;session=1&amp;amp;vote=00313 |url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=House approves Patriot Act renewal |url=https://www.cnn.com/2006/POLITICS/03/07/patriot.act/ |publisher=CNN |access-date=March 21, 2020 |archive-date=March 21, 2020 |archive-url=https://web.archive.org/web/20200321220837/https://www.cnn.com/2006/POLITICS/03/07/patriot.act/ |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some Democratic officeholders have championed [[consumer protection]] laws that limit the sharing of consumer data between corporations. Democrats have opposed [[Sodomy laws in the United States|sodomy laws]] since the 1972 platform which stated that &amp;quot;Americans should be free to make their own choice of life-styles and private habits without being subject to discrimination or prosecution&amp;quot;,&amp;lt;ref name=&amp;quot;1972-Platform&amp;quot;/&amp;gt; and believe that government should not regulate [[consensual]] noncommercial sexual conduct among adults as a matter of personal privacy.&amp;lt;ref&amp;gt;{{cite news|last=Ashtari|first=Shadee|title=Here&#039;s The Medieval-Sounding Sodomy Law That Helped Ken Cuccinelli Lose In Virginia|url=https://huffingtonpost.com/2013/11/06/ken-cuccinelli-sodomy_n_4226708.html|work=HuffPost|date=November 6, 2013|access-date=December 6, 2019|archive-date=March 24, 2019|archive-url=https://web.archive.org/web/20190324035215/https://www.huffingtonpost.com/2013/11/06/ken-cuccinelli-sodomy_n_4226708.html|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Foreign policy issues ===&lt;br /&gt;
In foreign policy, the party supports [[liberal internationalism]] as well as tough stances against [[China]] and [[Russia]].&amp;lt;ref name=&amp;quot;Ikenberry 2020&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Wong 2022&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;The World Trump Wants&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The foreign policy of the voters of the two major parties has largely overlapped since the 1990s. A Gallup poll in early 2013 showed broad agreement on the top issues, albeit with some divergence regarding human rights and international cooperation through agencies such as the United Nations.&amp;lt;ref&amp;gt;{{cite web|url=http://www.gallup.com/poll/160649/republicans-democrats-agree-top-foreign-policy-goals.aspx|title=Republicans, Democrats Agree on Top Foreign Policy Goals|work=Gallup.com|date=February 20, 2013|access-date=April 16, 2017|archive-date=March 10, 2016|archive-url=https://web.archive.org/web/20160310130915/http://www.gallup.com/poll/160649/republicans-democrats-agree-top-foreign-policy-goals.aspx|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In June 2014, the Quinnipiac Poll asked Americans which foreign policy they preferred:&lt;br /&gt;
&lt;br /&gt;
{{blockquote|A) The United States is doing too much in other countries around the world, and it is time to do less around the world and focus more on our own problems here at home.&lt;br /&gt;
&lt;br /&gt;
B) The United States must continue to push forward to promote democracy and freedom in other countries worldwide because these efforts make our own country more secure.}}&lt;br /&gt;
&lt;br /&gt;
Democrats chose A over B by 65% to 32%; Republicans chose A over B by 56% to 39%; and independents chose A over B by 67% to 29%.&amp;lt;ref&amp;gt;See &amp;quot;July 3, 2014&amp;amp;nbsp;– Iraq&amp;amp;nbsp;– Getting In Was Wrong; Getting Out Was Right, U.S. Voters Tell Quinnipiac University National Poll&amp;quot; [http://www.quinnipiac.edu/news-and-events/quinnipiac-university-poll/national/release-detail?ReleaseID=2057 Quinnipiac University Poll] {{Webarchive|url=https://web.archive.org/web/20160402190652/http://www.quinnipiac.edu/news-and-events/quinnipiac-university-poll/national/release-detail?ReleaseID=2057 |date=April 2, 2016}} item #51&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Iran sanctions ====&lt;br /&gt;
{{see also|United States sanctions against Iran}}&lt;br /&gt;
The Democratic Party has been critical of Iran&#039;s nuclear weapon program and supported economic sanctions against the Iranian government. In 2013, the Democratic-led administration worked to reach a diplomatic agreement with the government of Iran to halt the Iranian nuclear weapon program in exchange for [[Sanctions against Iran|international economic sanction]] relief.&amp;lt;ref&amp;gt;{{cite news |url=https://www.nytimes.com/2013/11/24/world/middleeast/talks-with-iran-on-nuclear-deal-hang-in-balance.html |work=The New York Times |first=Michael R. |last=Gordon |title=Accord Reached With Iran to Halt Nuclear Program |date=November 23, 2013 |access-date=February 21, 2017 |archive-date=March 26, 2017 |archive-url=https://web.archive.org/web/20170326212426/http://www.nytimes.com/2013/11/24/world/middleeast/talks-with-iran-on-nuclear-deal-hang-in-balance.html | url-status=live}}&amp;lt;/ref&amp;gt; {{as of|2014}}, negotiations had been successful and the party called for more cooperation with Iran in the future.&amp;lt;ref&amp;gt;{{cite news|url=http://www.haaretz.com/jewish-world/jewish-world-news/.premium-1.577070|title=Jewish Democratic donors urge Congress: Back off Iran sanctions|date=February 28, 2014|work=Haaretz|access-date=March 26, 2014|archive-date=September 24, 2015|archive-url=https://web.archive.org/web/20150924160604/http://www.haaretz.com/jewish-world/jewish-world-news/.premium-1.577070|url-status=live}}&amp;lt;/ref&amp;gt; In 2015, the Obama administration agreed to the [[Joint Comprehensive Plan of Action]], which provides sanction relief in exchange for international oversight of the [[Iranian nuclear program]]. In February 2019, the Democratic National Committee passed a resolution calling on the United States to re-enter the JCPOA, which President Trump withdrew from in 2018.&amp;lt;ref&amp;gt;{{cite web|url=https://www.timesofisrael.com/democratic-party-passes-resolution-calling-for-us-to-re-enter-iran-nuke-deal/|title=Democratic Party passes resolution calling for US to re-enter Iran nuke deal|last=Cortellessa|first=Eric|website=The Times of Israel |language=en-US |access-date=February 21, 2019|archive-date=February 21, 2019|archive-url=https://web.archive.org/web/20190221022455/https://www.timesofisrael.com/democratic-party-passes-resolution-calling-for-us-to-re-enter-iran-nuke-deal/|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Invasion of Afghanistan ====&lt;br /&gt;
{{see also|Afghanistan–United States relations|International public opinion on the war in Afghanistan}}&lt;br /&gt;
Democrats in the House of Representatives and in the Senate near-unanimously voted for the [[Authorization for Use of Military Force Against Terrorists]] against &amp;quot;those responsible for the [[September 11 attacks|recent attacks launched against the United States]]&amp;quot; in [[Afghanistan]] in 2001, supporting the [[NATO]] coalition [[Operation Enduring Freedom|invasion of the nation]]. Most elected Democrats continued to support the [[War in Afghanistan (2001–present)|Afghanistan conflict]] during George W. Bush&#039;s presidency.&amp;lt;ref&amp;gt;[http://www.boston.com/news/politics/politicalintelligence/2008/07/democrats_say_m_1.html &amp;quot;Democrats say McCain forgot Afghanistan&amp;quot;]. &#039;&#039;[[Boston Globe]]&#039;&#039;. July 24, 2008. Retrieved August 23, 2008. {{webarchive |url=https://web.archive.org/web/20080820113620/http://www.boston.com/news/politics/politicalintelligence/2008/07/democrats_say_m_1.html |date=August 20, 2008}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;daily&amp;quot;&amp;gt;[http://www.nydailynews.com/news/politics/2008/07/15/2008-07-15_john_mccain__barack_obama_urge_afghanist.html &amp;quot;John McCain &amp;amp; Barack Obama urge Afghanistan surge&amp;quot;] {{Webarchive|url=https://web.archive.org/web/20091113131424/http://www.nydailynews.com/news/politics/2008/07/15/2008-07-15_john_mccain__barack_obama_urge_afghanist.html |date=November 13, 2009}}. &#039;&#039;[[New York Daily News]]&#039;&#039;. July 15, 2008. Retrieved August 23, 2008.&amp;lt;/ref&amp;gt; During the [[2008 United States presidential election|2008 Presidential Election]], then-candidate [[Barack Obama]] called for a &amp;quot;surge&amp;quot; of troops into Afghanistan.&amp;lt;ref name=&amp;quot;daily&amp;quot; /&amp;gt; After winning the presidency, Obama followed through, sending additional troops to Afghanistan. Troop levels were 94,000 in December 2011 and kept falling, with a target of 68,000 by fall 2012.&amp;lt;ref&amp;gt;&amp;quot;U.S. plans major shift to advisory role in Afghanistan&amp;quot;, [http://latimesblogs.latimes.com/world_now/2011/12/us-plans-major-shift-to-advisory-role-in-afghanistan.html &#039;&#039;Los Angeles Times&#039;&#039;, December 13, 2011] {{Webarchive|url=https://web.archive.org/web/20160819153404/http://latimesblogs.latimes.com/world_now/2011/12/us-plans-major-shift-to-advisory-role-in-afghanistan.html |date=August 19, 2016}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Support for the war among the American people diminished over time. Many Democrats changed their opinion over the course of the war, coming to oppose continuation of the conflict.&amp;lt;ref name=&amp;quot;holland&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;edge&amp;quot; /&amp;gt; In July 2008, [[Gallup poll|Gallup]] found that 41% of Democrats called the invasion a &amp;quot;mistake&amp;quot; while a 55% majority disagreed.&amp;lt;ref name=&amp;quot;edge&amp;quot;&amp;gt;[http://www.gallup.com/poll/109150/Afghan-War-Edges-Iraq-Most-Important-US.aspx &amp;quot;Afghan War Edges Out Iraq as Most Important for U.S.&amp;quot;] {{Webarchive|url=https://web.archive.org/web/20161224202906/http://www.gallup.com/poll/109150/Afghan-War-Edges-Iraq-Most-Important-US.aspx |date=December 24, 2016}} by Frank Newport. [[Gallup poll|Gallup]]. July 30, 2008. Retrieved August 24, 2009.&amp;lt;/ref&amp;gt; A [[CNN]] survey in August 2009 stated that a majority of Democrats opposed the war. CNN polling director Keating Holland said: &amp;quot;Nearly two thirds of Republicans support the war in Afghanistan. Three quarters of Democrats oppose the war&amp;quot;.&amp;lt;ref name=&amp;quot;holland&amp;quot;&amp;gt;[http://www.theaustralian.news.com.au/story/0,25197,25895398-12335,00.html Most Americans oppose Afghanistan war: poll] {{Webarchive|url=https://web.archive.org/web/20090810102232/http://www.theaustralian.news.com.au/story/0,25197,25895398-12335,00.html |date=August 10, 2009}}. &#039;&#039;[[The Australian]]&#039;&#039;. August 7, 2009. Retrieved August 24, 2009.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the [[2020 United States presidential election|2020 Presidential Election]], then-candidate [[Joe Biden]] promised to &amp;quot;end the forever wars in Afghanistan and the Middle East.&amp;quot;&amp;lt;ref&amp;gt;{{Cite web |title=Joe Biden: I Promise To &#039;End The Forever Wars In Afghanistan And Middle East&#039; As President |url=https://www.cbsnews.com/philadelphia/news/joe-biden-i-promise-to-end-the-forever-wars-in-afghanistan-and-middle-east-as-president/ |access-date=November 19, 2022 |publisher=CBS News |date=July 11, 2019 |language=en-US |archive-date=November 19, 2022 |archive-url=https://web.archive.org/web/20221119224140/https://www.cbsnews.com/philadelphia/news/joe-biden-i-promise-to-end-the-forever-wars-in-afghanistan-and-middle-east-as-president/ |url-status=live }}&amp;lt;/ref&amp;gt; Biden went on to win the election, and in April 2021, he announced he would withdraw all US troops from Afghanistan by September 11 of that year.&amp;lt;ref&amp;gt;{{Cite web |title=Biden to pull US troops from Afghanistan, end &#039;forever war&#039; |url=https://apnews.com/article/joe-biden-troop-withdrawal-afghanistan-september-11-d2c7426736f9f530e0e62f2295a44d28 |access-date=November 19, 2022 |website=AP NEWS |date=April 14, 2021 |language=en |archive-date=November 19, 2022 |archive-url=https://web.archive.org/web/20221119224139/https://apnews.com/article/joe-biden-troop-withdrawal-afghanistan-september-11-d2c7426736f9f530e0e62f2295a44d28 |url-status=live }}&amp;lt;/ref&amp;gt; The last troops left in August, bringing America&#039;s 20-year-long military campaign in the country to a close.&amp;lt;ref&amp;gt;{{Cite web |first1=Nicole |last1=Gaouette |first2=Jennifer |last2=Hansler |first3=Barbara |last3=Starr |first4=Oren|last4=Liebermann|date=August 30, 2021 |title=The last US military planes have left Afghanistan, marking the end of the United States&#039; longest war {{!}} CNN Politics |url=https://www.cnn.com/2021/08/30/politics/us-military-withdraws-afghanistan/index.html |access-date=November 19, 2022 |publisher=CNN |language=en |archive-date=September 11, 2021 |archive-url=https://web.archive.org/web/20210911182417/https://www.cnn.com/2021/08/30/politics/us-military-withdraws-afghanistan/index.html |url-status=live }}&amp;lt;/ref&amp;gt; According to a 2023 AP-NORC poll, a majority of Democrats believed that the War in Afghanistan was not worth it.&amp;lt;ref&amp;gt;{{Cite web|url=https://apnews.com/article/afghanistan-911-terrorism-taliban-women-rights-268ebebb40beea7be3b1528ed6ae5808|title=Republicans and Democrats agree that the Afghanistan war wasn&#039;t worth it, an AP-NORC poll shows|date=October 18, 2023|website=AP News|access-date=October 19, 2023|archive-date=October 18, 2023|archive-url=https://web.archive.org/web/20231018190501/https://apnews.com/article/afghanistan-911-terrorism-taliban-women-rights-268ebebb40beea7be3b1528ed6ae5808|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Israel ====&lt;br /&gt;
{{see also|Israel–United States relations}}&lt;br /&gt;
[[File:Shimon Peres observes Binyamin Nitanyahu greeting Barack Obama.jpg|thumb|Israeli prime minister [[Benjamin Netanyahu]] meeting with President Obama in 2013]]&lt;br /&gt;
Democrats have historically been a stronger supporter of Israel than Republicans.&amp;lt;ref name=&amp;quot;Cavari-2020&amp;quot;&amp;gt;{{Cite book |last1=Cavari |first1=Amnon |title=American Public Opinion Toward Israel: From Consensus to Divide |last2=Freedman |first2=Guy |publisher=[[Taylor &amp;amp; Francis]] |year=2020 |pages=145}}&amp;lt;/ref&amp;gt; During the 1940s, the party advocated for the cause of an independent Jewish state over the objections of many [[Conservatism in the United States|conservatives]] in the [[Old Right (United States)|Old Right]], who strongly opposed it.&amp;lt;ref name=&amp;quot;Cavari-2020&amp;quot; /&amp;gt; In 1948, Democratic President [[Harry S. Truman|Harry Truman]] became the first world leader to recognize an independent state of Israel.&amp;lt;ref&amp;gt;{{Cite web |last=Tenorio |first=Rich |date=November 3, 2020 |title=How a nascent Israel was a key issue in Truman&#039;s stunning 1948 election upset |url=https://www.timesofisrael.com/how-a-nascent-israel-was-a-key-issue-in-trumans-stunning-1948-election-upset/ |access-date=November 1, 2023 |website=[[The Times of Israel]] |archive-date=November 18, 2023 |archive-url=https://web.archive.org/web/20231118203848/https://www.timesofisrael.com/how-a-nascent-israel-was-a-key-issue-in-trumans-stunning-1948-election-upset/ |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 2020 Democratic Party platform acknowledges a &amp;quot;commitment to Israel&#039;s security, its qualitative military edge, its right to defend itself, and the 2016 Memorandum of Understanding is ironclad&amp;quot; and that &amp;quot;we oppose any effort to unfairly single out and delegitimize Israel, including at the United Nations or through the [[Boycott, Divestment and Sanctions|Boycott, Divestment, and Sanctions Movement]]&amp;quot;.&amp;lt;ref&amp;gt;{{cite news |url=https://democrats.org/where-we-stand/party-platform/ |title=PARTY PLATFORM |newspaper=Democrats |publisher=Democrats.org |access-date=June 17, 2022 |archive-date=March 15, 2014 |archive-url=https://web.archive.org/web/20140315234633/http://www.democrats.org/democratic-national-platform |url-status=live }}&amp;lt;/ref&amp;gt; During the [[Gaza war]], the party requested a large-scale military aid package to Israel.&amp;lt;ref&amp;gt;{{Cite news |last=Shear |first=Michael D. |date=October 19, 2023 |title=Israel-Hamas War: Biden Urges U.S. to Remain &#039;Beacon to the World&#039; in Aiding Allies at War |language=en-US |work=The New York Times |url=https://www.nytimes.com/live/2023/10/19/world/israel-hamas-war-gaza-news |access-date=October 20, 2023 |issn=0362-4331 |archive-date=October 20, 2023 |archive-url=https://web.archive.org/web/20231020160855/https://www.nytimes.com/live/2023/10/19/world/israel-hamas-war-gaza-news |url-status=live }}&amp;lt;/ref&amp;gt; Biden also announced [[United States support for Israel in the Gaza war|military support for Israel]], condemned the actions of [[Hamas]] and other Palestinian militants as terrorism,&amp;lt;ref&amp;gt;{{Cite news |last=Baker |first=Peter |date=October 10, 2023 |title=In Unforgiving Terms, Biden Condemns &#039;Evil&#039; and &#039;Abhorrent&#039; Attack on Israel |newspaper=The New York Times |url=https://www.nytimes.com/2023/10/10/us/politics/biden-israel-hamas.html |access-date=October 12, 2023 |issn=0362-4331 |archive-date=October 12, 2023 |archive-url=https://web.archive.org/web/20231012001950/https://www.nytimes.com/2023/10/10/us/politics/biden-israel-hamas.html |url-status=live }}&amp;lt;/ref&amp;gt; and ordered the US military to build a port to facilitate the arrival of [[Humanitarian aid during the Gaza war|humanitarian aid to Palestinian civilians in Gaza]].&amp;lt;ref&amp;gt;{{cite web | url=https://www.voanews.com/a/biden-orders-us-military-to-build-port-in-gaza-to-facilitate-aid/7518026.html | title=Biden Ordering US Military to Build Port in Gaza to Facilitate Aid | date=March 7, 2024 | access-date=March 23, 2024 | archive-date=March 19, 2024 | archive-url=https://web.archive.org/web/20240319213922/https://www.voanews.com/a/biden-orders-us-military-to-build-port-in-gaza-to-facilitate-aid/7518026.html | url-status=live }}&amp;lt;/ref&amp;gt; However, parts of the Democratic base also became more skeptical of the Israel government.&amp;lt;ref&amp;gt;{{Cite news |last=Berg |first=Matt |date=April 14, 2024 |title=Voters think Biden should be tougher on Israel, new poll finds |newspaper=Politico |url=https://www.politico.com/news/2024/04/14/democrats-sympathetic-palestinians-israelis-poll-00152117 |access-date=June 16, 2024 |archive-date=May 28, 2024 |archive-url=https://web.archive.org/web/20240528005432/https://www.politico.com/news/2024/04/14/democrats-sympathetic-palestinians-israelis-poll-00152117 |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
The number of Democrats (and Americans in general) who oppose sending arms to Israel has grown month by month as [[Gaza war|Israel&#039;s war on Gaza]] continues.&amp;lt;ref&amp;gt;{{cite news |last1=Valdez |first1=Jonah |title=Most Americans Want to Stop Arming Israel. Politicians Don&#039;t Care. |url=https://theintercept.com/2024/09/10/polls-arms-embargo-israel-weapons-gaza/ |agency=The Intercept |date=September 10, 2024}}&amp;lt;/ref&amp;gt; Experts say support for Israel could have a negative impact on Democrats in several key states, including Michigan and Pennsylvania, in the 2024 presidential election.&amp;lt;ref&amp;gt;{{cite news |last1=Stepansky |first1=Joseph |title=&#039;Uncommitted&#039; delegates bring Gaza-war message to Democratic convention |url=https://www.aljazeera.com/news/2024/8/17/uncommitted-delegates-bring-gaza-war-message-to-democratic-convention |publisher=Al Jazeera |date=August 17, 2024 |access-date=August 18, 2024 |archive-date=September 13, 2024 |archive-url=https://web.archive.org/web/20240913230626/https://www.aljazeera.com/news/2024/8/17/uncommitted-delegates-bring-gaza-war-message-to-democratic-convention |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Late in 2024, twenty Democrats requested support for US legislation that would ban the arms trade with countries that hinder humanitarian aid.&amp;lt;ref&amp;gt;{{cite news |title=US lawmakers urge Biden administration to halt offensive weapons to Israel |url=https://www.aljazeera.com/news/2024/12/18/us-lawmakers-urge-biden-administration-to-halt-offensive-weapons-to-israel |publisher=Al Jazeera}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
According to Pew research conducted in March 2025, 69% of Democrats now have an unfavorable view of Israel, compared to 53% in 2022, before the [[Gaza war]].&amp;lt;ref&amp;gt;{{cite news |title=How Americans view Israel and the Israel-Hamas war at the start of Trump&#039;s second term |url=https://www.pewresearch.org/short-reads/2025/04/08/how-americans-view-israel-and-the-israel-hamas-war-at-the-start-of-trumps-second-term/}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Europe, Russia, and Ukraine ====&lt;br /&gt;
The 2022 [[Russian invasion of Ukraine]] was politically and economically opposed by the Biden Administration, who promptly began an increased arming of Ukraine.&amp;lt;ref name=&amp;quot;against_2022_05_19_thehill&amp;quot;&amp;gt;[https://thehill.com/homenews/senate/3495060-here-are-the-11-republican-senators-who-voted-against-the-ukraine-aid-bill/ &amp;quot;Here are the 11 GOP senators who voted against the Ukraine aid bill,&amp;quot;] {{Webarchive|url=https://web.archive.org/web/20230815033416/https://thehill.com/homenews/senate/3495060-here-are-the-11-republican-senators-who-voted-against-the-ukraine-aid-bill/ |date=August 15, 2023 }} May 19, 2022, &#039;&#039;[[The Hill (magazine)]]&#039;&#039; retrieved July 4, 2023&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;loud_2023_05_19_nytimes&amp;quot;&amp;gt;[https://www.nytimes.com/2023/05/19/us/politics/ukraine-republican-skeptics.html &amp;quot;A Loud Republican Minority Opposes More Ukraine Military Aid,&amp;quot;] {{Webarchive|url=https://web.archive.org/web/20230704132352/https://www.nytimes.com/2023/05/19/us/politics/ukraine-republican-skeptics.html |date=July 4, 2023 }} May 19, 2023, &#039;&#039;[[New York Times]]&#039;&#039; retrieved July 4, 2023&amp;lt;/ref&amp;gt; In October 2023, the Biden administration requested an additional $61.4 billion in aid for Ukraine for the year ahead,&amp;lt;ref&amp;gt;{{cite news |title=The White House is asking for almost $106 billion for Israel, Ukraine and the border |url=https://www.npr.org/2023/10/20/1206301577/biden-ukraine-israel-congress-funding-request |publisher=NPR |date=October 26, 2023 |first=Deepa |last=Shivaram |access-date=August 2, 2024 |archive-date=August 21, 2024 |archive-url=https://web.archive.org/web/20240821110201/https://www.npr.org/2023/10/20/1206301577/biden-ukraine-israel-congress-funding-request |url-status=live }}&amp;lt;/ref&amp;gt; but delays in the passage of further aid by the Republican-controlled [[United States House of Representatives|House of Representatives]] inhibited progress, with the additional $61 billion in aid to Ukraine added in April 2024.&amp;lt;ref&amp;gt;{{cite web |last1=Zengerle |first1=Patricia |last2=Cowan |first2=Richard | url=https://www.reuters.com/world/us/long-awaited-aid-ukraine-israel-taiwan-poised-pass-us-congress-2024-04-23/ | title=US Congress passes Ukraine aid after months of delay | work=[[Reuters]] | date=April 23, 2024 |access-date=June 2, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last1=Williams |first1=Michael |last2=Saenz |first2=Arlette |last3=Liptak |first3=Kevin |url=https://www.cnn.com/2024/04/24/politics/biden-signs-foreign-aid-bill/index.html |title=Biden signs foreign aid bill providing crucial military assistance to Ukraine |publisher=[[CNN]] |date=April 30, 2024 |access-date=June 2, 2024 |archive-date=April 24, 2024 |archive-url=https://web.archive.org/web/20240424162758/https://www.cnn.com/2024/04/24/politics/biden-signs-foreign-aid-bill/index.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web | last=Myre | first=Greg | url=https://www.npr.org/2024/04/24/1246839045/biden-signs-95-billion-military-aid-package-for-ukraine-israel-and-taiwan | title=Biden signs $95 billion military aid package for Ukraine, Israel and Taiwan | publisher=[[NPR]] | date=April 24, 2024 | access-date=June 2, 2024 | archive-date=June 2, 2024 | archive-url=https://web.archive.org/web/20240602111217/https://www.npr.org/2024/04/24/1246839045/biden-signs-95-billion-military-aid-package-for-ukraine-israel-and-taiwan | url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Demographics ==&lt;br /&gt;
{{main|Demographics of the Democratic Party (United States)}}&lt;br /&gt;
{{multiple image&lt;br /&gt;
 | direction = vertical&lt;br /&gt;
 | total_width = 300&lt;br /&gt;
 | image1 = 2020 Presidential Election by County.svg&lt;br /&gt;
 | alt1 = [[2020 United States presidential election|2020 presidential election]] by county&lt;br /&gt;
 | image2 = 2020 Census - Majority-Black Counties in the United States.png&lt;br /&gt;
 | alt2 = Majority-Black Counties in the U.S. as of the [[2020 United States Census]]&lt;br /&gt;
| footer = {{center|&#039;&#039;&#039;Top to bottom:&#039;&#039;&#039;}} [[2020 United States presidential election|2020 presidential election]] by county; Majority-Black Counties in the U.S. as of the [[2020 United States Census]]&lt;br /&gt;
}}&lt;br /&gt;
In the [[2024 United States presidential election|2024 presidential election]], the party performed best among voters who were [[Affluence in the United States|upper income]],&amp;lt;ref name=&amp;quot;:0&amp;quot;&amp;gt;{{Cite news |last1=Suss |first1=Joel |last2=Xiao |first2=Eva |last3=Burn-Murdoch |first3=John |last4=Murray |first4=Clara |last5=Vincent |first5=Jonathan |date=November 9, 2024 |title=Poorer voters flocked to Trump&amp;amp;nbsp;— and other data points from the election |url=https://www.ft.com/content/6de668c7-64e9-4196-b2c5-9ceca966fe3f |access-date=November 12, 2024 |work=Financial Times |quote=In contrast to 2020, the majority of lower-income households or those earning less than $50,000 a year voted for Trump this election. Conversely, those making more than $100,000 voted for Harris, according to exit polls.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Lost Their&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Too Rich&amp;quot;&amp;gt;{{Cite web|url=https://nymag.com/intelligencer/2021/09/is-america-too-rich-for-class-politics.html|title=Is America Too Rich for Class Politics?|access-date=December 2, 2024|website=New York|date=September 29, 2021|first1=Eric|last1=Levitz}}&amp;lt;/ref&amp;gt; lived in [[Urban–rural political divide|urban areas]],&amp;lt;ref name=&amp;quot;McGreal&amp;quot;&amp;gt;{{cite news|url=https://www.theguardian.com/us-news/2018/nov/10/democrats-iowa-kansas-rural-votes-scholten-king|title=Can Democrats ever win back white, rural America?|first=Chris|last=McGreal|date=November 11, 2018|access-date=March 7, 2019|archive-url=https://web.archive.org/web/20190308080818/https://www.theguardian.com/us-news/2018/nov/10/democrats-iowa-kansas-rural-votes-scholten-king|archive-date=March 8, 2019|url-status=live|newspaper=[[The Guardian]]}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;cities&amp;quot;&amp;gt;{{cite web |last1=Thompson |first1=Derek |title=How Democrats Conquered the City |url=https://www.theatlantic.com/ideas/archive/2019/09/brief-history-how-democrats-conquered-city/597955/ |website=The Atlantic |date=September 13, 2019 |access-date=March 13, 2020 |archive-date=March 7, 2020 |archive-url=https://web.archive.org/web/20200307075726/https://www.theatlantic.com/ideas/archive/2019/09/brief-history-how-democrats-conquered-city/597955/ |url-status=live}}&amp;lt;/ref&amp;gt; [[educational attainment in the United States|college graduates]],&amp;lt;ref name=&amp;quot;Polarization by education&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Polarized by Degrees&amp;quot;&amp;gt;{{Cite web|url=https://www.cambridge.org/us/universitypress/subjects/politics-international-relations/american-government-politics-and-policy/polarized-degrees-how-diploma-divide-and-culture-war-transformed-american-politics#contentsTabAnchor|title=Polarized by Degrees: How the Diploma Divide and the Culture War Transformed American Politics|first1=Matt|last1=Grossmann|first2=David A.|last2=Hopkins|website=Cambridge University Press|quote=Democrats have become the home of highly-educated citizens with progressive social views who prefer credentialed experts to make policy decisions, while Republicans have become the populist champions of white voters without college degrees who increasingly distrust teachers, scientists, journalists, universities, non-profit organizations, and even corporations.|access-date=May 23, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;nymag.com&amp;quot;&amp;gt;{{cite web|url=https://nymag.com/intelligencer/2022/10/education-polarization-diploma-divide-democratic-party-working-class.html|title=How the Diploma Divide Is Remaking American Politics|first1=Eric|last1=Levitz|website=[[New York (magazine)|New York Intelligencer]]|date=October 19, 2022|access-date=April 24, 2023|archive-date=October 20, 2022|archive-url=https://web.archive.org/web/20221020215535/https://nymag.com/intelligencer/2022/10/education-polarization-diploma-divide-democratic-party-working-class.html|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;nytimes.com&amp;quot;&amp;gt;{{cite web|url=https://www.nytimes.com/2023/04/17/opinion/education-american-politics.html|title=The &#039;Diploma Divide&#039; Is the New Fault Line in American Politics|website=[[The New York Times]]|date=April 17, 2023|access-date=April 24, 2023|first1=Doug|last1=Sosnik|archive-date=April 24, 2023|archive-url=https://web.archive.org/web/20230424073901/https://www.nytimes.com/2023/04/17/opinion/education-american-politics.html|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Fallen Behind&amp;quot;&amp;gt;{{Cite web |last1=Badger |first1=Emily |last2=Gebeloff |first2=Robert |last3=Bhatia |first3=Aatish |date=October 26, 2024 |title=They Used to Be Ahead in the American Economy. Now They&#039;ve Fallen Behind. |url=https://www.nytimes.com/interactive/2024/10/26/upshot/census-relative-income.html |url-status=live |archive-url=https://web.archive.org/web/20241027193004/https://www.nytimes.com/interactive/2024/10/26/upshot/census-relative-income.html |archive-date=October 27, 2024 |access-date=October 26, 2024 |website=The New York Times |quote=In the data, men working without a college degree of every racial group have fallen well below the average full-time worker (women without a degree have long been at the bottom in income, and college-educated men have consistently been at the top). Workers in coastal states have seen the highest growth, while steep declines have been concentrated in parts of the Midwest that are also likely to decide the election this November.}}&amp;lt;/ref&amp;gt; identified as [[Atheism|Atheist]], [[Agnosticism|Agnostic]], or [[American Jews|Jewish]]; [[African Americans]],&amp;lt;ref name=&amp;quot;Blacks and the Democratic Party&amp;quot;&amp;gt;{{cite web |last=Jackson |first=Brooks |date=April 18, 2008 |title=Blacks and the Democratic Party |url=http://www.factcheck.org/2008/04/blacks-and-the-democratic-party/ |url-status=live |archive-url=https://web.archive.org/web/20111103050026/http://www.factcheck.org/2008/04/blacks%2Dand%2Dthe%2Ddemocratic%2Dparty/ |archive-date=November 3, 2011 |access-date=October 30, 2011 |publisher=FactCheck.org}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Bositis&amp;quot;&amp;gt;{{Cite web |last=Bositis |first=David |title=Blacks and the 2012 Democratic National Convention; page 9, table 1: black votes in presidential elections, 1936&amp;amp;nbsp;– 2008 |url=https://jointcenter.org/wp-content/uploads/2020/10/Blacks-and-the-2012-Democratic-National-Convention.pdf |website=Joint Center for Political and Economic Studies |access-date=March 23, 2024 |archive-date=February 22, 2024 |archive-url=https://web.archive.org/web/20240222063250/https://jointcenter.org/wp-content/uploads/2020/10/Blacks-and-the-2012-Democratic-National-Convention.pdf |url-status=live}}&amp;lt;/ref&amp;gt; [[LGBT|LGBT+]], and [[Marital status|unmarried]].&amp;lt;ref name=&amp;quot;Activists and Partisan Realignment&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;Grossmann-2021&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;pewresearch.org&amp;quot;&amp;gt;{{Cite web|url=https://www.pewresearch.org/politics/2024/04/09/partisanship-by-race-ethnicity-and-education/|date=April 9, 2024|title=Partisanship by race, ethnicity and education|access-date=April 26, 2024|website=Pew Research Center}}&amp;lt;/ref&amp;gt; In particular, [[Kamala Harris]]&#039; two strongest demographic groups in the 2024 presidential election were African Americans (86–13%) and LGBT voters (86–12%).&amp;lt;ref name=&amp;quot;2024 Exit poll&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Support for the [[civil rights movement]] in the 1960s by Democratic presidents [[John F. Kennedy]] and [[Lyndon B. Johnson]] helped increase the Democrats&#039; support within the African American community. African Americans have consistently voted between 85% and 95% Democratic since the 1960s, making African Americans one of the largest of the party&#039;s constituencies.&amp;lt;ref name=&amp;quot;Blacks and the Democratic Party&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Bositis&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to the [[Pew Research Center]], 78.4% of Democrats in the 116th United States Congress were Christian.&amp;lt;ref&amp;gt;{{Cite web |date=January 3, 2019 |title=Faith on the Hill: The religious composition of the 116th Congress |url=https://www.pewforum.org/2019/01/03/faith-on-the-hill-116/ |access-date=May 18, 2020 |work=Pew Research Center |archive-date=February 18, 2021 |archive-url=https://web.archive.org/web/20210218040423/https://www.pewforum.org/2019/01/03/faith-on-the-hill-116/ |url-status=live }}&amp;lt;/ref&amp;gt; However, the vast majority of white evangelical and [[The Church of Jesus Christ of Latter-day Saints|Latter-day Saint]] Christians favor the [[Republican Party (United States)|Republican Party]].&amp;lt;ref&amp;gt;{{Cite news|date=November 3, 2020|title=National Exit Polls: How Different Groups Voted|language=en-US|last1=Andre|first1=Michael|display-authors=et al|work=The New York Times|url=https://www.nytimes.com/interactive/2020/11/03/us/elections/exit-polls-president.html|access-date=December 5, 2020|issn=0362-4331|archive-date=November 10, 2020|archive-url=https://archive.today/20201110220846/https://www.nytimes.com/interactive/2020/11/03/us/elections/exit-polls-president.html|url-status=live}}&amp;lt;/ref&amp;gt; The party also receives strong support from [[Irreligion|non-religious]] voters.&amp;lt;ref&amp;gt;{{cite news |date=January 22, 2009 |title=An inaugural first: Obama acknowledges &#039;non-believers&#039; |work=USA Today |url=https://www.usatoday.com/news/religion/2009-01-20-obama-non-believers_N.htm |access-date=August 22, 2017 |archive-date=April 1, 2010 |archive-url=https://web.archive.org/web/20100401094239/http://www.usatoday.com/news/religion/2009-01-20-obama-non-believers_N.htm |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://www.pewresearch.org/politics/2024/04/09/party-identification-among-religious-groups-and-religiously-unaffiliated-voters/|title=Party identification among religious groups and religiously unaffiliated voters|date=April 9, 2024|access-date=May 27, 2024|website=Pew Research Center}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Age ===&lt;br /&gt;
Younger Americans have tended to vote mainly for Democratic candidates in recent years, particularly those under the age of 30.&amp;lt;ref name=&amp;quot;trends&amp;quot;&amp;gt;{{cite web|date=April 9, 2024|title=4. Age, generational cohorts and party identification|url=https://www.pewresearch.org/politics/2024/04/09/age-generational-cohorts-and-party-identification/|publisher=Pew Research Center|language=en-US|access-date=August 3, 2024|archive-date=August 3, 2024|archive-url=https://web.archive.org/web/20240803141125/https://www.pewresearch.org/politics/2024/04/09/age-generational-cohorts-and-party-identification/|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the 2024 presidential election, Harris won voters aged 18–29 (54-43%) and 30–39 (51-45%), tied among those aged 40–49 (49-49%), lost those aged 50–64 (43–56%), and narrowly lost those aged 65 and older (49–50%). The median voter is in their 50s.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.slowboring.com/p/the-median-voter-is-a-50-something|quote=Long story short, if you’re going to blow off the median voter, you ought to do it purposefully and with a plan&amp;amp;nbsp;— don’t just act like the views of under-40 college grads are typical. ... And I don’t think there’s a mass delusion where people have come to believe that left-wing cultural politics and student debt relief are the top priorities for 50-something working-class people living outside the top 50 metro areas.|title=The median voter is a 50-something white person who didn&#039;t go to college|first1=Matthew|last1=Yglesias|website=Slow Boring|date=September 22, 2021|access-date=April 9, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
One of the main reasons that 18–29 year old voters strongly support Democrats is that they are much less likely to be married. Harris tied with White voters aged 18–29 (49-49%) and won White women aged 18–29 (54-44%).&amp;lt;ref name=&amp;quot;Single Women&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Race ===&lt;br /&gt;
{{multiple image&lt;br /&gt;
 | direction = vertical&lt;br /&gt;
 | total_width = 300&lt;br /&gt;
 | image1 = White voters.jpg&lt;br /&gt;
 | alt1 = White vote in the [[2020 United States presidential election|2020 presidential election]] by state&lt;br /&gt;
 | image2 = White Vote by County in 2020.jpg&lt;br /&gt;
 | alt2 = White vote in the [[2020 United States presidential election|2020 presidential election]] by county&lt;br /&gt;
| footer = {{center|&#039;&#039;&#039;Top to bottom:&#039;&#039;&#039;}} White vote in the [[2020 United States presidential election|2020 presidential election]] by state and county.&amp;lt;ref name=&amp;quot;White Voters&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Cohn-2014&amp;quot;/&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
Referring to the state map of the White vote, Kamala Harris in [[2024 United States presidential election|2024]] won every state where Joe Biden won the White vote in [[2020 United States presidential election|2020]]. Republican Donald Trump won every state where Joe Biden lost the White vote except for [[Virginia]].&amp;lt;ref name=&amp;quot;White Voters&amp;quot;/&amp;gt; Virginia is both 20% African American and its White voters are much less Republican than those of other Southern states, because [[Northern Virginia]] in the [[Washington metropolitan area]] is a Democratic stronghold.&amp;lt;ref&amp;gt;{{Cite news|title=Without Northern Virginia, Trump would have won the state|work=Inside Nova|url=https://www.insidenova.com/headlines/without-northern-virginia-trump-would-have-won-the-state/article_c937d4de-2516-11eb-9178-bbdf2f2c7b16.html|access-date=November 17, 2020}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Referring to the county map of the White vote, Democrats do win White voters in most of [[New England]] and the [[West Coast of the United States|West Coast]]. Democrats also do well in regions with high [[Nordic and Scandinavian Americans|Nordic and Scandinavian ancestry]]. For example, this keeps White voters in Minnesota and Wisconsin much less Republican than in other Midwestern states.&amp;lt;ref&amp;gt;Bergman, Klas. &#039;&#039;Scandinavians in the State House: How Nordic Immigrants Shaped Minnesota Politics&#039;&#039; ([[Minnesota Historical Society Press]], 2017) [https://www.tandfonline.com/doi/abs/10.1080/07352166.2017.1416224?journalCode=ujua20 online review].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Brøndal, Jørn. &#039;&#039;Ethnic Leadership and Midwestern Politics: Scandinavian Americans and the Progressive Movement in Wisconsin, 1890–1914&#039;&#039; ([[University of Illinois Press]], 2004).&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Democrats are also relatively competitive among or win White voters in parts of the [[Northeastern United States|Northeast]], [[Midwestern United States|Midwest]], and [[Southwestern United States|Southwest]]. Democrats do particularly poorly among [[White Southerners]], as racial polarization is extremely high in the Southern United States.&amp;lt;ref name=&amp;quot;White Voters&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the 2024 presidential election, African Americans supported Kamala Harris 86-13%, while White Southerners supported Donald Trump 67-32%. Even in many urban counties in the Southern United States, Democrats do not win a majority of White voters. Trump won both White Southerners with college degrees (57-41%) and without college degrees (75-24%).&amp;lt;ref name=&amp;quot;White Voters&amp;quot;&amp;gt;{{Cite web|url=https://split-ticket.org/2023/03/24/where-do-democrats-win-white-voters/|title=Where Do Democrats Win White Voters?|date=March 24, 2023|access-date=January 13, 2025|website=Split Ticket|first1=Lakshya|last1=Jain|first2=Harrison|last2=Lavelle|first3=Armin|last3=Thomas|quote=Educational polarization and urbanization are not the only two lenses through which to analyze the white vote. For all that educational polarization has done to explain shifts in partisanship (as shown by Atlanta and Dallas rocketing left), it cannot fully explain the differences in baseline partisanship nearly as well. To better understand this, it becomes necessary to consider a more comprehensive picture. ... Religious affiliation (i.e. denomination) and religiosity levels, among other factors, explained wide differences in how both non-college whites and college-educated whites voted across regions. Throughout New England and the Pacific Coast, widespread secularism makes both college and non-college whites significantly bluer than the national average. Elsewhere in the Northeast, a comparatively large Catholic population has raised the Democratic floor among whites across the educational attainment spectrum. ... This likely has a good deal to do with southern cultural conservatism, which is elevated relative to the nation thanks in part to marked Protestant religiosity, particularly among white Baptists. For this reason, support for abortion is exceptionally high in the Midwest, but extremely low in the South. &#039;&#039;&#039;This regional mix of religiosity and racial polarization results in something quite striking: whites in virtually every southern county are significantly more Republican than their northern counterparts.&#039;&#039;&#039;}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* In the swing states of Georgia and North Carolina, which Harris lost by 2.2% and 3.2%, Whites supported Trump 71-28% and 62-37%. Trump won White voters with college degrees in Georgia 57-43%, and lost White voters with college degrees in North Carolina 47–51%.&lt;br /&gt;
*White evangelicals supported Trump in Georgia (91-9%) and North Carolina (87-12%), on par with African American support for Harris in Georgia (88-11%) and North Carolina (86-12%).&amp;lt;ref name=&amp;quot;2024 Exit poll&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[New Mexico]] is [[Hispanics and Latinos in New Mexico|half-Hispanic]] (49.3%), as the most heavily-Hispanic state in the country.&amp;lt;ref&amp;gt;{{Cite web|title=U.S. Census Bureau QuickFacts: New Mexico|url=https://www.census.gov/quickfacts/NM|access-date=September 9, 2021|website=census.gov|language=en}}&amp;lt;/ref&amp;gt; Of the 19 states and the District of Columbia won by Kamala Harris in the 2024 presidential election, all except New Mexico had above-average educational attainment.&amp;lt;ref name = &amp;quot;CensusData&amp;quot;&amp;gt;{{cite web |title=EDUCATIONAL ATTAINMENT |url=https://data.census.gov/cedsci/table?q=S1501&amp;amp;g=0100000US%240400000&amp;amp;tid=ACSST1Y2021.S1501&amp;amp;moe=false&amp;amp;tp=false |publisher=U.S. Census Bureau |access-date=September 18, 2022 |archive-url=https://web.archive.org/web/20220919003628/https://data.census.gov/cedsci/table?q=S1501&amp;amp;g=0100000US%240400000&amp;amp;tid=ACSST1Y2021.S1501&amp;amp;moe=false&amp;amp;tp=false |archive-date=September 19, 2022 |url-status=live}}&amp;lt;/ref&amp;gt; New Mexico also had the lowest [[List of states and territories of the United States by population density|population density]] and the highest [[List of U.S. states and territories by poverty rate|poverty rate]] of any state carried by Harris.&lt;br /&gt;
&lt;br /&gt;
=== Gender and sexual minorities ===&lt;br /&gt;
[[File:Total Fertility Rate by U.S. state.svg|thumb|right|300px|Total Fertility Rate by U.S. state in 2021]]&lt;br /&gt;
Since 1980, a &amp;quot;gender gap&amp;quot; has seen stronger support for the Democratic Party among women than among men. Unmarried and divorced women are more likely to vote for Democrats.&amp;lt;ref name=wvwv2004&amp;gt;[http://www.wvwv.org/docs/WVWV_2004_post-election_memo.pdf &amp;quot;Unmarried Women in the 2004 Presidential Election&amp;quot;] {{webarchive|url=https://web.archive.org/web/20160101195440/http://www.wvwv.org/docs/WVWV_2004_post-election_memo.pdf|date=January 1, 2016}} ([[PDF]]). Report by Greenberg Quinlan Rosner Research, January 2005. p. 3: &amp;quot;The marriage gap is one of the most important cleavages in electoral politics. Unmarried women voted for Kerry by a 25-point margin (62 to 37 percent), while married women voted for President Bush by an 11-point margin (55 percent to 44 percent). Indeed, the 25-point margin Kerry posted among unmarried women represented one of the high water marks for the Senator among all demographic groups.&amp;quot;&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news|url=https://www.economist.com/news/united-states/21591624-republicans-should-worry-unmarried-women-shun-them-marriage-gap?fsrc=scn/tw/te/pe/themarriagegap|title=Republicans should worry that unmarried women shun them|date=December 14, 2013|newspaper=[[The Economist]]|access-date=September 18, 2019|archive-url=https://web.archive.org/web/20180115185951/https://www.economist.com/news/united-states/21591624-republicans-should-worry-unmarried-women-shun-them-marriage-gap?fsrc=scn%2Ftw%2Fte%2Fpe%2Fthemarriagegap|archive-date=January 15, 2018|url-status=live}}&amp;lt;/ref&amp;gt; Although women supported Obama over [[Mitt Romney]] by a margin of 55–44% in 2012, Romney prevailed amongst married women, 53–46%.&amp;lt;ref name=&amp;quot;Marriage Gap&amp;quot;&amp;gt;{{cite news|date=December 3, 2012|title=The Marriage Gap in the Women&#039;s Vote|first=Meg T.|last=McDonnell|url=http://www.crisismagazine.com/2012/the-marriage-gap-in-the-womens-vote|work=Crisis Magazine|access-date=December 11, 2014|archive-url=https://web.archive.org/web/20141031034237/http://www.crisismagazine.com/2012/the-marriage-gap-in-the-womens-vote|archive-date=October 31, 2014|url-status=dead}}&amp;lt;/ref&amp;gt; Obama won unmarried women 67–31%.&amp;lt;ref&amp;gt;{{cite news|first=Suzanne|last=Goldenberg|date=November 9, 2012|title=Single women voted overwhelmingly in favour of Obama, researchers find|newspaper=[[The Guardian]]|url=https://www.theguardian.com/world/2012/nov/09/single-women-voted-favour-obama|access-date=December 11, 2014|archive-url=https://web.archive.org/web/20141231035001/http://www.theguardian.com/world/2012/nov/09/single-women-voted-favour-obama|archive-date=December 31, 2014|url-status=live}}&amp;lt;/ref&amp;gt; According to a December 2019 study, &amp;quot;White women are the only group of female voters who support Republican Party candidates for president. They have done so by a majority in all but 2 of the last 18 elections&amp;quot;.&amp;lt;ref&amp;gt;{{Cite journal|last1=Junn|first1=Jane|author-link1=Jane Junn|last2=Masuoka|first2=Natalie|year=2020|title=The Gender Gap Is a Race Gap: Women Voters in US Presidential Elections|journal=Perspectives on Politics|volume=18|issue=4|pages=1135–1145|doi=10.1017/S1537592719003876|issn=1537-5927|doi-access=free}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=https://www.theatlantic.com/politics/archive/2016/11/white-women-support-gop/507617/|title=White Female Voters Continue to Support the Republican Party|website=[[The Atlantic]]|date=November 14, 2016|access-date=January 30, 2021|archive-date=December 15, 2023|archive-url=https://web.archive.org/web/20231215024943/https://www.theatlantic.com/politics/archive/2016/11/white-women-support-gop/507617/|url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the 2024 presidential election, LGBT voters supported Harris 86-12%, on par with African Americans. Harris lost married men (38–60%) and married women (47–52%), tied among unmarried men (48-48%), and won unmarried women (61-38%).&amp;lt;ref name=&amp;quot;Single Women&amp;quot;&amp;gt;{{Cite web|url=https://split-ticket.org/2022/11/22/struggling-to-attract-single-women-so-are-republicans/|title=Struggling to Attract Single Women? So are Republicans|date=November 22, 2022|first1=Clare|last1=Considine|website=Split Ticket|quote=It’s true—marriage has a conservatizing effect on the political attitudes of women. Married women are associated with lower levels of gender-linked fate, which is itself is associated with ideology, partisanship, and even positional attitudes such as support for abortion. Research tells us that marriage plays a distinct role in structuring legal abortion attitudes for women, particularly among white women. We know that the Dobbs decision created an inflection point in support for Democrats, and it’s not an unreasonable to understand why the issue would have outsized salience among unmarried women (86 percent of abortion seekers in the US are unmarried).}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
White women with college degrees do support Democrats somewhat strongly, with Harris winning them 58-41%, likely the best ever modern performance with this demographic. They were one of the few demographic groups that shifted towards Democrats from 2020 to 2024.&amp;lt;ref name=&amp;quot;gap within the gender gap&amp;quot;&amp;gt;{{Cite web|url=https://www.nbcnews.com/politics/elections/steve-kornacki-white-men-white-women-gap-gender-gap-rcna196791|title=Steve Kornacki: White men, white women, and the gap within the gender gap|quote=New NBC News polling data illustrates the cultural and political gulf separating white men without college degrees and white women with college degrees.|first1=Steve|last1=Kornacki|publisher=NBC News|date=March 18, 2025|access-date=March 19, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[List of U.S. states and territories by fertility rate|Total fertility rate]] is strongly negatively correlated with support for the Democratic Party. Specifically, as total fertility increased in states, Democratic vote share decreased.&amp;lt;ref name=&amp;quot;Single Women&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Region ===&lt;br /&gt;
{{See also|Solid South}}&lt;br /&gt;
[[File:Hispanic and Latino Americans by state.svg|thumb|300px|Proportion of Americans who are Hispanic or Latino in each U.S. state, [[District of Columbia|DC]], and Puerto Rico as of the 2020 United States Census]]&lt;br /&gt;
Geographically, the party is strongest in the [[Northeastern United States]], parts of the [[Great Lakes region]] and [[Southwestern United States]], and the [[West Coast of the United States|West Coast]]. The party is also very strong in [[List of United States cities by population|major cities]], regardless of region.&amp;lt;ref name=&amp;quot;cities&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Democratic Party gradually lost its power in the [[Southern United States]] since [[1964 United States presidential election|1964]]. Although [[Richard Nixon]] carried 49 states in [[1972 United States presidential election|1972]], including every Southern state, the Republican Party remained quite weak at the local and state levels across the entire South for decades. Republicans first won a majority of U.S. House seats in the South in the [[1994 United States elections|1994]] &amp;quot;[[Republican Revolution]]&amp;quot;, and only began to dominate the South after the [[2010 United States elections|2010 elections]].&amp;lt;ref name=&amp;quot;The long goodbye&amp;quot;&amp;gt;{{Cite news|url=https://www.economist.com/united-states/2010/11/11/the-long-goodbye|date=November 11, 2010|newspaper=The Economist|title=The long goodbye|quote=In 1981 Republicans took control of the Senate for the first time since 1953, but most Southern elected officials remained white Democrats. When Republicans took control of the House in 1995, white Democrats still comprised one-third of the South&#039;s tally. ... white Southern Democrats have met their Appomattox: they will account for just 24 of the South&#039;s 155 senators and congressmen in the 112th United States Congress.|access-date=February 20, 2023}}&amp;lt;/ref&amp;gt; Since the 2010s, [[White Southerners]] are the Republican Party&#039;s strongest racial demographic, in some [[Deep South]] states voting nearly as Republican as African Americans vote Democratic.&amp;lt;ref name=&amp;quot;Cohn-2014&amp;quot;/&amp;gt; This is partially attributable to religiosity, with White [[evangelical Christianity|evangelical Christians]] in the [[Bible Belt]], which covers most of the South, being the Republican Party&#039;s strongest religious demographic.&lt;br /&gt;
&lt;br /&gt;
The Democratic Party is particularly strong in the West Coast and Northeastern United States. In particular, the Democratic Party receives its strongest support from White voters in these two regions. This is attributable to the two regions having the highest educational attainment in the country and being part of the &amp;quot;[[Unchurched Belt]],&amp;quot; with the lowest rates of religiosity in the country.&amp;lt;ref name=&amp;quot;White Voters&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Democratic Party&#039;s support in the [[Midwestern United States|Midwest]] and [[Southwestern United States|Southwest]] are more mixed, with varying levels of support from White voters in both regions. In the Midwest, the Democratic Party receives varying levels of support, with some states safely Democratic, some [[swing states]], and some safely Republican. In the Southwest, the Democratic Party also relies on [[Hispanic and Latino Americans|Hispanic]] voters.&amp;lt;ref name=&amp;quot;The New West&amp;quot;&amp;gt;{{Cite web|url=https://www.latimes.com/politics/story/2023-06-16/columnist-mark-z-barabak-the-new-west|title=A series on political shifts in the West|first1=Mark Z.|website=Los Angeles Times|last1=Barabak|date=November 2023 |access-date=June 4, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Democratic Party is particularly weak in the [[Great Plains]] and some [[Mountain states]]. In particular, the states of [[Idaho]], [[Utah]], [[Wyoming]], [[North Dakota]], [[South Dakota]], [[Nebraska]],{{efn|Three Democrats ([[Barack Obama]] in 2008, [[Joe Biden]] in 2020, and [[Kamala Harris]] in 2024) have since won an electoral vote from [[Nebraska&#039;s 2nd congressional district]], but Johnson remains the last Democrat to carry the state as a whole.}} [[Kansas]], and [[Oklahoma]] have not voted for the Democratic Party since the [[1964 United States presidential election|1964 presidential election]]. [[Montana]] has not voted for the Democratic Party since the [[1992 United States presidential election|1992 presidential election]].&amp;lt;ref name=&amp;quot;how&amp;quot;&amp;gt;Sullivan, Robert David; [http://www.americamagazine.org/content/unconventional-wisdom/how-red-and-blue-map-evolved-over-past-century ‘How the Red and Blue Map Evolved Over the Past Century’]; &#039;&#039;America Magazine&#039;&#039; in &#039;&#039;The National Catholic Review&#039;&#039;; June 29, 2016&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
White voters have considerable regional variations. In 2024 presidential election, Kamala Harris lost Southern White voters 32–67% and Midwestern White voters 40–59%. Harris tied among White voters in the Northeastern United States 49-49%, and won White voters in the Western United States 52-45%. Harris lost White voters in the country as a whole to Trump 42–57%.&amp;lt;ref name=&amp;quot;2024 Exit poll&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Population density ===&lt;br /&gt;
{{Main|Urban-rural political divide|List of states and territories of the United States by population density}}&lt;br /&gt;
The Democratic Party&#039;s support is strongly positively correlated with increased population density, consistent with the [[urban-rural divide]] observed globally.&amp;lt;ref name=&amp;quot;Rachman 2018&amp;quot;&amp;gt;{{cite news |last=Rachman |first=Gideon |date=July 30, 2018 |title=Urban-rural splits have become the great global divider |url=https://www.ft.com/content/e05cde76-93d6-11e8-b747-fb1e803ee64e |url-access=subscription |url-status=live |archive-url=https://web.archive.org/web/20210226190159/https://www.ft.com/content/e05cde76-93d6-11e8-b747-fb1e803ee64e |archive-date=February 26, 2021 |access-date=May 6, 2024 |work=Financial Times |issn=0307-1766}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;cities&amp;quot;/&amp;gt; Notably, in the [[2024 United States presidential election|2024 presidential election]], the swings against Kamala Harris were inversely correlated to population density, shrinking the urban-rural divide slightly.&amp;lt;ref&amp;gt;{{Cite web|url=https://centerforpolitics.org/crystalball/how-the-other-half-votes-the-big-counties-versus-the-rest-of-the-country-in-2024/|title=How the Other Half Votes: The Big Counties Versus the Rest of the Country in 2024|first1=Kyle|last1=Kondik|website=Sabato&#039;s Crystal Ball|date=January 9, 2025|access-date=February 8, 2024}}&amp;lt;/ref&amp;gt; Harris still received higher support as population density increased. But relative to 2020, urban areas had the largest swings against Harris, suburban areas had lesser swings against Harris, and rural areas had the smallest swings against Harris.&amp;lt;ref&amp;gt;{{Cite web|url=https://split-ticket.org/2025/02/08/americas-demographic-revolution/|title=America&#039;s Demographic Revolution|first1=Harrison|last1=Lavelle|first2=Max|last2=McCall|date=February 8, 2025|access-date=February 8, 2025|website=Split Ticket}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Specifically, Harris won voters in urban areas (60-38%), narrowly lost voters in suburban areas (47–51%), and lost voters in rural areas (34–64%). The urban-rural divide holds after controlling for race.&amp;lt;ref name=&amp;quot;2024 Exit poll&amp;quot;/&amp;gt;&lt;br /&gt;
*Harris won White voters in urban areas (53-45%), lost them in suburban areas (41–57%), and lost them in rural areas (31–68%).&lt;br /&gt;
*Harris won Hispanic voters in urban areas (57-39%) and suburban areas (51-48%), and lost them in rural areas (33–66%).&lt;br /&gt;
*Harris won African American voters in urban areas (89-10%), suburban areas (86-12%), and rural areas (71-27%).&lt;br /&gt;
&lt;br /&gt;
The only state of the ten least densely populated that Harris won was [[New Mexico]], which is half-Hispanic (49.3%).&lt;br /&gt;
&lt;br /&gt;
In the [[Southern United States]], racial polarization is often stronger than the urban-rural divide. In particular, Democrats lose White voters in many Southern urban areas, while doing extremely well in rural [[List of majority-Black counties in the United States|majority-Black counties]].&amp;lt;ref name=&amp;quot;White Voters&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Income and wealth ===&lt;br /&gt;
[[File:2021 Median household wealth, by highest educational attainment - US.svg|thumb|right|300px|Higher educational attainment in the US corresponds with higher median household wealth.&amp;lt;ref name=WealthEducation_2021&amp;gt;{{cite web |title=The Wealth of Households: 2021 / Current Population Reports / P70BR-183 |url=https://www.census.gov/content/dam/Census/library/publications/2023/demo/p70br-183.pdf |last1=Sullivan |first1=Brianna |last2=Hays |first2=Donald |last3=Bennett |first3=Neil |page=5 (Figure 2) |publisher=United States Census Bureau |archive-url=https://web.archive.org/web/20240524023705/https://www.census.gov/content/dam/Census/library/publications/2023/demo/p70br-183.pdf |archive-date=May 24, 2024 |date=June 2023 |url-status=live }}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
[[File:Median_Household_Income_per_County_as_of_2021_according_to_the_USDA_Economic_Research_Service_(3).png|thumb|300px|Median U.S. household income per County in 2021, showing the distribution of income geographically in the United States]]&lt;br /&gt;
[[File:Poverty in the U.S. by county.png|thumb|upright=2|300px|Proportion of Americans living below the poverty line in each county of the fifty states, the District of Columbia, and Puerto Rico]]&lt;br /&gt;
&lt;br /&gt;
Until the 2016 victory of Republican [[Donald Trump]], lower income was strongly correlated to voting for the Democratic Party among the general electorate.&amp;lt;ref name=&amp;quot;Nate Silver&amp;quot;&amp;gt;{{Cite web|url=https://fivethirtyeight.com/features/education-not-income-predicted-who-would-vote-for-trump/|title=Education, Not Income, Predicted Who Would Vote For Trump|date=November 22, 2016|website=FiveThirtyEight|first1=Nate|last1=Silver}}&amp;lt;/ref&amp;gt; However, in all three of Trump&#039;s elections in 2016, 2020, and 2024, the previous correlation between lower incomes and voting for the Democratic Party was eliminated.&amp;lt;ref name=&amp;quot;Where Have All The Democrats Gone?&amp;quot;&amp;gt;{{Cite web|url=https://projects.fivethirtyeight.com/2024-election-swings/|archive-url=https://web.archive.org/web/20250204231156/https://projects.fivethirtyeight.com/2024-election-swings/|url-status=dead|archive-date=February 4, 2025|title=Where Have All The Democrats Gone?|first1=G. Elliott|last1=Morris|first2=Amina|last2=Brown|first3=Katie|last3=Marriner|website=FiveThirtyEight|quote=This all raises questions about Democrats’ messaging about the economy, or maybe suggests that the type of people they hypothesize would be helped most by their policies&amp;amp;nbsp;— such as wealth redistribution from progressive and corporate taxation and federal subsidies for companies that invest in underdeveloped areas, especially when it comes to manufacturing&amp;amp;nbsp;— are not as responsive as the party hoped to the type of so-called policy “deliverism” that the Obama and Biden administrations pursued. In a more dire framing for Democrats: If a party that tells itself it stands for working-class voters is systematically losing support with those people, something has gone terribly wrong for them.}}&amp;lt;/ref&amp;gt; For White voters, instead higher educational attainment was strongly correlated with higher support for the Democratic Party.&amp;lt;ref name=&amp;quot;Harry Enten&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the 2024 presidential election, Democratic nominee [[Kamala Harris]] did better among higher-income voters than lower-income voters for the first time ever in modern American political history.&amp;lt;ref name=&amp;quot;Lost Their&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Too Rich&amp;quot;/&amp;gt; High-income voters, including high-income White voters and White men with college degrees, are no longer Republican demographic strongholds and voted in line with the national popular vote in 2024.&amp;lt;ref name=&amp;quot;Cliffe 2023&amp;quot;&amp;gt;{{Cite web|url=https://www.newstatesman.com/international-politics/2023/02/strange-death-centre-right-moderate-conservatism|title=The strange death of the centre right|quote=The traditional centre right of the postwar decades could do so by “bundling” moderate social conservatism (moderate by the standards of its day, at least) with the pro-business economic conservatism favoured by higher earners. But today those two elements are coming apart: richer folk are more likely to have gone to university and be socially liberal, while social conservatism is more associated with poorer groups. That puts centre-right politics in zugzwang: forced to move, but with no good options. It can emphasize its social conservatism and lose pro-business graduates to the centre, or play it down, shore up its support among those voters and lose social conservatives to the radical right.|first1=Jeremy|last1=Cliffe|date=February 15, 2023|access-date=February 5, 2025|website=New Statesman|archive-date=February 11, 2025|archive-url=https://web.archive.org/web/20250211103019/https://www.newstatesman.com/international-politics/2023/02/strange-death-centre-right-moderate-conservatism|url-status=live}}&amp;lt;/ref&amp;gt; Harris only narrowly lost White voters making $100,000 to $199,999 (49–50%), over $200,000 (48–51%), and White men with college degrees (48–50%), all on par with Harris losing the popular vote 48–50%. White men with college degrees are the highest-income demographic group.&amp;lt;ref name=&amp;quot;:0&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Nate Silver]] argues that the [[urban-rural political divide|urban-rural divide]], educational polarization, and racial polarization have rendered income irrelevant to voters in the Trump era.&amp;lt;ref name=&amp;quot;culture trumps economic class&amp;quot;&amp;gt;{{Cite web |title=How culture trumps economic class as the new political fault line|date=March 28, 2024|website=Silver Bulletin|access-date=January 13, 2025|first1=Nate|last1=Silver|url=https://www.natesilver.net/p/how-culture-trumps-economic-class}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[African Americans]] continue to be the lowest-income demographic in the United States.&amp;lt;ref name=&amp;quot;dropouts&amp;quot;/&amp;gt; According to 2024 exit polls, 45% of Black voters made less than $50,000 a year, compared to 27% of the electorate.&amp;lt;ref name=&amp;quot;2024 Exit poll&amp;quot;/&amp;gt; Harris still won most of the [[List of lowest-income counties in the United States|lowest-income counties]], which are mainly majority-Black counties in the [[Black Belt in the American South|Southern Black Belt]].&amp;lt;ref name=&amp;quot;Fallen Behind&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Higher educational attainment is strongly correlated to higher income and wealth, and the [[2021-2023 inflation surge]] resulted in lower-income voters losing [[purchasing power]] while higher-income voters gained from [[financial asset|asset prices]] increasing due to inflation, including [[stock]]s and [[real estate]].&amp;lt;ref name=&amp;quot;Economy Sucks&amp;quot;&amp;gt;{{Cite web|url=https://www.ft.com/content/b0a60325-4c93-49a0-8dc6-817f0d8281fc|title=This was an election on the US economy. And for many Americans, the economy sucks|date=November 8, 2024|website=Financial Times|access-date=November 8, 2024|first1=Tej|last1=Parikh}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
*Among White voters in 2024, income was negatively correlated with support for Kamala Harris. Specifically, Harris lost White voters making less than $30,000 (34–63%), those making between $30,000 to $49,999 (37–62%), and those making $50,000 to $99,999 (42–56%). Harris only narrowly lost White voters making $100,000 to $199,999 (49–50%) and those making more than $200,000 (48–51%).&amp;lt;ref&amp;gt;{{Cite web|url=https://www.vox.com/politics/390108/working-class-definition-voters-2024|title=What does &#039;working class&#039; even mean?|quote=The criticism that Democrats left America’s working class behind surged after the 2024 election. Here’s why the term is so hard to define&amp;amp;nbsp;— and why that maters.|website=Vox|date=December 9, 2024|access-date=December 9, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
*Among the electorate as a whole, Harris won those making less than $30,000 (50–46%), lost those making between $30,000 and $99,999 (46–52%), won those making between $100,000 and $199,999 (51–48%), and won those making over $200,000 (52–46%). Harris&#039; strongest income demographic were voters making over $200,000 a year.&amp;lt;ref name=&amp;quot;2024 Exit poll&amp;quot;/&amp;gt;&amp;lt;ref name = &amp;quot;Charting&amp;quot;&amp;gt;{{cite news |date=January 19, 2025 |title=Charting the Biden economy: Despite all the growth and jobs, a deeply unpopular president |publisher=CNBC |url=https://www.cnbc.com/2025/01/19/charting-the-biden-economy-deeply-unpopular-despite-growth-and-jobs.html|quote=Joe Biden leaves the presidency with what appears to be a sterling economic record. There&#039;s just one problem, and it is one that will forever taint the 46th president&#039;s legacy. Inflation and its onerous burden on households, particularly at the lower end of the income spectrum, dwarfed all the other good that happened on Biden&#039;s watch.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After controlling for education, there was little difference in White voter support for Harris by annual income. Note than 54% of White voters did not have degrees, and 46% of White voters did have college degrees.&amp;lt;ref name=&amp;quot;2024 Exit poll&amp;quot;/&amp;gt;&lt;br /&gt;
*Harris lost White voters without college degrees making less than $50,000 (30–68%), making between $50,000 and $99,999 (32–67%), and making over $100,000 (33–66%). Among White voters without college degrees, 36% made less than $50,000, 35% made between $50,000 and $99,999, and 30% over $100,000.&lt;br /&gt;
*Harris won White voters with college degrees making less than $50,000 (54–44%), making between $50,000 and $99,999 (54–45%), and making over $100,000 (53–46%). Among White voters with college degrees, 11% made less than $50,000, 27% made between $50,000 and $99,999, and 62% made over $100,000.&lt;br /&gt;
&lt;br /&gt;
According to a 2022 Gallup poll, roughly equal proportions of Democrats (64-35%) and Republicans (66-34%) had money invested in the [[stock market]].&amp;lt;ref&amp;gt;{{cite web |url=https://news.gallup.com/poll/266807/percentage-americans-owns-stock.aspx |first1=Lydia |last1=Saad |first2=Jeffrey M. |last2=Jones |title=What Percentage of Americans Own Stock? |date=May 12, 2022 |website= |publisher=[[Gallup, Inc.]] |access-date=May 12, 2022 |archive-date=May 12, 2022 |archive-url=https://web.archive.org/web/20220512001808/https://news.gallup.com/poll/266807/percentage-americans-owns-stock.aspx |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Education ===&lt;br /&gt;
In the 2020 presidential election, college-educated White voters in all 50 states voted more Democratic than non-college White voters, as displayed in the two maps.&amp;lt;ref name=&amp;quot;nymag.com&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;nytimes.com&amp;quot;/&amp;gt; As of 2022, over 90% of American adults over the age of 25 have completed high school. However, only 35% have a Bachelor&#039;s degree and 17% have a graduate degree.&amp;lt;ref name = &amp;quot;CensusData&amp;quot;/&amp;gt; Higher educational attainment among White voters corresponds to increased ideological support for the Democratic Party.&amp;lt;ref name=&amp;quot;Abramowitz 2021&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Educational attainment is not the only factor that affects ideology among White voters.&amp;lt;ref name=&amp;quot;White Voters&amp;quot;/&amp;gt; After controlling for education, there still remain huge variations by state and region.&amp;lt;ref name=&amp;quot;2024 Exit poll&amp;quot;/&amp;gt; Educational polarization is weaker than racial polarization in the South.&amp;lt;ref name=&amp;quot;White Vote and Educational Polarization&amp;quot;/&amp;gt;&lt;br /&gt;
*Southern White voters with college degrees remain strongly Republican, with Harris losing them 41–57% in the 2024 presidential election. Harris won White voters with college degrees in the Midwestern United States 50-48%, the Northeastern United States 61-38%, and in the Western United States 67-30%. Harris won White voters with college degrees as a whole 53-45%.&lt;br /&gt;
*Harris lost White voters without college degrees 24–75% in the Southern United States, 32–67% in the Midwestern United States, 37–61% in the Northeastern United States, and 42–56% in the Western United States. Harris lost White voters without college degrees as a whole 32–66%.&lt;br /&gt;
&lt;br /&gt;
Educational polarization has benefitted Democrats in some well-educated Southern states, because it has not changed African American support for Democrats. Democrats are competitive in Georgia and North Carolina because there is much more room for Democrats to grow among White Southerners with college degrees than ground for Democrats to fall among White Southerners without college degrees. This also keeps Virginia reliably Democratic, despite its White voters voting Republican.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.patrickruffini.com/p/why-trump-lost-georgia|title=Why Trump lost Georgia|date=September 26, 2023|first1=Patrick|last1=Ruffini|access-date=March 27, 2024|website=The Intersection|quote=But this proximity belies highly racially polarized voting. Black adults outnumber white adults by 1 point and Biden voters Trump voters by a nearly identical 4 points. The Black Belt is one of four regions—including Southern Georgia, the Northern Highlands, and the Metro Borderlands, where the white vote for Republicans ranges upwards of 80 percent. This fact alone helps explain why education polarization in the South hasn’t helped Trump: there are few non-college white Democrats to flip, but a lot of upside for Democrats in flipping still very Republican college-educated whites.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the 2024 presidential election, among White voters educational attainment was strongly positively correlated with support for Kamala Harris. Specifically, as educational attainment increased among White voters, so did support for Harris. It wasn&#039;t only about having a college degree or not, but rather support for Harris continuously increased as educational attainment increased.&lt;br /&gt;
*In particular, Harris lost White voters with high school or less 25–73%, an [[Associate degree]] 31–67%, and some college 38–61%. Harris tied with Trump among White voters with a [[Bachelor&#039;s degree]] 49-49%, and won White voters with a [[Postgraduate education|graduate degree]] 58-40%.&amp;lt;ref name=&amp;quot;2024 Exit poll&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Educational polarization is stronger than gender and marital status among White voters, but weaker than racial polarization in the South.&amp;lt;ref name=&amp;quot;2024 Exit poll&amp;quot;&amp;gt;{{cite news|date=November 6, 2024|title=Exit poll results 2024|url=https://www.cnn.com/election/2024/exit-polls/national-results/general/president/0|access-date=November 6, 2024|publisher=CNN}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
*Harris won White women with college degrees (58-41%) and lost White men with college degrees (48–50%) by the same as the popular vote.&amp;lt;ref name=&amp;quot;gap within the gender gap&amp;quot;/&amp;gt;&lt;br /&gt;
*Harris lost White women without college degrees (35–63%) and White men without college degrees (29–69%).&lt;br /&gt;
&lt;br /&gt;
According to a Gallup poll in November 2024, unionization rates were positively correlated to increased educational attainment and higher income. In particular, 15% of those with graduate degrees, 8% with bachelor&#039;s degrees, 9% with some college, and 5% with high school or less were unionized. Also, 11% of those with household incomes of $100,000 or more, 7% of those with $40,000 to $99,999, and 3% with less than $40,000 were unionized. Also only 6% of those in the private sector were unionized, compared to 28% of government employees.&amp;lt;ref&amp;gt;{{Cite web|url=https://news.gallup.com/poll/265958/percentage-workers-union-members.aspx#:~:text=The%20more%20educated%20an%20employee,likely%20to%20be%20union%20members.|title=What Percentage of U.S. Workers Belong to a Labor Union?|date=November 20, 2024|website=Gallup|access-date=December 13, 2024}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many Democrats without college degrees differ from liberals in their more socially moderate views, and are more likely to belong to an ethnic minority.&amp;lt;ref name=&amp;quot;different worlds&amp;quot;&amp;gt;{{cite news|url=https://www.cnn.com/2018/06/12/politics/republicans-democrats-different-worlds/index.html|title=Republicans and Democrats increasingly really do occupy different worlds|last=Brownstein|first=Ronald|publisher=CNN|access-date=October 24, 2018|archive-date=October 24, 2018|archive-url=https://web.archive.org/web/20181024113248/https://www.cnn.com/2018/06/12/politics/republicans-democrats-different-worlds/index.html|url-status=live|quote=On the one hand, non-college whites almost always expressed more conservative views than did either non-whites or whites with a college degree living in the same kind of geographic area.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Teixeira-2022&amp;quot;&amp;gt;{{Cite web |last=Teixeira |first=Ruy |author-link=Ruy Teixeira |date=November 6, 2022 |title=Democrats&#039; Long Goodbye to the Working Class |url=https://www.theatlantic.com/ideas/archive/2022/11/democrats-long-goodbye-to-the-working-class/672016/ |access-date=November 8, 2022 |website=[[The Atlantic]] |language=en |quote=As we move into the endgame of the 2022 election, the Democrats face a familiar problem. America&#039;s historical party of the working class keeps losing working-class support. And not just among White voters. Not only has the emerging Democratic majority I once predicted failed to materialize, but many of the non-White voters who were supposed to deliver it are instead voting for Republicans... From 2012 to 2020, the Democrats not only saw their support among White working-class voters&amp;amp;nbsp;— those without college degrees&amp;amp;nbsp;— crater, they also saw their advantage among non-White working-class voters fall by 18 points. And between 2016 and 2020 alone, the Democratic advantage among Hispanic voters declined by 16 points, overwhelmingly driven by the defection of working-class voters. In contrast, Democrats&#039; advantage among White college-educated voters improved by 16 points from 2012 to 2020, an edge that delivered Joe Biden the White House. |archive-date=January 7, 2023 |archive-url=https://web.archive.org/web/20230107212010/https://www.theatlantic.com/ideas/archive/2022/11/democrats-long-goodbye-to-the-working-class/672016/ |url-status=live }}&amp;lt;/ref&amp;gt; White voters with college degrees are more likely to live in urban areas.&amp;lt;ref name=&amp;quot;different worlds&amp;quot;/&amp;gt;&lt;br /&gt;
*There was no difference in support for Harris from African Americans based on education, with Harris winning African Americans with and without a college degree 86-13%.&lt;br /&gt;
*There was a modest difference in support for Harris among Hispanic voters with a college degree (54-42%) and without a college degree (51-48%). This was far less than the differences among Hispanic voters in urban (57-39%), suburban (51-48%), and rural areas (33–66%).&amp;lt;ref name=&amp;quot;dropouts&amp;quot;&amp;gt;{{Cite web|url=https://www.vox.com/2014/9/24/6840037/white-high-school-dropouts-have-more-wealth-than-black-and-hispanic|title=White high school dropouts are wealthier than Black or Latino college graduates|first1=Danielle|last1=Kurtzleben|date=September 24, 2014|website=Vox}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Factions ==&lt;br /&gt;
{{further|Factions in the Democratic Party (United States)}}&lt;br /&gt;
[[File:Educational Attainment in the States won by Kamala Harris in 2024.png|thumb|right|300px|Bar plot of the percentage of the population with a BA or higher in the electoral jurisdictions won by Kamala Harris in the 2024 United States presidential election.&amp;lt;ref name = &amp;quot;CensusData&amp;quot;/&amp;gt;]]&lt;br /&gt;
Upon foundation, the Democratic Party supported [[agrarianism]] and the [[Jacksonian democracy]] movement of President [[Andrew Jackson]], representing farmers and rural interests and traditional [[Jeffersonian democracy|Jeffersonian democrats]].&amp;lt;ref&amp;gt;John Ashworth, &#039;&#039;&amp;quot;Agrarians&amp;quot; &amp;amp; &amp;quot;aristocrats&amp;quot;: Party political ideology in the United States, 1837–1846&#039;&#039;(1983)&amp;lt;/ref&amp;gt; Since the 1890s, especially in northern states, the party began to favor more liberal positions (the term &amp;quot;liberal&amp;quot; in this sense describes [[Modern liberalism in the United States|modern liberalism]], rather than [[classical liberalism]] or [[economic liberalism]]). Historically, the party has represented farmers, laborers, and religious and ethnic minorities as it has opposed unregulated business and finance and favored progressive income taxes.&lt;br /&gt;
&lt;br /&gt;
In the 1930s, the party began advocating [[Social programs in the United States|social programs]] targeted at the poor. Before the [[New Deal]], the party had a [[Fiscal conservatism|fiscally conservative]], [[Economic liberalism|pro-business]] wing, typified by [[Grover Cleveland]] and [[Al Smith]].&amp;lt;ref&amp;gt;Susan Dunn, &#039;&#039;Roosevelt&#039;s Purge: How FDR Fought to Change the Democratic Party&#039;&#039; (2010) pp. 202–213.&amp;lt;/ref&amp;gt; The party was [[Solid South|dominant in the Southern United States]] until President [[Lyndon B. Johnson]] signed the [[Civil Rights Act of 1964]]. In foreign policy, [[internationalism (politics)|internationalism]] (including [[interventionism (politics)|interventionism]]) was a dominant theme from 1913 to the mid-1960s. The major influences for liberalism were labor unions (which peaked in the 1936–1952 era) and African Americans. Environmentalism has been a major component since the 1970s.&lt;br /&gt;
&lt;br /&gt;
Even after the New Deal, until the 2010s, the party still had [[conservative coalition|a fiscally conservative faction]],&amp;lt;ref name=&amp;quot;blue-dog-regroup&amp;quot;&amp;gt;{{cite news |last1=Kane |first1=Paul |date=January 15, 2014 |title=Blue Dog Democrats, whittled down in number, are trying to regroup |newspaper=[[The Washington Post]] |url=https://www.washingtonpost.com/politics/blue-dog-democrats-whittled-down-in-number-are-trying-to-regroup/2014/01/15/37d4e7e2-7dfd-11e3-95c6-0a7aa80874bc_story.html |url-status=live |access-date=July 23, 2014 |archive-url=https://web.archive.org/web/20140116091758/https://www.washingtonpost.com/politics/blue-dog-democrats-whittled-down-in-number-are-trying-to-regroup/2014/01/15/37d4e7e2-7dfd-11e3-95c6-0a7aa80874bc_story.html |archive-date=January 16, 2014 |quote=Four years ago, they were the most influential voting bloc on Capitol Hill, more than 50 House Democrats pulling their liberal colleagues to a more centrist, fiscally conservative vision on issues such as health care and Wall Street reforms.}}&amp;lt;/ref&amp;gt; such as [[John Nance Garner]] and [[Howard W. Smith]].&amp;lt;ref&amp;gt;{{cite book|first=James T.|last=Patterson|title=Congressional Conservatism and the New Deal|url=https://books.google.com/books?id=Y8MfBgAAQBAJ&amp;amp;pg=PR7|year=1967|publisher=University Press of Kentucky|pages=vii–viii|isbn=9780813164045}}&amp;lt;/ref&amp;gt; The party&#039;s [[Southern Democrats|Southern conservative]] wing began shrinking after President [[Lyndon B. Johnson]] supported the [[Civil Rights Act of 1964]], and largely died out in the 2010s, as the Republican Party built up its Southern base.&amp;lt;ref name=&amp;quot;The long goodbye&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Cohn-2014&amp;quot;/&amp;gt; The party still receives support from African Americans and urban areas in the Southern United States.&amp;lt;ref&amp;gt;{{cite web |last1=Kilgore |first1=Ed |title=A Different Kind of Democratic Party Is Rising in the South |date=November 9, 2018 |url=https://nymag.com/intelligencer/2018/11/changing-southern-democratic-party.html |work=New York |access-date=November 9, 2018}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|title=National Results 2020 President exit polls.|url=https://www.cnn.com/election/2020/exit-polls/president/national-results|access-date=December 4, 2020|publisher=[[CNN]]|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The 21st century Democratic Party is predominantly a coalition of centrists, liberals, and progressives, with significant overlap between the three groups. In 2019, the Pew Research Center found that among Democratic and Democratic-leaning registered voters, 47% identify as liberal or very liberal, 38% identify as moderate, and 14% identify as conservative or very conservative.&amp;lt;ref&amp;gt;{{cite web |last1=Gilberstadt |first1=Hannah |last2=Daniller |first2=Andrew |date=January 17, 2020 |title=Liberals make up the largest share of Democratic voters, but their growth has slowed in recent years |url=https://www.pewresearch.org/fact-tank/2020/01/17/liberals-make-up-largest-share-of-democratic-voters/ |url-status=live |archive-url=https://web.archive.org/web/20200117201701/https://www.pewresearch.org/fact-tank/2020/01/17/liberals-make-up-largest-share-of-democratic-voters/ |archive-date=January 17, 2020 |access-date=June 12, 2020 |website=Pew Research Center}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |last1=Brownstein |first1=Ronald |title=The Democrats&#039; Coalition Could Fundamentally Change by 2020 |url=https://www.theatlantic.com/politics/archive/2019/05/democrats-progressive-agenda-and-2020-election/589066/ |website=The Atlantic |date=May 9, 2019 |access-date=March 13, 2020 |archive-date=March 23, 2020 |archive-url=https://web.archive.org/web/20200323161712/https://www.theatlantic.com/politics/archive/2019/05/democrats-progressive-agenda-and-2020-election/589066/ |url-status=live}}&amp;lt;/ref&amp;gt; Political scientists characterize the Democratic Party as less ideologically cohesive than the Republican Party due to the broader diversity of coalitions that compose the Democratic Party.&amp;lt;ref name=&amp;quot;Gidron-2019&amp;quot;&amp;gt;{{Cite journal|last1=Gidron|first1=Noam|last2=Ziblatt|first2=Daniel|date=May 11, 2019|title=Center-Right Political Parties in Advanced Democracies |journal=Annual Review of Political Science|language=en|volume=22|issue=1|pages=17–35|doi=10.1146/annurev-polisci-090717-092750|s2cid=182421002|issn=1094-2939|doi-access=free }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Grossman-2016&amp;quot;&amp;gt;{{Cite book|last1=Grossman|first1=Matt|url=https://oxford.universitypressscholarship.com/view/10.1093/acprof:oso/9780190626594.001.0001/acprof-9780190626594|title=Asymmetric Politics: Ideological Republicans and Group Interest Democrats|last2=Hopkins|first2=David A.|date=2016|publisher=Oxford University Press|isbn=978-0-19-062659-4|doi=10.1093/acprof:oso/9780190626594.001.0001|access-date=November 10, 2021|archive-date=November 28, 2021|archive-url=https://web.archive.org/web/20211128121511/https://oxford.universitypressscholarship.com/view/10.1093/acprof:oso/9780190626594.001.0001/acprof-9780190626594|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Lelkes-2016&amp;quot;&amp;gt;{{Cite journal|last1=Lelkes|first1=Yphtach|last2=Sniderman|first2=Paul M.|year=2016|title=The Ideological Asymmetry of the American Party System|journal=British Journal of Political Science|language=en|volume=46|issue=4|pages=825–844|doi=10.1017/S0007123414000404|issn=0007-1234|doi-access=free}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The party has lost significant ground with voters without college degrees in the 21st century, in line with trends across the developed world.&amp;lt;ref name=&amp;quot;Piketty 2022&amp;quot;/&amp;gt; The realignment unfolded gradually, first with White voters in the [[Southern United States|South]]&amp;lt;ref name=&amp;quot;Cohn-2014&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Dogs&amp;quot;&amp;gt;{{Cite web|url=https://washingtonmonthly.com/2014/11/10/from-yellow-dogs-to-blue-dogs-to-new-dogs/|title=From Yellow Dogs To Blue Dogs To New Dogs|first1=Ed|last1=Kilgore|date=November 10, 2014|website=Washington Monthly|access-date=December 24, 2016|quote=Even more to the point, once the ancient white Democratic voting habits were broken, there was really no going back. Blue Dogs were a fading echo of the Yellow Dog tradition in the South, in which the Democratic Party was the default vehicle for day-to-day political life, and the dominant presence, regardless of ideology, for state and local politics. ... So Martin’s right: the Blue Dog model is gone for good. But I would warn against the very popular assumption that Democrats can simply intone &amp;quot;economic populism&amp;quot; and regain traction among &amp;quot;the economically pressed white voter&amp;quot; of the Deep South. All the reasons Democrats are struggling with non-college-educated white voters nationally are especially strong in the South: racial and religious fears, anti-urbanism, militarism, and mistrust of unions as well as Wall Street. And for a whole host of reasons, including exceptionally weak union affiliation levels and a neo-colonial heritage as a region starved for capital, the Deep South is going to be more “pro-business” than most of the country.}}&amp;lt;/ref&amp;gt; and [[Midwestern United States|Midwest]],&amp;lt;ref&amp;gt;{{Cite web|url=https://unherd.com/newsroom/is-obama-the-reason-democrats-are-now-underdogs/|title=Is Obama the reason Democrats are now &#039;underdogs&#039;?|date=August 21, 2024|access-date=December 10, 2024|website=UnHerd|first1=Michael|last1=Cuenco|quote=Consider that when Obama last ran, the Midwest was still known as an impenetrable Blue Wall, while Florida and Ohio were still purple states. When Bill Clinton gave his acceptance speech in 1996, the Democrats were competitive throughout large swathes of the South. During that period, they had gone on to win not just Clinton’s Arkansas and Al Gore’s Tennessee, but states such as Kentucky and Louisiana too. The story of the last three decades has been one of political success for Democrats, who have won the popular vote in seven out of the last nine elections. Yet it is also one of narrowing political constituencies and pyrrhic victories, as the party attracted college-educated professionals at the expense of the non-college-educated majority. In particular, non-college-educated whites were lost, but in recent years they have increasingly been joined by significant numbers of non-college-educated minorities.}}&amp;lt;/ref&amp;gt; and later with voters as a whole without college degrees, except for [[African Americans]].&amp;lt;ref name=&amp;quot;Where Have All The Democrats Gone?&amp;quot;/&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://centerforpolitics.org/crystalball/the-end-of-the-line-for-red-state-senate-democrats/|title=The End of the Line for Red State Senate Democrats|date=December 5, 2024|access-date=January 17, 2025|first1=Kyle|last1=Kondik|website=Sabato&#039;s Crystal Ball|quote=As part of capturing the Senate this year, Republicans knocked out the final remaining Democratic senators from a group of 20 states that have consistently voted Republican for president since at least the 2000 election. A quarter-century ago, Democrats held nearly a third of the Senate seats from these 20 states. But that tally was down to just 2 leading into this election, and Republican victories in Montana and West Virginia reduced it to 0.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Democrats have consistently won voters with [[postgraduate education|graduate degrees]] since the 1990s, including a majority of White voters with graduate degrees.&amp;lt;ref name=&amp;quot;Polarization by education&amp;quot;&amp;gt;{{Cite news|url=https://www.economist.com/united-states/2024/10/13/polarisation-by-education-is-remaking-american-politics|title=Polarisation by education is remaking American politics|newspaper=The Economist|date=October 13, 2024|quote=From 1952 to 2000, a majority of white voters with college degrees self-identified as Republicans. Starting with the 2012 election, this affiliation began to weaken. It loosened even more once [Donald] Trump became the Republican standard-bearer in 2016. By 2020, the college-educated called themselves Democrats by a 2:1 margin. And there were many more of them; their share of the electorate rose from 8% in 1952 to 40% in 2020. Had the party held on to the rest of its support, this would have ensured an enduring majority. Yet at the same time, Democrats lost support among whites without college degrees. They now favour Republicans by their own margin of 2:1.}}&amp;lt;/ref&amp;gt; Since the 2010s, the party&#039;s main demographic gains have been among White voters with college degrees, which were previously a Republican-leaning group until 2016.&amp;lt;ref name=&amp;quot;Harry Enten&amp;quot;&amp;gt;{{cite web|url=https://fivethirtyeight.com/features/even-among-the-wealthy-education-predicts-trump-support/|title=Even Among The Wealthy, Education Predicts Trump Support|date=November 29, 2016|first1=Harry|last1=Enten|website=FiveThirtyEight|quote=First, it&#039;s clear from the exit polls that for white voters, every bit of extra education meant less support for Trump. ... Second, education matters a lot even when separating out income levels. ... Third, Trump saw little difference in his support between income levels within each education group.}}&amp;lt;/ref&amp;gt; The party still receives extremely strong support from [[African Americans]], but has lost ground among other racial minorities, including [[Hispanic and Latino Americans|Hispanics]], [[Native Americans in the United States|Native Americans]], and [[Asian Americans]].&amp;lt;ref name=&amp;quot;Lost Their&amp;quot;&amp;gt;{{Cite web|url=https://www.nytimes.com/2024/11/25/upshot/democrats-trump-working-class.html|title=How Democrats Lost Their Base and their Message|website=The New York Times|first1=Nate|last1=Cohn|date=November 25, 2024|access-date=November 25, 2024|quote=Donald Trump&#039;s populist pitch bumped Democrats off their traditional place in American politics. ... It has long been clear that the rise of Donald J. Trump meant the end of the Republican Party as we once knew it. It has belatedly become clear that his rise may have meant the end of the Democratic Party as we knew it as well. After three Trump elections, almost every traditional Democratic constituency has swung to the right. In fact, Mr. Trump has made larger gains among Black, Hispanic, Asian American and young voters in his three campaigns since 2016 than he has among white voters without a college degree, according to New York Times estimates. In each case, Mr. Trump fared better than any Republican in decades. ... The overarching pattern is clear. In election after election, Democrats underperformed among traditional Democratic constituencies during the Trump era. Sometimes, it was merely a failure to capitalize on his unpopularity. Other times, it was a staggering decline in support. Together, it has shattered Democratic dreams of building a new majority with the rise of a new generation of young and nonwhite voters. This overarching pattern requires an overarching explanation: Mr. Trump’s populist conservatism corroded the foundations of the Democratic Party’s appeal. It tapped into many of the issues and themes that once made these voters Democrats.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Liberals ===&lt;br /&gt;
{{see also|Modern liberalism in the United States}}&lt;br /&gt;
{{multiple image&lt;br /&gt;
 | direction = vertical&lt;br /&gt;
 | total_width = 300&lt;br /&gt;
 | image1 = Self-identified liberals 2018 Gallup.svg&lt;br /&gt;
 | alt1 = Percent of self-identified liberals by state in 2018&lt;br /&gt;
 | image2 = Correlation between Education and Liberalism.png&lt;br /&gt;
 | alt2 = Correlation between Educational Attainment and Liberalism by State&lt;br /&gt;
 | footer = {{center|&#039;&#039;&#039;Top:&#039;&#039;&#039; Percent of self-identified liberals by state in 2018, according to a [[Gallup (company)|Gallup]] poll.&amp;lt;ref name=&amp;quot;Liberals&amp;quot;&amp;gt;{{Cite web|last=Jones|first=Jeffrey M.|date=February 22, 2019|title=Conservatives Greatly Outnumber Liberals in 19 U.S. States|url=https://news.gallup.com/poll/247016/conservatives-greatly-outnumber-liberals-states.aspx|access-date=December 27, 2021|website=Gallup|language=en}}&amp;lt;/ref&amp;gt; &#039;&#039;&#039;Bottom:&#039;&#039;&#039; Linear regression of educational attainment vs. liberalism by state, based on the same Gallup data.&amp;lt;ref name=&amp;quot;Liberals&amp;quot;/&amp;gt;}}&lt;br /&gt;
}}&lt;br /&gt;
Modern liberals are a large portion of the Democratic base. According to 2018 exit polls, liberals constituted 27% of the electorate, and 91% of American liberals favored the candidate of the Democratic Party.&amp;lt;ref name=&amp;quot;2018e&amp;quot;&amp;gt;{{cite web |title=Exit Polls |url=https://www.cnn.com/election/2018/exit-polls |website=CNN Politics |access-date=July 4, 2020 |archive-date=November 14, 2018 |archive-url=https://web.archive.org/web/20181114225635/https://www.cnn.com/election/2018/exit-polls |url-status=live}}&amp;lt;/ref&amp;gt; [[White-collar worker|White-collar]] college-educated professionals were mostly Republican until the 1950s, but they had become a vital component of the Democratic Party by the early 2000s.&amp;lt;ref name=&amp;quot;Judis, B. J. (July 11, 2003). The trouble with Howard Dean. &#039;&#039;Salon.com&#039;&#039;.&amp;quot;&amp;gt;{{cite web|last=Judis|first=John B.|title=The trouble with Howard Dean|work=Salon|url=http://dir.salon.com/story/news/feature/2003/07/11/dean/index.html|archive-url=https://web.archive.org/web/20120921000516/http://www.salon.com/2003/07/11/dean_15/|archive-date=September 21, 2012|date=July 11, 2003|access-date=July 19, 2007|url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to a 2025 [[Gallup (company)|Gallup]] poll, 37% of American voters identify as &amp;quot;conservative&amp;quot; or &amp;quot;very conservative&amp;quot;, 34% as &amp;quot;moderate&amp;quot;, and 25% as &amp;quot;liberal&amp;quot; or &amp;quot;very liberal&amp;quot;. For Democrats, 9% identified as conservative, 34% as moderate, and 55% as liberal.&amp;lt;ref&amp;gt;{{cite web|website=Gallup|title=U.S. Political Parties Historically Polarized Ideologically|first1=Megan|last1=Brenan|url=https://news.gallup.com/poll/655190/political-parties-historically-polarized-ideologically.aspx|date=January 16, 2025|access-date=January 16, 2025}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A large majority of liberals favor moving toward [[universal health care]]. A majority also favor diplomacy over [[war|military action]]; [[stem cell|stem cell research]], [[same-sex marriage in the United States|same-sex marriage]], stricter [[Gun politics in the United States|gun control]], environmental protection laws, as well as the preservation of [[pro-choice|abortion rights]]. Immigration and [[cultural diversity]] are deemed positive as liberals favor [[cultural pluralism]], a system in which immigrants retain their native culture in addition to adopting their new culture. Most liberals oppose increased military spending and the mixing of church and state.&amp;lt;ref name=&amp;quot;Pew Research Center.&amp;quot;&amp;gt;{{cite web|url=https://www.pewresearch.org/politics/2021/11/09/beyond-red-vs-blue-the-political-typology-2/|title=Pew Research Center. (May 10, 2005). Beyond Red vs. Blue, p. 1 of 8|archive-url=https://web.archive.org/web/20120731155950/http://www.people-press.org/2005/05/10/beyond-red-vs-blue/|archive-date=July 31, 2012|access-date=July 12, 2007|url-status=dead |date=May 10, 2005}}&amp;lt;/ref&amp;gt; As of 2020, the three most significant labor groupings in the Democratic coalition were the [[AFL–CIO]] and [[Change to Win Federation|Change to Win]] [[National trade union center|labor federations]] as well as the [[National Education Association]], a large, unaffiliated teachers&#039; union. Important issues for labor unions include supporting unionized manufacturing jobs, raising the [[minimum wage in the United States|minimum wage]], and promoting broad social programs such as [[Social Security (United States)|Social Security]] and [[Medicare (United States)|Medicare]].&amp;lt;ref&amp;gt;{{cite web |last1=Lipka |first1=Michael |last2=Smith |first2=Gregory A. |date=January 31, 2020 |title=Among Democrats, Christians lean toward Biden, while &#039;nones&#039; prefer Sanders |url=https://www.pewresearch.org/fact-tank/2020/01/31/among-democrats-christians-lean-toward-biden-while-nones-prefer-sanders/ |access-date=November 16, 2020 |website=[[Pew Research Center]] |archive-date=February 11, 2021 |archive-url=https://web.archive.org/web/20210211092938/https://www.pewresearch.org/fact-tank/2020/01/31/among-democrats-christians-lean-toward-biden-while-nones-prefer-sanders/ |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This ideological group is strongly correlated with high educational attainment. According to the [[Pew Research Center]], 49% were college graduates, the highest figure of any typographical group.&amp;lt;ref name=&amp;quot;Polarized by Degrees&amp;quot;/&amp;gt; It was also the fastest growing typological group since the late 1990s to the present.&amp;lt;ref name=&amp;quot;Pew Research Center.&amp;quot;/&amp;gt; Liberals include most of the academia&amp;lt;ref name=&amp;quot;Kurtz, H. (March 29, 2005). College Faculties A Most Liberal Lot, Study Finds. &#039;&#039;The Washington Post&#039;&#039;.&amp;quot;&amp;gt;{{cite news|title=College Faculties A Most Liberal Lot, Study Finds|last=Kurtz|first=Howard|url=https://www.washingtonpost.com/wp-dyn/articles/A8427-2005Mar28.html|newspaper=The Washington Post|archive-url=https://web.archive.org/web/20120604090510/http://www.washingtonpost.com/wp-dyn/articles/A8427-2005Mar28.html|archive-date=June 4, 2012|access-date=July 2, 2007|date=March 29, 2005|url-status=dead}}&amp;lt;/ref&amp;gt; and large portions of the professional class.&amp;lt;ref name=&amp;quot;nymag.com&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Moderates ===&lt;br /&gt;
{{see also|New Democrats (United States)|New Democrat Coalition|Blue Dog Coalition}}&lt;br /&gt;
&lt;br /&gt;
Moderate Democrats, or [[New Democrats (United States)|New Democrats]], are an ideologically [[Centrism|centrist]] faction within the Democratic Party that emerged after the victory of [[Republican Party (United States)|Republican]] [[George H. W. Bush]] in the [[1988 United States presidential election|1988 presidential election]].&amp;lt;ref&amp;gt;{{cite web |title=DLC: The New American Choice Resolutions |url=http://www.dlc.org/ndol_cid211.html?kaid=86&amp;amp;subid=194&amp;amp;contentid=1251 |url-status=dead |archive-url=https://archive.today/20140111224830/http://www.dlc.org/ndol_cid211.html?kaid=86&amp;amp;subid=194&amp;amp;contentid=1251 |archive-date=January 11, 2014 |access-date=February 25, 2013 |work=Democratic Leadership Council}}&amp;lt;/ref&amp;gt; Running as a New Democrat, Bill Clinton won the [[1992 United States presidential election|1992]] and [[1996 United States presidential election|1996]] presidential elections.&amp;lt;ref&amp;gt;Alvarez, R. Michael, and Jonathan Nagler. &amp;quot;Economics, Entitlements, and Social Issues: Voter Choice in the 1996 Presidential Election.&amp;quot; &#039;&#039;American Journal of Political Science&#039;&#039; 42, no. 4 (1998): 1361.&amp;lt;/ref&amp;gt; They are an economically [[Economic liberalism|liberal]] and &amp;quot;[[Third Way]]&amp;quot; faction that dominated the party for around 20 years, until the beginning of [[Presidency of Barack Obama|Obama&#039;s presidency]].&amp;lt;ref name=&amp;quot;blue-dog-regroup&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;vox.com&amp;quot;&amp;gt;{{cite web |last1=Yglesias |first1=Matthew |title=Bill Clinton is still a star, but today&#039;s Democrats are dramatically more liberal than his party|url=https://www.vox.com/2016/7/26/12280198/democrats-changed-since-1992 |website=Vox |date=July 26, 2016 |access-date=May 31, 2022}}&amp;lt;/ref&amp;gt; They are represented by organizations such as the [[New Democrat Network]] and the [[New Democrat Coalition]].&lt;br /&gt;
&lt;br /&gt;
The [[Blue Dog Coalition]] was formed during the [[104th United States Congress|104th Congress]] to give members from the Democratic Party representing conservative-leaning districts a unified voice after the Democrats&#039; loss of Congress in the [[1994 United States House of Representatives elections|1994]] [[Republican Revolution]].&amp;lt;ref&amp;gt;{{cite web |last1=Dumain |first1=Emma |date=May 12, 2015 |title=20&amp;amp;nbsp;years in, Blue Dogs not ready to roll over |url=https://www.rollcall.com/news/blue-dogs |website=rollcall.com}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=History |url=http://ross.house.gov/BlueDog/history.htm |url-status=dead |archive-url=http://webarchive.loc.gov/all/20120405021833/http://ross.house.gov/BlueDog/history.htm |archive-date=April 5, 2012 |access-date=April 10, 2012 |website=ross.house.gov/BlueDog/ |publisher=Blue Dog Coalition}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last=Bendavid |first=Naftali |date=July 28, 2009 |title=&#039;Blue Dog&#039; Democrats hold health care overhaul at bay |newspaper=[[The Wall Street Journal]]}}&amp;lt;/ref&amp;gt; However, in the late 2010s and early 2020s, the Coalition&#039;s focus shifted towards ideological [[centrism]]. One of the most influential centrist groups was the [[Democratic Leadership Council]] (DLC), a nonprofit organization that advocated centrist positions for the party. The DLC disbanded in 2011.&amp;lt;ref&amp;gt;{{cite web |date=February 7, 2011 |title=Democratic Leadership Council will fold |url=https://www.politico.com/blogs/ben-smith/2011/02/democratic-leadership-council-will-fold-033157 |url-status=live |archive-url=https://web.archive.org/web/20150626020036/http://www.politico.com/blogs/bensmith/0211/Democratic_Leadership_Council_will_fold.html |archive-date=June 26, 2015 |access-date=September 18, 2011 |website=Politico}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some Democratic elected officials have self-declared as being centrists, including former President Bill Clinton, former Vice President [[Al Gore]], Senator [[Mark Warner]], Kansas governor [[Laura Kelly]], former Senator [[Jim Webb]], and President [[Joe Biden]].&amp;lt;ref name=&amp;quot;Members&amp;amp;nbsp;— New Democrat Coalition&amp;quot;&amp;gt;{{cite web |title=Members&amp;amp;nbsp;– New Democrat Coalition |url=https://newdemocratcoalition-kind.house.gov/members |url-status=dead |archive-url=https://web.archive.org/web/20160907005152/https://newdemocratcoalition-kind.house.gov/members |archive-date=September 7, 2016}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |last=Hale |first=Jon F. |date=January 1, 1995 |title=The Making of the New Democrats |journal=Political Science Quarterly |volume=110 |issue=2 |pages=207–232 |doi=10.2307/2152360 |jstor=2152360}}&amp;lt;/ref&amp;gt; The New Democrat Network supports socially liberal and fiscally moderate Democratic politicians and is associated with the congressional [[New Democrat Coalition]] in the House.&amp;lt;ref&amp;gt;{{cite web |title=New Democrat Coalition |url=http://newdemocratcoalition.house.gov/ |url-status=live |archive-url=https://web.archive.org/web/20220308074931/https://newdemocratcoalition.house.gov/ |archive-date=March 8, 2022 |access-date=March 11, 2022}}&amp;lt;/ref&amp;gt; [[Annie Kuster]] is the chair of the coalition,&amp;lt;ref name=&amp;quot;Members&amp;amp;nbsp;— New Democrat Coalition&amp;quot; /&amp;gt; and former senator and President [[Barack Obama]] was self-described as a New Democrat.&amp;lt;ref&amp;gt;{{cite web |date=March 10, 2009 |title=Obama: &#039;I am a New Democrat&#039; |url=https://www.politico.com/story/2009/03/obama-i-am-a-new-democrat-019862 |url-status=live |archive-url=https://web.archive.org/web/20170419161022/http://www.politico.com/story/2009/03/obama-i-am-a-new-democrat-019862#ixzz3o9jykSUe |archive-date=April 19, 2017 |access-date=April 16, 2017 |work=Politico}}&amp;lt;/ref&amp;gt; In the 21st century, some former Republican moderates have switched to the Democratic Party.&amp;lt;ref&amp;gt;{{cite web |last=Tatum |first=Sophie |title=3 Kansas legislators switch from Republican to Democrat |url=https://www.cnn.com/2018/12/19/politics/kansas-legislature-republican-democrat/index.html |publisher=CNN |date=December 20, 2018 |archive-date=October 30, 2020 |archive-url=https://web.archive.org/web/20201030091356/https://www.cnn.com/2018/12/19/politics/kansas-legislature-republican-democrat/index.html |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite news |last=Weiner |first=Rachel |title=Charlie Crist defends party switch |url=https://www.washingtonpost.com/news/post-politics/wp/2012/12/10/charlie-crist-defends-party-switch/ |newspaper=The Washington Post |archive-date=February 25, 2021 |archive-url=https://web.archive.org/web/20210225143218/https://www.washingtonpost.com/news/post-politics/wp/2012/12/10/charlie-crist-defends-party-switch/ |url-status=live }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;auto1&amp;quot;&amp;gt;{{cite news |last=Davis |first=Susan |title=Meltdown On Main Street: Inside The Breakdown Of The GOP&#039;s Moderate Wing |url=https://www.npr.org/2019/08/23/753404051/meltdown-on-main-street-inside-the-breakdown-of-the-gops-moderate-wing  |publisher=[[NPR]] |date=August 23, 2019 |language=en |archive-date=June 17, 2022 |archive-url=https://web.archive.org/web/20220617124126/https://www.npr.org/2019/08/23/753404051/meltdown-on-main-street-inside-the-breakdown-of-the-gops-moderate-wing |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Progressives ===&lt;br /&gt;
{{see also|Congressional Progressive Caucus|Progressivism in the United States|Social democracy}}&lt;br /&gt;
[[File:Alexandria Ocasio-Cortez &amp;amp; Bernie Sanders (54401273607).jpg|thumb|[[Bernie Sanders]] and [[Alexandria Ocasio-Cortez]] during the [[Fighting Oligarchy Tour]]]]&lt;br /&gt;
&lt;br /&gt;
Progressives are the most left-leaning faction in the party and support strong business regulations, [[Social programs in the United States|social programs]], and [[workers&#039; rights]].&amp;lt;ref&amp;gt;{{cite web|url=http://www.bartleby.com/65/pr/progrsvsm.html|archive-url=https://web.archive.org/web/20080629030845/http://www.bartleby.com/65/pr/progrsvsm.html|archive-date=June 29, 2008|title=Progressivism|publisher=Columbia Encyclopaedia|year=2007|access-date=January 19, 2015}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=http://www-personal.umd.umich.edu/~ppennock/Progressive%20Reforms.htm|title=Important Examples of Progressive Reforms|publisher=University of Michigan|access-date=April 2, 2014|archive-date=February 12, 2015|archive-url=https://web.archive.org/web/20150212014328/http://www-personal.umd.umich.edu/~ppennock/Progressive%20Reforms.htm|url-status=dead}}&amp;lt;/ref&amp;gt; In 2014, progressive Senator [[Elizabeth Warren]] set out &amp;quot;Eleven Commandments of Progressivism&amp;quot;: tougher regulation on corporations; affordable education; scientific investment and environmentalism; [[net neutrality]]; increased wages; equal pay for women; collective bargaining rights; defending social programs; [[same-sex marriage in the United States|same-sex marriage]]; [[Immigration reform in the US|immigration reform]]; and unabridged access to reproductive healthcare.&amp;lt;ref&amp;gt;{{cite news|url=http://www.nationaljournal.com/politics/elizabeth-warren-s-11-commandments-of-progressivism-20140718|title=Elizabeth Warren&#039;s 11 Commandments of Progressivism|work=National Journal|access-date=October 22, 2014|archive-date=October 20, 2014|archive-url=https://web.archive.org/web/20141020041916/http://www.nationaljournal.com/politics/elizabeth-warren-s-11-commandments-of-progressivism-20140718|url-status=dead}}&amp;lt;/ref&amp;gt; The [[Congressional Progressive Caucus]] (CPC) is a caucus of progressive Democrats chaired by [[Greg Casar]] of [[Texas]].&amp;lt;ref&amp;gt;{{cite news |url=https://www.pbs.org/newshour/show/rep-greg-casar-outlines-progressive-caucus-efforts-to-rebrand-democratic-party |title=Rep. Greg Casar outlines progressive caucus efforts to rebrand Democratic Party |last=Desjardins |first=Lisa |date=December 18, 2024 |website=PBS News}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Gerstle2022&amp;quot;&amp;gt;{{cite book |last=Gerstle |first=Gary |author-link=Gary Gerstle |date=2022 |title=The Rise and Fall of the Neoliberal Order: America and the World in the Free Market Era |url=https://global.oup.com/academic/product/the-rise-and-fall-of-the-neoliberal-order-9780197519646?cc=us&amp;amp;lang=en&amp;amp; |publisher=[[Oxford University Press]] |quote=The most sweeping account of how neoliberalism came to dominate American politics for nearly a half century before crashing against the forces of Trumpism on the right and a new progressivism on the left. ... As he shows, the neoliberal order that emerged in America in the 1970s fused ideas of deregulation with personal freedoms, open borders with cosmopolitanism, and globalization with the promise of increased prosperity for all.|isbn=978-0197519646 |access-date=August 1, 2024 |archive-date=June 26, 2022 |archive-url=https://web.archive.org/web/20220626220259/https://global.oup.com/academic/product/the-rise-and-fall-of-the-neoliberal-order-9780197519646?cc=us&amp;amp;lang=en&amp;amp; |url-status=live }}&amp;lt;/ref&amp;gt; Its members have included Representatives [[Dennis Kucinich]] of [[Ohio]], [[John Conyers]] of [[Michigan]], [[Jim McDermott]] of [[Washington (state)|Washington]], [[Barbara Lee]] of California, and Senator [[Paul Wellstone]] of [[Minnesota]]. Senators [[Tammy Baldwin]] of [[Wisconsin]], [[Mazie Hirono]] of Hawaii, and [[Ed Markey]] of [[Massachusetts]] were members of the caucus when in the House of Representatives. As of 2024, the CPC is the second-largest ideological caucus in the House Democratic Caucus by voting members, behind the New Democrat Coalition.&amp;lt;ref&amp;gt;{{Cite web|url=https://www.vox.com/2024-elections/378644/progressives-left-backlash-retreat-kamala-harris-pivot-center|title=The big political shift that explains the 2024 election|date=October 21, 2024|first1=Andrew|last1=Prokop|website=Vox|access-date=October 21, 2024}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|url=https://www.semafor.com/article/10/15/2024/no-matter-who-wins-the-country-is-moving-to-the-right|title=No matter who wins, the US is moving to the right|first1=David|last1=Weigel|date=October 15, 2024|access-date=October 24, 2024|website=Semafor}}&amp;lt;/ref&amp;gt; Senator [[Bernie Sanders]] has often been viewed as a leader of the progressive movement;&amp;lt;ref&amp;gt;{{cite web |title=Inside Bernie Sanders&#039; decision to run again |url=https://www.axios.com/2024/05/06/bernie-relection-campaign-2024-age |website=axios.com |date=May 6, 2024 |publisher=Axios |access-date=January 21, 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=Bernie Sanders: From small-town mayor to godfather of the progressive left |url=https://www.businessinsider.com/who-is-bernie-sanders-career-journey-president-socialism-2024-4 |work=Business Insider |access-date=January 21, 2025}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web |title=Sanders says next term is likely his last |url=https://www.politico.com/news/2024/12/10/bernie-sanders-senate-term-00193608 |work=Politico |date=December 10, 2024 |access-date=January 21, 2025}}&amp;lt;/ref&amp;gt; he ran presidential campaigns in [[2016 Democratic Party presidential primaries|2016]] and [[2020 Democratic Party presidential primaries|2020]].&amp;lt;ref&amp;gt;{{cite web |title=2020 Bernie Sanders is losing to 2016 Bernie Sanders |url=https://www.cnn.com/2020/03/04/politics/candidate-bernie-sanders-2016-vs-2020/index.html |publisher=CNN |date=March 4, 2020 |access-date=January 24, 2025}}&amp;lt;/ref&amp;gt; Other members of the progressive faction include the [[Squad (U.S. Congress)|Squad]].&amp;lt;ref name=&amp;quot;Cornwell&amp;quot;&amp;gt;{{cite news |last=Cornwell |first=Susan |title=Expanding the &#039;Squad:&#039; U.S. liberals challenge moderate Democrats to move party left |url=https://www.reuters.com/article/us-usa-election-democrats/expanding-the-squad-us-liberals-challenge-moderate-democrats-to-move-party-left-idUSKBN1X00ZY |work=Reuters |date=October 21, 2019 |quote=Ocasio-Cortez [...] has since become the face of the &#039;Squad&#039;, freshman Democrats aiming to move the party farther left on issues such as healthcare and climate change. |access-date=November 13, 2019 |archive-date=November 13, 2019 |archive-url=https://web.archive.org/web/20191113110414/https://www.reuters.com/article/us-usa-election-democrats/expanding-the-squad-us-liberals-challenge-moderate-democrats-to-move-party-left-idUSKBN1X00ZY |url-status=live }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Democratic presidents ==&lt;br /&gt;
{{see also|List of presidents of the United States|Republican Party (United States)#Republican presidents}}&lt;br /&gt;
{{as of|2025}}, there have been a total of 16 Democratic presidents.&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|&amp;lt;abbr title=&amp;quot;Order of presidency&amp;quot;&amp;gt;#&amp;lt;/abbr&amp;gt;&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|Name (lifespan)&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|Portrait&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|State&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|Presidency&amp;lt;br /&amp;gt;start date&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|Presidency&amp;lt;br /&amp;gt;end date&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|Time in office&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|[[Andrew Jackson]] (1767–1845)&lt;br /&gt;
|[[File:Andrew jackson head (3x4 cropped).jpg|65px]]&lt;br /&gt;
|[[Tennessee]]&lt;br /&gt;
|[[First inauguration of Andrew Jackson|March 4, 1829]]&lt;br /&gt;
|[[Inauguration of Martin Van Buren|March 4, 1837]]&lt;br /&gt;
|{{ayd|1829|3|4|1837|3|4}}&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|[[Martin Van Buren]] (1782–1862)&lt;br /&gt;
|[[File:Martin Van Buren circa 1837 (3x4 cropped).jpg|65px]]&lt;br /&gt;
|[[New York (state)|New York]]&lt;br /&gt;
|[[Inauguration of Martin Van Buren|March 4, 1837]]&lt;br /&gt;
|[[Inauguration of William Henry Harrison|March 4, 1841]]&lt;br /&gt;
|{{ayd|1837|3|4|1841|3|4}}&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|[[James K. Polk]] (1795–1849)&lt;br /&gt;
|[[File:James K Polk (3x4 cropped).jpg|65px]]&lt;br /&gt;
|[[Tennessee]]&lt;br /&gt;
|[[Inauguration of James K. Polk|March 4, 1845]]&lt;br /&gt;
|[[Inauguration of Zachary Taylor|March 4, 1849]]&lt;br /&gt;
|{{ayd|1845|3|4|1849|3|4}}&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|[[Franklin Pierce]] (1804–1869)&lt;br /&gt;
|[[File:Mathew Brady - Franklin Pierce - alternate crop (cropped)(2).jpg|65px]]&lt;br /&gt;
|[[New Hampshire]]&lt;br /&gt;
|[[Inauguration of Franklin Pierce|March 4, 1853]]&lt;br /&gt;
|[[Inauguration of James Buchanan|March 4, 1857]]&lt;br /&gt;
|{{ayd|1853|3|4|1857|3|4}}&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|[[James Buchanan]] (1791–1868)&lt;br /&gt;
|[[File:James Buchanan (cropped 3x4).jpg|65px]]&lt;br /&gt;
|[[Pennsylvania]]&lt;br /&gt;
|[[Inauguration of James Buchanan|March 4, 1857]]&lt;br /&gt;
|[[First inauguration of Abraham Lincoln|March 4, 1861]]&lt;br /&gt;
|{{ayd|1857|3|4|1861|3|4}}&lt;br /&gt;
|-&lt;br /&gt;
|17&lt;br /&gt;
|[[Andrew Johnson]] (1808–1875)&lt;br /&gt;
|[[File:Andrew Johnson photo portrait head and shoulders (3x4 cropped).jpg|65px]]&lt;br /&gt;
|[[Tennessee]]&lt;br /&gt;
|[[Inauguration of Andrew Johnson|April 15, 1865]]{{Efn|Elected as Vice President with the [[National Union Party (United States)|National Union Party]] ticket in the 1864 presidential election. Ascended to the presidency after the assassination of President Abraham Lincoln in 1865. Rejoined the Democratic Party in 1868.}}&lt;br /&gt;
|[[First inauguration of Ulysses S. Grant|March 4, 1869]]&lt;br /&gt;
|{{ayd|1865|4|15|1869|3|4}}&lt;br /&gt;
|-&lt;br /&gt;
|22&lt;br /&gt;
|rowspan=2|[[Grover Cleveland]] (1837–1908)&lt;br /&gt;
|rowspan=2|[[File:StephenGroverCleveland.jpg|65px]]&lt;br /&gt;
|rowspan=2|[[New York (state)|New York]]&lt;br /&gt;
|[[First inauguration of Grover Cleveland|March 4, 1885]]&lt;br /&gt;
|[[Inauguration of Benjamin Harrison|March 4, 1889]]&lt;br /&gt;
|rowspan=2|{{ayd|1885|3|4|1893|3|4}}&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
|[[Second inauguration of Grover Cleveland|March 4, 1893]]&lt;br /&gt;
|[[First inauguration of William McKinley|March 4, 1897]]&lt;br /&gt;
|-&lt;br /&gt;
|28&lt;br /&gt;
|[[Woodrow Wilson]] (1856–1924)&lt;br /&gt;
|[[File:Thomas Woodrow Wilson, Harris &amp;amp; Ewing bw photo portrait, 1919 - black and white (cropped).jpg|65px]]&lt;br /&gt;
|[[New Jersey]]&lt;br /&gt;
|[[First inauguration of Woodrow Wilson|March 4, 1913]]&lt;br /&gt;
|[[Inauguration of Warren G. Harding|March 4, 1921]]&lt;br /&gt;
|{{ayd|1913|3|4|1921|3|4}}&lt;br /&gt;
|-&lt;br /&gt;
|32&lt;br /&gt;
|[[Franklin D. Roosevelt]] (1882–1945)&lt;br /&gt;
|[[File:FDR-1944-Campaign-Portrait (cropped).jpg|65px]]&lt;br /&gt;
|[[New York (state)|New York]]&lt;br /&gt;
|[[First inauguration of Franklin D. Roosevelt|March 4, 1933]]&lt;br /&gt;
|[[Death of Franklin D. Roosevelt|April 12, 1945]]{{efn|name=died|Died in office.}}&lt;br /&gt;
|{{ayd|1933|3|4|1945|4|12}}&lt;br /&gt;
|-&lt;br /&gt;
|33&lt;br /&gt;
|[[Harry S. Truman]] (1884–1972)&lt;br /&gt;
|[[File:TRUMAN 58-766-06 (cropped).jpg|65px]]&lt;br /&gt;
|[[Missouri]]&lt;br /&gt;
|[[First inauguration of Harry S. Truman|April 12, 1945]]&lt;br /&gt;
|[[First inauguration of Dwight D. Eisenhower|January 20, 1953]]&lt;br /&gt;
|{{ayd|1945|4|12|1953|1|20}}&lt;br /&gt;
|-&lt;br /&gt;
|35&lt;br /&gt;
|[[John F. Kennedy]] (1917–1963)&lt;br /&gt;
|[[File:John F. Kennedy, White House color photo portrait.jpg|65px]]&lt;br /&gt;
|[[Massachusetts]]&lt;br /&gt;
|[[Inauguration of John F. Kennedy|January 20, 1961]]&lt;br /&gt;
|[[Assassination of John F. Kennedy|November 22, 1963]]{{efn|name=died|Died in office.}}&lt;br /&gt;
|{{ayd|1961|1|20|1963|11|22}}&lt;br /&gt;
|-&lt;br /&gt;
|36&lt;br /&gt;
|[[Lyndon B. Johnson]] (1908–1973)&lt;br /&gt;
|[[File:37 Lyndon Johnson 3x4.jpg|65px]]&lt;br /&gt;
|[[Texas]]&lt;br /&gt;
|[[First inauguration of Lyndon B. Johnson|November 22, 1963]]&lt;br /&gt;
|[[First inauguration of Richard Nixon|January 20, 1969]]&lt;br /&gt;
|{{ayd|1963|11|22|1969|1|20}}&lt;br /&gt;
|-&lt;br /&gt;
|39&lt;br /&gt;
|[[Jimmy Carter]] (1924–2024)&lt;br /&gt;
|[[File:Carter cropped.jpg|65px]]&lt;br /&gt;
|[[Georgia (U.S. state)|Georgia]]&lt;br /&gt;
|[[Inauguration of Jimmy Carter|January 20, 1977]]&lt;br /&gt;
|[[First inauguration of Ronald Reagan|January 20, 1981]]&lt;br /&gt;
|{{ayd|1977|1|20|1981|1|20}}&lt;br /&gt;
|-&lt;br /&gt;
|42&lt;br /&gt;
|[[Bill Clinton]] (born 1946)&lt;br /&gt;
|[[File:Bill Clinton.jpg|65px]]&lt;br /&gt;
|[[Arkansas]]&lt;br /&gt;
|[[First inauguration of Bill Clinton|January 20, 1993]]&lt;br /&gt;
|[[First inauguration of George W. Bush|January 20, 2001]]&lt;br /&gt;
|{{ayd|1993|1|20|2001|1|20}}&lt;br /&gt;
|-&lt;br /&gt;
|44&lt;br /&gt;
|[[Barack Obama]] (born 1961)&lt;br /&gt;
|[[File:President Barack Obama, 2012 portrait crop.jpg|65px]]&lt;br /&gt;
|[[Illinois]]&lt;br /&gt;
|[[First inauguration of Barack Obama|January 20, 2009]]&lt;br /&gt;
|[[First inauguration of Donald Trump|January 20, 2017]]&lt;br /&gt;
|{{ayd|2009|1|20|2017|1|20}}&lt;br /&gt;
|-&lt;br /&gt;
|46&lt;br /&gt;
|[[Joe Biden]] (born 1942)&lt;br /&gt;
|[[File:Joe Biden presidential portrait (cropped).jpg|65px]]&lt;br /&gt;
|[[Delaware]]&lt;br /&gt;
|[[Inauguration of Joe Biden|January 20, 2021]]&lt;br /&gt;
|[[Second inauguration of Donald Trump|January 20, 2025]]&lt;br /&gt;
|{{ayd|2021|1|20|2025|1|20}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Recent electoral history ==&lt;br /&gt;
&lt;br /&gt;
=== In congressional elections: 1950–present ===&lt;br /&gt;
{{see also|Party divisions of United States Congresses}}&lt;br /&gt;
{{confusing section|date=April 2025}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; |House of Representatives&lt;br /&gt;
| rowspan=&amp;quot;999&amp;quot; |&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; |President&lt;br /&gt;
| rowspan=&amp;quot;999&amp;quot; |&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; |Senate&lt;br /&gt;
|-&lt;br /&gt;
!Election&lt;br /&gt;
year&lt;br /&gt;
!No. of&lt;br /&gt;
seats won&lt;br /&gt;
!+/–&lt;br /&gt;
!No. of&lt;br /&gt;
seats won&lt;br /&gt;
!+/–&lt;br /&gt;
!Election&lt;br /&gt;
year&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1950|1950]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|235|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 28&lt;br /&gt;
| {{Party shading/Democratic}} |[[Harry S. Truman]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|49|96|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 5&lt;br /&gt;
![[United States Senate elections, 1950|1950]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1952|1952]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|213|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 22&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; {{Party shading/Republican}} |[[Dwight D. Eisenhower]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|47|96|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 2&lt;br /&gt;
![[United States Senate elections, 1952|1952]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1954|1954]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|232|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 19&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|49|96|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 2&lt;br /&gt;
![[United States Senate elections, 1954|1954]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1956|1956]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|234|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 2&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|49|96|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{steady}} 0&lt;br /&gt;
![[United States Senate elections, 1956|1956]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1958|1958]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|283|437|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 49&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|64|98|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 15&lt;br /&gt;
![[United States Senate elections, 1958|1958]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1960|1960]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|262|437|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 21&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; {{Party shading/Democratic}} |[[John F. Kennedy]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|64|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 1&lt;br /&gt;
![[United States Senate elections, 1960|1960]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1962|1962]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|258|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 4&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|66|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 3&lt;br /&gt;
![[United States Senate elections, 1962|1962]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1964|1964]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|295|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 37&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; {{Party shading/Democratic}} |[[Lyndon B. Johnson]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|68|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 2&lt;br /&gt;
![[United States Senate elections, 1964|1964]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1966|1966]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|248|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 47&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|64|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 3&lt;br /&gt;
![[United States Senate elections, 1966|1966]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1968|1968]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|243|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 5&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; {{Party shading/Republican}} |[[Richard Nixon]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|57|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 5&lt;br /&gt;
![[United States Senate elections, 1968|1968]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1970|1970]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|255|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 12&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|54|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 3&lt;br /&gt;
![[United States Senate elections, 1970|1970]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1972|1972]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|242|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 13&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|56|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 2&lt;br /&gt;
![[United States Senate elections, 1972|1972]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1974|1974]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|291|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 49&lt;br /&gt;
| {{Party shading/Republican}} |[[Gerald Ford]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|60|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 4&lt;br /&gt;
![[United States Senate elections, 1974|1974]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1976|1976]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|292|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 1&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; {{Party shading/Democratic}} |[[Jimmy Carter]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|61|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{steady}} 0&lt;br /&gt;
![[United States Senate elections, 1976|1976]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1978|1978]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|277|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 15&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|58|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 3&lt;br /&gt;
![[United States Senate elections, 1978|1978]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1980|1980]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|243|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 34&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; {{Party shading/Republican}} |[[Ronald Reagan]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|46|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 12&lt;br /&gt;
![[United States Senate elections, 1980|1980]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1982|1982]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|269|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 26&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|46|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 1&lt;br /&gt;
![[United States Senate elections, 1982|1982]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1984|1984]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|253|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 16&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|47|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 2&lt;br /&gt;
![[United States Senate elections, 1984|1984]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1986|1986]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|258|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 5&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|55|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 8&lt;br /&gt;
![[United States Senate elections, 1986|1986]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1988|1988]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|260|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 2&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; {{Party shading/Republican}} |[[George H. W. Bush]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|55|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 1&lt;br /&gt;
![[United States Senate elections, 1988|1988]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1990|1990]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|267|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 7&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|56|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 1&lt;br /&gt;
![[United States Senate elections, 1990|1990]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1992|1992]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|258|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 9&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; {{Party shading/Democratic}} |[[Bill Clinton]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|57|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 1&lt;br /&gt;
![[United States Senate elections, 1992|1992]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1994|1994]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|204|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 54&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|47|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 10&lt;br /&gt;
![[United States Senate elections, 1994|1994]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1996|1996]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|206|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 2&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|45|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 2&lt;br /&gt;
![[United States Senate elections, 1996|1996]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 1998|1998]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|211|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 5&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|45|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{steady}} 0&lt;br /&gt;
![[United States Senate elections, 1998|1998]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2000|2000]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|212|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 1&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; {{Party shading/Republican}} |[[George W. Bush]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|50|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 5&lt;br /&gt;
![[United States Senate elections, 2000|2000]]{{efn|name=tie1|Republican Vice President [[Dick Cheney]] provided a [[List of tie-breaking votes cast by the vice president of the United States|tie-breaking vote]], giving Republicans a majority until June 6, 2001, when [[Jim Jeffords]] left Republicans to join the Democratic Caucus.}}&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2002|2002]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|204|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 7&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|49|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 2&lt;br /&gt;
![[United States Senate elections, 2002|2002]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2004|2004]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|202|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 2&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|45|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 4&lt;br /&gt;
![[United States Senate elections, 2004|2004]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2006|2006]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|233|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 31&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|51|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 6{{efn|name=ind|Includes [[Independent Democrat|Independents caucusing with the Democrats]].}}&lt;br /&gt;
![[United States Senate elections, 2006|2006]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2008|2008]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|257|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 21&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; {{Party shading/Democratic}} |[[Barack Obama]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|59|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 8{{efn|name=ind}}&lt;br /&gt;
![[United States Senate elections, 2008|2008]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2010|2010]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|193|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 63&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|53|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 6{{efn|name=ind}}&lt;br /&gt;
![[United States Senate elections, 2010|2010]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2012|2012]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|201|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 8&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|55|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 2{{efn|name=ind}}&lt;br /&gt;
![[United States Senate elections, 2012|2012]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2014|2014]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|188|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 13&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|46|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 9{{efn|name=ind}}&lt;br /&gt;
![[United States Senate elections, 2014|2014]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2016|2016]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|194|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 6&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; {{Party shading/Republican}} |[[Donald Trump]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|48|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 2{{efn|name=ind}}&lt;br /&gt;
![[United States Senate elections, 2016|2016]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2018|2018]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|235|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 41&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|47|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 1{{efn|name=ind}}&lt;br /&gt;
![[United States Senate elections, 2018|2018]]&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2020|2020]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|222|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 13&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; {{Party shading/Democratic}} |[[Joe Biden]]&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|50|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 3{{efn|name=ind}}&lt;br /&gt;
![[United States Senate elections, 2020|2020]]{{efn|name=tie2|Democratic Vice President [[Kamala Harris]] provided a [[List of tie-breaking votes cast by the vice president of the United States|tie-breaking vote]], giving Democrats a majority throughout the [[117th Congress]].}}&lt;br /&gt;
|-&lt;br /&gt;
![[United States House of Representatives elections, 2022|2022]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|213|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 9&lt;br /&gt;
| {{Party shading/Democratic}} |{{Composition bar|51|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 1{{efn|name=ind}}&lt;br /&gt;
![[United States Senate elections, 2022|2022]]&lt;br /&gt;
|-&lt;br /&gt;
![[2024 United States House of Representatives elections|2024]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|215|435|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{increase}} 2&lt;br /&gt;
| {{Party shading/Republican}} |[[Donald Trump]]&lt;br /&gt;
| {{Party shading/Republican}} |{{Composition bar|47|100|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|{{decrease}} 4{{efn|name=ind}}&lt;br /&gt;
![[2024 United States Senate elections|2024]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== In presidential elections: 1828–present ===&lt;br /&gt;
{{see also|List of United States Democratic Party presidential tickets}}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;sortable wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;text-align:center;&amp;quot;|Election&amp;lt;br /&amp;gt;year&lt;br /&gt;
!Presidential ticket&lt;br /&gt;
!Votes&lt;br /&gt;
!Vote %&lt;br /&gt;
!Electoral votes&lt;br /&gt;
!+/–&lt;br /&gt;
!Result&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1828 United States presidential election|1828]]&lt;br /&gt;
|[[Andrew Jackson]]&amp;lt;br&amp;gt;[[John C. Calhoun]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|642,553&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|56.0&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|178|261|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}178&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1832 United States presidential election|1832]]&lt;br /&gt;
|[[Andrew Jackson]]&amp;lt;br&amp;gt;[[Martin Van Buren]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|701,780&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|54.2&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|219|286|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}41&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1836 United States presidential election|1836]]&lt;br /&gt;
|[[Martin Van Buren]]&amp;lt;br&amp;gt;[[Richard Mentor Johnson]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|764,176&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|50.8&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|170|294|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}49&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1840 United States presidential election|1840]]&lt;br /&gt;
|[[Martin Van Buren]]&amp;lt;br&amp;gt;&#039;&#039;None&#039;&#039;{{efn|While there was no official Democratic nominee, the majority of the Democratic electors still cast their electoral votes for incumbent Vice President [[Richard Mentor Johnson]].}}&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|1,128,854&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|46.8&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|60|294|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}110&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1844 United States presidential election|1844]]&lt;br /&gt;
|[[James K. Polk]]&amp;lt;br&amp;gt;[[George M. Dallas]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|1,339,494&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|49.5&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|170|275|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}110&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1848 United States presidential election|1848]]&lt;br /&gt;
|[[Lewis Cass]]&amp;lt;br&amp;gt;[[William O. Butler]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|1,223,460&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|42.5&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|127|290|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}43&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1852 United States presidential election|1852]]&lt;br /&gt;
|[[Franklin Pierce]]&amp;lt;br&amp;gt;[[William R. King]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|1,607,510&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|50.8&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|254|296|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}127&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1856 United States presidential election|1856]]&lt;br /&gt;
|[[James Buchanan]]&amp;lt;br&amp;gt;[[John C. Breckinridge]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|1,836,072&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|45.3&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|174|296|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}80&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1860 United States presidential election|1860]]&lt;br /&gt;
|[[Stephen A. Douglas]]&amp;lt;br&amp;gt;[[Herschel Vespasian Johnson|Herschel V. Johnson]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|1,380,202&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|29.5&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|12|303|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}162&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1864 United States presidential election|1864]]&lt;br /&gt;
|[[George B. McClellan]]&amp;lt;br&amp;gt;[[George H. Pendleton]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|1,812,807&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|45.0&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|21|233|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}9&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1868 United States presidential election|1868]]&lt;br /&gt;
|[[Horatio Seymour]]&amp;lt;br&amp;gt;[[Francis Preston Blair Jr.]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|2,706,829&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|47.3&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|80|294|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}59&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1872 United States presidential election|1872]]&lt;br /&gt;
|[[Horace Greeley]]&amp;lt;br&amp;gt;[[Benjamin G. Brown]]{{efn|group=upper-alpha|Greeley and Brown were [[Electoral fusion in the United States|cross-endorsed]] by the [[Liberal Republican Party (United States)|Liberal Republican Party]].}}&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|2,834,761&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|43.8&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|69|352|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}11&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1876 United States presidential election|1876]]&lt;br /&gt;
|[[Samuel J. Tilden]]&amp;lt;br&amp;gt;[[Thomas A. Hendricks]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|4,288,546&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|50.9&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|184|369|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}115&lt;br /&gt;
|{{lost}}{{efn|group=upper-alpha|Although Tilden won a majority of the popular vote, Republican [[Rutherford B. Hayes]] won a majority of votes in the Electoral College.}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1880 United States presidential election|1880]]&lt;br /&gt;
|[[Winfield Scott Hancock]]&amp;lt;br&amp;gt;[[William H. English]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|4,444,260&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|48.2&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|155|369|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}29&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1884 United States presidential election|1884]]&lt;br /&gt;
|[[Grover Cleveland]]&amp;lt;br&amp;gt;[[Thomas A. Hendricks]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|4,914,482&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|48.9&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|219|401|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}64&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1888 United States presidential election|1888]]&lt;br /&gt;
|[[Grover Cleveland]]&amp;lt;br&amp;gt;[[Allen G. Thurman]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|5,534,488&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|48.6&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|168|401|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}51&lt;br /&gt;
|{{lost}}{{efn|group=upper-alpha|Although Cleveland won a [[plurality (voting)|plurality]] of the popular vote, Republican [[Benjamin Harrison]] won a majority of votes in the Electoral College.}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1892 United States presidential election|1892]]&lt;br /&gt;
|[[Grover Cleveland]]&amp;lt;br&amp;gt;[[Adlai Stevenson I]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|5,556,918&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|46.0&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|277|444|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}109&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1896 United States presidential election|1896]]&lt;br /&gt;
|[[William Jennings Bryan]]&amp;lt;br&amp;gt;[[Arthur Sewall]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|6,509,052&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|46.7&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|176|447|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}101&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1900 United States presidential election|1900]]&lt;br /&gt;
|[[William Jennings Bryan]]&amp;lt;br&amp;gt;[[Adlai Stevenson I]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|6,370,932&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|45.5&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|155|447|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}21&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1904 United States presidential election|1904]]&lt;br /&gt;
|[[Alton B. Parker]]&amp;lt;br&amp;gt;[[Henry G. Davis]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|5,083,880&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|37.6&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|140|476|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}15&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1908 United States presidential election|1908]]&lt;br /&gt;
|[[William Jennings Bryan]]&amp;lt;br&amp;gt;[[John W. Kern]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|6,408,984&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|43.0&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|162|483|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}22&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1912 United States presidential election|1912]]&lt;br /&gt;
|[[Woodrow Wilson]]&amp;lt;br&amp;gt;[[Thomas R. Marshall]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|6,296,284&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|41.8&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|435|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}273&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1916 United States presidential election|1916]]&lt;br /&gt;
|[[Woodrow Wilson]]&amp;lt;br&amp;gt;[[Thomas R. Marshall]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|9,126,868&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|49.2&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|277|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}158&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1920 United States presidential election|1920]]&lt;br /&gt;
|[[James M. Cox]]&amp;lt;br&amp;gt;[[Franklin D. Roosevelt]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|9,139,661&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|34.2&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|127|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}150&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1924 United States presidential election|1924]]&lt;br /&gt;
|[[John W. Davis]]&amp;lt;br&amp;gt;[[Charles W. Bryan]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|8,386,242&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|28.8&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|136|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}9&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1928 United States presidential election|1928]]&lt;br /&gt;
|[[Al Smith]]&amp;lt;br&amp;gt;[[Joseph T. Robinson]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|15,015,464&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|40.8&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|87|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}49&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1932 United States presidential election|1932]]&lt;br /&gt;
|[[Franklin D. Roosevelt]]&amp;lt;br&amp;gt;[[John Nance Garner]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|22,821,277&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|57.4&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|472|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}385&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1936 United States presidential election|1936]]&lt;br /&gt;
|[[Franklin D. Roosevelt]]&amp;lt;br&amp;gt;[[John Nance Garner]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|27,747,636&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|60.8&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|523|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}51&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1940 United States presidential election|1940]]&lt;br /&gt;
|[[Franklin D. Roosevelt]]&amp;lt;br&amp;gt;[[Henry A. Wallace]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|27,313,945&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|54.7&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|449|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}74&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1944 United States presidential election|1944]]&lt;br /&gt;
|[[Franklin D. Roosevelt]]&amp;lt;br&amp;gt;[[Harry S. Truman]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|25,612,916&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|53.4&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|432|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}17&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1948 United States presidential election|1948]]&lt;br /&gt;
|[[Harry S. Truman]]&amp;lt;br&amp;gt;[[Alben W. Barkley]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|24,179,347&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|49.6&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|303|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}129&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1952 United States presidential election|1952]]&lt;br /&gt;
|[[Adlai Stevenson II]]&amp;lt;br&amp;gt;[[John Sparkman]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|27,375,090&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|44.3&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|89|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}214&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1956 United States presidential election|1956]]&lt;br /&gt;
|[[Adlai Stevenson II]]&amp;lt;br&amp;gt;[[Estes Kefauver]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|26,028,028&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|42.0&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|73|531|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}16&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1960 United States presidential election|1960]]&lt;br /&gt;
|[[John F. Kennedy]]&amp;lt;br&amp;gt;[[Lyndon B. Johnson]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|34,220,984&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|49.7&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|303|537|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}230&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1964 United States presidential election|1964]]&lt;br /&gt;
|[[Lyndon B. Johnson]]&amp;lt;br&amp;gt;[[Hubert Humphrey]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|43,127,041&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|61.1&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|486|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}183&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1968 United States presidential election|1968]]&lt;br /&gt;
|[[Hubert Humphrey]]&amp;lt;br&amp;gt;[[Edmund Muskie]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|31,271,839&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|42.7&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|191|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}295&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1972 United States presidential election|1972]]&lt;br /&gt;
|[[George McGovern]]&amp;lt;br&amp;gt;[[Sargent Shriver]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|29,173,222&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|37.5&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|17|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}174&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1976 United States presidential election|1976]]&lt;br /&gt;
|[[Jimmy Carter]]&amp;lt;br&amp;gt;[[Walter Mondale]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|40,831,881&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|50.1&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|297|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}280&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1980 United States presidential election|1980]]&lt;br /&gt;
|[[Jimmy Carter]]&amp;lt;br&amp;gt;[[Walter Mondale]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|35,480,115&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|41.0&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|49|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}248&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1984 United States presidential election|1984]]&lt;br /&gt;
|[[Walter Mondale]]&amp;lt;br&amp;gt;[[Geraldine Ferraro]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|37,577,352&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|40.6&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|13|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}36&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1988 United States presidential election|1988]]&lt;br /&gt;
|[[Michael Dukakis]]&amp;lt;br&amp;gt;[[Lloyd Bentsen]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|41,809,074&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|45.6&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|111|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}98&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1992 United States presidential election|1992]]&lt;br /&gt;
|[[Bill Clinton]]&amp;lt;br&amp;gt;[[Al Gore]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|44,909,806&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|43.0&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|370|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}259&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[1996 United States presidential election|1996]]&lt;br /&gt;
|[[Bill Clinton]]&amp;lt;br&amp;gt;[[Al Gore]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|47,401,185&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|49.2&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|379|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}9&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[2000 United States presidential election|2000]]&lt;br /&gt;
|[[Al Gore]]&amp;lt;br&amp;gt;[[Joe Lieberman]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|50,999,897&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|48.4&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|266|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}113&lt;br /&gt;
|{{lost}}{{efn|group=upper-alpha|Although Gore won a [[plurality (voting)|plurality]] of the popular vote, Republican [[George W. Bush]] won a majority of votes in the Electoral College.}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[2004 United States presidential election|2004]]&lt;br /&gt;
|[[John Kerry]]&amp;lt;br&amp;gt;[[John Edwards]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|59,028,444&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|48.3&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|251|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}15&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[2008 United States presidential election|2008]]&lt;br /&gt;
|[[Barack Obama]]&amp;lt;br&amp;gt;[[Joe Biden]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|69,498,516&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|52.9&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|365|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}114&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[2012 United States presidential election|2012]]&lt;br /&gt;
|[[Barack Obama]]&amp;lt;br&amp;gt;[[Joe Biden]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|65,915,795&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|51.1&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|332|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}33&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|[[2016 United States presidential election|2016]]&lt;br /&gt;
|[[Hillary Clinton]]&amp;lt;br&amp;gt;[[Tim Kaine]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|65,853,514&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|48.2&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|227|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}105&lt;br /&gt;
|{{lost}}{{efn|group=upper-alpha|Although Clinton won a [[plurality (voting)|plurality]] of the popular vote, Republican [[Donald Trump]] won a majority of votes in the Electoral College.}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[2020 United States presidential election|2020]]&lt;br /&gt;
|[[Joe Biden]]&amp;lt;br&amp;gt;[[Kamala Harris]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|81,283,501&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|51.3&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|306|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{increase}}79&lt;br /&gt;
|{{won}}&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[[2024 United States presidential election|2024]]&lt;br /&gt;
|[[Kamala Harris]]&amp;lt;br&amp;gt;[[Tim Walz]]&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|75,017,613&lt;br /&gt;
|style=&amp;quot;text-align:center;&amp;quot;|48.3&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{Composition bar|226|538|hex={{party color|Democratic Party (US)}}}}&lt;br /&gt;
|style=&amp;quot;text-align:left;&amp;quot;|{{decrease}}80&lt;br /&gt;
|{{lost}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{Portal|Liberalism|Politics|United States}}&lt;br /&gt;
* [[Democratic Party (United States) organizations]]&lt;br /&gt;
* [[List of political parties in the United States]]&lt;br /&gt;
* [[List of United States Democratic Party presidential candidates]]&lt;br /&gt;
* [[List of United States Democratic Party presidential tickets]]&lt;br /&gt;
* [[Political party strength in U.S. states]]&lt;br /&gt;
* [[Politics of the United States]]&lt;br /&gt;
* [[List of major liberal parties considered left]]&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
{{notelist}}&lt;br /&gt;
{{notelist-ua}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
{{refbegin|30em}}&lt;br /&gt;
* &#039;&#039;The Almanac of American Politics 2022&#039;&#039; (2022) details on members of Congress, and the governors: their records and election results; also state and district politics; revised every two years since 1975. see [[The Almanac of American Politics]]&lt;br /&gt;
* &#039;&#039;American National Biography&#039;&#039; (20 volumes, 1999) covers all politicians no longer alive; online at many academic libraries and at [https://wikipedialibrary.wmflabs.org/partners/84/ Wikipedia Library].&lt;br /&gt;
* Andelic, Patrick. &#039;&#039;Donkey Work: Congressional Democrats in Conservative America, 1974–1994&#039;&#039; (2019) [https://books.google.com/books?hl=en&amp;amp;lr=&amp;amp;id=5BCrEAAAQBAJ&amp;amp;oi=fnd&amp;amp;pg=PR11&amp;amp;dq=Andelic,+Patrick.&amp;amp;ots=4rw8tSjvBy&amp;amp;sig=7N9JYFzqeEnx2OOSqEfeYziCIzc online]&lt;br /&gt;
* Baker, Jean H. &#039;&#039;Affairs of party: The political culture of northern Democrats in the mid-nineteenth century&#039;&#039; (Fordham UP, 1998).&lt;br /&gt;
* Bass Jr, Harold F. &#039;&#039;Historical dictionary of United States political parties&#039;&#039; (Scarecrow Press, 2009).&lt;br /&gt;
* {{cite journal|last1=Black|first1=Merle|year=2004|title=The transformation of the southern Democratic Party|journal=Journal of Politics|volume=66|issue=4|pages=1001–1017|doi=10.1111/j.1468-2508.2004.00287.x|s2cid=154506701}}&lt;br /&gt;
* Burner, David. &#039;&#039;The Politics of Provincialism: The Democratic Party in Transition, 1918–1932&#039;&#039; (Knopf, 1968).&lt;br /&gt;
* Congressional Quarterly. &#039;&#039;National Party Conventions, 1831–2000&#039;&#039; (2001).&lt;br /&gt;
* Congressional Quarterly. &#039;&#039;Presidential Elections 1789–2008&#039;&#039; (10th edition, 2009)&lt;br /&gt;
* Craig, Douglas. &amp;quot;Newton D. Baker and the Democratic Malaise, 1920–1937.&amp;quot; &#039;&#039;Australasian Journal of American Studies&#039;&#039; (2006): 49–64. [https://www.jstor.org/stable/41054006 in JSTOR] {{Webarchive|url=https://web.archive.org/web/20180819101710/https://www.jstor.org/stable/41054006 |date=August 19, 2018}}&lt;br /&gt;
* Dowe, Pearl K. Ford, et al. &#039;&#039;Remaking the Democratic Party: Lyndon B. Johnson as a Native-Son Presidential Candidate&#039;&#039; (University of Michigan Press, 2016).&lt;br /&gt;
* Feller, David. &amp;quot;Politics and Society: Toward a Jacksonian Synthesis&amp;quot; &#039;&#039;Journal of the Early Republic&#039;&#039; 10#2 (1990), pp.&amp;amp;nbsp;135–161 [https://www.jstor.org/stable/3123555 in JSTOR]&lt;br /&gt;
* Finkelman, Paul, and Peter Wallenstein, eds. &#039;&#039;The encyclopedia of American political history&#039;&#039; (CQ Press, 2001).&lt;br /&gt;
* Frymer, Paul. &#039;&#039;Black and blue: African Americans, the labor movement, and the decline of the Democratic party&#039;&#039; (Princeton UP, 2008).&lt;br /&gt;
* Gerring, John. &amp;quot;A chapter in the history of American party ideology: The nineteenth-century Democratic Party (1828–1892).&amp;quot; &#039;&#039;Polity&#039;&#039; 26.4 (1994): 729–768. [http://people.bu.edu/jgerring/documents/19thcDems.pdf online] {{Webarchive|url=https://web.archive.org/web/20170202021309/http://people.bu.edu/jgerring/documents/19thcDems.pdf |date=February 2, 2017}}&lt;br /&gt;
* {{cite book |last=Gillon |first=Steven M. |author-link=Steven M. Gillon |year=1992 |title=The Democrats&#039; Dilemma: Walter F. Mondale and the Liberal Legacy |location=New York |publisher=Columbia University Press |isbn=9780231076302 }} [https://archive.org/details/democratsdilemma0000gill online]&lt;br /&gt;
* Greene, Jack B. &#039;&#039;Encyclopedia of American Political History&#039;&#039; (1983)&lt;br /&gt;
* Hilton, Adam. &#039;&#039;True Blues: The Contentious Transformation of the Democratic Party&#039;&#039; (University of Pennsylvania Press, 2021), since 1972.&lt;br /&gt;
* Kazin, Michael. &#039;&#039;What It Took to Win: A History of the Democratic Party&#039;&#039;  (2022) [https://books.google.com/books?hl=en&amp;amp;lr=&amp;amp;id=RRAqEAAAQBAJ&amp;amp;oi=fnd&amp;amp;pg=PT244&amp;amp;dq=Michael+Kazin+democratic&amp;amp;ots=oua8Q2QvyD&amp;amp;sig=k47hdOitJUuEfEU28b4ou94tRCY online]&lt;br /&gt;
* Kazin, Michael. ed. &#039;&#039;The Princeton Encyclopedia of American Political History&#039;&#039; (2 vol. Princeton UP, 2009)&lt;br /&gt;
** Kazin, Michael. ed. &#039;&#039;The Concise Princeton Encyclopedia of American Political History&#039;&#039; (Princeton UP, 2011)&lt;br /&gt;
* Landis, Michael Todd. &#039;&#039;Northern Men with Southern Loyalties: The Democratic Party and the Sectional Crisis&#039;&#039;. (Cornell UP, 2014).&lt;br /&gt;
* Lawrence, David G. &#039;&#039;The collapse of the democratic presidential majority: Realignment, dealignment, and electoral change from Franklin Roosevelt to Bill Clinton&#039;&#039;. (Westview Press, 1997).&lt;br /&gt;
* {{cite journal|last1=McGuire|first1=John Thomas|year=2014|title=Beginning an &#039;Extraordinary Opportunity&#039;: Eleanor Roosevelt, Molly Dewson, and the expansion of women&#039;s boundaries in the Democratic Party, 1924–1934|journal=Women&#039;s History Review|volume=23|issue=6|pages=922–937|doi=10.1080/09612025.2014.906841|s2cid=146773549}}&lt;br /&gt;
* [[L. Sandy Maisel|Maisel, L. Sandy]], and Jeffrey M. Berry, eds. &#039;&#039;The Oxford handbook of American political parties and interest groups&#039;&#039; (Oxford UP, 2010).&lt;br /&gt;
* [[L. Sandy Maisel|Maisel, L. Sandy]], and Charles Bassett, eds. &#039;&#039;Political parties &amp;amp; elections in the United States: an encyclopedia&#039;&#039; (2 vol, Garland, 1991)&lt;br /&gt;
* Mieczkowski, Yanek, and Mark C Carnes. &#039;&#039;The Routledge historical atlas of presidential elections&#039;&#039; (2001).&lt;br /&gt;
* Neal, Steven. &#039;&#039;Happy Days are Here Again: The 1932 Democratic Convention, the Emergence of FDR—and how America was Changed Forever&#039;&#039; (HarperCollins, 2010).&lt;br /&gt;
* Remini, Robert V. &#039;&#039;Martin Van Buren and the making of the Democratic Party&#039;&#039; (Columbia UP, 1961).&lt;br /&gt;
* Savage, Sean J. &#039;&#039;Roosevelt: The Party Leader, 1932–1945&#039;&#039; (U Press of Kentucky, 2015).&lt;br /&gt;
* Savage, Sean J. &#039;&#039;JFK, LBJ, and the Democratic Party&#039;&#039; (SUNY Press, 2012).&lt;br /&gt;
* Savage, Sean J. &#039;&#039;Truman and the Democratic Party&#039;&#039; (U Press of Kentucky, 2015).&lt;br /&gt;
* Woods, Randall B. &#039;&#039;Prisoners of Hope: Lyndon B. Johnson, the Great Society, and the Limits of Liberalism&#039;&#039; (Basic Books, 2016).&lt;br /&gt;
{{refend}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
{{Prone to spam|date=March 2017}}&lt;br /&gt;
&amp;lt;!-- {{No more links}}&lt;br /&gt;
&lt;br /&gt;
Please be cautious adding more external links.&lt;br /&gt;
&lt;br /&gt;
Wikipedia is not a collection of links and should not be used for advertising.&lt;br /&gt;
&lt;br /&gt;
Excessive or inappropriate links will be removed.&lt;br /&gt;
&lt;br /&gt;
See [[Wikipedia:External links]] and [[Wikipedia:Spam]] for details.&lt;br /&gt;
&lt;br /&gt;
If there are already suitable links, propose additions or replacements on the article&#039;s talk page. --&amp;gt;&lt;br /&gt;
{{Sister project links|display=Democratic Party|d=Q29552|voy=no|m=no|mw=no|species=no|n=Category:Democratic Party (United States)|wikt=Democrat|s=Category:Democratic Party (United States)|b=Voter&#039;s Guide/United States/Democratic Party|v=no}}&lt;br /&gt;
* {{Official website}}&lt;br /&gt;
* {{Britannica|157244}}&lt;br /&gt;
&lt;br /&gt;
{{Democratic Party (United States)|state=expanded}}&lt;br /&gt;
{{United States political parties}}&lt;br /&gt;
{{United States topics}}&lt;br /&gt;
{{Martin Van Buren}}&lt;br /&gt;
{{Authority control}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Democratic Party}}&lt;br /&gt;
[[Category:Democratic Party (United States)| ]]&lt;br /&gt;
[[Category:1828 establishments in Maryland]]&lt;br /&gt;
[[Category:Centre-left parties]]&lt;br /&gt;
[[Category:Liberal parties in the United States]]&lt;br /&gt;
[[Category:Political parties established in 1828]]&lt;br /&gt;
[[Category:Political parties in the United States]]&lt;br /&gt;
[[Category:Social liberal parties in the United States]]&lt;br /&gt;
[[Category:Martin Van Buren]]&lt;br /&gt;
[[Category:Feminist political parties in the United States]]&lt;br /&gt;
[[Category:Progressive parties in the United States]]&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=81</id>
		<title>2024 United States presidential election</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=81"/>
		<updated>2025-08-04T18:10:26Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox election&lt;br /&gt;
| election_name = 2024 United States presidential election&lt;br /&gt;
| country = United States&lt;br /&gt;
| type = presidential&lt;br /&gt;
| opinion_polls = w:Nationwide opinion polling for the 2024 United States presidential election&lt;br /&gt;
| college_voted = yes&lt;br /&gt;
| previous_election = 2020 United States presidential election&lt;br /&gt;
| previous_year = 2020&lt;br /&gt;
| next_election = 2028 United States presidential election&lt;br /&gt;
| next_year = &#039;&#039;2028&#039;&#039;&lt;br /&gt;
| election_date = November 5, 2024&lt;br /&gt;
| votes_for_election = 538 members of the [[w:United States Electoral College|Electoral College]]&lt;br /&gt;
| needed_votes = 270 electoral&lt;br /&gt;
| turnout = 64.1% ({{decrease}} 2.5 [[percentage point|pp]])&lt;br /&gt;
| map_image = {{2024 United States presidential election imagemap}}&lt;br /&gt;
| map_size = &lt;br /&gt;
|&lt;br /&gt;
| image1 = Kamala Harris Vice Presidential Portrait (cropped).jpg&lt;br /&gt;
| image_size = 200x200px&lt;br /&gt;
| nominee1 = &#039;&#039;&#039;[[w:Kamala Harris|Kamala Harris]]&#039;&#039;&#039;&lt;br /&gt;
| party1 = Democratic Party (United States)&lt;br /&gt;
| home_state1 = [[w:California|California]]&lt;br /&gt;
| running_mate1 = &#039;&#039;&#039;[[w:Tim Walz|Tim Walz]]&#039;&#039;&#039;&lt;br /&gt;
| electoral_vote1 = &#039;&#039;&#039;312&#039;&#039;&#039;&lt;br /&gt;
| states_carried1 = &#039;&#039;&#039;31 + {{ushr|ME|2|ME-02}}&#039;&#039;&#039;&lt;br /&gt;
| popular_vote1 = &#039;&#039;&#039;77,302,580&#039;&#039;&#039;&lt;br /&gt;
| percentage1 = &#039;&#039;&#039;49.8%&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| image2 = TrumpPortrait (3x4a).jpg&lt;br /&gt;
| nominee2 = [[w:Donald Trump|Donald Trump]]&lt;br /&gt;
| party2 = Republican Party (United States)&lt;br /&gt;
| home_state2 = [[w:Florida|Florida]]&lt;br /&gt;
| running_mate2 = [[w:JD Vance|JD Vance]]&lt;br /&gt;
| electoral_vote2 = 226&lt;br /&gt;
| states_carried2 = 19 + [[Washington, D.C.|DC]] + {{ushr|NE|2|NE-02}}&lt;br /&gt;
| popular_vote2 = 75,017,613&lt;br /&gt;
| percentage2 = 48.3%&lt;br /&gt;
|&lt;br /&gt;
| map_caption = Presidential election results map. &amp;lt;span style=&amp;quot;color:darkred;&amp;quot;&amp;gt;Red&amp;lt;/span&amp;gt; denotes [[U.S. states]] won by Trump/Vance and &amp;lt;span style=&amp;quot;color:darkblue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; denotes those won by Harris/Walz. Numbers indicate [[United States Electoral College|electoral votes]] cast by each state and the [[District of Columbia]].&lt;br /&gt;
| title = President&lt;br /&gt;
| before_election = [[Joe Biden]]&lt;br /&gt;
| before_party = Democratic Party (United States)&lt;br /&gt;
| posttitle = &amp;lt;!--Please stop changing--&amp;gt;Elected President&amp;lt;!--Please stop changing--&amp;gt;&lt;br /&gt;
| after_election = [[Donald Trump]]&lt;br /&gt;
| after_party = Republican Party (United States)&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=80</id>
		<title>2024 United States presidential election</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=80"/>
		<updated>2025-08-04T18:10:07Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox election&lt;br /&gt;
| election_name = 2024 United States presidential election&lt;br /&gt;
| country = United States&lt;br /&gt;
| type = presidential&lt;br /&gt;
| opinion_polls = w:Nationwide opinion polling for the 2024 United States presidential election&lt;br /&gt;
| college_voted = yes&lt;br /&gt;
| previous_election = 2020 United States presidential election&lt;br /&gt;
| previous_year = 2020&lt;br /&gt;
| next_election = 2028 United States presidential election&lt;br /&gt;
| next_year = &#039;&#039;2028&#039;&#039;&lt;br /&gt;
| election_date = November 5, 2024&lt;br /&gt;
| votes_for_election = 538 members of the [[w:United States Electoral College|Electoral College]]&lt;br /&gt;
| needed_votes = 270 electoral&lt;br /&gt;
| turnout = 64.1% ({{decrease}} 2.5 [[percentage point|pp]])&lt;br /&gt;
| map_image = {{2024 United States presidential election imagemap}}&lt;br /&gt;
| map_size = &lt;br /&gt;
|&lt;br /&gt;
| image1 = Kamala Harris Vice Presidential Portrait (cropped).jpg&lt;br /&gt;
| image_size = 200x200px&lt;br /&gt;
| nominee1 = &#039;&#039;&#039;[[w:Kamala Harris|Kamala Harris]]&#039;&#039;&#039;&lt;br /&gt;
| party1 = [[w:Democratic Party (United States)|Democratic]]&lt;br /&gt;
| home_state1 = [[w:California|California]]&lt;br /&gt;
| running_mate1 = &#039;&#039;&#039;[[w:Tim Walz|Tim Walz]]&#039;&#039;&#039;&lt;br /&gt;
| electoral_vote1 = &#039;&#039;&#039;312&#039;&#039;&#039;&lt;br /&gt;
| states_carried1 = &#039;&#039;&#039;31 + {{ushr|ME|2|ME-02}}&#039;&#039;&#039;&lt;br /&gt;
| popular_vote1 = &#039;&#039;&#039;77,302,580&#039;&#039;&#039;&lt;br /&gt;
| percentage1 = &#039;&#039;&#039;49.8%&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| image2 = TrumpPortrait (3x4a).jpg&lt;br /&gt;
| nominee2 = [[w:Donald Trump|Donald Trump]]&lt;br /&gt;
| party2 = Republican Party (United States)&lt;br /&gt;
| home_state2 = [[w:Florida|Florida]]&lt;br /&gt;
| running_mate2 = [[w:JD Vance|JD Vance]]&lt;br /&gt;
| electoral_vote2 = 226&lt;br /&gt;
| states_carried2 = 19 + [[Washington, D.C.|DC]] + {{ushr|NE|2|NE-02}}&lt;br /&gt;
| popular_vote2 = 75,017,613&lt;br /&gt;
| percentage2 = 48.3%&lt;br /&gt;
|&lt;br /&gt;
| map_caption = Presidential election results map. &amp;lt;span style=&amp;quot;color:darkred;&amp;quot;&amp;gt;Red&amp;lt;/span&amp;gt; denotes [[U.S. states]] won by Trump/Vance and &amp;lt;span style=&amp;quot;color:darkblue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; denotes those won by Harris/Walz. Numbers indicate [[United States Electoral College|electoral votes]] cast by each state and the [[District of Columbia]].&lt;br /&gt;
| title = President&lt;br /&gt;
| before_election = [[Joe Biden]]&lt;br /&gt;
| before_party = Democratic Party (United States)&lt;br /&gt;
| posttitle = &amp;lt;!--Please stop changing--&amp;gt;Elected President&amp;lt;!--Please stop changing--&amp;gt;&lt;br /&gt;
| after_election = [[Donald Trump]]&lt;br /&gt;
| after_party = Republican Party (United States)&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Political_party/D&amp;diff=79</id>
		<title>Module:Political party/D</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Political_party/D&amp;diff=79"/>
		<updated>2025-08-04T18:09:43Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- Constant data used by [[Module:Political party]]&lt;br /&gt;
&lt;br /&gt;
local alternate = {&lt;br /&gt;
	[&amp;quot;Direct Democracy New Zealand&amp;quot;] = &amp;quot;Direct Democracy Party of New Zealand&amp;quot;,&lt;br /&gt;
	[&amp;quot;DAB&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;DABHK&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;Delaware Democratic Party&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Demócrata Party&amp;quot;] = &amp;quot;Democrata Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Agrarian Party of Moldova&amp;quot;] = &amp;quot;Agrarian Party of Moldova&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Alliance for the Betterment of Hong Kong&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Popular Union&amp;quot;] = &amp;quot;Democratic and Popular Unity&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre – People&#039;s Party&amp;quot;] = &amp;quot;CDS – People&#039;s Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre – People´s Party&amp;quot;] = &amp;quot;CDS – People&#039;s Party&amp;quot;, -- acute accent difference&lt;br /&gt;
	[&amp;quot;Democratic Awakening&amp;quot;] = &amp;quot;Democratic Beginning&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Center Party of Latvia&amp;quot;] = &amp;quot;Democratic Party \&amp;quot;Saimnieks\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Centre Union (Greece)&amp;quot;] = &amp;quot;Centre Union&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Coalition&amp;quot;] = &amp;quot;Democratic Coalition (Hungary)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front (France)&amp;quot;] = &amp;quot;Democratic Movement (France)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front for the Reunification of the Fatherland&amp;quot;] = &amp;quot;Democratic Front for the Reunification of Korea&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front of the Francophones&amp;quot;] = &amp;quot;DéFI&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Group&amp;quot;] = &amp;quot;Democratic Party (Luxembourg)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Group (Luxembourg)&amp;quot;] = &amp;quot;Democratic Party (Luxembourg)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK)&amp;quot;] = &amp;quot;Democratic Labour Party (UK, 1998)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party&amp;quot;] = &amp;quot;Lincoln Democratic Labour Association&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Australia, 1978)&amp;quot;] = &amp;quot;Democratic Labour Party (Australia, 1980)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Italy)&amp;quot;] = &amp;quot;Italian Democratic Liberal Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Modernist Pole&amp;quot;] = &amp;quot;Ettajdid Movement&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic National Alliance&amp;quot;] = &amp;quot;Democratic National Alliance (Sri Lanka)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Obedience Party&amp;quot;] = &amp;quot;Democratic Conviction&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party - demokraci.pl&amp;quot;] = &amp;quot;Democratic Party – demokraci.pl&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Burma)&amp;quot;] = &amp;quot;Democratic Party (Myanmar)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan)&amp;quot;] = &amp;quot;Democratic Party (Japan, 2016)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia)&amp;quot;] = &amp;quot;Democratic Party (Slovakia, 1989)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, historical)&amp;quot;] = &amp;quot;Democrat Party (Turkey, 1946–1961)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (US)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Alabama)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Alaska)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Arizona)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Arkansas)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (California)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Colorado)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Connecticut)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Delaware)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (East Timor)&amp;quot;] = &amp;quot;Democratic Party (Timor-Leste)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Georgia, US)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Guam)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Hawaii)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Idaho)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Illinois)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Iowa)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Maryland)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Massachusetts)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Michigan)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Missouri)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Nevada)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (New Mexico)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (New York)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (North Dakota)&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Northern Mariana Islands)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Pennsylvania)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Rhode Island)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Tajikistan)&amp;quot;] = &amp;quot;Democratic Party of Tajikistan&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, current)&amp;quot;] = &amp;quot;Democrat Party (Turkey, current)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Utah)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Vermont)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Virginia)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Washington State)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Washington)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (West Virginia)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Arkansas&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Connecticut&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Côte d&#039;Ivoire – African Democratic Rally&amp;quot;] = &amp;quot;Democratic Party of Ivory Coast – African Democratic Rally&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Georgia&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Guam&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Hawaii&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Illinois&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Japan (1996)&amp;quot;] = &amp;quot;Democratic Party (Japan, 1996)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Japan&amp;quot;] = &amp;quot;Democratic Party (Japan, 1998)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Korea&amp;quot;] = &amp;quot;Democratic Party (South Korea, 2015)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Minnesota&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of New Mexico&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Oregon&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of the Virgin Islands&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Virginia&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Wisconsin&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Patriots&#039; Movement&amp;quot;] = &amp;quot;Democratic Patriots&#039; Unified Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Portugal)&amp;quot;] = &amp;quot;Social Democratic Party (Portugal)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Liberation Front&amp;quot;] = &amp;quot;People&#039;s Liberation Organisation of Tamil Eelam&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Popular Party (Spain)&amp;quot;] = &amp;quot;People&#039;s Democratic Party (Spain)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Reforms Party (Azerbaijan)&amp;quot;] = &amp;quot;Democratic Reforms Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (Portugal)&amp;quot;] = &amp;quot;National Democratic Alternative (Portugal)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Nepal)&amp;quot;] = &amp;quot;Loktantrik Samajwadi Party, Nepal&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Turnhalle Alliance&amp;quot;] = &amp;quot;Popular Democratic Movement&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of the Greek Minority&amp;quot;] = &amp;quot;Omonoia (organization)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union&amp;quot;] = &amp;quot;Democratic Union (Poland)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Unity Coalition&amp;quot;] = &amp;quot;Unitary Democratic Coalition&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Workers&#039; Congress&amp;quot;] = &amp;quot;Democratic People&#039;s Front&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Farmer-Labor Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-NPL Party&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (United States)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (US)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Farmer–Labor Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Nonpartisan League Party (North Dakota)&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–NPL Party&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Republican Party (United States)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats (Norway)&amp;quot;] = &amp;quot;Norway Democrats&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats and Progressives&amp;quot;] = &amp;quot;Article One (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats for Social Credit&amp;quot;] = &amp;quot;New Zealand Democratic Party for Social Credit&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats in Norway&amp;quot;] = &amp;quot;Norway Democrats&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovaks and Czechs in Romania&amp;quot;] = &amp;quot;Democratic Union of Slovaks and Czechs of Romania&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of Turkish-Muslim Tatars of Romania&amp;quot;] = &amp;quot;Democratic Union of Turkic-Muslim Tatars of Romania&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats Union For Lithuania&amp;quot;] = &amp;quot;Union of Democrats \&amp;quot;For Lithuania\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats Union \&amp;quot;For Lithuania\&amp;quot;&amp;quot;] = &amp;quot;Union of Democrats \&amp;quot;For Lithuania\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Demokraatit&amp;quot;] = &amp;quot;Democrats (Greenland)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Denk (Dutch political party)&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DENK (political party)&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DENK&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Deutsche Rechtspartei&amp;quot;] = &amp;quot;German Right Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform Party&amp;quot;] = &amp;quot;Dignity and Truth Platform&amp;quot;,&lt;br /&gt;
	[&amp;quot;Direction – Social Democracy&amp;quot;] = &amp;quot;Direction – Slovak Social Democracy&amp;quot;,&lt;br /&gt;
	[&amp;quot;Direction (Slovakia)&amp;quot;] = &amp;quot;Direction – Slovak Social Democracy&amp;quot;,&lt;br /&gt;
	[&amp;quot;District of Columbia Democratic State Committee&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;District of Columbia Republican Party&amp;quot;] = &amp;quot;Republican Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dixiecrat Party (United States)&amp;quot;] = &amp;quot;Dixiecrat&amp;quot;,&lt;br /&gt;
	[&amp;quot;DK–MSZP–Dialogue&amp;quot;] = &amp;quot;DK–MSZP–Dialogue Alliance&amp;quot;,&lt;br /&gt;
	[&amp;quot;DMK&amp;quot;] = &amp;quot;Dravida Munnetra Kazhagam&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dodd Independent Party&amp;quot;] = &amp;quot;Independent (US)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DPHK&amp;quot;] = &amp;quot;Democratic Party (Hong Kong)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dutch Labour Party&amp;quot;] = &amp;quot;Labour Party (Netherlands)&amp;quot;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local full = {&lt;br /&gt;
	[&amp;quot;D.C. Statehood Green Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#17AA5C&amp;quot;, shortname = &amp;quot;DC Statehood Green&amp;quot;,},&lt;br /&gt;
	[&amp;quot;D.C. Statehood Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0BDA51&amp;quot;, shortname = &amp;quot;DC Statehood&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Da&#039;am Workers Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C60408&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dabalorivhuwa Patriotic Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF8000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dad, This is for You&amp;quot;] = {abbrev = &amp;quot;ĆOJZT&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dai Le and Frank Carbone Network&amp;quot;] = {abbrev = &amp;quot;DLFCN&amp;quot;, color = &amp;quot;#FF7F7F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Đại Việt National Socialist Party&amp;quot;] = {abbrev = &amp;quot;ĐVQXĐ&amp;quot;, color = &amp;quot;#DC143C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dagga Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#009245&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#91ADBC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Party&amp;quot;] = {abbrev = &amp;quot;PDD&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5CBB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Progressive Union&amp;quot;] = {abbrev = &amp;quot;UPD&amp;quot;, color = &amp;quot;#5CBB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Unity Party&amp;quot;] = {abbrev = &amp;quot;PDU&amp;quot;, color = &amp;quot;#D2691E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dainiin Club&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#587dab&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalija Orešković and People with a First and Last Name&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D11E60&amp;quot;, shortname = &amp;quot;DO i SIP&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Janajati Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Mazdoor Kisan Party&amp;quot;] = {abbrev = &amp;quot;DMKP&amp;quot;, color = &amp;quot;#A5CBFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Muslim Vikas Party&amp;quot;] = {abbrev = &amp;quot;DMVP&amp;quot;, color = &amp;quot;#293A03&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalmatian Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalmatian Action (2021)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#04369C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE1126&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FCD03B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Social Liberal Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#733280&amp;quot;, shortname = &amp;quot;Social Liberals&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Unity&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002366&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Davidson Faction&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E81B23&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn – National Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#004071&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn (Iceland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#eab943&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn (Russia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEB684&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn of Direct Democracy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A2D945&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn of Nemunas&amp;quot;] = {abbrev = &amp;quot;PPNA&amp;quot;, color = &amp;quot;#F25D23&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dayak Unity Party&amp;quot;] = {abbrev = &amp;quot;PPD&amp;quot;, color = &amp;quot;#0093dd&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Daylight Saving&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFD7A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Daylight Saving Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFD7A&amp;quot;, shortname = &amp;quot;Daylight Savings&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DCIDE&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3B9F40&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;De Basis&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDC05&amp;quot;, shortname = &amp;quot;Basis&amp;quot;,},&lt;br /&gt;
	[&amp;quot;De Nou Reus&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5CBACC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Death to the System (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0A0A0A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deák Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AAD8E6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout la France&amp;quot;] = {abbrev = &amp;quot;DLF&amp;quot;, color = &amp;quot;#0087CD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout la République&amp;quot;] = {abbrev = &amp;quot;DLR&amp;quot;, color = &amp;quot;#8040C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout Les Belges!&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CA232B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decentralist Social Force Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#82BC1C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DecideT–EligeT&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#21297C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decidix&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DC4868&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decolonization and Social Emancipation Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AA0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Defense of the Andalusian People&#039;s Interests&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#40903B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DéFI&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DD0081&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Degel HaTorah&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3E3E3E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Degrowth Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BB0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Delhi Janata Party&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#CEF6EC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Delhi Poorvanchal Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#BCA9F5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deliberation Tsuen Wan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7CBECC&amp;quot;, shortname = &amp;quot;Deliberation TW&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demo-Social 12&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4D955D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demo-Social 60&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F58025&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demochristian Party of Albania&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EE82EE&amp;quot;, shortname = &amp;quot;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Autonomy&amp;quot;] = {abbrev = &amp;quot;DemA&amp;quot;, color = &amp;quot;#D6441D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F6BA1B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Freedom&amp;quot;] = {abbrev = &amp;quot;DiL&amp;quot;, color = &amp;quot;#212765&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Freedom (San Marino)&amp;quot;] = {abbrev = &amp;quot;DeL&amp;quot;, color = &amp;quot;#015FA8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Human Rights Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2E3492&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Progress Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0069A7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Solidarity Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F0046&amp;quot;, shortname = &amp;quot;Demos&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy at Home Party&amp;quot;] = {abbrev = &amp;quot;PPDA&amp;quot;, color = &amp;quot;#003399&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy First&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ff8c00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy for Chorley&amp;quot;] = {abbrev = &amp;quot;DfC&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Groundwork&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEED59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy in Europe Movement 2025&amp;quot;] = {abbrev = &amp;quot;DiEM25&amp;quot;, color = &amp;quot;#ec5122&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy in Motion&amp;quot;] = {abbrev = &amp;quot;DiB&amp;quot;, color = &amp;quot;#263d80&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy is Freedom – The Daisy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3CB371&amp;quot;, shortname = &amp;quot;The Daisy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DemocracyNZ&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#30B6C1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Power Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BC1D2D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Yes&amp;quot;] = {abbrev = &amp;quot;DSÍ&amp;quot;, color = &amp;quot;#CE3977&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Development through Unity&amp;quot;] = {abbrev = &amp;quot;DOE&amp;quot;, color = &amp;quot;#C8ED69&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy, Citizenry and Republic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FCDB10&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E3431F&amp;quot;, shortname = &amp;quot;Democrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00A1F1&amp;quot;, shortname = &amp;quot;Democrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Turkey, 1946–1961)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#CD42B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Turkey, current)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#D360BC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party of Iran&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#093&amp;quot;, shortname = &amp;quot;Democrat Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Social Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4CBB17&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Turkey Party&amp;quot;] = {abbrev = &amp;quot;DTP&amp;quot;, color = &amp;quot;#DA7766&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrata Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1434A4&amp;quot;, shortname = &amp;quot;Democrata&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Accountants&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#47954E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (El Salvador)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#F95400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BA55D3&amp;quot;, shortname = &amp;quot;Democratic Action&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (Venezuela)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;Democratic Action&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Congress&amp;quot;] = {abbrev = &amp;quot;DAC&amp;quot;, color = &amp;quot;#aa00d4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party (Kenya)&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#313691&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3E4E3E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#ED1C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Agrarian Party of Romania&amp;quot;] = {abbrev = &amp;quot;PDAR&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alignment (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIPA&amp;quot;, color = &amp;quot;#00AEEF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alignment (2015)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2D902D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Bulgaria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gray&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (France)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#FFBF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Greece)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6D85CB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Guinea-Bissau)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#228B22&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (New Zealand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFE802&amp;quot;, shortname = &amp;quot;Democratic Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Philippines)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#DC143C&amp;quot;, shortname = &amp;quot;Democratic Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal, 1979)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal, 2024)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#3777BC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (South Africa)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#005BA6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Ukraine)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#193695&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Venezuela)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#0F52BA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Diversity and Awakening&amp;quot;] = {abbrev = &amp;quot;DAVA&amp;quot;, color = &amp;quot;#078E92&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Korea&amp;quot;] = {abbrev = &amp;quot;DAK&amp;quot;, color = &amp;quot;#152484&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Niger&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#337585&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Peace&amp;quot;] = {abbrev = &amp;quot;ADP-MALIBA&amp;quot;, color = &amp;quot;#8D6800&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;] = {abbrev = &amp;quot;DAB&amp;quot;, color = &amp;quot;#1861AC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Croats in Vojvodina&amp;quot;] = {abbrev = &amp;quot;DSHV&amp;quot;, color = &amp;quot;#EE1C25&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Hungarians in Romania&amp;quot;] = {abbrev = &amp;quot;UDMR&amp;quot;, color = &amp;quot;#00833e&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Serbs&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;#BC204B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Wales&amp;quot;] = {abbrev = &amp;quot;DAW&amp;quot;, color = &amp;quot;#CCCCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Albania)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#1369B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Solomon Islands)&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#68C76D&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Tunisia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;Salmon&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternation Pole&amp;quot;] = {abbrev = &amp;quot;Sawab–RAG&amp;quot;, color = &amp;quot;#EAC553&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative &#039;91&amp;quot;] = {abbrev = &amp;quot;DA&#039;91&amp;quot;, color = &amp;quot;#FFF212&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9ACD32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Finland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF4D00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Malta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7AC143&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (North Macedonia)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Serbia)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#FA8383&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF7619&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Angola – Coalition&amp;quot;] = {abbrev = &amp;quot;AD–C&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;AD–Coligação&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Independent Cape Verdean Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0066ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Popular Unity&amp;quot;] = {abbrev = &amp;quot;UDP&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Progressive Union&amp;quot;] = {abbrev = &amp;quot;UDP/DPU&amp;quot;, color = &amp;quot;#DAA520&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Republican Alliance&amp;quot;] = {abbrev = &amp;quot;ADERE&amp;quot;, color = &amp;quot;#1935D0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Republican Union&amp;quot;] = {abbrev = &amp;quot;URD&amp;quot;, color = &amp;quot;#24445c&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre (Spain)&amp;quot;] = {abbrev = &amp;quot;CDS&amp;quot;, color = &amp;quot;#049456&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Convention&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#679A6C&amp;quot;, shortname = &amp;quot;CDS-Rahama&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Left&amp;quot;] = {abbrev = &amp;quot;GDS&amp;quot;, color = &amp;quot;#EF3034&amp;quot;, shortname = &amp;quot;&amp;quot;},&lt;br /&gt;
	[&amp;quot;Democratic and Social Movement (Algeria)&amp;quot;] = {abbrev = &amp;quot;MDS&amp;quot;, color = &amp;quot;#006FB6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Movement (Morocco)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9AAD35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Socialist Party for Alternation&amp;quot;] = {abbrev = &amp;quot;PDSA&amp;quot;, color = &amp;quot;#4c9bed&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Party of Ceuta&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#29806D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Republican Party&amp;quot;] = {abbrev = &amp;quot;PRDS&amp;quot;, color = &amp;quot;#981C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Ribat Party&amp;quot;] = {abbrev = &amp;quot;RDS&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Socialist Union of the Resistance&amp;quot;] = {abbrev = &amp;quot;UDSR&amp;quot;, color = &amp;quot;#EF5327&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Arab Socialist Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Ashkali Party of Kosovo&amp;quot;] = {abbrev = &amp;quot;PDAK&amp;quot;, color = &amp;quot;#01B965&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Axe&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#84171C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Azad Party&amp;quot;] = {abbrev = &amp;quot;DPAP&amp;quot;, color = &amp;quot;#FEF01E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Beginning&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc (Poland)&amp;quot;] = {abbrev = &amp;quot;BD&amp;quot;, color = &amp;quot;#F02F2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc (Ukraine)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0087DC&amp;quot;, shortname = &amp;quot;Democratic Bloc&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bulgaria&amp;quot;] = {abbrev = &amp;quot;DB&amp;quot;, color = &amp;quot;#004A80&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Center (Colombia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Center&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Center (Ecuador)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#FF4500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre of Macau&amp;quot;] = {abbrev = &amp;quot;CDM&amp;quot;, color = &amp;quot;#DD0000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Croatia)&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#006bb3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (France)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#00CCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Italy, 2013)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E86055&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Latvia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;Democratic Centre&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Serbia)&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#FFFF99&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4CB034&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (El Salvador)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (Panama)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#2A889B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (South Sudan)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FB2026&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice (Dominican Republic)&amp;quot;] = {abbrev = &amp;quot;OD&amp;quot;, color = &amp;quot;#503123&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice (Russia, 2010)&amp;quot;] = {abbrev = &amp;quot;DemChoice&amp;quot;, color = &amp;quot;#1C3F94&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Kazakhstan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0083cd&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Russia – United Democrats&amp;quot;] = {abbrev = &amp;quot;DVR–OD&amp;quot;, color = &amp;quot;#3A46CE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Russia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#29166F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition (Hungary)&amp;quot;] = {abbrev = &amp;quot;DK&amp;quot;, color = &amp;quot;#0067AA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition (Spain)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#8E9629&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition for DC Election&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D38D4F&amp;quot;, shortname = &amp;quot;Democratic Coalition&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Committee of Human Rights&amp;quot;] = {abbrev = &amp;quot;DCHR&amp;quot;, color = &amp;quot;#691F6C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Community of Welfare and Freedom&amp;quot;] = {abbrev = &amp;quot;JESZ&amp;quot;, color = &amp;quot;#80BB3D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Confederation of Labour (Morocco)&amp;quot;] = {abbrev = &amp;quot;CDT&amp;quot;, color = &amp;quot;#020202&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Congress&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#B70002&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Congress Kerala&amp;quot;] = {abbrev = &amp;quot;DCK&amp;quot;, color = &amp;quot;#008080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Consent–Republican Party&amp;quot;] = {abbrev = &amp;quot;ID–PR&amp;quot;, color = &amp;quot;#317C41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conservative Party&amp;quot;] = {abbrev = &amp;quot;PCD&amp;quot;, color = &amp;quot;#397a42&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conservative Party (Syria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DF0611&amp;quot;, shortname = &amp;quot;Democratic Conservative Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Constitutional Rally&amp;quot;] = {abbrev = &amp;quot;RCD&amp;quot;, color = &amp;quot;FireBrick&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convention of African Peoples&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convention of Moldova&amp;quot;] = {abbrev = &amp;quot;CDM&amp;quot;, color = &amp;quot;#0061D4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1e90ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence (El Salvador)&amp;quot;] = {abbrev = &amp;quot;CVD&amp;quot;, color = &amp;quot;#DC241F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence of Catalonia&amp;quot;] = {abbrev = &amp;quot;CDC&amp;quot;, color = &amp;quot;#232D7B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence Party (Guinea-Bissau)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0099FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence Party (São Tomé and Príncipe)&amp;quot;] = {abbrev = &amp;quot;PCD-GR&amp;quot;, color = &amp;quot;#1102DE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conviction&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0098D8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Current&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FE6500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Development Forum&amp;quot;] = {abbrev = &amp;quot;FDD&amp;quot;, color = &amp;quot;#F0F040&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Development Party&amp;quot;] = {abbrev = &amp;quot;DDP&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Electoral Commission&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;darkred&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic European Force&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00CCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Farmers&#039; Party of Germany&amp;quot;] = {abbrev = &amp;quot;DBD&amp;quot;, color = &amp;quot;#006600&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Fellowship of Vojvodina Hungarians&amp;quot;] = {abbrev = &amp;quot;VMDK&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;PFD&amp;quot;, color = &amp;quot;#EB6109&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force (France)&amp;quot;] = {abbrev = &amp;quot;FD&amp;quot;, color = &amp;quot;#003366&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CA3634&amp;quot;, shortname = &amp;quot;Democratic Force&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forces of Guiana&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A71585&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1C5530&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum for Labour and Liberties&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#660000&amp;quot;, shortname = &amp;quot;Ettakatol&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum for Modernity&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;purple&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum of Germans in Romania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AA2421&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Bosnia and Herzegovina)&amp;quot;] = {abbrev = &amp;quot;DF&amp;quot;, color = &amp;quot;#F16822&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIPA&amp;quot;, color = &amp;quot;#26ACE2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DF&amp;quot;, color = &amp;quot;#00008B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Peru)&amp;quot;] = {abbrev = &amp;quot;FREDEMO&amp;quot;, color = &amp;quot;#50a7f7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FE9059&amp;quot;, shortname = &amp;quot;Democratic Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front for the Liberation of Palestine&amp;quot;] = {abbrev = &amp;quot;DFLP&amp;quot;, color = &amp;quot;#D10A2B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front for the Reunification of Korea&amp;quot;] = {abbrev = &amp;quot;FF&amp;quot;, color = &amp;quot;#FF3333&amp;quot;, shortname = &amp;quot;Fatherland Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front of Albania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF4A2E&amp;quot;, shortname = &amp;quot;Democratic Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Galicianist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3886AC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Generation Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A9A5B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Green Party of Rwanda&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A2FD0B&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Green&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Groundwork&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEED59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
    [&amp;quot;Democratic Group for Integrity and Progress in the Philippines&amp;quot;] = {abbrev = &amp;quot;DGIPP&amp;quot;, color = &amp;quot;#496AB6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Group of Albacete&amp;quot;] = {abbrev = &amp;quot;ADA&amp;quot;, color = &amp;quot;#4F836A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Group of the Centre&amp;quot;] = {abbrev = &amp;quot;GDC&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Hope&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DE2118&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Hygiene&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4F6179&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independence Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AE872A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independent Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gold&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independent Regionalist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4A1C51&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Indira Congress (Karunakaran)&amp;quot;] = {abbrev = &amp;quot;DIC&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Initiative for Benalmádena&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#22305E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Innovation Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Israel&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0E0348&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Jewish Union&amp;quot;] = {abbrev = &amp;quot;ŽDS&amp;quot;, color = &amp;quot;#7F51C7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Justice Party&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#004C97&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Justice Party (1987)&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#0A84E9&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Korea Party&amp;quot;] = {abbrev = &amp;quot;DKP&amp;quot;, color = &amp;quot;#ED2939&amp;quot;, shortname = &amp;quot;Democratic Korea&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party (Australia, 1955)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#008080&amp;quot;, shortname = &amp;quot;Democratic Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#E7000A&amp;quot;, shortname = &amp;quot;Democratic Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9C00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Australia, 1980)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#EEAF30&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Barbados)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Brazil)&amp;quot;] = {abbrev = &amp;quot;PDT&amp;quot;, color = &amp;quot;#C21E56&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (New Zealand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Trinidad and Tobago)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#e25822&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK, 1972)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF6600&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK, 1998)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E32636&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party of Lithuania&amp;quot;] = {abbrev = &amp;quot;LDDP&amp;quot;, color = &amp;quot;#E75480&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League (Catalonia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002D70&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League in Montenegro&amp;quot;] = {abbrev = &amp;quot;DSCG&amp;quot;, color = &amp;quot;cornflowerblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League of Dardania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005CA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League of Kosovo&amp;quot;] = {abbrev = &amp;quot;LDK&amp;quot;, color = &amp;quot;#F37476&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League/Movement for the Labour Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E392B6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Ecuador)&amp;quot;] = {abbrev = &amp;quot;ID&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Greece)&amp;quot;] = {abbrev = &amp;quot;DIMAR&amp;quot;, color = &amp;quot;#FF4100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Ireland)&amp;quot;] = {abbrev = &amp;quot;DL&amp;quot;, color = &amp;quot;#C700C7&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (UK)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC0033&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Alliance – Labour Union&amp;quot;] = {abbrev = &amp;quot;SLD-UP&amp;quot;, color = &amp;quot;#CA2021&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Alliance (Poland)&amp;quot;] = {abbrev = &amp;quot;SLD&amp;quot;, color = &amp;quot;#E2001A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Association&amp;quot;] = {abbrev = &amp;quot;SLD&amp;quot;, color = &amp;quot;#e10914&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Front (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7F517C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Front (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;DLF&amp;quot;, color = &amp;quot;#F90818&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Movement (Lebanon)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left of Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFE507&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Party (Turkey)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#02CDFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Scotland&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC0033&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Leftwing Republican Party&amp;quot;] = {abbrev = &amp;quot;PRED&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Congress&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F70000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Timor-Leste)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2C43DB&amp;quot;, shortname = &amp;quot;Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Japan)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#42A46B&amp;quot;, shortname = &amp;quot;Democratic Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PDL&amp;quot;, color = &amp;quot;#FF9D1C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#003990&amp;quot;, shortname = &amp;quot;Democratic Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FDFF46&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List for Israeli Arabs&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List of Nazareth&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Majority (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0086D6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Montenegro&amp;quot;] = {abbrev = &amp;quot;DCG&amp;quot;, color = &amp;quot;#F5911D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement – United Georgia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0067A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (India)&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#92cfcf&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (France)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF5327&amp;quot;, shortname = &amp;quot;MoDem&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (San Marino)&amp;quot;] = {abbrev = &amp;quot;MD&amp;quot;, color = &amp;quot;#F80000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement for Change&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#253EFE&amp;quot;, shortname = &amp;quot;Dash&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement of Mozambique&amp;quot;] = {abbrev = &amp;quot;MDM&amp;quot;, color = &amp;quot;#FFA825&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement of Serbia&amp;quot;] = {abbrev = &amp;quot;DEPOS&amp;quot;, color = &amp;quot;#1A4A96&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Municipal Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF610F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nasserist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Antigua &amp;amp; Barbuda)&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#EB8123&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Bahamas)&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#419b41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CCCC33&amp;quot;, shortname = &amp;quot;Democratic National Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Assembly&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#add8e6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00008B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Convergence&amp;quot;] = {abbrev = &amp;quot;CDN&amp;quot;, color = &amp;quot;#76DAB4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Front Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BA0E00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EB6F53&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Initiative&amp;quot;] = {abbrev = &amp;quot;IDN&amp;quot;, color = &amp;quot;#FF00D4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Party (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DEK&amp;quot;, color = &amp;quot;#783B12&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Rally&amp;quot;] = {abbrev = &amp;quot;RND&amp;quot;, color = &amp;quot;#003153&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Salvation Front&amp;quot;] = {abbrev = &amp;quot;FDSN&amp;quot;, color = &amp;quot;#cc3333&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Union of Kurdistan&amp;quot;] = {abbrev = &amp;quot;YNDK&amp;quot;, color = &amp;quot;#d1342f&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (Malta, 1959–1966)&amp;quot;] = {abbrev = &amp;quot;PDN&amp;quot;, color = &amp;quot;#A02C2C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PND&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DNP&amp;quot;, color = &amp;quot;#9acd32&amp;quot;, shortname = &amp;quot;Democratic Nationalist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalists&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationhood Party&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;#054C30&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Network&amp;quot;] = {abbrev = &amp;quot;RED&amp;quot;, color = &amp;quot;white&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Non-Partisan Alliance&amp;quot;] = {abbrev = &amp;quot;DNPA&amp;quot;, color = &amp;quot;#FF0D6C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic New Macau Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Opposition of Serbia&amp;quot;] = {abbrev = &amp;quot;DOS&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Pact for Catalonia&amp;quot;] = {abbrev = &amp;quot;PDC&amp;quot;, color = &amp;quot;#FFC400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Partnership&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;khaki&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party – demokraci.pl&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (1912)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (1943)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6482BF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#192B6B&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Bolivia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DC4C46&amp;quot;, shortname= &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Brazil, 1925-1934)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#191198&amp;quot;, shortname= &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Bulgaria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gold&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cambodia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00FF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cook Islands)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2136C2&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cuba)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0000FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Curaçao)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E41E2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIKO&amp;quot;, color = &amp;quot;#E07C00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Timor-Leste)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#004080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Georgia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F8FBF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Hong Kong)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5FB04A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Hungary)&amp;quot;] = {abbrev = &amp;quot;DEMP&amp;quot;, color = &amp;quot;#1560BD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Iceland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#04437F&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Indonesia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2643A3&amp;quot;, shortname = &amp;quot;Demokrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF1C27&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1947)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC9502&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1954)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#99AF25&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1996)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E60000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1998)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE2029&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 2016)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#003E98&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Kenya)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#336600&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Laos)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFCD00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Luxembourg)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#002C4F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Macedonia)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#3016C8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Malta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Mendoza)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#192B6B&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Mongolia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#11479E&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#09B2ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Myanmar)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FFB00D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Nicaragua)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Northern Cyprus)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#E5382B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Peru)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF3333&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Philippines)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Poland)&amp;quot;] = {abbrev = &amp;quot;SD&amp;quot;, color = &amp;quot;#6495ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Portugal)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#FF69B4&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#FF6633&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Serbia)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#FFF500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Singapore)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#DD6777&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Sint Eustatius)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#C00000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (SL)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia, 1944)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#002FA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia, 1989)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#002FA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Solomon Islands)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFEB33&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Africa)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#6699CC&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1955)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#000080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1967)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FAA50D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1990)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#DA2C43&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1991)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#D82634&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1995)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#009D68&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2005)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#00736D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2008)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#019E33&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2011)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FAC71A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, May 2013)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#28A54A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, September 2013)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#015DA9&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2015)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#152484&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Switzerland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0B3861&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Tanzania)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, 1970)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#ffa500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, 1992)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#341D47&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Uganda)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#0C713A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (UK, 1942)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;lightyellow&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (UK, 1969)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ffffff&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (United States)&amp;quot;] = {abbrev = &amp;quot;D&amp;quot;, color = &amp;quot;#3333FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Yugoslavia)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#FFD300&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Zambia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ff338c&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party \&amp;quot;Saimnieks\&amp;quot;&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#861623&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party – Democratic and Progressive Italy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E30613&amp;quot;, shortname = &amp;quot;Democratic Party – IDP&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party Adilet&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0085fc&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party for a British Gibraltar&amp;quot;] = {abbrev = &amp;quot;DPBG&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party for Progress – Angolan National Alliance&amp;quot;] = {abbrev = &amp;quot;PDP–ANA&amp;quot;, color = &amp;quot;#009900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party For the People&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FFBA00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Albania&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#00529C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Albanians&amp;quot;] = {abbrev = &amp;quot;PDSh&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Armenia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC1B24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Artsakh&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0072B9&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Chile (1988)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Córdoba&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1F2F6B&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Equatorial Guinea&amp;quot;] = {abbrev = &amp;quot;PDGE&amp;quot;, color = &amp;quot;#3051A3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Greens&amp;quot;] = {abbrev = &amp;quot;DSZ&amp;quot;, color = &amp;quot;#007b33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Guinea – African Democratic Rally&amp;quot;] = {abbrev = &amp;quot;PDG-RDA&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of India (Ambedkar)&amp;quot;] = {abbrev = &amp;quot;DPIA (A)&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Iranian Kurdistan&amp;quot;] = {abbrev = &amp;quot;KDPI&amp;quot;, color = &amp;quot;#FC0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Ivory Coast – African Democratic Rally&amp;quot;] = {abbrev = &amp;quot;PDCI–RDA&amp;quot;, color = &amp;quot;#0FAF32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Kazakhstan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#01AEF3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Kosovo&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;#2E96D2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Labour&amp;quot;] = {abbrev = &amp;quot;PDM&amp;quot;, color = &amp;quot;#ED2128&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Lesotho&amp;quot;] = {abbrev = &amp;quot;DPL&amp;quot;, color = &amp;quot;#4c196e&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Macedonia&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Macedonians&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;#F7D10C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Moldova&amp;quot;] = {abbrev = &amp;quot;PDM&amp;quot;, color = &amp;quot;#264B9D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Nauru&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002B7F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Pensioners of Slovenia&amp;quot;] = {abbrev = &amp;quot;DeSUS&amp;quot;, color = &amp;quot;#8DC63F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Pensioners&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;grey&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Republika Srpska&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Russia&amp;quot;] = {abbrev = &amp;quot;DPR&amp;quot;, color = &amp;quot;#DBB726&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Serbia&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;#126180&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Serbs in Macedonia&amp;quot;] = {abbrev = &amp;quot;DPSM&amp;quot;, color = &amp;quot;#1101E0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Slovenia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3300B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Socialists of Montenegro (2021)&amp;quot;] = {abbrev = &amp;quot;DPS&amp;quot;, color = &amp;quot;#524FA1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Socialists of Montenegro&amp;quot;] = {abbrev = &amp;quot;DPS&amp;quot;, color = &amp;quot;#F58634&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Chadian People&amp;quot;] = {abbrev = &amp;quot;PDPT&amp;quot;, color = &amp;quot;#3b09e8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Atlantic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0000FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Friendly Islands&amp;quot;] = {abbrev = &amp;quot;DPFI&amp;quot;, color = &amp;quot;#C20100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Left&amp;quot;] = {abbrev = &amp;quot;PDS&amp;quot;, color = &amp;quot;#C72F35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the New Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FD3C0B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Philippines&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#0054A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Tajikistan&amp;quot;] = {abbrev = &amp;quot;DPT&amp;quot;, color = &amp;quot;#1E7B08&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Trinidad and Tobago&amp;quot;] = {abbrev = &amp;quot;DPTT&amp;quot;, color = &amp;quot;#2A3A8C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Turkmenistan&amp;quot;] = {abbrev = &amp;quot;TDP&amp;quot;, color = &amp;quot;#1CC858&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Turks&amp;quot;] = {abbrev = &amp;quot;DPTM&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Ukraine&amp;quot;] = {abbrev = &amp;quot;DPU&amp;quot;, color = &amp;quot;#025BAB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Vietnam&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0055A4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Vojvodina Hungarians&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5c7b59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Zagorje&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#70bd5d&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party Sint Maarten&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#e21c1a&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Patriotic Alliance of Kurdistan&amp;quot;] = {abbrev = &amp;quot;DPAK&amp;quot;, color = &amp;quot;#CCFF33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Patriots&#039; Unified Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D80100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Peace Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8DB7E9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Peasants&#039; Party–Lupu&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#B7D749&amp;quot;, shortname = &amp;quot;PȚD–Lupu&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People (Spain)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#5BB829&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Alliance&amp;quot;] = {abbrev = &amp;quot;DNS&amp;quot;, color = &amp;quot;#2B0E72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Front&amp;quot;] = {abbrev = &amp;quot;DPF&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Movement&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;#FF4500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Ghana)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#005DA3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (San Marino)&amp;quot;] = {abbrev = &amp;quot;PDP&amp;quot;, color = &amp;quot;#0068C1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#353F9C&amp;quot;, shortname = &amp;quot;Democratic People&#039;s&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Turkey)&amp;quot;] = {abbrev = &amp;quot;DHP&amp;quot;, color = &amp;quot;#437CCD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Union&amp;quot;] = {abbrev = &amp;quot;DNZ&amp;quot;, color = &amp;quot;#048AEB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#5AC2C5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Popular Movement&amp;quot;] = {abbrev = &amp;quot;SPD&amp;quot;, color = &amp;quot;#8a4e58&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progress Party&amp;quot;] = {abbrev = &amp;quot;DGP&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PDP&amp;quot;, color = &amp;quot;#005C9E&amp;quot;, shortname = &amp;quot;Democratic Progressive Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Austria)&amp;quot;] = {abbrev = &amp;quot;DFP&amp;quot;, color = &amp;quot;#FFE500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Malawi)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Singapore)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C92B7D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#1B9431&amp;quot;, shortname = &amp;quot;Democratic Progressive&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Prosperous Macau Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#006400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally of the Comorian People&amp;quot;] = {abbrev = &amp;quot;RDPC&amp;quot;, color = &amp;quot;#FFFFFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally of the Comoros&amp;quot;] = {abbrev = &amp;quot;RDC&amp;quot;, color = &amp;quot;#32CD32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally&amp;quot;] = {abbrev = &amp;quot;DISY&amp;quot;, color = &amp;quot;#1569C7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform Party (Japan)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;Democratic Reform&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform Party of Muslims&amp;quot;] = {abbrev = &amp;quot;DRSM&amp;quot;, color = &amp;quot;#74C365&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reformist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D13C21&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reforms Party&amp;quot;] = {abbrev = &amp;quot;DİP&amp;quot;, color = &amp;quot;#333399&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Regional Union&amp;quot;] = {abbrev = &amp;quot;DPE&amp;quot;, color = &amp;quot;darkorange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Regions Party&amp;quot;] = {abbrev = &amp;quot;DBP&amp;quot;, color = &amp;quot;#30A13E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal (Andorra)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal of Macedonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8DC73F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Angola)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#662531&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Brazil)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Benin)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#FFFA00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Cape Verde)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#02569F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Portugal)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal&amp;quot;] = {abbrev = &amp;quot;DIANA&amp;quot;, color = &amp;quot;#007FFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#2C93FB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renovation&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republic of Timor-Leste Party&amp;quot;] = {abbrev = &amp;quot;PDRT&amp;quot;, color = &amp;quot;#DE5D83&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#835B38&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Alliance&amp;quot;] = {abbrev = &amp;quot;ARD&amp;quot;, color = &amp;quot;#FFBF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (South Korea, 1997)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0D90D6&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Union&amp;quot;] = {abbrev = &amp;quot;URD&amp;quot;, color = &amp;quot;#feed01&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revival&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolution&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1D4C4F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Alliance (Bolivia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Front – New Alternative&amp;quot;] = {abbrev = &amp;quot;FDR&amp;quot;, color = &amp;quot;#1FA045&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Nationalist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#bb0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Party&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#003F87&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Peoples Party&amp;quot;] = {abbrev = &amp;quot;DRPP&amp;quot;, color = &amp;quot;#006400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rioja&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFF6F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Senate&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB64DB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Serb Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;Darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Christian Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#556627&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Front&amp;quot;] = {abbrev = &amp;quot;FDS&amp;quot;, color = &amp;quot;#009900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Justice Party&amp;quot;] = {abbrev = &amp;quot;DSJP&amp;quot;, color = &amp;quot;#A91B0D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Movement&amp;quot;] = {abbrev = &amp;quot;DIKKI&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Party&amp;quot;] = {abbrev = &amp;quot;PDS&amp;quot;, color = &amp;quot;#0067A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social-Revolutionary Party of Cuba&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D21F1B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialism (Chile)&amp;quot;] = {abbrev = &amp;quot;SD&amp;quot;, color = &amp;quot;#B7051F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Alliance (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EE3507&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC4E5C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Arab Ba&#039;ath Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#02AB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Coalition&amp;quot;] = {abbrev = &amp;quot;CSD&amp;quot;, color = &amp;quot;#00BFFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D2323A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PSD&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;Democratic Socialist Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Ireland)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#FF0099&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Japan)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#FF4F4F&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Morocco)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#188410&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Prabodh Chandra)&amp;quot;] = {abbrev = &amp;quot;DSP(PC)&amp;quot;, color = &amp;quot;#FF033E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF8000&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party of Greece&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;Yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Radical Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Unionist Party&amp;quot;] = {abbrev = &amp;quot;DSUP&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialists &#039;70&amp;quot;] = {abbrev = &amp;quot;DS&#039;70&amp;quot;, color = &amp;quot;#A21756&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialists of America&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EB2128&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#74C365&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Congress&amp;quot;] = {abbrev = &amp;quot;DTK&amp;quot;, color = &amp;quot;#029E4A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Party&amp;quot;] = {abbrev = &amp;quot;DTP&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Party (Morocco)&amp;quot;] = {abbrev = &amp;quot;PSD&amp;quot;, color = &amp;quot;#FDD86D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic swaraj party&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Tamil National Alliance&amp;quot;] = {abbrev = &amp;quot;DTNA&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Tumu Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C8102E&amp;quot;, shortname = &amp;quot;Democratic Tumu&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Turkish Union of Romania&amp;quot;] = {abbrev = &amp;quot;RDTB&amp;quot;, color = &amp;quot;#E30A17&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unification Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#c93&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Unification&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unification Party&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#FEF100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Czech Republic)&amp;quot;] = {abbrev = &amp;quot;DEU&amp;quot;, color = &amp;quot;#6D051C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Greece)&amp;quot;] = {abbrev = &amp;quot;DE&amp;quot;, color = &amp;quot;#FFC0CB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Greece, 1956)&amp;quot;] = {abbrev = &amp;quot;DE&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Guatemala)&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#4fadea&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Israel)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#029A3D&amp;quot;, shortname = &amp;quot;Democratic Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Bosnia and Herzegovina)&amp;quot;] = {abbrev = &amp;quot;DEMOS&amp;quot;, color = &amp;quot;#ED1C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Poland)&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#DB812E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Coalition (1996–2000)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#074DA9&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for Integration&amp;quot;] = {abbrev = &amp;quot;BDI&amp;quot;, color = &amp;quot;#344b9b&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for Revival&amp;quot;] = {abbrev = &amp;quot;DAK&amp;quot;, color = &amp;quot;#1F2563&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for the Respect of Labour&amp;quot;] = {abbrev = &amp;quot;UDRT/RAD&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for the Republic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Albanians&amp;quot;] = {abbrev = &amp;quot;UDSH&amp;quot;, color = &amp;quot;#E65532&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0053A1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Croats&amp;quot;] = {abbrev = &amp;quot;DZH&amp;quot;, color = &amp;quot;#E5111D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Hungarians in Romania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#15803C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Hungarians of Croatia&amp;quot;] = {abbrev = &amp;quot;DZMH&amp;quot;, color = &amp;quot;#15803C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovakia&amp;quot;] = {abbrev = &amp;quot;DEÚS&amp;quot;, color = &amp;quot;#007BA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovaks and Czechs of Romania&amp;quot;] = {abbrev = &amp;quot;UDSCR&amp;quot;, color = &amp;quot;#1136F2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Taiwan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9826&amp;quot;, shortname = &amp;quot;Democratic Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Malian People&amp;quot;] = {abbrev = &amp;quot;UDPM&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Region of Murcia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#039C06&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Rwandan People&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#344EA3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Vlachs of Macedonia&amp;quot;] = {abbrev = &amp;quot;DSVM&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Turkic-Muslim Tatars of Romania&amp;quot;] = {abbrev = &amp;quot;RMTTDB&amp;quot;, color = &amp;quot;#E4E700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PDU&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Party (Syria)&amp;quot;] = {abbrev = &amp;quot;PYD&amp;quot;, color = &amp;quot;#F70302&amp;quot;, shortname = &amp;quot;Democratic Union Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union–Broad Centre&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F6643D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unionist Party&amp;quot;] = {abbrev = &amp;quot;DUP&amp;quot;, color = &amp;quot;#D46A4C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unionist Party (Sudan)&amp;quot;] = {abbrev = &amp;quot;DUP&amp;quot;, color = &amp;quot;#00A6EF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic United National Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic United Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FAC71A&amp;quot;, shortname = &amp;quot;Democratic United&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F8A718&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity Roundtable&amp;quot;] = {abbrev = &amp;quot;MUD&amp;quot;, color = &amp;quot;#0F52BA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Way (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFAE00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Way Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87a1fe&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Women&#039;s League of Germany&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3d61d6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic – Neutral – Authentic&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#2C2D84&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Independent Party (North Dakota)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#66CCFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3333FF&amp;quot;, shortname = &amp;quot;Democratic-People&#039;s&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Adams)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#68C468&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Jackson)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#698DC5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Crawford)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9955&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (1844)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#808000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Democratic-Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Social Movement (Poland)&amp;quot;] = {abbrev = &amp;quot;RDS&amp;quot;, color = &amp;quot;#FAAA49&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic/Country coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6495ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic/Hold&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EEF6FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Brazil)&amp;quot;] = {abbrev = &amp;quot;DEM&amp;quot;, color = &amp;quot;#8CC63E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DA1764&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Croatia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#B00F1F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greece, 2009)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6D85CB&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greece, 2024)&amp;quot;] = {abbrev = &amp;quot;Democrats&amp;quot;, color = &amp;quot;#011689&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greenland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#152D49&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Slovakia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#50168E&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Slovenia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#09115e&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats 66&amp;quot;] = {abbrev = &amp;quot;D66&amp;quot;, color = &amp;quot;#00AE41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats and Veterans&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for a Strong Bulgaria&amp;quot;] = {abbrev = &amp;quot;DSB&amp;quot;, color = &amp;quot;#02528A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Andorra&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#EA7A28&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Liechtenstein&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005EA8&amp;quot;, shortname = &amp;quot;DpL&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Responsibility, Solidarity and Tolerance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1A70B8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats of Catalonia&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#1375CE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats of the Left&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#C72F35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DEMOS (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DEMOS&amp;quot;, color = &amp;quot;#89CFF0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demos+&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F97D19&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demosisto&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#37C8B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demosistō&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#37C8B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denk (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00B7B2&amp;quot;, shortname = &amp;quot;Denk&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denmark Democrats&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4572F1&amp;quot;, shortname = &amp;quot;Denmark&amp;amp;nbsp;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denok Hiritar&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEF900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Der Wandel&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D32C0B&amp;quot;, shortname = &amp;quot;Wandel&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derekh Eretz (political faction)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#277EE5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derryn Hinch&#039;s Justice Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002F5D&amp;quot;, shortname = &amp;quot;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derwentside Independents&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9F009F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derzhava (Russian party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#959698&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derzhava (Ukrainian party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;Derzhava&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Des de Baix&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF7D00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desh Bhakt Party&amp;quot;] = {abbrev = &amp;quot;DBP&amp;quot;, color = &amp;quot;#B404AE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desire the Right Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0087DC&amp;quot;, shortname = &amp;quot;Desire the Right&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desiya Murpokku Dravida Kazhagam&amp;quot;] = {abbrev = &amp;quot;DMDK&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destiny New Zealand&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;Destiny&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destour&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7F1A03&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destourian Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;RebeccaPurple&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Determination and Justice&amp;quot;] = {abbrev = &amp;quot;OiP&amp;quot;, color = &amp;quot;#262757&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deutsche Mitte&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#284f8d&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deutsche Reichspartei&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8B4726&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Devana Parapura&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#98151b&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development and Peace (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6A287E&amp;quot;, shortname = &amp;quot;Flatto-Sharon&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F188F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development/For!&amp;quot;] = {abbrev = &amp;quot;AP!&amp;quot;, color = &amp;quot;#FFEC00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Devizes Guardians&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9A114F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dharmacracy Party&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#F46A26&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dharmacracy Party (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C8BCA7&amp;quot;, shortname = &amp;quot;Dharmacracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dhivehi Qaumee Party&amp;quot;] = {abbrev = &amp;quot;DQP&amp;quot;, color = &amp;quot;maroon&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dhivehi Rayyithunge Party&amp;quot;] = {abbrev = &amp;quot;DRP&amp;quot;, color = &amp;quot;#3F89C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Diàleg Republicà&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CD2E33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue – The Greens&#039; Party&amp;quot;] = {abbrev = &amp;quot;PZ&amp;quot;, color = &amp;quot;#39B54A&amp;quot;, shortname = &amp;quot;Dialogue&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue for Hungary&amp;quot;] = {abbrev = &amp;quot;PM&amp;quot;, color = &amp;quot;#3CB34D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D32270&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dibyojyoti Singh Deo&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DD4561&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die Linke&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BE3075&amp;quot;, shortname = &amp;quot;Linke&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die PARTEI&amp;quot;] = {abbrev = &amp;quot;PARTEI&amp;quot;, color = &amp;quot;#B5152B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die Urbane. Eine HipHop Partei&amp;quot;] = {abbrev = &amp;quot;du.&amp;quot;, color = &amp;quot;#E66346&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DierAnimal&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#148C8B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Different Cantabria&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#96D351&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Digital Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F36F21&amp;quot;, shortname = &amp;quot;Digital&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignidad Ahora&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC8431&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Charity&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#0BC3AD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform&amp;quot;] = {abbrev = &amp;quot;PPDA&amp;quot;, color = &amp;quot;#5E0C06&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform2022&amp;quot;] = {abbrev = &amp;quot;PPDA2022&amp;quot;, color = &amp;quot;#409FD9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3D7254&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#458241&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Now!&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (Algeria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Dignity&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (Egypt)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (South Australia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#69359C&amp;quot;, shortname = &amp;quot;Dignity&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dikwankwetla Party of South Africa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4B393B&amp;quot;, shortname = &amp;quot;Dikwankwetla Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dimasalang Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FC6A03&amp;quot;, shortname = &amp;quot;Dimasalang&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy (Peru)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy (Poland)&amp;quot;] = {abbrev = &amp;quot;DB&amp;quot;, color = &amp;quot;#3AD5C8&amp;quot;, shortname = &amp;quot;Direct Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy Ireland&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;Direct&amp;amp;nbsp;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy Party of New Zealand&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F28317&amp;quot;, shortname = &amp;quot;Direct&amp;amp;nbsp;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democratic Participation of Galicia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4FAECD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democrats (Sweden)&amp;quot;] = {abbrev = &amp;quot;DD&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Development Party&amp;quot;] = {abbrev = &amp;quot;DDP&amp;quot;, color = &amp;quot;#57A0D3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direction – Slovak Social Democracy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#d82222&amp;quot;, shortname = &amp;quot;Smer&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dissident Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#66CC99&amp;quot;, shortname = &amp;quot;Dissident Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dissident Radical Civic Union&amp;quot;] = {abbrev = &amp;quot;UCRD&amp;quot;, color = &amp;quot;#A52A2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dixiecrat&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9955&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Djathtas 1912&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#143560&amp;quot;, shortname = &amp;quot;Djathtas&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Djathtas për Zhvillim&amp;quot;] = {abbrev = &amp;quot;DZh&amp;quot;, color = &amp;quot;#542d52&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DK–MSZP–Dialogue Alliance&amp;quot;] = {abbrev = &amp;quot;DK–MSZP–P&amp;quot;, color = &amp;quot;#0171BB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Don&#039;t Let Belgrade Drown&amp;quot;] = {abbrev = &amp;quot;NDB&amp;quot;, color = &amp;quot;#276030&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Doctrinaires&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Domani Motus Liberi&amp;quot;] = {abbrev = &amp;quot;DML&amp;quot;, color = &amp;quot;#039ADA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōmei Seisha&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#825C8C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica Freedom Party&amp;quot;] = {abbrev = &amp;quot;DFP&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica Labour Party&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#F0001C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica United People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Communist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE2029&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Humanist Party&amp;quot;] = {abbrev = &amp;quot;DHP&amp;quot;, color = &amp;quot;#FFEF52&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Liberation Party&amp;quot;] = {abbrev = &amp;quot;PLD&amp;quot;, color = &amp;quot;#870B9C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#964B00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Revolutionary Party&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#009EFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominicans for Change&amp;quot;] = {abbrev = &amp;quot;PDC&amp;quot;, color = &amp;quot;#12e3ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Labor Party (Alberta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;transparent&amp;quot;, shortname = &amp;quot;Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Party (South Africa)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#50C878&amp;quot;, shortname = &amp;quot;Dominion&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Dominion&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DOMOV&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C63B28&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Donegal Progressive Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;Donegal Progressive Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Donetsk Republic (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005087&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Doordarshi Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00FF99&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dor (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#409199&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōshi Club (1900s)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0018ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōshi Seisha&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4D5269&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dovira&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1A9DAA&amp;quot;, shortname = &amp;quot;Dovira&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Downlands Resident Group&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DPS – A New Beginning&amp;quot;] = {abbrev = &amp;quot;DPS–NN&amp;quot;, color = &amp;quot;#0662AB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dr. A. P. J. Abdul Kalam&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB7099&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dr. Ansay Party&amp;quot;] = {abbrev = &amp;quot;DrA&amp;quot;, color = &amp;quot;#15E4C9&amp;quot;, shortname = &amp;quot;Ansay Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Drago Project&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#232323&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Drassi&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#f37021&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dravida Munnetra Kazhagam&amp;quot;] = {abbrev = &amp;quot;DMK&amp;quot;, color = &amp;quot;#FF0D0D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Droa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#231F20&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Chirwang Tshogpa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FCB116&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Nyamrup Tshogpa&amp;quot;] = {abbrev = &amp;quot;DNT&amp;quot;, color = &amp;quot;#F9C6D9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Phuensum Tshogpa&amp;quot;] = {abbrev = &amp;quot;DPT&amp;quot;, color = &amp;quot;#E48400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Thuendrel Tshogpa&amp;quot;] = {abbrev = &amp;quot;DTT&amp;quot;, color = &amp;quot;#4a85c4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dublin Trades Council&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Duma Polska&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E04A4B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dutch People&#039;s Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Duterte Youth&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#60a2ec&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DuterTen&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#015420&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dveri&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E32636&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dynastic Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5FA082&amp;quot;, shortname = &amp;quot;Leftist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Džemijet&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	full = full,&lt;br /&gt;
	alternate = alternate,&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Political_party/D&amp;diff=78</id>
		<title>Module:Political party/D</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Political_party/D&amp;diff=78"/>
		<updated>2025-08-04T18:09:09Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- Constant data used by [[Module:Political party]]&lt;br /&gt;
&lt;br /&gt;
local alternate = {&lt;br /&gt;
	[&amp;quot;Direct Democracy New Zealand&amp;quot;] = &amp;quot;Direct Democracy Party of New Zealand&amp;quot;,&lt;br /&gt;
	[&amp;quot;DAB&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;DABHK&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;Delaware Democratic Party&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Demócrata Party&amp;quot;] = &amp;quot;Democrata Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Agrarian Party of Moldova&amp;quot;] = &amp;quot;Agrarian Party of Moldova&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Alliance for the Betterment of Hong Kong&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Popular Union&amp;quot;] = &amp;quot;Democratic and Popular Unity&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre – People&#039;s Party&amp;quot;] = &amp;quot;CDS – People&#039;s Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre – People´s Party&amp;quot;] = &amp;quot;CDS – People&#039;s Party&amp;quot;, -- acute accent difference&lt;br /&gt;
	[&amp;quot;Democratic Awakening&amp;quot;] = &amp;quot;Democratic Beginning&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Center Party of Latvia&amp;quot;] = &amp;quot;Democratic Party \&amp;quot;Saimnieks\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Centre Union (Greece)&amp;quot;] = &amp;quot;Centre Union&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Coalition&amp;quot;] = &amp;quot;Democratic Coalition (Hungary)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front (France)&amp;quot;] = &amp;quot;Democratic Movement (France)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front for the Reunification of the Fatherland&amp;quot;] = &amp;quot;Democratic Front for the Reunification of Korea&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front of the Francophones&amp;quot;] = &amp;quot;DéFI&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Group&amp;quot;] = &amp;quot;Democratic Party (Luxembourg)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Group (Luxembourg)&amp;quot;] = &amp;quot;Democratic Party (Luxembourg)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK)&amp;quot;] = &amp;quot;Democratic Labour Party (UK, 1998)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party&amp;quot;] = &amp;quot;Lincoln Democratic Labour Association&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Australia, 1978)&amp;quot;] = &amp;quot;Democratic Labour Party (Australia, 1980)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Italy)&amp;quot;] = &amp;quot;Italian Democratic Liberal Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Modernist Pole&amp;quot;] = &amp;quot;Ettajdid Movement&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic National Alliance&amp;quot;] = &amp;quot;Democratic National Alliance (Sri Lanka)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Obedience Party&amp;quot;] = &amp;quot;Democratic Conviction&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party - demokraci.pl&amp;quot;] = &amp;quot;Democratic Party – demokraci.pl&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Burma)&amp;quot;] = &amp;quot;Democratic Party (Myanmar)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan)&amp;quot;] = &amp;quot;Democratic Party (Japan, 2016)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia)&amp;quot;] = &amp;quot;Democratic Party (Slovakia, 1989)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, historical)&amp;quot;] = &amp;quot;Democrat Party (Turkey, 1946–1961)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (US)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Alabama)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Alaska)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Arizona)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Arkansas)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (California)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Colorado)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Connecticut)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Delaware)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (East Timor)&amp;quot;] = &amp;quot;Democratic Party (Timor-Leste)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Georgia, US)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Guam)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Hawaii)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Idaho)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Illinois)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Iowa)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Maryland)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Massachusetts)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Michigan)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Missouri)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Nevada)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (New Mexico)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (New York)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (North Dakota)&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Northern Mariana Islands)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Pennsylvania)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Rhode Island)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Tajikistan)&amp;quot;] = &amp;quot;Democratic Party of Tajikistan&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, current)&amp;quot;] = &amp;quot;Democrat Party (Turkey, current)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Utah)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Vermont)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Virginia)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Washington State)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Washington)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (West Virginia)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Arkansas&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Connecticut&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Côte d&#039;Ivoire – African Democratic Rally&amp;quot;] = &amp;quot;Democratic Party of Ivory Coast – African Democratic Rally&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Georgia&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Guam&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Hawaii&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Illinois&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Japan (1996)&amp;quot;] = &amp;quot;Democratic Party (Japan, 1996)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Japan&amp;quot;] = &amp;quot;Democratic Party (Japan, 1998)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Korea&amp;quot;] = &amp;quot;Democratic Party (South Korea, 2015)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Minnesota&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of New Mexico&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Oregon&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of the Virgin Islands&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Virginia&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Wisconsin&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Patriots&#039; Movement&amp;quot;] = &amp;quot;Democratic Patriots&#039; Unified Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Portugal)&amp;quot;] = &amp;quot;Social Democratic Party (Portugal)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Liberation Front&amp;quot;] = &amp;quot;People&#039;s Liberation Organisation of Tamil Eelam&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Popular Party (Spain)&amp;quot;] = &amp;quot;People&#039;s Democratic Party (Spain)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Reforms Party (Azerbaijan)&amp;quot;] = &amp;quot;Democratic Reforms Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (Portugal)&amp;quot;] = &amp;quot;National Democratic Alternative (Portugal)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Nepal)&amp;quot;] = &amp;quot;Loktantrik Samajwadi Party, Nepal&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Turnhalle Alliance&amp;quot;] = &amp;quot;Popular Democratic Movement&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of the Greek Minority&amp;quot;] = &amp;quot;Omonoia (organization)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union&amp;quot;] = &amp;quot;Democratic Union (Poland)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Unity Coalition&amp;quot;] = &amp;quot;Unitary Democratic Coalition&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Workers&#039; Congress&amp;quot;] = &amp;quot;Democratic People&#039;s Front&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Farmer-Labor Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-NPL Party&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (United States)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (US)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Farmer–Labor Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Nonpartisan League Party (North Dakota)&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–NPL Party&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Republican Party (United States)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats (Norway)&amp;quot;] = &amp;quot;Norway Democrats&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats and Progressives&amp;quot;] = &amp;quot;Article One (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats for Social Credit&amp;quot;] = &amp;quot;New Zealand Democratic Party for Social Credit&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats in Norway&amp;quot;] = &amp;quot;Norway Democrats&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovaks and Czechs in Romania&amp;quot;] = &amp;quot;Democratic Union of Slovaks and Czechs of Romania&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of Turkish-Muslim Tatars of Romania&amp;quot;] = &amp;quot;Democratic Union of Turkic-Muslim Tatars of Romania&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats Union For Lithuania&amp;quot;] = &amp;quot;Union of Democrats \&amp;quot;For Lithuania\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats Union \&amp;quot;For Lithuania\&amp;quot;&amp;quot;] = &amp;quot;Union of Democrats \&amp;quot;For Lithuania\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Demokraatit&amp;quot;] = &amp;quot;Democrats (Greenland)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Denk (Dutch political party)&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DENK (political party)&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DENK&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Deutsche Rechtspartei&amp;quot;] = &amp;quot;German Right Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform Party&amp;quot;] = &amp;quot;Dignity and Truth Platform&amp;quot;,&lt;br /&gt;
	[&amp;quot;Direction – Social Democracy&amp;quot;] = &amp;quot;Direction – Slovak Social Democracy&amp;quot;,&lt;br /&gt;
	[&amp;quot;Direction (Slovakia)&amp;quot;] = &amp;quot;Direction – Slovak Social Democracy&amp;quot;,&lt;br /&gt;
	[&amp;quot;District of Columbia Democratic State Committee&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;District of Columbia Republican Party&amp;quot;] = &amp;quot;Republican Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dixiecrat Party (United States)&amp;quot;] = &amp;quot;Dixiecrat&amp;quot;,&lt;br /&gt;
	[&amp;quot;DK–MSZP–Dialogue&amp;quot;] = &amp;quot;DK–MSZP–Dialogue Alliance&amp;quot;,&lt;br /&gt;
	[&amp;quot;DMK&amp;quot;] = &amp;quot;Dravida Munnetra Kazhagam&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dodd Independent Party&amp;quot;] = &amp;quot;Independent (US)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DPHK&amp;quot;] = &amp;quot;Democratic Party (Hong Kong)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dutch Labour Party&amp;quot;] = &amp;quot;Labour Party (Netherlands)&amp;quot;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local full = {&lt;br /&gt;
	[&amp;quot;D.C. Statehood Green Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#17AA5C&amp;quot;, shortname = &amp;quot;DC Statehood Green&amp;quot;,},&lt;br /&gt;
	[&amp;quot;D.C. Statehood Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0BDA51&amp;quot;, shortname = &amp;quot;DC Statehood&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Da&#039;am Workers Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C60408&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dabalorivhuwa Patriotic Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF8000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dad, This is for You&amp;quot;] = {abbrev = &amp;quot;ĆOJZT&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dai Le and Frank Carbone Network&amp;quot;] = {abbrev = &amp;quot;DLFCN&amp;quot;, color = &amp;quot;#FF7F7F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Đại Việt National Socialist Party&amp;quot;] = {abbrev = &amp;quot;ĐVQXĐ&amp;quot;, color = &amp;quot;#DC143C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dagga Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#009245&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#91ADBC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Party&amp;quot;] = {abbrev = &amp;quot;PDD&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5CBB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Progressive Union&amp;quot;] = {abbrev = &amp;quot;UPD&amp;quot;, color = &amp;quot;#5CBB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Unity Party&amp;quot;] = {abbrev = &amp;quot;PDU&amp;quot;, color = &amp;quot;#D2691E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dainiin Club&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#587dab&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalija Orešković and People with a First and Last Name&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D11E60&amp;quot;, shortname = &amp;quot;DO i SIP&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Janajati Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Mazdoor Kisan Party&amp;quot;] = {abbrev = &amp;quot;DMKP&amp;quot;, color = &amp;quot;#A5CBFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Muslim Vikas Party&amp;quot;] = {abbrev = &amp;quot;DMVP&amp;quot;, color = &amp;quot;#293A03&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalmatian Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalmatian Action (2021)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#04369C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE1126&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FCD03B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Social Liberal Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#733280&amp;quot;, shortname = &amp;quot;Social Liberals&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Unity&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002366&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Davidson Faction&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E81B23&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn – National Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#004071&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn (Iceland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#eab943&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn (Russia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEB684&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn of Direct Democracy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A2D945&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn of Nemunas&amp;quot;] = {abbrev = &amp;quot;PPNA&amp;quot;, color = &amp;quot;#F25D23&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dayak Unity Party&amp;quot;] = {abbrev = &amp;quot;PPD&amp;quot;, color = &amp;quot;#0093dd&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Daylight Saving&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFD7A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Daylight Saving Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFD7A&amp;quot;, shortname = &amp;quot;Daylight Savings&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DCIDE&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3B9F40&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;De Basis&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDC05&amp;quot;, shortname = &amp;quot;Basis&amp;quot;,},&lt;br /&gt;
	[&amp;quot;De Nou Reus&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5CBACC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Death to the System (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0A0A0A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deák Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AAD8E6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout la France&amp;quot;] = {abbrev = &amp;quot;DLF&amp;quot;, color = &amp;quot;#0087CD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout la République&amp;quot;] = {abbrev = &amp;quot;DLR&amp;quot;, color = &amp;quot;#8040C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout Les Belges!&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CA232B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decentralist Social Force Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#82BC1C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DecideT–EligeT&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#21297C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decidix&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DC4868&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decolonization and Social Emancipation Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AA0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Defense of the Andalusian People&#039;s Interests&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#40903B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DéFI&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DD0081&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Degel HaTorah&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3E3E3E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Degrowth Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BB0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Delhi Janata Party&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#CEF6EC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Delhi Poorvanchal Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#BCA9F5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deliberation Tsuen Wan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7CBECC&amp;quot;, shortname = &amp;quot;Deliberation TW&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demo-Social 12&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4D955D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demo-Social 60&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F58025&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demochristian Party of Albania&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EE82EE&amp;quot;, shortname = &amp;quot;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Autonomy&amp;quot;] = {abbrev = &amp;quot;DemA&amp;quot;, color = &amp;quot;#D6441D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F6BA1B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Freedom&amp;quot;] = {abbrev = &amp;quot;DiL&amp;quot;, color = &amp;quot;#212765&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Freedom (San Marino)&amp;quot;] = {abbrev = &amp;quot;DeL&amp;quot;, color = &amp;quot;#015FA8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Human Rights Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2E3492&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Progress Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0069A7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Solidarity Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F0046&amp;quot;, shortname = &amp;quot;Demos&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy at Home Party&amp;quot;] = {abbrev = &amp;quot;PPDA&amp;quot;, color = &amp;quot;#003399&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy First&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ff8c00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy for Chorley&amp;quot;] = {abbrev = &amp;quot;DfC&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Groundwork&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEED59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy in Europe Movement 2025&amp;quot;] = {abbrev = &amp;quot;DiEM25&amp;quot;, color = &amp;quot;#ec5122&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy in Motion&amp;quot;] = {abbrev = &amp;quot;DiB&amp;quot;, color = &amp;quot;#263d80&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy is Freedom – The Daisy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3CB371&amp;quot;, shortname = &amp;quot;The Daisy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DemocracyNZ&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#30B6C1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Power Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BC1D2D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Yes&amp;quot;] = {abbrev = &amp;quot;DSÍ&amp;quot;, color = &amp;quot;#CE3977&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Development through Unity&amp;quot;] = {abbrev = &amp;quot;DOE&amp;quot;, color = &amp;quot;#C8ED69&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy, Citizenry and Republic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FCDB10&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E3431F&amp;quot;, shortname = &amp;quot;Democrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00A1F1&amp;quot;, shortname = &amp;quot;Democrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Turkey, 1946–1961)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#CD42B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Turkey, current)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#D360BC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party of Iran&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#093&amp;quot;, shortname = &amp;quot;Democrat Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Social Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4CBB17&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Turkey Party&amp;quot;] = {abbrev = &amp;quot;DTP&amp;quot;, color = &amp;quot;#DA7766&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrata Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1434A4&amp;quot;, shortname = &amp;quot;Democrata&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Accountants&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#47954E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (El Salvador)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#F95400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BA55D3&amp;quot;, shortname = &amp;quot;Democratic Action&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (Venezuela)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;Democratic Action&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Congress&amp;quot;] = {abbrev = &amp;quot;DAC&amp;quot;, color = &amp;quot;#aa00d4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party (Kenya)&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#313691&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3E4E3E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#ED1C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Agrarian Party of Romania&amp;quot;] = {abbrev = &amp;quot;PDAR&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alignment (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIPA&amp;quot;, color = &amp;quot;#00AEEF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alignment (2015)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2D902D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Bulgaria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gray&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (France)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#FFBF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Greece)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6D85CB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Guinea-Bissau)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#228B22&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (New Zealand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFE802&amp;quot;, shortname = &amp;quot;Democratic Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Philippines)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#DC143C&amp;quot;, shortname = &amp;quot;Democratic Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal, 1979)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal, 2024)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#3777BC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (South Africa)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#005BA6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Ukraine)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#193695&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Venezuela)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#0F52BA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Diversity and Awakening&amp;quot;] = {abbrev = &amp;quot;DAVA&amp;quot;, color = &amp;quot;#078E92&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Korea&amp;quot;] = {abbrev = &amp;quot;DAK&amp;quot;, color = &amp;quot;#152484&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Niger&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#337585&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Peace&amp;quot;] = {abbrev = &amp;quot;ADP-MALIBA&amp;quot;, color = &amp;quot;#8D6800&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;] = {abbrev = &amp;quot;DAB&amp;quot;, color = &amp;quot;#1861AC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Croats in Vojvodina&amp;quot;] = {abbrev = &amp;quot;DSHV&amp;quot;, color = &amp;quot;#EE1C25&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Hungarians in Romania&amp;quot;] = {abbrev = &amp;quot;UDMR&amp;quot;, color = &amp;quot;#00833e&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Serbs&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;#BC204B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Wales&amp;quot;] = {abbrev = &amp;quot;DAW&amp;quot;, color = &amp;quot;#CCCCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Albania)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#1369B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Solomon Islands)&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#68C76D&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Tunisia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;Salmon&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternation Pole&amp;quot;] = {abbrev = &amp;quot;Sawab–RAG&amp;quot;, color = &amp;quot;#EAC553&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative &#039;91&amp;quot;] = {abbrev = &amp;quot;DA&#039;91&amp;quot;, color = &amp;quot;#FFF212&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9ACD32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Finland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF4D00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Malta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7AC143&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (North Macedonia)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Serbia)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#FA8383&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF7619&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Angola – Coalition&amp;quot;] = {abbrev = &amp;quot;AD–C&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;AD–Coligação&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Independent Cape Verdean Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0066ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Popular Unity&amp;quot;] = {abbrev = &amp;quot;UDP&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Progressive Union&amp;quot;] = {abbrev = &amp;quot;UDP/DPU&amp;quot;, color = &amp;quot;#DAA520&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Republican Alliance&amp;quot;] = {abbrev = &amp;quot;ADERE&amp;quot;, color = &amp;quot;#1935D0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Republican Union&amp;quot;] = {abbrev = &amp;quot;URD&amp;quot;, color = &amp;quot;#24445c&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre (Spain)&amp;quot;] = {abbrev = &amp;quot;CDS&amp;quot;, color = &amp;quot;#049456&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Convention&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#679A6C&amp;quot;, shortname = &amp;quot;CDS-Rahama&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Left&amp;quot;] = {abbrev = &amp;quot;GDS&amp;quot;, color = &amp;quot;#EF3034&amp;quot;, shortname = &amp;quot;&amp;quot;},&lt;br /&gt;
	[&amp;quot;Democratic and Social Movement (Algeria)&amp;quot;] = {abbrev = &amp;quot;MDS&amp;quot;, color = &amp;quot;#006FB6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Movement (Morocco)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9AAD35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Socialist Party for Alternation&amp;quot;] = {abbrev = &amp;quot;PDSA&amp;quot;, color = &amp;quot;#4c9bed&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Party of Ceuta&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#29806D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Republican Party&amp;quot;] = {abbrev = &amp;quot;PRDS&amp;quot;, color = &amp;quot;#981C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Ribat Party&amp;quot;] = {abbrev = &amp;quot;RDS&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Socialist Union of the Resistance&amp;quot;] = {abbrev = &amp;quot;UDSR&amp;quot;, color = &amp;quot;#EF5327&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Arab Socialist Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Ashkali Party of Kosovo&amp;quot;] = {abbrev = &amp;quot;PDAK&amp;quot;, color = &amp;quot;#01B965&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Axe&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#84171C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Azad Party&amp;quot;] = {abbrev = &amp;quot;DPAP&amp;quot;, color = &amp;quot;#FEF01E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Beginning&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc (Poland)&amp;quot;] = {abbrev = &amp;quot;BD&amp;quot;, color = &amp;quot;#F02F2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc (Ukraine)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0087DC&amp;quot;, shortname = &amp;quot;Democratic Bloc&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bulgaria&amp;quot;] = {abbrev = &amp;quot;DB&amp;quot;, color = &amp;quot;#004A80&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Center (Colombia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Center&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Center (Ecuador)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#FF4500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre of Macau&amp;quot;] = {abbrev = &amp;quot;CDM&amp;quot;, color = &amp;quot;#DD0000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Croatia)&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#006bb3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (France)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#00CCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Italy, 2013)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E86055&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Latvia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;Democratic Centre&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Serbia)&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#FFFF99&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4CB034&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (El Salvador)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (Panama)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#2A889B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (South Sudan)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FB2026&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice (Dominican Republic)&amp;quot;] = {abbrev = &amp;quot;OD&amp;quot;, color = &amp;quot;#503123&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice (Russia, 2010)&amp;quot;] = {abbrev = &amp;quot;DemChoice&amp;quot;, color = &amp;quot;#1C3F94&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Kazakhstan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0083cd&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Russia – United Democrats&amp;quot;] = {abbrev = &amp;quot;DVR–OD&amp;quot;, color = &amp;quot;#3A46CE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Russia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#29166F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition (Hungary)&amp;quot;] = {abbrev = &amp;quot;DK&amp;quot;, color = &amp;quot;#0067AA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition (Spain)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#8E9629&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition for DC Election&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D38D4F&amp;quot;, shortname = &amp;quot;Democratic Coalition&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Committee of Human Rights&amp;quot;] = {abbrev = &amp;quot;DCHR&amp;quot;, color = &amp;quot;#691F6C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Community of Welfare and Freedom&amp;quot;] = {abbrev = &amp;quot;JESZ&amp;quot;, color = &amp;quot;#80BB3D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Confederation of Labour (Morocco)&amp;quot;] = {abbrev = &amp;quot;CDT&amp;quot;, color = &amp;quot;#020202&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Congress&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#B70002&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Congress Kerala&amp;quot;] = {abbrev = &amp;quot;DCK&amp;quot;, color = &amp;quot;#008080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Consent–Republican Party&amp;quot;] = {abbrev = &amp;quot;ID–PR&amp;quot;, color = &amp;quot;#317C41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conservative Party&amp;quot;] = {abbrev = &amp;quot;PCD&amp;quot;, color = &amp;quot;#397a42&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conservative Party (Syria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DF0611&amp;quot;, shortname = &amp;quot;Democratic Conservative Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Constitutional Rally&amp;quot;] = {abbrev = &amp;quot;RCD&amp;quot;, color = &amp;quot;FireBrick&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convention of African Peoples&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convention of Moldova&amp;quot;] = {abbrev = &amp;quot;CDM&amp;quot;, color = &amp;quot;#0061D4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1e90ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence (El Salvador)&amp;quot;] = {abbrev = &amp;quot;CVD&amp;quot;, color = &amp;quot;#DC241F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence of Catalonia&amp;quot;] = {abbrev = &amp;quot;CDC&amp;quot;, color = &amp;quot;#232D7B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence Party (Guinea-Bissau)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0099FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence Party (São Tomé and Príncipe)&amp;quot;] = {abbrev = &amp;quot;PCD-GR&amp;quot;, color = &amp;quot;#1102DE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conviction&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0098D8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Current&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FE6500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Development Forum&amp;quot;] = {abbrev = &amp;quot;FDD&amp;quot;, color = &amp;quot;#F0F040&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Development Party&amp;quot;] = {abbrev = &amp;quot;DDP&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Electoral Commission&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;darkred&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic European Force&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00CCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Farmers&#039; Party of Germany&amp;quot;] = {abbrev = &amp;quot;DBD&amp;quot;, color = &amp;quot;#006600&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Fellowship of Vojvodina Hungarians&amp;quot;] = {abbrev = &amp;quot;VMDK&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;PFD&amp;quot;, color = &amp;quot;#EB6109&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force (France)&amp;quot;] = {abbrev = &amp;quot;FD&amp;quot;, color = &amp;quot;#003366&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CA3634&amp;quot;, shortname = &amp;quot;Democratic Force&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forces of Guiana&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A71585&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1C5530&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum for Labour and Liberties&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#660000&amp;quot;, shortname = &amp;quot;Ettakatol&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum for Modernity&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;purple&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum of Germans in Romania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AA2421&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Bosnia and Herzegovina)&amp;quot;] = {abbrev = &amp;quot;DF&amp;quot;, color = &amp;quot;#F16822&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIPA&amp;quot;, color = &amp;quot;#26ACE2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DF&amp;quot;, color = &amp;quot;#00008B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Peru)&amp;quot;] = {abbrev = &amp;quot;FREDEMO&amp;quot;, color = &amp;quot;#50a7f7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FE9059&amp;quot;, shortname = &amp;quot;Democratic Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front for the Liberation of Palestine&amp;quot;] = {abbrev = &amp;quot;DFLP&amp;quot;, color = &amp;quot;#D10A2B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front for the Reunification of Korea&amp;quot;] = {abbrev = &amp;quot;FF&amp;quot;, color = &amp;quot;#FF3333&amp;quot;, shortname = &amp;quot;Fatherland Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front of Albania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF4A2E&amp;quot;, shortname = &amp;quot;Democratic Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Galicianist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3886AC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Generation Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A9A5B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Green Party of Rwanda&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A2FD0B&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Green&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Groundwork&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEED59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
    [&amp;quot;Democratic Group for Integrity and Progress in the Philippines&amp;quot;] = {abbrev = &amp;quot;DGIPP&amp;quot;, color = &amp;quot;#496AB6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Group of Albacete&amp;quot;] = {abbrev = &amp;quot;ADA&amp;quot;, color = &amp;quot;#4F836A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Group of the Centre&amp;quot;] = {abbrev = &amp;quot;GDC&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Hope&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DE2118&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Hygiene&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4F6179&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independence Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AE872A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independent Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gold&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independent Regionalist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4A1C51&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Indira Congress (Karunakaran)&amp;quot;] = {abbrev = &amp;quot;DIC&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Initiative for Benalmádena&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#22305E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Innovation Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Israel&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0E0348&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Jewish Union&amp;quot;] = {abbrev = &amp;quot;ŽDS&amp;quot;, color = &amp;quot;#7F51C7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Justice Party&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#004C97&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Justice Party (1987)&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#0A84E9&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Korea Party&amp;quot;] = {abbrev = &amp;quot;DKP&amp;quot;, color = &amp;quot;#ED2939&amp;quot;, shortname = &amp;quot;Democratic Korea&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party (Australia, 1955)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#008080&amp;quot;, shortname = &amp;quot;Democratic Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#E7000A&amp;quot;, shortname = &amp;quot;Democratic Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9C00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Australia, 1980)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#EEAF30&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Barbados)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Brazil)&amp;quot;] = {abbrev = &amp;quot;PDT&amp;quot;, color = &amp;quot;#C21E56&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (New Zealand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Trinidad and Tobago)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#e25822&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK, 1972)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF6600&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK, 1998)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E32636&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party of Lithuania&amp;quot;] = {abbrev = &amp;quot;LDDP&amp;quot;, color = &amp;quot;#E75480&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League (Catalonia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002D70&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League in Montenegro&amp;quot;] = {abbrev = &amp;quot;DSCG&amp;quot;, color = &amp;quot;cornflowerblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League of Dardania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005CA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League of Kosovo&amp;quot;] = {abbrev = &amp;quot;LDK&amp;quot;, color = &amp;quot;#F37476&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League/Movement for the Labour Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E392B6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Ecuador)&amp;quot;] = {abbrev = &amp;quot;ID&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Greece)&amp;quot;] = {abbrev = &amp;quot;DIMAR&amp;quot;, color = &amp;quot;#FF4100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Ireland)&amp;quot;] = {abbrev = &amp;quot;DL&amp;quot;, color = &amp;quot;#C700C7&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (UK)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC0033&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Alliance – Labour Union&amp;quot;] = {abbrev = &amp;quot;SLD-UP&amp;quot;, color = &amp;quot;#CA2021&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Alliance (Poland)&amp;quot;] = {abbrev = &amp;quot;SLD&amp;quot;, color = &amp;quot;#E2001A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Association&amp;quot;] = {abbrev = &amp;quot;SLD&amp;quot;, color = &amp;quot;#e10914&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Front (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7F517C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Front (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;DLF&amp;quot;, color = &amp;quot;#F90818&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Movement (Lebanon)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left of Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFE507&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Party (Turkey)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#02CDFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Scotland&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC0033&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Leftwing Republican Party&amp;quot;] = {abbrev = &amp;quot;PRED&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Congress&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F70000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Timor-Leste)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2C43DB&amp;quot;, shortname = &amp;quot;Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Japan)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#42A46B&amp;quot;, shortname = &amp;quot;Democratic Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PDL&amp;quot;, color = &amp;quot;#FF9D1C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#003990&amp;quot;, shortname = &amp;quot;Democratic Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FDFF46&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List for Israeli Arabs&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List of Nazareth&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Majority (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0086D6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Montenegro&amp;quot;] = {abbrev = &amp;quot;DCG&amp;quot;, color = &amp;quot;#F5911D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement – United Georgia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0067A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (India)&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#92cfcf&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (France)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF5327&amp;quot;, shortname = &amp;quot;MoDem&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (San Marino)&amp;quot;] = {abbrev = &amp;quot;MD&amp;quot;, color = &amp;quot;#F80000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement for Change&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#253EFE&amp;quot;, shortname = &amp;quot;Dash&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement of Mozambique&amp;quot;] = {abbrev = &amp;quot;MDM&amp;quot;, color = &amp;quot;#FFA825&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement of Serbia&amp;quot;] = {abbrev = &amp;quot;DEPOS&amp;quot;, color = &amp;quot;#1A4A96&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Municipal Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF610F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nasserist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Antigua &amp;amp; Barbuda)&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#EB8123&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Bahamas)&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#419b41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CCCC33&amp;quot;, shortname = &amp;quot;Democratic National Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Assembly&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#add8e6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00008B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Convergence&amp;quot;] = {abbrev = &amp;quot;CDN&amp;quot;, color = &amp;quot;#76DAB4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Front Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BA0E00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EB6F53&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Initiative&amp;quot;] = {abbrev = &amp;quot;IDN&amp;quot;, color = &amp;quot;#FF00D4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Party (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DEK&amp;quot;, color = &amp;quot;#783B12&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Rally&amp;quot;] = {abbrev = &amp;quot;RND&amp;quot;, color = &amp;quot;#003153&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Salvation Front&amp;quot;] = {abbrev = &amp;quot;FDSN&amp;quot;, color = &amp;quot;#cc3333&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Union of Kurdistan&amp;quot;] = {abbrev = &amp;quot;YNDK&amp;quot;, color = &amp;quot;#d1342f&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (Malta, 1959–1966)&amp;quot;] = {abbrev = &amp;quot;PDN&amp;quot;, color = &amp;quot;#A02C2C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PND&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DNP&amp;quot;, color = &amp;quot;#9acd32&amp;quot;, shortname = &amp;quot;Democratic Nationalist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalists&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationhood Party&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;#054C30&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Network&amp;quot;] = {abbrev = &amp;quot;RED&amp;quot;, color = &amp;quot;white&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Non-Partisan Alliance&amp;quot;] = {abbrev = &amp;quot;DNPA&amp;quot;, color = &amp;quot;#FF0D6C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic New Macau Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Opposition of Serbia&amp;quot;] = {abbrev = &amp;quot;DOS&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Pact for Catalonia&amp;quot;] = {abbrev = &amp;quot;PDC&amp;quot;, color = &amp;quot;#FFC400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Partnership&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;khaki&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party – demokraci.pl&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (1912)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (1943)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6482BF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#192B6B&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Bolivia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DC4C46&amp;quot;, shortname= &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Brazil, 1925-1934)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#191198&amp;quot;, shortname= &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Bulgaria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gold&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cambodia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00FF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cook Islands)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2136C2&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cuba)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0000FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Curaçao)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E41E2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIKO&amp;quot;, color = &amp;quot;#E07C00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Timor-Leste)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#004080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Georgia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F8FBF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Hong Kong)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5FB04A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Hungary)&amp;quot;] = {abbrev = &amp;quot;DEMP&amp;quot;, color = &amp;quot;#1560BD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Iceland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#04437F&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Indonesia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2643A3&amp;quot;, shortname = &amp;quot;Demokrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF1C27&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1947)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC9502&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1954)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#99AF25&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1996)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E60000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1998)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE2029&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 2016)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#003E98&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Kenya)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#336600&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Laos)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFCD00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Luxembourg)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#002C4F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Macedonia)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#3016C8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Malta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Mendoza)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#192B6B&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Mongolia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#11479E&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#09B2ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Myanmar)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FFB00D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Nicaragua)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Northern Cyprus)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#E5382B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Peru)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF3333&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Philippines)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Poland)&amp;quot;] = {abbrev = &amp;quot;SD&amp;quot;, color = &amp;quot;#6495ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Portugal)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#FF69B4&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#FF6633&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Serbia)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#FFF500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Singapore)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#DD6777&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Sint Eustatius)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#C00000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (SL)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia, 1944)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#002FA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia, 1989)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#002FA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Solomon Islands)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFEB33&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Africa)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#6699CC&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1955)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#000080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1967)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FAA50D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1990)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#DA2C43&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1991)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#D82634&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1995)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#009D68&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2005)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#00736D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2008)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#019E33&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2011)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FAC71A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, May 2013)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#28A54A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, September 2013)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#015DA9&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2015)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#152484&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Switzerland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0B3861&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Tanzania)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, 1970)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#ffa500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, 1992)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#341D47&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Uganda)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#0C713A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (UK, 1942)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;lightyellow&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (UK, 1969)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ffffff&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (United States)&amp;quot;] = {abbrev = &amp;quot;D&amp;quot;, color = &amp;quot;#3333FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Yugoslavia)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#FFD300&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Zambia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ff338c&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party \&amp;quot;Saimnieks\&amp;quot;&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#861623&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party – Democratic and Progressive Italy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E30613&amp;quot;, shortname = &amp;quot;Democratic Party – IDP&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party Adilet&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0085fc&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party for a British Gibraltar&amp;quot;] = {abbrev = &amp;quot;DPBG&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party for Progress – Angolan National Alliance&amp;quot;] = {abbrev = &amp;quot;PDP–ANA&amp;quot;, color = &amp;quot;#009900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party For the People&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FFBA00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Albania&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#00529C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Albanians&amp;quot;] = {abbrev = &amp;quot;PDSh&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Armenia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC1B24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Artsakh&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0072B9&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Chile (1988)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Córdoba&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1F2F6B&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Equatorial Guinea&amp;quot;] = {abbrev = &amp;quot;PDGE&amp;quot;, color = &amp;quot;#3051A3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Greens&amp;quot;] = {abbrev = &amp;quot;DSZ&amp;quot;, color = &amp;quot;#007b33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Guinea – African Democratic Rally&amp;quot;] = {abbrev = &amp;quot;PDG-RDA&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of India (Ambedkar)&amp;quot;] = {abbrev = &amp;quot;DPIA (A)&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Iranian Kurdistan&amp;quot;] = {abbrev = &amp;quot;KDPI&amp;quot;, color = &amp;quot;#FC0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Ivory Coast – African Democratic Rally&amp;quot;] = {abbrev = &amp;quot;PDCI–RDA&amp;quot;, color = &amp;quot;#0FAF32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Kazakhstan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#01AEF3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Kosovo&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;#2E96D2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Labour&amp;quot;] = {abbrev = &amp;quot;PDM&amp;quot;, color = &amp;quot;#ED2128&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Lesotho&amp;quot;] = {abbrev = &amp;quot;DPL&amp;quot;, color = &amp;quot;#4c196e&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Macedonia&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Macedonians&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;#F7D10C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Moldova&amp;quot;] = {abbrev = &amp;quot;PDM&amp;quot;, color = &amp;quot;#264B9D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Nauru&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002B7F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Pensioners of Slovenia&amp;quot;] = {abbrev = &amp;quot;DeSUS&amp;quot;, color = &amp;quot;#8DC63F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Pensioners&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;grey&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Republika Srpska&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Russia&amp;quot;] = {abbrev = &amp;quot;DPR&amp;quot;, color = &amp;quot;#DBB726&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Serbia&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;#126180&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Serbs in Macedonia&amp;quot;] = {abbrev = &amp;quot;DPSM&amp;quot;, color = &amp;quot;#1101E0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Slovenia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3300B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Socialists of Montenegro (2021)&amp;quot;] = {abbrev = &amp;quot;DPS&amp;quot;, color = &amp;quot;#524FA1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Socialists of Montenegro&amp;quot;] = {abbrev = &amp;quot;DPS&amp;quot;, color = &amp;quot;#F58634&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Chadian People&amp;quot;] = {abbrev = &amp;quot;PDPT&amp;quot;, color = &amp;quot;#3b09e8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Atlantic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0000FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Friendly Islands&amp;quot;] = {abbrev = &amp;quot;DPFI&amp;quot;, color = &amp;quot;#C20100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Left&amp;quot;] = {abbrev = &amp;quot;PDS&amp;quot;, color = &amp;quot;#C72F35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the New Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FD3C0B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Philippines&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#0054A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Tajikistan&amp;quot;] = {abbrev = &amp;quot;DPT&amp;quot;, color = &amp;quot;#1E7B08&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Trinidad and Tobago&amp;quot;] = {abbrev = &amp;quot;DPTT&amp;quot;, color = &amp;quot;#2A3A8C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Turkmenistan&amp;quot;] = {abbrev = &amp;quot;TDP&amp;quot;, color = &amp;quot;#1CC858&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Turks&amp;quot;] = {abbrev = &amp;quot;DPTM&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Ukraine&amp;quot;] = {abbrev = &amp;quot;DPU&amp;quot;, color = &amp;quot;#025BAB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Vietnam&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0055A4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Vojvodina Hungarians&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5c7b59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Zagorje&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#70bd5d&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party Sint Maarten&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#e21c1a&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Patriotic Alliance of Kurdistan&amp;quot;] = {abbrev = &amp;quot;DPAK&amp;quot;, color = &amp;quot;#CCFF33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Patriots&#039; Unified Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D80100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Peace Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8DB7E9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Peasants&#039; Party–Lupu&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#B7D749&amp;quot;, shortname = &amp;quot;PȚD–Lupu&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People (Spain)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#5BB829&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Alliance&amp;quot;] = {abbrev = &amp;quot;DNS&amp;quot;, color = &amp;quot;#2B0E72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Front&amp;quot;] = {abbrev = &amp;quot;DPF&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Movement&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;#FF4500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Ghana)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#005DA3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (San Marino)&amp;quot;] = {abbrev = &amp;quot;PDP&amp;quot;, color = &amp;quot;#0068C1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#353F9C&amp;quot;, shortname = &amp;quot;Democratic People&#039;s&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Turkey)&amp;quot;] = {abbrev = &amp;quot;DHP&amp;quot;, color = &amp;quot;#437CCD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Union&amp;quot;] = {abbrev = &amp;quot;DNZ&amp;quot;, color = &amp;quot;#048AEB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#5AC2C5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Popular Movement&amp;quot;] = {abbrev = &amp;quot;SPD&amp;quot;, color = &amp;quot;#8a4e58&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progress Party&amp;quot;] = {abbrev = &amp;quot;DGP&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PDP&amp;quot;, color = &amp;quot;#005C9E&amp;quot;, shortname = &amp;quot;Democratic Progressive Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Austria)&amp;quot;] = {abbrev = &amp;quot;DFP&amp;quot;, color = &amp;quot;#FFE500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Malawi)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Singapore)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C92B7D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#1B9431&amp;quot;, shortname = &amp;quot;Democratic Progressive&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Prosperous Macau Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#006400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally of the Comorian People&amp;quot;] = {abbrev = &amp;quot;RDPC&amp;quot;, color = &amp;quot;#FFFFFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally of the Comoros&amp;quot;] = {abbrev = &amp;quot;RDC&amp;quot;, color = &amp;quot;#32CD32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally&amp;quot;] = {abbrev = &amp;quot;DISY&amp;quot;, color = &amp;quot;#1569C7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform Party (Japan)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;Democratic Reform&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform Party of Muslims&amp;quot;] = {abbrev = &amp;quot;DRSM&amp;quot;, color = &amp;quot;#74C365&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reformist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D13C21&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reforms Party&amp;quot;] = {abbrev = &amp;quot;DİP&amp;quot;, color = &amp;quot;#333399&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Regional Union&amp;quot;] = {abbrev = &amp;quot;DPE&amp;quot;, color = &amp;quot;darkorange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Regions Party&amp;quot;] = {abbrev = &amp;quot;DBP&amp;quot;, color = &amp;quot;#30A13E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal (Andorra)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal of Macedonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8DC73F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Angola)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#662531&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Brazil)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Benin)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#FFFA00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Cape Verde)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#02569F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Portugal)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal&amp;quot;] = {abbrev = &amp;quot;DIANA&amp;quot;, color = &amp;quot;#007FFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#2C93FB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renovation&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republic of Timor-Leste Party&amp;quot;] = {abbrev = &amp;quot;PDRT&amp;quot;, color = &amp;quot;#DE5D83&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#835B38&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Alliance&amp;quot;] = {abbrev = &amp;quot;ARD&amp;quot;, color = &amp;quot;#FFBF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (South Korea, 1997)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0D90D6&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Union&amp;quot;] = {abbrev = &amp;quot;URD&amp;quot;, color = &amp;quot;#feed01&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revival&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolution&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1D4C4F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Alliance (Bolivia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Front – New Alternative&amp;quot;] = {abbrev = &amp;quot;FDR&amp;quot;, color = &amp;quot;#1FA045&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Nationalist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#bb0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Party&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#003F87&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Peoples Party&amp;quot;] = {abbrev = &amp;quot;DRPP&amp;quot;, color = &amp;quot;#006400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rioja&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFF6F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Senate&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB64DB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Serb Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;Darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Christian Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#556627&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Front&amp;quot;] = {abbrev = &amp;quot;FDS&amp;quot;, color = &amp;quot;#009900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Justice Party&amp;quot;] = {abbrev = &amp;quot;DSJP&amp;quot;, color = &amp;quot;#A91B0D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Movement&amp;quot;] = {abbrev = &amp;quot;DIKKI&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Party&amp;quot;] = {abbrev = &amp;quot;PDS&amp;quot;, color = &amp;quot;#0067A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social-Revolutionary Party of Cuba&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D21F1B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialism (Chile)&amp;quot;] = {abbrev = &amp;quot;SD&amp;quot;, color = &amp;quot;#B7051F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Alliance (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EE3507&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC4E5C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Arab Ba&#039;ath Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#02AB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Coalition&amp;quot;] = {abbrev = &amp;quot;CSD&amp;quot;, color = &amp;quot;#00BFFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D2323A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PSD&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;Democratic Socialist Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Ireland)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#FF0099&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Japan)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#FF4F4F&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Morocco)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#188410&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Prabodh Chandra)&amp;quot;] = {abbrev = &amp;quot;DSP(PC)&amp;quot;, color = &amp;quot;#FF033E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF8000&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party of Greece&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;Yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Radical Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Unionist Party&amp;quot;] = {abbrev = &amp;quot;DSUP&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialists &#039;70&amp;quot;] = {abbrev = &amp;quot;DS&#039;70&amp;quot;, color = &amp;quot;#A21756&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialists of America&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EB2128&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#74C365&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Congress&amp;quot;] = {abbrev = &amp;quot;DTK&amp;quot;, color = &amp;quot;#029E4A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Party&amp;quot;] = {abbrev = &amp;quot;DTP&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Party (Morocco)&amp;quot;] = {abbrev = &amp;quot;PSD&amp;quot;, color = &amp;quot;#FDD86D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic swaraj party&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Tamil National Alliance&amp;quot;] = {abbrev = &amp;quot;DTNA&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Tumu Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C8102E&amp;quot;, shortname = &amp;quot;Democratic Tumu&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Turkish Union of Romania&amp;quot;] = {abbrev = &amp;quot;RDTB&amp;quot;, color = &amp;quot;#E30A17&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unification Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#c93&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Unification&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unification Party&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#FEF100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Czech Republic)&amp;quot;] = {abbrev = &amp;quot;DEU&amp;quot;, color = &amp;quot;#6D051C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Greece)&amp;quot;] = {abbrev = &amp;quot;DE&amp;quot;, color = &amp;quot;#FFC0CB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Greece, 1956)&amp;quot;] = {abbrev = &amp;quot;DE&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Guatemala)&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#4fadea&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Israel)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#029A3D&amp;quot;, shortname = &amp;quot;Democratic Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Bosnia and Herzegovina)&amp;quot;] = {abbrev = &amp;quot;DEMOS&amp;quot;, color = &amp;quot;#ED1C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Poland)&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#DB812E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Coalition (1996–2000)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#074DA9&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for Integration&amp;quot;] = {abbrev = &amp;quot;BDI&amp;quot;, color = &amp;quot;#344b9b&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for Revival&amp;quot;] = {abbrev = &amp;quot;DAK&amp;quot;, color = &amp;quot;#1F2563&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for the Respect of Labour&amp;quot;] = {abbrev = &amp;quot;UDRT/RAD&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for the Republic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Albanians&amp;quot;] = {abbrev = &amp;quot;UDSH&amp;quot;, color = &amp;quot;#E65532&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0053A1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Croats&amp;quot;] = {abbrev = &amp;quot;DZH&amp;quot;, color = &amp;quot;#E5111D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Hungarians in Romania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#15803C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Hungarians of Croatia&amp;quot;] = {abbrev = &amp;quot;DZMH&amp;quot;, color = &amp;quot;#15803C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovakia&amp;quot;] = {abbrev = &amp;quot;DEÚS&amp;quot;, color = &amp;quot;#007BA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovaks and Czechs of Romania&amp;quot;] = {abbrev = &amp;quot;UDSCR&amp;quot;, color = &amp;quot;#1136F2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Taiwan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9826&amp;quot;, shortname = &amp;quot;Democratic Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Malian People&amp;quot;] = {abbrev = &amp;quot;UDPM&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Region of Murcia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#039C06&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Rwandan People&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#344EA3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Vlachs of Macedonia&amp;quot;] = {abbrev = &amp;quot;DSVM&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Turkic-Muslim Tatars of Romania&amp;quot;] = {abbrev = &amp;quot;RMTTDB&amp;quot;, color = &amp;quot;#E4E700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PDU&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Party (Syria)&amp;quot;] = {abbrev = &amp;quot;PYD&amp;quot;, color = &amp;quot;#F70302&amp;quot;, shortname = &amp;quot;Democratic Union Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union–Broad Centre&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F6643D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unionist Party&amp;quot;] = {abbrev = &amp;quot;DUP&amp;quot;, color = &amp;quot;#D46A4C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unionist Party (Sudan)&amp;quot;] = {abbrev = &amp;quot;DUP&amp;quot;, color = &amp;quot;#00A6EF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic United National Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic United Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FAC71A&amp;quot;, shortname = &amp;quot;Democratic United&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F8A718&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity Roundtable&amp;quot;] = {abbrev = &amp;quot;MUD&amp;quot;, color = &amp;quot;#0F52BA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Way (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFAE00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Way Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87a1fe&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Women&#039;s League of Germany&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3d61d6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic – Neutral – Authentic&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#2C2D84&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Independent Party (North Dakota)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#66CCFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3333FF&amp;quot;, shortname = &amp;quot;Democratic-People&#039;s&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Adams)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#68C468&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Jackson)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#698DC5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Crawford)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9955&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (1844)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#808000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Democratic-Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Social Movement (Poland)&amp;quot;] = {abbrev = &amp;quot;RDS&amp;quot;, color = &amp;quot;#FAAA49&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic/Country coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6495ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic/Hold&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EEF6FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Brazil)&amp;quot;] = {abbrev = &amp;quot;DEM&amp;quot;, color = &amp;quot;#8CC63E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DA1764&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Croatia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#B00F1F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greece, 2009)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6D85CB&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greece, 2024)&amp;quot;] = {abbrev = &amp;quot;Democrats&amp;quot;, color = &amp;quot;#011689&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greenland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#152D49&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Slovakia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#50168E&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Slovenia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#09115e&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats 66&amp;quot;] = {abbrev = &amp;quot;D66&amp;quot;, color = &amp;quot;#00AE41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats and Veterans&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for a Strong Bulgaria&amp;quot;] = {abbrev = &amp;quot;DSB&amp;quot;, color = &amp;quot;#02528A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Andorra&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#EA7A28&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Liechtenstein&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005EA8&amp;quot;, shortname = &amp;quot;DpL&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Responsibility, Solidarity and Tolerance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1A70B8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats of Catalonia&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#1375CE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats of the Left&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#C72F35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DEMOS (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DEMOS&amp;quot;, color = &amp;quot;#89CFF0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demos+&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F97D19&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demosisto&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#37C8B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demosistō&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#37C8B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denk (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00B7B2&amp;quot;, shortname = &amp;quot;Denk&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denmark Democrats&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4572F1&amp;quot;, shortname = &amp;quot;Denmark&amp;amp;nbsp;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denok Hiritar&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEF900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Der Wandel&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D32C0B&amp;quot;, shortname = &amp;quot;Wandel&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derekh Eretz (political faction)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#277EE5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derryn Hinch&#039;s Justice Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002F5D&amp;quot;, shortname = &amp;quot;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derwentside Independents&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9F009F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derzhava (Russian party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#959698&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derzhava (Ukrainian party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;Derzhava&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Des de Baix&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF7D00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desh Bhakt Party&amp;quot;] = {abbrev = &amp;quot;DBP&amp;quot;, color = &amp;quot;#B404AE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desire the Right Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0087DC&amp;quot;, shortname = &amp;quot;Desire the Right&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desiya Murpokku Dravida Kazhagam&amp;quot;] = {abbrev = &amp;quot;DMDK&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destiny New Zealand&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;Destiny&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destour&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7F1A03&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destourian Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;RebeccaPurple&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Determination and Justice&amp;quot;] = {abbrev = &amp;quot;OiP&amp;quot;, color = &amp;quot;#262757&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deutsche Mitte&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#284f8d&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deutsche Reichspartei&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8B4726&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Devana Parapura&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#98151b&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development and Peace (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6A287E&amp;quot;, shortname = &amp;quot;Flatto-Sharon&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F188F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development/For!&amp;quot;] = {abbrev = &amp;quot;AP!&amp;quot;, color = &amp;quot;#FFEC00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Devizes Guardians&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9A114F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dharmacracy Party&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#F46A26&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dharmacracy Party (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C8BCA7&amp;quot;, shortname = &amp;quot;Dharmacracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dhivehi Qaumee Party&amp;quot;] = {abbrev = &amp;quot;DQP&amp;quot;, color = &amp;quot;maroon&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dhivehi Rayyithunge Party&amp;quot;] = {abbrev = &amp;quot;DRP&amp;quot;, color = &amp;quot;#3F89C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Diàleg Republicà&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CD2E33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue – The Greens&#039; Party&amp;quot;] = {abbrev = &amp;quot;PZ&amp;quot;, color = &amp;quot;#39B54A&amp;quot;, shortname = &amp;quot;Dialogue&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue for Hungary&amp;quot;] = {abbrev = &amp;quot;PM&amp;quot;, color = &amp;quot;#3CB34D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D32270&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dibyojyoti Singh Deo&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DD4561&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die Linke&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BE3075&amp;quot;, shortname = &amp;quot;Linke&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die PARTEI&amp;quot;] = {abbrev = &amp;quot;PARTEI&amp;quot;, color = &amp;quot;#B5152B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die Urbane. Eine HipHop Partei&amp;quot;] = {abbrev = &amp;quot;du.&amp;quot;, color = &amp;quot;#E66346&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DierAnimal&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#148C8B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Different Cantabria&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#96D351&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Digital Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F36F21&amp;quot;, shortname = &amp;quot;Digital&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignidad Ahora&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC8431&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Charity&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#0BC3AD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform&amp;quot;] = {abbrev = &amp;quot;PPDA&amp;quot;, color = &amp;quot;#5E0C06&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform2022&amp;quot;] = {abbrev = &amp;quot;PPDA2022&amp;quot;, color = &amp;quot;#409FD9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3D7254&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#458241&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Now!&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (Algeria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Dignity&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (Egypt)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (South Australia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#69359C&amp;quot;, shortname = &amp;quot;Dignity&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dikwankwetla Party of South Africa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4B393B&amp;quot;, shortname = &amp;quot;Dikwankwetla Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dimasalang Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FC6A03&amp;quot;, shortname = &amp;quot;Dimasalang&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy (Peru)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy (Poland)&amp;quot;] = {abbrev = &amp;quot;DB&amp;quot;, color = &amp;quot;#3AD5C8&amp;quot;, shortname = &amp;quot;Direct Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy Ireland&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;Direct&amp;amp;nbsp;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy Party of New Zealand&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F28317&amp;quot;, shortname = &amp;quot;Direct&amp;amp;nbsp;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democratic Participation of Galicia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4FAECD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democrats (Sweden)&amp;quot;] = {abbrev = &amp;quot;DD&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Development Party&amp;quot;] = {abbrev = &amp;quot;DDP&amp;quot;, color = &amp;quot;#57A0D3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direction – Slovak Social Democracy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#d82222&amp;quot;, shortname = &amp;quot;Smer&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dissident Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#66CC99&amp;quot;, shortname = &amp;quot;Dissident Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dissident Radical Civic Union&amp;quot;] = {abbrev = &amp;quot;UCRD&amp;quot;, color = &amp;quot;#A52A2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dixiecrat&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9955&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Djathtas 1912&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#143560&amp;quot;, shortname = &amp;quot;Djathtas&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Djathtas për Zhvillim&amp;quot;] = {abbrev = &amp;quot;DZh&amp;quot;, color = &amp;quot;#542d52&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DK–MSZP–Dialogue Alliance&amp;quot;] = {abbrev = &amp;quot;DK–MSZP–P&amp;quot;, color = &amp;quot;#0171BB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Don&#039;t Let Belgrade Drown&amp;quot;] = {abbrev = &amp;quot;NDB&amp;quot;, color = &amp;quot;#276030&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Doctrinaires&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Domani Motus Liberi&amp;quot;] = {abbrev = &amp;quot;DML&amp;quot;, color = &amp;quot;#039ADA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōmei Seisha&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#825C8C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica Freedom Party&amp;quot;] = {abbrev = &amp;quot;DFP&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica Labour Party&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#F0001C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica United People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Communist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE2029&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Humanist Party&amp;quot;] = {abbrev = &amp;quot;DHP&amp;quot;, color = &amp;quot;#FFEF52&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Liberation Party&amp;quot;] = {abbrev = &amp;quot;PLD&amp;quot;, color = &amp;quot;#870B9C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#964B00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Revolutionary Party&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#009EFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominicans for Change&amp;quot;] = {abbrev = &amp;quot;PDC&amp;quot;, color = &amp;quot;#12e3ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Labor Party (Alberta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;transparent&amp;quot;, shortname = &amp;quot;Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Party (South Africa)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#50C878&amp;quot;, shortname = &amp;quot;Dominion&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Dominion&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DOMOV&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C63B28&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Donegal Progressive Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;Donegal Progressive Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Donetsk Republic (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005087&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Doordarshi Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00FF99&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dor (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#409199&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōshi Club (1900s)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0018ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōshi Seisha&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4D5269&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dovira&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1A9DAA&amp;quot;, shortname = &amp;quot;Dovira&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Downlands Resident Group&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DPS – A New Beginning&amp;quot;] = {abbrev = &amp;quot;DPS–NN&amp;quot;, color = &amp;quot;#0662AB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dr. A. P. J. Abdul Kalam&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB7099&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dr. Ansay Party&amp;quot;] = {abbrev = &amp;quot;DrA&amp;quot;, color = &amp;quot;#15E4C9&amp;quot;, shortname = &amp;quot;Ansay Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Drago Project&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#232323&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Drassi&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#f37021&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dravida Munnetra Kazhagam&amp;quot;] = {abbrev = &amp;quot;DMK&amp;quot;, color = &amp;quot;#FF0D0D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Droa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#231F20&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Chirwang Tshogpa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FCB116&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Nyamrup Tshogpa&amp;quot;] = {abbrev = &amp;quot;DNT&amp;quot;, color = &amp;quot;#F9C6D9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Phuensum Tshogpa&amp;quot;] = {abbrev = &amp;quot;DPT&amp;quot;, color = &amp;quot;#E48400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Thuendrel Tshogpa&amp;quot;] = {abbrev = &amp;quot;DTT&amp;quot;, color = &amp;quot;#4a85c4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dublin Trades Council&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Duma Polska&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E04A4B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dutch People&#039;s Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Duterte Youth&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#60a2ec&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DuterTen&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#015420&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dveri&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E32636&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dynastic Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5FA082&amp;quot;, shortname = &amp;quot;Leftist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Džemijet&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	full = &amp;quot;w:&amp;quot; + full,&lt;br /&gt;
	alternate = alternate,&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Political_party/D&amp;diff=77</id>
		<title>Module:Political party/D</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Political_party/D&amp;diff=77"/>
		<updated>2025-08-04T18:08:55Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- Constant data used by [[Module:Political party]]&lt;br /&gt;
&lt;br /&gt;
local alternate = {&lt;br /&gt;
	[&amp;quot;Direct Democracy New Zealand&amp;quot;] = &amp;quot;Direct Democracy Party of New Zealand&amp;quot;,&lt;br /&gt;
	[&amp;quot;DAB&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;DABHK&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;Delaware Democratic Party&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Demócrata Party&amp;quot;] = &amp;quot;Democrata Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Agrarian Party of Moldova&amp;quot;] = &amp;quot;Agrarian Party of Moldova&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Alliance for the Betterment of Hong Kong&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Popular Union&amp;quot;] = &amp;quot;Democratic and Popular Unity&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre – People&#039;s Party&amp;quot;] = &amp;quot;CDS – People&#039;s Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre – People´s Party&amp;quot;] = &amp;quot;CDS – People&#039;s Party&amp;quot;, -- acute accent difference&lt;br /&gt;
	[&amp;quot;Democratic Awakening&amp;quot;] = &amp;quot;Democratic Beginning&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Center Party of Latvia&amp;quot;] = &amp;quot;Democratic Party \&amp;quot;Saimnieks\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Centre Union (Greece)&amp;quot;] = &amp;quot;Centre Union&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Coalition&amp;quot;] = &amp;quot;Democratic Coalition (Hungary)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front (France)&amp;quot;] = &amp;quot;Democratic Movement (France)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front for the Reunification of the Fatherland&amp;quot;] = &amp;quot;Democratic Front for the Reunification of Korea&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front of the Francophones&amp;quot;] = &amp;quot;DéFI&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Group&amp;quot;] = &amp;quot;Democratic Party (Luxembourg)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Group (Luxembourg)&amp;quot;] = &amp;quot;Democratic Party (Luxembourg)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK)&amp;quot;] = &amp;quot;Democratic Labour Party (UK, 1998)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party&amp;quot;] = &amp;quot;Lincoln Democratic Labour Association&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Australia, 1978)&amp;quot;] = &amp;quot;Democratic Labour Party (Australia, 1980)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Italy)&amp;quot;] = &amp;quot;Italian Democratic Liberal Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Modernist Pole&amp;quot;] = &amp;quot;Ettajdid Movement&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic National Alliance&amp;quot;] = &amp;quot;Democratic National Alliance (Sri Lanka)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Obedience Party&amp;quot;] = &amp;quot;Democratic Conviction&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party - demokraci.pl&amp;quot;] = &amp;quot;Democratic Party – demokraci.pl&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Burma)&amp;quot;] = &amp;quot;Democratic Party (Myanmar)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan)&amp;quot;] = &amp;quot;Democratic Party (Japan, 2016)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia)&amp;quot;] = &amp;quot;Democratic Party (Slovakia, 1989)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, historical)&amp;quot;] = &amp;quot;Democrat Party (Turkey, 1946–1961)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (US)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Alabama)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Alaska)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Arizona)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Arkansas)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (California)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Colorado)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Connecticut)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Delaware)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (East Timor)&amp;quot;] = &amp;quot;Democratic Party (Timor-Leste)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Georgia, US)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Guam)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Hawaii)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Idaho)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Illinois)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Iowa)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Maryland)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Massachusetts)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Michigan)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Missouri)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Nevada)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (New Mexico)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (New York)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (North Dakota)&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Northern Mariana Islands)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Pennsylvania)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Rhode Island)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Tajikistan)&amp;quot;] = &amp;quot;Democratic Party of Tajikistan&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, current)&amp;quot;] = &amp;quot;Democrat Party (Turkey, current)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Utah)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Vermont)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Virginia)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Washington State)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Washington)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (West Virginia)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Arkansas&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Connecticut&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Côte d&#039;Ivoire – African Democratic Rally&amp;quot;] = &amp;quot;Democratic Party of Ivory Coast – African Democratic Rally&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Georgia&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Guam&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Hawaii&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Illinois&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Japan (1996)&amp;quot;] = &amp;quot;Democratic Party (Japan, 1996)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Japan&amp;quot;] = &amp;quot;Democratic Party (Japan, 1998)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Korea&amp;quot;] = &amp;quot;Democratic Party (South Korea, 2015)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Minnesota&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of New Mexico&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Oregon&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of the Virgin Islands&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Virginia&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Wisconsin&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Patriots&#039; Movement&amp;quot;] = &amp;quot;Democratic Patriots&#039; Unified Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Portugal)&amp;quot;] = &amp;quot;Social Democratic Party (Portugal)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Liberation Front&amp;quot;] = &amp;quot;People&#039;s Liberation Organisation of Tamil Eelam&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Popular Party (Spain)&amp;quot;] = &amp;quot;People&#039;s Democratic Party (Spain)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Reforms Party (Azerbaijan)&amp;quot;] = &amp;quot;Democratic Reforms Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (Portugal)&amp;quot;] = &amp;quot;National Democratic Alternative (Portugal)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Nepal)&amp;quot;] = &amp;quot;Loktantrik Samajwadi Party, Nepal&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Turnhalle Alliance&amp;quot;] = &amp;quot;Popular Democratic Movement&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of the Greek Minority&amp;quot;] = &amp;quot;Omonoia (organization)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union&amp;quot;] = &amp;quot;Democratic Union (Poland)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Unity Coalition&amp;quot;] = &amp;quot;Unitary Democratic Coalition&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Workers&#039; Congress&amp;quot;] = &amp;quot;Democratic People&#039;s Front&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Farmer-Labor Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-NPL Party&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (United States)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (US)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Farmer–Labor Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Nonpartisan League Party (North Dakota)&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–NPL Party&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Republican Party (United States)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats (Norway)&amp;quot;] = &amp;quot;Norway Democrats&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats and Progressives&amp;quot;] = &amp;quot;Article One (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats for Social Credit&amp;quot;] = &amp;quot;New Zealand Democratic Party for Social Credit&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats in Norway&amp;quot;] = &amp;quot;Norway Democrats&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovaks and Czechs in Romania&amp;quot;] = &amp;quot;Democratic Union of Slovaks and Czechs of Romania&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of Turkish-Muslim Tatars of Romania&amp;quot;] = &amp;quot;Democratic Union of Turkic-Muslim Tatars of Romania&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats Union For Lithuania&amp;quot;] = &amp;quot;Union of Democrats \&amp;quot;For Lithuania\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats Union \&amp;quot;For Lithuania\&amp;quot;&amp;quot;] = &amp;quot;Union of Democrats \&amp;quot;For Lithuania\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Demokraatit&amp;quot;] = &amp;quot;Democrats (Greenland)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Denk (Dutch political party)&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DENK (political party)&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DENK&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Deutsche Rechtspartei&amp;quot;] = &amp;quot;German Right Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform Party&amp;quot;] = &amp;quot;Dignity and Truth Platform&amp;quot;,&lt;br /&gt;
	[&amp;quot;Direction – Social Democracy&amp;quot;] = &amp;quot;Direction – Slovak Social Democracy&amp;quot;,&lt;br /&gt;
	[&amp;quot;Direction (Slovakia)&amp;quot;] = &amp;quot;Direction – Slovak Social Democracy&amp;quot;,&lt;br /&gt;
	[&amp;quot;District of Columbia Democratic State Committee&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;District of Columbia Republican Party&amp;quot;] = &amp;quot;Republican Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dixiecrat Party (United States)&amp;quot;] = &amp;quot;Dixiecrat&amp;quot;,&lt;br /&gt;
	[&amp;quot;DK–MSZP–Dialogue&amp;quot;] = &amp;quot;DK–MSZP–Dialogue Alliance&amp;quot;,&lt;br /&gt;
	[&amp;quot;DMK&amp;quot;] = &amp;quot;Dravida Munnetra Kazhagam&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dodd Independent Party&amp;quot;] = &amp;quot;Independent (US)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DPHK&amp;quot;] = &amp;quot;Democratic Party (Hong Kong)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dutch Labour Party&amp;quot;] = &amp;quot;Labour Party (Netherlands)&amp;quot;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local full = {&lt;br /&gt;
	[&amp;quot;D.C. Statehood Green Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#17AA5C&amp;quot;, shortname = &amp;quot;DC Statehood Green&amp;quot;,},&lt;br /&gt;
	[&amp;quot;D.C. Statehood Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0BDA51&amp;quot;, shortname = &amp;quot;DC Statehood&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Da&#039;am Workers Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C60408&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dabalorivhuwa Patriotic Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF8000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dad, This is for You&amp;quot;] = {abbrev = &amp;quot;ĆOJZT&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dai Le and Frank Carbone Network&amp;quot;] = {abbrev = &amp;quot;DLFCN&amp;quot;, color = &amp;quot;#FF7F7F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Đại Việt National Socialist Party&amp;quot;] = {abbrev = &amp;quot;ĐVQXĐ&amp;quot;, color = &amp;quot;#DC143C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dagga Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#009245&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#91ADBC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Party&amp;quot;] = {abbrev = &amp;quot;PDD&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5CBB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Progressive Union&amp;quot;] = {abbrev = &amp;quot;UPD&amp;quot;, color = &amp;quot;#5CBB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Unity Party&amp;quot;] = {abbrev = &amp;quot;PDU&amp;quot;, color = &amp;quot;#D2691E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dainiin Club&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#587dab&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalija Orešković and People with a First and Last Name&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D11E60&amp;quot;, shortname = &amp;quot;DO i SIP&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Janajati Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Mazdoor Kisan Party&amp;quot;] = {abbrev = &amp;quot;DMKP&amp;quot;, color = &amp;quot;#A5CBFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Muslim Vikas Party&amp;quot;] = {abbrev = &amp;quot;DMVP&amp;quot;, color = &amp;quot;#293A03&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalmatian Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalmatian Action (2021)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#04369C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE1126&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FCD03B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Social Liberal Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#733280&amp;quot;, shortname = &amp;quot;Social Liberals&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Unity&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002366&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Davidson Faction&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E81B23&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn – National Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#004071&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn (Iceland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#eab943&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn (Russia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEB684&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn of Direct Democracy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A2D945&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn of Nemunas&amp;quot;] = {abbrev = &amp;quot;PPNA&amp;quot;, color = &amp;quot;#F25D23&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dayak Unity Party&amp;quot;] = {abbrev = &amp;quot;PPD&amp;quot;, color = &amp;quot;#0093dd&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Daylight Saving&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFD7A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Daylight Saving Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFD7A&amp;quot;, shortname = &amp;quot;Daylight Savings&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DCIDE&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3B9F40&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;De Basis&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDC05&amp;quot;, shortname = &amp;quot;Basis&amp;quot;,},&lt;br /&gt;
	[&amp;quot;De Nou Reus&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5CBACC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Death to the System (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0A0A0A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deák Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AAD8E6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout la France&amp;quot;] = {abbrev = &amp;quot;DLF&amp;quot;, color = &amp;quot;#0087CD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout la République&amp;quot;] = {abbrev = &amp;quot;DLR&amp;quot;, color = &amp;quot;#8040C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout Les Belges!&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CA232B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decentralist Social Force Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#82BC1C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DecideT–EligeT&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#21297C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decidix&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DC4868&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decolonization and Social Emancipation Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AA0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Defense of the Andalusian People&#039;s Interests&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#40903B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DéFI&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DD0081&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Degel HaTorah&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3E3E3E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Degrowth Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BB0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Delhi Janata Party&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#CEF6EC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Delhi Poorvanchal Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#BCA9F5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deliberation Tsuen Wan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7CBECC&amp;quot;, shortname = &amp;quot;Deliberation TW&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demo-Social 12&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4D955D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demo-Social 60&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F58025&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demochristian Party of Albania&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EE82EE&amp;quot;, shortname = &amp;quot;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Autonomy&amp;quot;] = {abbrev = &amp;quot;DemA&amp;quot;, color = &amp;quot;#D6441D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F6BA1B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Freedom&amp;quot;] = {abbrev = &amp;quot;DiL&amp;quot;, color = &amp;quot;#212765&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Freedom (San Marino)&amp;quot;] = {abbrev = &amp;quot;DeL&amp;quot;, color = &amp;quot;#015FA8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Human Rights Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2E3492&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Progress Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0069A7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Solidarity Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F0046&amp;quot;, shortname = &amp;quot;Demos&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy at Home Party&amp;quot;] = {abbrev = &amp;quot;PPDA&amp;quot;, color = &amp;quot;#003399&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy First&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ff8c00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy for Chorley&amp;quot;] = {abbrev = &amp;quot;DfC&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Groundwork&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEED59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy in Europe Movement 2025&amp;quot;] = {abbrev = &amp;quot;DiEM25&amp;quot;, color = &amp;quot;#ec5122&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy in Motion&amp;quot;] = {abbrev = &amp;quot;DiB&amp;quot;, color = &amp;quot;#263d80&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy is Freedom – The Daisy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3CB371&amp;quot;, shortname = &amp;quot;The Daisy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DemocracyNZ&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#30B6C1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Power Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BC1D2D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Yes&amp;quot;] = {abbrev = &amp;quot;DSÍ&amp;quot;, color = &amp;quot;#CE3977&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Development through Unity&amp;quot;] = {abbrev = &amp;quot;DOE&amp;quot;, color = &amp;quot;#C8ED69&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy, Citizenry and Republic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FCDB10&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E3431F&amp;quot;, shortname = &amp;quot;Democrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00A1F1&amp;quot;, shortname = &amp;quot;Democrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Turkey, 1946–1961)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#CD42B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Turkey, current)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#D360BC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party of Iran&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#093&amp;quot;, shortname = &amp;quot;Democrat Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Social Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4CBB17&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Turkey Party&amp;quot;] = {abbrev = &amp;quot;DTP&amp;quot;, color = &amp;quot;#DA7766&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrata Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1434A4&amp;quot;, shortname = &amp;quot;Democrata&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Accountants&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#47954E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (El Salvador)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#F95400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BA55D3&amp;quot;, shortname = &amp;quot;Democratic Action&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (Venezuela)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;Democratic Action&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Congress&amp;quot;] = {abbrev = &amp;quot;DAC&amp;quot;, color = &amp;quot;#aa00d4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party (Kenya)&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#313691&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3E4E3E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#ED1C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Agrarian Party of Romania&amp;quot;] = {abbrev = &amp;quot;PDAR&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alignment (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIPA&amp;quot;, color = &amp;quot;#00AEEF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alignment (2015)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2D902D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Bulgaria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gray&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (France)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#FFBF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Greece)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6D85CB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Guinea-Bissau)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#228B22&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (New Zealand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFE802&amp;quot;, shortname = &amp;quot;Democratic Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Philippines)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#DC143C&amp;quot;, shortname = &amp;quot;Democratic Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal, 1979)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal, 2024)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#3777BC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (South Africa)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#005BA6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Ukraine)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#193695&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Venezuela)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#0F52BA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Diversity and Awakening&amp;quot;] = {abbrev = &amp;quot;DAVA&amp;quot;, color = &amp;quot;#078E92&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Korea&amp;quot;] = {abbrev = &amp;quot;DAK&amp;quot;, color = &amp;quot;#152484&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Niger&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#337585&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Peace&amp;quot;] = {abbrev = &amp;quot;ADP-MALIBA&amp;quot;, color = &amp;quot;#8D6800&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;] = {abbrev = &amp;quot;DAB&amp;quot;, color = &amp;quot;#1861AC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Croats in Vojvodina&amp;quot;] = {abbrev = &amp;quot;DSHV&amp;quot;, color = &amp;quot;#EE1C25&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Hungarians in Romania&amp;quot;] = {abbrev = &amp;quot;UDMR&amp;quot;, color = &amp;quot;#00833e&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Serbs&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;#BC204B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Wales&amp;quot;] = {abbrev = &amp;quot;DAW&amp;quot;, color = &amp;quot;#CCCCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Albania)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#1369B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Solomon Islands)&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#68C76D&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Tunisia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;Salmon&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternation Pole&amp;quot;] = {abbrev = &amp;quot;Sawab–RAG&amp;quot;, color = &amp;quot;#EAC553&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative &#039;91&amp;quot;] = {abbrev = &amp;quot;DA&#039;91&amp;quot;, color = &amp;quot;#FFF212&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9ACD32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Finland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF4D00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Malta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7AC143&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (North Macedonia)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Serbia)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#FA8383&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF7619&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Angola – Coalition&amp;quot;] = {abbrev = &amp;quot;AD–C&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;AD–Coligação&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Independent Cape Verdean Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0066ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Popular Unity&amp;quot;] = {abbrev = &amp;quot;UDP&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Progressive Union&amp;quot;] = {abbrev = &amp;quot;UDP/DPU&amp;quot;, color = &amp;quot;#DAA520&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Republican Alliance&amp;quot;] = {abbrev = &amp;quot;ADERE&amp;quot;, color = &amp;quot;#1935D0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Republican Union&amp;quot;] = {abbrev = &amp;quot;URD&amp;quot;, color = &amp;quot;#24445c&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre (Spain)&amp;quot;] = {abbrev = &amp;quot;CDS&amp;quot;, color = &amp;quot;#049456&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Convention&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#679A6C&amp;quot;, shortname = &amp;quot;CDS-Rahama&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Left&amp;quot;] = {abbrev = &amp;quot;GDS&amp;quot;, color = &amp;quot;#EF3034&amp;quot;, shortname = &amp;quot;&amp;quot;},&lt;br /&gt;
	[&amp;quot;Democratic and Social Movement (Algeria)&amp;quot;] = {abbrev = &amp;quot;MDS&amp;quot;, color = &amp;quot;#006FB6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Movement (Morocco)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9AAD35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Socialist Party for Alternation&amp;quot;] = {abbrev = &amp;quot;PDSA&amp;quot;, color = &amp;quot;#4c9bed&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Party of Ceuta&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#29806D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Republican Party&amp;quot;] = {abbrev = &amp;quot;PRDS&amp;quot;, color = &amp;quot;#981C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Ribat Party&amp;quot;] = {abbrev = &amp;quot;RDS&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Socialist Union of the Resistance&amp;quot;] = {abbrev = &amp;quot;UDSR&amp;quot;, color = &amp;quot;#EF5327&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Arab Socialist Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Ashkali Party of Kosovo&amp;quot;] = {abbrev = &amp;quot;PDAK&amp;quot;, color = &amp;quot;#01B965&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Axe&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#84171C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Azad Party&amp;quot;] = {abbrev = &amp;quot;DPAP&amp;quot;, color = &amp;quot;#FEF01E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Beginning&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc (Poland)&amp;quot;] = {abbrev = &amp;quot;BD&amp;quot;, color = &amp;quot;#F02F2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc (Ukraine)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0087DC&amp;quot;, shortname = &amp;quot;Democratic Bloc&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bulgaria&amp;quot;] = {abbrev = &amp;quot;DB&amp;quot;, color = &amp;quot;#004A80&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Center (Colombia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Center&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Center (Ecuador)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#FF4500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre of Macau&amp;quot;] = {abbrev = &amp;quot;CDM&amp;quot;, color = &amp;quot;#DD0000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Croatia)&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#006bb3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (France)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#00CCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Italy, 2013)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E86055&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Latvia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;Democratic Centre&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Serbia)&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#FFFF99&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4CB034&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (El Salvador)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (Panama)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#2A889B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (South Sudan)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FB2026&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice (Dominican Republic)&amp;quot;] = {abbrev = &amp;quot;OD&amp;quot;, color = &amp;quot;#503123&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice (Russia, 2010)&amp;quot;] = {abbrev = &amp;quot;DemChoice&amp;quot;, color = &amp;quot;#1C3F94&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Kazakhstan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0083cd&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Russia – United Democrats&amp;quot;] = {abbrev = &amp;quot;DVR–OD&amp;quot;, color = &amp;quot;#3A46CE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Russia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#29166F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition (Hungary)&amp;quot;] = {abbrev = &amp;quot;DK&amp;quot;, color = &amp;quot;#0067AA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition (Spain)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#8E9629&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition for DC Election&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D38D4F&amp;quot;, shortname = &amp;quot;Democratic Coalition&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Committee of Human Rights&amp;quot;] = {abbrev = &amp;quot;DCHR&amp;quot;, color = &amp;quot;#691F6C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Community of Welfare and Freedom&amp;quot;] = {abbrev = &amp;quot;JESZ&amp;quot;, color = &amp;quot;#80BB3D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Confederation of Labour (Morocco)&amp;quot;] = {abbrev = &amp;quot;CDT&amp;quot;, color = &amp;quot;#020202&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Congress&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#B70002&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Congress Kerala&amp;quot;] = {abbrev = &amp;quot;DCK&amp;quot;, color = &amp;quot;#008080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Consent–Republican Party&amp;quot;] = {abbrev = &amp;quot;ID–PR&amp;quot;, color = &amp;quot;#317C41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conservative Party&amp;quot;] = {abbrev = &amp;quot;PCD&amp;quot;, color = &amp;quot;#397a42&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conservative Party (Syria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DF0611&amp;quot;, shortname = &amp;quot;Democratic Conservative Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Constitutional Rally&amp;quot;] = {abbrev = &amp;quot;RCD&amp;quot;, color = &amp;quot;FireBrick&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convention of African Peoples&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convention of Moldova&amp;quot;] = {abbrev = &amp;quot;CDM&amp;quot;, color = &amp;quot;#0061D4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1e90ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence (El Salvador)&amp;quot;] = {abbrev = &amp;quot;CVD&amp;quot;, color = &amp;quot;#DC241F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence of Catalonia&amp;quot;] = {abbrev = &amp;quot;CDC&amp;quot;, color = &amp;quot;#232D7B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence Party (Guinea-Bissau)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0099FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence Party (São Tomé and Príncipe)&amp;quot;] = {abbrev = &amp;quot;PCD-GR&amp;quot;, color = &amp;quot;#1102DE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conviction&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0098D8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Current&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FE6500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Development Forum&amp;quot;] = {abbrev = &amp;quot;FDD&amp;quot;, color = &amp;quot;#F0F040&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Development Party&amp;quot;] = {abbrev = &amp;quot;DDP&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Electoral Commission&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;darkred&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic European Force&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00CCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Farmers&#039; Party of Germany&amp;quot;] = {abbrev = &amp;quot;DBD&amp;quot;, color = &amp;quot;#006600&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Fellowship of Vojvodina Hungarians&amp;quot;] = {abbrev = &amp;quot;VMDK&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;PFD&amp;quot;, color = &amp;quot;#EB6109&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force (France)&amp;quot;] = {abbrev = &amp;quot;FD&amp;quot;, color = &amp;quot;#003366&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CA3634&amp;quot;, shortname = &amp;quot;Democratic Force&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forces of Guiana&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A71585&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1C5530&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum for Labour and Liberties&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#660000&amp;quot;, shortname = &amp;quot;Ettakatol&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum for Modernity&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;purple&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum of Germans in Romania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AA2421&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Bosnia and Herzegovina)&amp;quot;] = {abbrev = &amp;quot;DF&amp;quot;, color = &amp;quot;#F16822&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIPA&amp;quot;, color = &amp;quot;#26ACE2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DF&amp;quot;, color = &amp;quot;#00008B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Peru)&amp;quot;] = {abbrev = &amp;quot;FREDEMO&amp;quot;, color = &amp;quot;#50a7f7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FE9059&amp;quot;, shortname = &amp;quot;Democratic Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front for the Liberation of Palestine&amp;quot;] = {abbrev = &amp;quot;DFLP&amp;quot;, color = &amp;quot;#D10A2B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front for the Reunification of Korea&amp;quot;] = {abbrev = &amp;quot;FF&amp;quot;, color = &amp;quot;#FF3333&amp;quot;, shortname = &amp;quot;Fatherland Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front of Albania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF4A2E&amp;quot;, shortname = &amp;quot;Democratic Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Galicianist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3886AC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Generation Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A9A5B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Green Party of Rwanda&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A2FD0B&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Green&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Groundwork&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEED59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
    [&amp;quot;Democratic Group for Integrity and Progress in the Philippines&amp;quot;] = {abbrev = &amp;quot;DGIPP&amp;quot;, color = &amp;quot;#496AB6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Group of Albacete&amp;quot;] = {abbrev = &amp;quot;ADA&amp;quot;, color = &amp;quot;#4F836A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Group of the Centre&amp;quot;] = {abbrev = &amp;quot;GDC&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Hope&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DE2118&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Hygiene&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4F6179&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independence Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AE872A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independent Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gold&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independent Regionalist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4A1C51&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Indira Congress (Karunakaran)&amp;quot;] = {abbrev = &amp;quot;DIC&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Initiative for Benalmádena&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#22305E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Innovation Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Israel&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0E0348&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Jewish Union&amp;quot;] = {abbrev = &amp;quot;ŽDS&amp;quot;, color = &amp;quot;#7F51C7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Justice Party&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#004C97&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Justice Party (1987)&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#0A84E9&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Korea Party&amp;quot;] = {abbrev = &amp;quot;DKP&amp;quot;, color = &amp;quot;#ED2939&amp;quot;, shortname = &amp;quot;Democratic Korea&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party (Australia, 1955)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#008080&amp;quot;, shortname = &amp;quot;Democratic Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#E7000A&amp;quot;, shortname = &amp;quot;Democratic Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9C00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Australia, 1980)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#EEAF30&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Barbados)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Brazil)&amp;quot;] = {abbrev = &amp;quot;PDT&amp;quot;, color = &amp;quot;#C21E56&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (New Zealand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Trinidad and Tobago)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#e25822&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK, 1972)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF6600&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK, 1998)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E32636&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party of Lithuania&amp;quot;] = {abbrev = &amp;quot;LDDP&amp;quot;, color = &amp;quot;#E75480&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League (Catalonia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002D70&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League in Montenegro&amp;quot;] = {abbrev = &amp;quot;DSCG&amp;quot;, color = &amp;quot;cornflowerblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League of Dardania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005CA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League of Kosovo&amp;quot;] = {abbrev = &amp;quot;LDK&amp;quot;, color = &amp;quot;#F37476&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League/Movement for the Labour Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E392B6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Ecuador)&amp;quot;] = {abbrev = &amp;quot;ID&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Greece)&amp;quot;] = {abbrev = &amp;quot;DIMAR&amp;quot;, color = &amp;quot;#FF4100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Ireland)&amp;quot;] = {abbrev = &amp;quot;DL&amp;quot;, color = &amp;quot;#C700C7&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (UK)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC0033&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Alliance – Labour Union&amp;quot;] = {abbrev = &amp;quot;SLD-UP&amp;quot;, color = &amp;quot;#CA2021&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Alliance (Poland)&amp;quot;] = {abbrev = &amp;quot;SLD&amp;quot;, color = &amp;quot;#E2001A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Association&amp;quot;] = {abbrev = &amp;quot;SLD&amp;quot;, color = &amp;quot;#e10914&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Front (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7F517C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Front (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;DLF&amp;quot;, color = &amp;quot;#F90818&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Movement (Lebanon)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left of Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFE507&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Party (Turkey)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#02CDFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Scotland&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC0033&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Leftwing Republican Party&amp;quot;] = {abbrev = &amp;quot;PRED&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Congress&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F70000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Timor-Leste)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2C43DB&amp;quot;, shortname = &amp;quot;Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Japan)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#42A46B&amp;quot;, shortname = &amp;quot;Democratic Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PDL&amp;quot;, color = &amp;quot;#FF9D1C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#003990&amp;quot;, shortname = &amp;quot;Democratic Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FDFF46&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List for Israeli Arabs&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List of Nazareth&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Majority (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0086D6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Montenegro&amp;quot;] = {abbrev = &amp;quot;DCG&amp;quot;, color = &amp;quot;#F5911D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement – United Georgia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0067A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (India)&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#92cfcf&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (France)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF5327&amp;quot;, shortname = &amp;quot;MoDem&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (San Marino)&amp;quot;] = {abbrev = &amp;quot;MD&amp;quot;, color = &amp;quot;#F80000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement for Change&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#253EFE&amp;quot;, shortname = &amp;quot;Dash&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement of Mozambique&amp;quot;] = {abbrev = &amp;quot;MDM&amp;quot;, color = &amp;quot;#FFA825&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement of Serbia&amp;quot;] = {abbrev = &amp;quot;DEPOS&amp;quot;, color = &amp;quot;#1A4A96&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Municipal Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF610F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nasserist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Antigua &amp;amp; Barbuda)&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#EB8123&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Bahamas)&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#419b41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CCCC33&amp;quot;, shortname = &amp;quot;Democratic National Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Assembly&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#add8e6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00008B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Convergence&amp;quot;] = {abbrev = &amp;quot;CDN&amp;quot;, color = &amp;quot;#76DAB4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Front Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BA0E00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EB6F53&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Initiative&amp;quot;] = {abbrev = &amp;quot;IDN&amp;quot;, color = &amp;quot;#FF00D4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Party (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DEK&amp;quot;, color = &amp;quot;#783B12&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Rally&amp;quot;] = {abbrev = &amp;quot;RND&amp;quot;, color = &amp;quot;#003153&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Salvation Front&amp;quot;] = {abbrev = &amp;quot;FDSN&amp;quot;, color = &amp;quot;#cc3333&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Union of Kurdistan&amp;quot;] = {abbrev = &amp;quot;YNDK&amp;quot;, color = &amp;quot;#d1342f&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (Malta, 1959–1966)&amp;quot;] = {abbrev = &amp;quot;PDN&amp;quot;, color = &amp;quot;#A02C2C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PND&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DNP&amp;quot;, color = &amp;quot;#9acd32&amp;quot;, shortname = &amp;quot;Democratic Nationalist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalists&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationhood Party&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;#054C30&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Network&amp;quot;] = {abbrev = &amp;quot;RED&amp;quot;, color = &amp;quot;white&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Non-Partisan Alliance&amp;quot;] = {abbrev = &amp;quot;DNPA&amp;quot;, color = &amp;quot;#FF0D6C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic New Macau Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Opposition of Serbia&amp;quot;] = {abbrev = &amp;quot;DOS&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Pact for Catalonia&amp;quot;] = {abbrev = &amp;quot;PDC&amp;quot;, color = &amp;quot;#FFC400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Partnership&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;khaki&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party – demokraci.pl&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (1912)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (1943)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6482BF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#192B6B&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Bolivia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DC4C46&amp;quot;, shortname= &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Brazil, 1925-1934)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#191198&amp;quot;, shortname= &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Bulgaria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gold&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cambodia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00FF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cook Islands)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2136C2&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cuba)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0000FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Curaçao)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E41E2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIKO&amp;quot;, color = &amp;quot;#E07C00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Timor-Leste)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#004080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Georgia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F8FBF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Hong Kong)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5FB04A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Hungary)&amp;quot;] = {abbrev = &amp;quot;DEMP&amp;quot;, color = &amp;quot;#1560BD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Iceland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#04437F&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Indonesia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2643A3&amp;quot;, shortname = &amp;quot;Demokrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF1C27&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1947)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC9502&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1954)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#99AF25&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1996)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E60000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1998)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE2029&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 2016)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#003E98&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Kenya)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#336600&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Laos)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFCD00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Luxembourg)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#002C4F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Macedonia)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#3016C8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Malta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Mendoza)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#192B6B&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Mongolia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#11479E&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#09B2ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Myanmar)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FFB00D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Nicaragua)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Northern Cyprus)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#E5382B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Peru)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF3333&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Philippines)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Poland)&amp;quot;] = {abbrev = &amp;quot;SD&amp;quot;, color = &amp;quot;#6495ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Portugal)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#FF69B4&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#FF6633&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Serbia)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#FFF500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Singapore)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#DD6777&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Sint Eustatius)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#C00000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (SL)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia, 1944)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#002FA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia, 1989)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#002FA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Solomon Islands)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFEB33&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Africa)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#6699CC&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1955)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#000080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1967)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FAA50D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1990)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#DA2C43&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1991)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#D82634&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1995)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#009D68&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2005)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#00736D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2008)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#019E33&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2011)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FAC71A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, May 2013)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#28A54A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, September 2013)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#015DA9&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2015)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#152484&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Switzerland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0B3861&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Tanzania)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, 1970)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#ffa500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, 1992)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#341D47&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Uganda)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#0C713A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (UK, 1942)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;lightyellow&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (UK, 1969)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ffffff&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (United States)&amp;quot;] = {abbrev = &amp;quot;D&amp;quot;, color = &amp;quot;#3333FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Yugoslavia)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#FFD300&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Zambia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ff338c&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party \&amp;quot;Saimnieks\&amp;quot;&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#861623&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party – Democratic and Progressive Italy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E30613&amp;quot;, shortname = &amp;quot;Democratic Party – IDP&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party Adilet&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0085fc&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party for a British Gibraltar&amp;quot;] = {abbrev = &amp;quot;DPBG&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party for Progress – Angolan National Alliance&amp;quot;] = {abbrev = &amp;quot;PDP–ANA&amp;quot;, color = &amp;quot;#009900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party For the People&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FFBA00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Albania&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#00529C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Albanians&amp;quot;] = {abbrev = &amp;quot;PDSh&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Armenia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC1B24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Artsakh&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0072B9&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Chile (1988)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Córdoba&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1F2F6B&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Equatorial Guinea&amp;quot;] = {abbrev = &amp;quot;PDGE&amp;quot;, color = &amp;quot;#3051A3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Greens&amp;quot;] = {abbrev = &amp;quot;DSZ&amp;quot;, color = &amp;quot;#007b33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Guinea – African Democratic Rally&amp;quot;] = {abbrev = &amp;quot;PDG-RDA&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of India (Ambedkar)&amp;quot;] = {abbrev = &amp;quot;DPIA (A)&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Iranian Kurdistan&amp;quot;] = {abbrev = &amp;quot;KDPI&amp;quot;, color = &amp;quot;#FC0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Ivory Coast – African Democratic Rally&amp;quot;] = {abbrev = &amp;quot;PDCI–RDA&amp;quot;, color = &amp;quot;#0FAF32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Kazakhstan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#01AEF3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Kosovo&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;#2E96D2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Labour&amp;quot;] = {abbrev = &amp;quot;PDM&amp;quot;, color = &amp;quot;#ED2128&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Lesotho&amp;quot;] = {abbrev = &amp;quot;DPL&amp;quot;, color = &amp;quot;#4c196e&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Macedonia&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Macedonians&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;#F7D10C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Moldova&amp;quot;] = {abbrev = &amp;quot;PDM&amp;quot;, color = &amp;quot;#264B9D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Nauru&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002B7F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Pensioners of Slovenia&amp;quot;] = {abbrev = &amp;quot;DeSUS&amp;quot;, color = &amp;quot;#8DC63F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Pensioners&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;grey&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Republika Srpska&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Russia&amp;quot;] = {abbrev = &amp;quot;DPR&amp;quot;, color = &amp;quot;#DBB726&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Serbia&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;#126180&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Serbs in Macedonia&amp;quot;] = {abbrev = &amp;quot;DPSM&amp;quot;, color = &amp;quot;#1101E0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Slovenia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3300B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Socialists of Montenegro (2021)&amp;quot;] = {abbrev = &amp;quot;DPS&amp;quot;, color = &amp;quot;#524FA1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Socialists of Montenegro&amp;quot;] = {abbrev = &amp;quot;DPS&amp;quot;, color = &amp;quot;#F58634&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Chadian People&amp;quot;] = {abbrev = &amp;quot;PDPT&amp;quot;, color = &amp;quot;#3b09e8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Atlantic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0000FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Friendly Islands&amp;quot;] = {abbrev = &amp;quot;DPFI&amp;quot;, color = &amp;quot;#C20100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Left&amp;quot;] = {abbrev = &amp;quot;PDS&amp;quot;, color = &amp;quot;#C72F35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the New Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FD3C0B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Philippines&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#0054A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Tajikistan&amp;quot;] = {abbrev = &amp;quot;DPT&amp;quot;, color = &amp;quot;#1E7B08&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Trinidad and Tobago&amp;quot;] = {abbrev = &amp;quot;DPTT&amp;quot;, color = &amp;quot;#2A3A8C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Turkmenistan&amp;quot;] = {abbrev = &amp;quot;TDP&amp;quot;, color = &amp;quot;#1CC858&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Turks&amp;quot;] = {abbrev = &amp;quot;DPTM&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Ukraine&amp;quot;] = {abbrev = &amp;quot;DPU&amp;quot;, color = &amp;quot;#025BAB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Vietnam&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0055A4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Vojvodina Hungarians&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5c7b59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Zagorje&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#70bd5d&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party Sint Maarten&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#e21c1a&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Patriotic Alliance of Kurdistan&amp;quot;] = {abbrev = &amp;quot;DPAK&amp;quot;, color = &amp;quot;#CCFF33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Patriots&#039; Unified Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D80100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Peace Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8DB7E9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Peasants&#039; Party–Lupu&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#B7D749&amp;quot;, shortname = &amp;quot;PȚD–Lupu&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People (Spain)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#5BB829&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Alliance&amp;quot;] = {abbrev = &amp;quot;DNS&amp;quot;, color = &amp;quot;#2B0E72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Front&amp;quot;] = {abbrev = &amp;quot;DPF&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Movement&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;#FF4500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Ghana)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#005DA3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (San Marino)&amp;quot;] = {abbrev = &amp;quot;PDP&amp;quot;, color = &amp;quot;#0068C1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#353F9C&amp;quot;, shortname = &amp;quot;Democratic People&#039;s&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Turkey)&amp;quot;] = {abbrev = &amp;quot;DHP&amp;quot;, color = &amp;quot;#437CCD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Union&amp;quot;] = {abbrev = &amp;quot;DNZ&amp;quot;, color = &amp;quot;#048AEB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#5AC2C5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Popular Movement&amp;quot;] = {abbrev = &amp;quot;SPD&amp;quot;, color = &amp;quot;#8a4e58&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progress Party&amp;quot;] = {abbrev = &amp;quot;DGP&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PDP&amp;quot;, color = &amp;quot;#005C9E&amp;quot;, shortname = &amp;quot;Democratic Progressive Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Austria)&amp;quot;] = {abbrev = &amp;quot;DFP&amp;quot;, color = &amp;quot;#FFE500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Malawi)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Singapore)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C92B7D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#1B9431&amp;quot;, shortname = &amp;quot;Democratic Progressive&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Prosperous Macau Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#006400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally of the Comorian People&amp;quot;] = {abbrev = &amp;quot;RDPC&amp;quot;, color = &amp;quot;#FFFFFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally of the Comoros&amp;quot;] = {abbrev = &amp;quot;RDC&amp;quot;, color = &amp;quot;#32CD32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally&amp;quot;] = {abbrev = &amp;quot;DISY&amp;quot;, color = &amp;quot;#1569C7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform Party (Japan)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;Democratic Reform&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform Party of Muslims&amp;quot;] = {abbrev = &amp;quot;DRSM&amp;quot;, color = &amp;quot;#74C365&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reformist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D13C21&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reforms Party&amp;quot;] = {abbrev = &amp;quot;DİP&amp;quot;, color = &amp;quot;#333399&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Regional Union&amp;quot;] = {abbrev = &amp;quot;DPE&amp;quot;, color = &amp;quot;darkorange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Regions Party&amp;quot;] = {abbrev = &amp;quot;DBP&amp;quot;, color = &amp;quot;#30A13E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal (Andorra)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal of Macedonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8DC73F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Angola)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#662531&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Brazil)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Benin)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#FFFA00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Cape Verde)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#02569F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Portugal)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal&amp;quot;] = {abbrev = &amp;quot;DIANA&amp;quot;, color = &amp;quot;#007FFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#2C93FB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renovation&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republic of Timor-Leste Party&amp;quot;] = {abbrev = &amp;quot;PDRT&amp;quot;, color = &amp;quot;#DE5D83&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#835B38&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Alliance&amp;quot;] = {abbrev = &amp;quot;ARD&amp;quot;, color = &amp;quot;#FFBF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (South Korea, 1997)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0D90D6&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Union&amp;quot;] = {abbrev = &amp;quot;URD&amp;quot;, color = &amp;quot;#feed01&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revival&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolution&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1D4C4F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Alliance (Bolivia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Front – New Alternative&amp;quot;] = {abbrev = &amp;quot;FDR&amp;quot;, color = &amp;quot;#1FA045&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Nationalist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#bb0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Party&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#003F87&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Peoples Party&amp;quot;] = {abbrev = &amp;quot;DRPP&amp;quot;, color = &amp;quot;#006400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rioja&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFF6F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Senate&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB64DB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Serb Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;Darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Christian Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#556627&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Front&amp;quot;] = {abbrev = &amp;quot;FDS&amp;quot;, color = &amp;quot;#009900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Justice Party&amp;quot;] = {abbrev = &amp;quot;DSJP&amp;quot;, color = &amp;quot;#A91B0D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Movement&amp;quot;] = {abbrev = &amp;quot;DIKKI&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Party&amp;quot;] = {abbrev = &amp;quot;PDS&amp;quot;, color = &amp;quot;#0067A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social-Revolutionary Party of Cuba&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D21F1B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialism (Chile)&amp;quot;] = {abbrev = &amp;quot;SD&amp;quot;, color = &amp;quot;#B7051F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Alliance (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EE3507&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC4E5C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Arab Ba&#039;ath Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#02AB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Coalition&amp;quot;] = {abbrev = &amp;quot;CSD&amp;quot;, color = &amp;quot;#00BFFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D2323A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PSD&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;Democratic Socialist Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Ireland)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#FF0099&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Japan)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#FF4F4F&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Morocco)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#188410&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Prabodh Chandra)&amp;quot;] = {abbrev = &amp;quot;DSP(PC)&amp;quot;, color = &amp;quot;#FF033E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF8000&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party of Greece&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;Yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Radical Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Unionist Party&amp;quot;] = {abbrev = &amp;quot;DSUP&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialists &#039;70&amp;quot;] = {abbrev = &amp;quot;DS&#039;70&amp;quot;, color = &amp;quot;#A21756&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialists of America&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EB2128&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#74C365&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Congress&amp;quot;] = {abbrev = &amp;quot;DTK&amp;quot;, color = &amp;quot;#029E4A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Party&amp;quot;] = {abbrev = &amp;quot;DTP&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Party (Morocco)&amp;quot;] = {abbrev = &amp;quot;PSD&amp;quot;, color = &amp;quot;#FDD86D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic swaraj party&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Tamil National Alliance&amp;quot;] = {abbrev = &amp;quot;DTNA&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Tumu Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C8102E&amp;quot;, shortname = &amp;quot;Democratic Tumu&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Turkish Union of Romania&amp;quot;] = {abbrev = &amp;quot;RDTB&amp;quot;, color = &amp;quot;#E30A17&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unification Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#c93&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Unification&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unification Party&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#FEF100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Czech Republic)&amp;quot;] = {abbrev = &amp;quot;DEU&amp;quot;, color = &amp;quot;#6D051C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Greece)&amp;quot;] = {abbrev = &amp;quot;DE&amp;quot;, color = &amp;quot;#FFC0CB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Greece, 1956)&amp;quot;] = {abbrev = &amp;quot;DE&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Guatemala)&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#4fadea&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Israel)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#029A3D&amp;quot;, shortname = &amp;quot;Democratic Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Bosnia and Herzegovina)&amp;quot;] = {abbrev = &amp;quot;DEMOS&amp;quot;, color = &amp;quot;#ED1C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Poland)&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#DB812E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Coalition (1996–2000)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#074DA9&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for Integration&amp;quot;] = {abbrev = &amp;quot;BDI&amp;quot;, color = &amp;quot;#344b9b&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for Revival&amp;quot;] = {abbrev = &amp;quot;DAK&amp;quot;, color = &amp;quot;#1F2563&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for the Respect of Labour&amp;quot;] = {abbrev = &amp;quot;UDRT/RAD&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for the Republic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Albanians&amp;quot;] = {abbrev = &amp;quot;UDSH&amp;quot;, color = &amp;quot;#E65532&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0053A1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Croats&amp;quot;] = {abbrev = &amp;quot;DZH&amp;quot;, color = &amp;quot;#E5111D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Hungarians in Romania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#15803C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Hungarians of Croatia&amp;quot;] = {abbrev = &amp;quot;DZMH&amp;quot;, color = &amp;quot;#15803C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovakia&amp;quot;] = {abbrev = &amp;quot;DEÚS&amp;quot;, color = &amp;quot;#007BA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovaks and Czechs of Romania&amp;quot;] = {abbrev = &amp;quot;UDSCR&amp;quot;, color = &amp;quot;#1136F2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Taiwan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9826&amp;quot;, shortname = &amp;quot;Democratic Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Malian People&amp;quot;] = {abbrev = &amp;quot;UDPM&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Region of Murcia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#039C06&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Rwandan People&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#344EA3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Vlachs of Macedonia&amp;quot;] = {abbrev = &amp;quot;DSVM&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Turkic-Muslim Tatars of Romania&amp;quot;] = {abbrev = &amp;quot;RMTTDB&amp;quot;, color = &amp;quot;#E4E700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PDU&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Party (Syria)&amp;quot;] = {abbrev = &amp;quot;PYD&amp;quot;, color = &amp;quot;#F70302&amp;quot;, shortname = &amp;quot;Democratic Union Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union–Broad Centre&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F6643D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unionist Party&amp;quot;] = {abbrev = &amp;quot;DUP&amp;quot;, color = &amp;quot;#D46A4C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unionist Party (Sudan)&amp;quot;] = {abbrev = &amp;quot;DUP&amp;quot;, color = &amp;quot;#00A6EF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic United National Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic United Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FAC71A&amp;quot;, shortname = &amp;quot;Democratic United&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F8A718&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity Roundtable&amp;quot;] = {abbrev = &amp;quot;MUD&amp;quot;, color = &amp;quot;#0F52BA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Way (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFAE00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Way Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87a1fe&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Women&#039;s League of Germany&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3d61d6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic – Neutral – Authentic&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#2C2D84&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Independent Party (North Dakota)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#66CCFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3333FF&amp;quot;, shortname = &amp;quot;Democratic-People&#039;s&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Adams)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#68C468&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Jackson)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#698DC5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Crawford)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9955&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (1844)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#808000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Democratic-Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Social Movement (Poland)&amp;quot;] = {abbrev = &amp;quot;RDS&amp;quot;, color = &amp;quot;#FAAA49&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic/Country coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6495ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic/Hold&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EEF6FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Brazil)&amp;quot;] = {abbrev = &amp;quot;DEM&amp;quot;, color = &amp;quot;#8CC63E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DA1764&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Croatia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#B00F1F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greece, 2009)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6D85CB&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greece, 2024)&amp;quot;] = {abbrev = &amp;quot;Democrats&amp;quot;, color = &amp;quot;#011689&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greenland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#152D49&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Slovakia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#50168E&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Slovenia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#09115e&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats 66&amp;quot;] = {abbrev = &amp;quot;D66&amp;quot;, color = &amp;quot;#00AE41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats and Veterans&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for a Strong Bulgaria&amp;quot;] = {abbrev = &amp;quot;DSB&amp;quot;, color = &amp;quot;#02528A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Andorra&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#EA7A28&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Liechtenstein&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005EA8&amp;quot;, shortname = &amp;quot;DpL&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Responsibility, Solidarity and Tolerance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1A70B8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats of Catalonia&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#1375CE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats of the Left&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#C72F35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DEMOS (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DEMOS&amp;quot;, color = &amp;quot;#89CFF0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demos+&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F97D19&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demosisto&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#37C8B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demosistō&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#37C8B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denk (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00B7B2&amp;quot;, shortname = &amp;quot;Denk&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denmark Democrats&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4572F1&amp;quot;, shortname = &amp;quot;Denmark&amp;amp;nbsp;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denok Hiritar&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEF900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Der Wandel&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D32C0B&amp;quot;, shortname = &amp;quot;Wandel&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derekh Eretz (political faction)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#277EE5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derryn Hinch&#039;s Justice Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002F5D&amp;quot;, shortname = &amp;quot;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derwentside Independents&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9F009F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derzhava (Russian party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#959698&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derzhava (Ukrainian party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;Derzhava&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Des de Baix&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF7D00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desh Bhakt Party&amp;quot;] = {abbrev = &amp;quot;DBP&amp;quot;, color = &amp;quot;#B404AE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desire the Right Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0087DC&amp;quot;, shortname = &amp;quot;Desire the Right&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desiya Murpokku Dravida Kazhagam&amp;quot;] = {abbrev = &amp;quot;DMDK&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destiny New Zealand&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;Destiny&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destour&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7F1A03&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destourian Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;RebeccaPurple&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Determination and Justice&amp;quot;] = {abbrev = &amp;quot;OiP&amp;quot;, color = &amp;quot;#262757&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deutsche Mitte&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#284f8d&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deutsche Reichspartei&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8B4726&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Devana Parapura&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#98151b&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development and Peace (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6A287E&amp;quot;, shortname = &amp;quot;Flatto-Sharon&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F188F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development/For!&amp;quot;] = {abbrev = &amp;quot;AP!&amp;quot;, color = &amp;quot;#FFEC00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Devizes Guardians&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9A114F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dharmacracy Party&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#F46A26&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dharmacracy Party (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C8BCA7&amp;quot;, shortname = &amp;quot;Dharmacracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dhivehi Qaumee Party&amp;quot;] = {abbrev = &amp;quot;DQP&amp;quot;, color = &amp;quot;maroon&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dhivehi Rayyithunge Party&amp;quot;] = {abbrev = &amp;quot;DRP&amp;quot;, color = &amp;quot;#3F89C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Diàleg Republicà&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CD2E33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue – The Greens&#039; Party&amp;quot;] = {abbrev = &amp;quot;PZ&amp;quot;, color = &amp;quot;#39B54A&amp;quot;, shortname = &amp;quot;Dialogue&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue for Hungary&amp;quot;] = {abbrev = &amp;quot;PM&amp;quot;, color = &amp;quot;#3CB34D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D32270&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dibyojyoti Singh Deo&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DD4561&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die Linke&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BE3075&amp;quot;, shortname = &amp;quot;Linke&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die PARTEI&amp;quot;] = {abbrev = &amp;quot;PARTEI&amp;quot;, color = &amp;quot;#B5152B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die Urbane. Eine HipHop Partei&amp;quot;] = {abbrev = &amp;quot;du.&amp;quot;, color = &amp;quot;#E66346&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DierAnimal&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#148C8B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Different Cantabria&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#96D351&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Digital Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F36F21&amp;quot;, shortname = &amp;quot;Digital&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignidad Ahora&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC8431&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Charity&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#0BC3AD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform&amp;quot;] = {abbrev = &amp;quot;PPDA&amp;quot;, color = &amp;quot;#5E0C06&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform2022&amp;quot;] = {abbrev = &amp;quot;PPDA2022&amp;quot;, color = &amp;quot;#409FD9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3D7254&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#458241&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Now!&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (Algeria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Dignity&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (Egypt)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (South Australia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#69359C&amp;quot;, shortname = &amp;quot;Dignity&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dikwankwetla Party of South Africa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4B393B&amp;quot;, shortname = &amp;quot;Dikwankwetla Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dimasalang Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FC6A03&amp;quot;, shortname = &amp;quot;Dimasalang&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy (Peru)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy (Poland)&amp;quot;] = {abbrev = &amp;quot;DB&amp;quot;, color = &amp;quot;#3AD5C8&amp;quot;, shortname = &amp;quot;Direct Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy Ireland&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;Direct&amp;amp;nbsp;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy Party of New Zealand&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F28317&amp;quot;, shortname = &amp;quot;Direct&amp;amp;nbsp;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democratic Participation of Galicia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4FAECD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democrats (Sweden)&amp;quot;] = {abbrev = &amp;quot;DD&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Development Party&amp;quot;] = {abbrev = &amp;quot;DDP&amp;quot;, color = &amp;quot;#57A0D3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direction – Slovak Social Democracy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#d82222&amp;quot;, shortname = &amp;quot;Smer&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dissident Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#66CC99&amp;quot;, shortname = &amp;quot;Dissident Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dissident Radical Civic Union&amp;quot;] = {abbrev = &amp;quot;UCRD&amp;quot;, color = &amp;quot;#A52A2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dixiecrat&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9955&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Djathtas 1912&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#143560&amp;quot;, shortname = &amp;quot;Djathtas&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Djathtas për Zhvillim&amp;quot;] = {abbrev = &amp;quot;DZh&amp;quot;, color = &amp;quot;#542d52&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DK–MSZP–Dialogue Alliance&amp;quot;] = {abbrev = &amp;quot;DK–MSZP–P&amp;quot;, color = &amp;quot;#0171BB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Don&#039;t Let Belgrade Drown&amp;quot;] = {abbrev = &amp;quot;NDB&amp;quot;, color = &amp;quot;#276030&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Doctrinaires&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Domani Motus Liberi&amp;quot;] = {abbrev = &amp;quot;DML&amp;quot;, color = &amp;quot;#039ADA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōmei Seisha&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#825C8C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica Freedom Party&amp;quot;] = {abbrev = &amp;quot;DFP&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica Labour Party&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#F0001C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica United People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Communist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE2029&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Humanist Party&amp;quot;] = {abbrev = &amp;quot;DHP&amp;quot;, color = &amp;quot;#FFEF52&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Liberation Party&amp;quot;] = {abbrev = &amp;quot;PLD&amp;quot;, color = &amp;quot;#870B9C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#964B00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Revolutionary Party&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#009EFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominicans for Change&amp;quot;] = {abbrev = &amp;quot;PDC&amp;quot;, color = &amp;quot;#12e3ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Labor Party (Alberta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;transparent&amp;quot;, shortname = &amp;quot;Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Party (South Africa)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#50C878&amp;quot;, shortname = &amp;quot;Dominion&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Dominion&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DOMOV&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C63B28&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Donegal Progressive Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;Donegal Progressive Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Donetsk Republic (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005087&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Doordarshi Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00FF99&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dor (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#409199&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōshi Club (1900s)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0018ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōshi Seisha&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4D5269&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dovira&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1A9DAA&amp;quot;, shortname = &amp;quot;Dovira&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Downlands Resident Group&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DPS – A New Beginning&amp;quot;] = {abbrev = &amp;quot;DPS–NN&amp;quot;, color = &amp;quot;#0662AB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dr. A. P. J. Abdul Kalam&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB7099&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dr. Ansay Party&amp;quot;] = {abbrev = &amp;quot;DrA&amp;quot;, color = &amp;quot;#15E4C9&amp;quot;, shortname = &amp;quot;Ansay Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Drago Project&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#232323&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Drassi&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#f37021&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dravida Munnetra Kazhagam&amp;quot;] = {abbrev = &amp;quot;DMK&amp;quot;, color = &amp;quot;#FF0D0D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Droa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#231F20&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Chirwang Tshogpa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FCB116&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Nyamrup Tshogpa&amp;quot;] = {abbrev = &amp;quot;DNT&amp;quot;, color = &amp;quot;#F9C6D9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Phuensum Tshogpa&amp;quot;] = {abbrev = &amp;quot;DPT&amp;quot;, color = &amp;quot;#E48400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Thuendrel Tshogpa&amp;quot;] = {abbrev = &amp;quot;DTT&amp;quot;, color = &amp;quot;#4a85c4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dublin Trades Council&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Duma Polska&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E04A4B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dutch People&#039;s Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Duterte Youth&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#60a2ec&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DuterTen&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#015420&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dveri&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E32636&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dynastic Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5FA082&amp;quot;, shortname = &amp;quot;Leftist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Džemijet&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	full = &amp;quot;w&amp;quot; + full,&lt;br /&gt;
	alternate = alternate,&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Political_party/D&amp;diff=76</id>
		<title>Module:Political party/D</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Political_party/D&amp;diff=76"/>
		<updated>2025-08-04T18:08:02Z</updated>

		<summary type="html">&lt;p&gt;Nico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- Constant data used by [[Module:Political party]]&lt;br /&gt;
&lt;br /&gt;
local alternate = {&lt;br /&gt;
	[&amp;quot;Direct Democracy New Zealand&amp;quot;] = &amp;quot;Direct Democracy Party of New Zealand&amp;quot;,&lt;br /&gt;
	[&amp;quot;DAB&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;DABHK&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;Delaware Democratic Party&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Demócrata Party&amp;quot;] = &amp;quot;Democrata Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Agrarian Party of Moldova&amp;quot;] = &amp;quot;Agrarian Party of Moldova&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Alliance for the Betterment of Hong Kong&amp;quot;] = &amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Popular Union&amp;quot;] = &amp;quot;Democratic and Popular Unity&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre – People&#039;s Party&amp;quot;] = &amp;quot;CDS – People&#039;s Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre – People´s Party&amp;quot;] = &amp;quot;CDS – People&#039;s Party&amp;quot;, -- acute accent difference&lt;br /&gt;
	[&amp;quot;Democratic Awakening&amp;quot;] = &amp;quot;Democratic Beginning&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Center Party of Latvia&amp;quot;] = &amp;quot;Democratic Party \&amp;quot;Saimnieks\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Centre Union (Greece)&amp;quot;] = &amp;quot;Centre Union&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Coalition&amp;quot;] = &amp;quot;Democratic Coalition (Hungary)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front (France)&amp;quot;] = &amp;quot;Democratic Movement (France)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front for the Reunification of the Fatherland&amp;quot;] = &amp;quot;Democratic Front for the Reunification of Korea&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Front of the Francophones&amp;quot;] = &amp;quot;DéFI&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Group&amp;quot;] = &amp;quot;Democratic Party (Luxembourg)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Group (Luxembourg)&amp;quot;] = &amp;quot;Democratic Party (Luxembourg)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK)&amp;quot;] = &amp;quot;Democratic Labour Party (UK, 1998)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party&amp;quot;] = &amp;quot;Lincoln Democratic Labour Association&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Australia, 1978)&amp;quot;] = &amp;quot;Democratic Labour Party (Australia, 1980)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Italy)&amp;quot;] = &amp;quot;Italian Democratic Liberal Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Modernist Pole&amp;quot;] = &amp;quot;Ettajdid Movement&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic National Alliance&amp;quot;] = &amp;quot;Democratic National Alliance (Sri Lanka)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Obedience Party&amp;quot;] = &amp;quot;Democratic Conviction&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party - demokraci.pl&amp;quot;] = &amp;quot;Democratic Party – demokraci.pl&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Burma)&amp;quot;] = &amp;quot;Democratic Party (Myanmar)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan)&amp;quot;] = &amp;quot;Democratic Party (Japan, 2016)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia)&amp;quot;] = &amp;quot;Democratic Party (Slovakia, 1989)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, historical)&amp;quot;] = &amp;quot;Democrat Party (Turkey, 1946–1961)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (US)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Alabama)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Alaska)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Arizona)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Arkansas)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (California)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Colorado)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Connecticut)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Delaware)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (East Timor)&amp;quot;] = &amp;quot;Democratic Party (Timor-Leste)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Georgia, US)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Guam)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Hawaii)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Idaho)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Illinois)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Iowa)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Maryland)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Massachusetts)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Michigan)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Missouri)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Nevada)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (New Mexico)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (New York)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (North Dakota)&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Northern Mariana Islands)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Pennsylvania)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Rhode Island)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Tajikistan)&amp;quot;] = &amp;quot;Democratic Party of Tajikistan&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, current)&amp;quot;] = &amp;quot;Democrat Party (Turkey, current)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Utah)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Vermont)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Virginia)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Washington State)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (Washington)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party (West Virginia)&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Arkansas&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Connecticut&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Côte d&#039;Ivoire – African Democratic Rally&amp;quot;] = &amp;quot;Democratic Party of Ivory Coast – African Democratic Rally&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Georgia&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Guam&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Hawaii&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Illinois&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Japan (1996)&amp;quot;] = &amp;quot;Democratic Party (Japan, 1996)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Japan&amp;quot;] = &amp;quot;Democratic Party (Japan, 1998)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Korea&amp;quot;] = &amp;quot;Democratic Party (South Korea, 2015)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Minnesota&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of New Mexico&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Oregon&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of the Virgin Islands&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Virginia&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Party of Wisconsin&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Patriots&#039; Movement&amp;quot;] = &amp;quot;Democratic Patriots&#039; Unified Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Portugal)&amp;quot;] = &amp;quot;Social Democratic Party (Portugal)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Liberation Front&amp;quot;] = &amp;quot;People&#039;s Liberation Organisation of Tamil Eelam&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Popular Party (Spain)&amp;quot;] = &amp;quot;People&#039;s Democratic Party (Spain)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Reforms Party (Azerbaijan)&amp;quot;] = &amp;quot;Democratic Reforms Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (Portugal)&amp;quot;] = &amp;quot;National Democratic Alternative (Portugal)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Nepal)&amp;quot;] = &amp;quot;Loktantrik Samajwadi Party, Nepal&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Turnhalle Alliance&amp;quot;] = &amp;quot;Popular Democratic Movement&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of the Greek Minority&amp;quot;] = &amp;quot;Omonoia (organization)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union&amp;quot;] = &amp;quot;Democratic Union (Poland)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Unity Coalition&amp;quot;] = &amp;quot;Unitary Democratic Coalition&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Workers&#039; Congress&amp;quot;] = &amp;quot;Democratic People&#039;s Front&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Farmer-Labor Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-NPL Party&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (United States)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (US)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic-Republican&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Farmer–Labor Party (Minnesota)&amp;quot;] = &amp;quot;Minnesota Democratic–Farmer–Labor Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Nonpartisan League Party (North Dakota)&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–NPL Party&amp;quot;] = &amp;quot;North Dakota Democratic–Nonpartisan League Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic–Republican Party (United States)&amp;quot;] = &amp;quot;Democratic-Republican Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats (Norway)&amp;quot;] = &amp;quot;Norway Democrats&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats and Progressives&amp;quot;] = &amp;quot;Article One (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats for Social Credit&amp;quot;] = &amp;quot;New Zealand Democratic Party for Social Credit&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats in Norway&amp;quot;] = &amp;quot;Norway Democrats&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovaks and Czechs in Romania&amp;quot;] = &amp;quot;Democratic Union of Slovaks and Czechs of Romania&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democratic Union of Turkish-Muslim Tatars of Romania&amp;quot;] = &amp;quot;Democratic Union of Turkic-Muslim Tatars of Romania&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats Union For Lithuania&amp;quot;] = &amp;quot;Union of Democrats \&amp;quot;For Lithuania\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Democrats Union \&amp;quot;For Lithuania\&amp;quot;&amp;quot;] = &amp;quot;Union of Democrats \&amp;quot;For Lithuania\&amp;quot;&amp;quot;,&lt;br /&gt;
	[&amp;quot;Demokraatit&amp;quot;] = &amp;quot;Democrats (Greenland)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Denk (Dutch political party)&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DENK (political party)&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DENK&amp;quot;] = &amp;quot;Denk (political party)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Deutsche Rechtspartei&amp;quot;] = &amp;quot;German Right Party&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform Party&amp;quot;] = &amp;quot;Dignity and Truth Platform&amp;quot;,&lt;br /&gt;
	[&amp;quot;Direction – Social Democracy&amp;quot;] = &amp;quot;Direction – Slovak Social Democracy&amp;quot;,&lt;br /&gt;
	[&amp;quot;Direction (Slovakia)&amp;quot;] = &amp;quot;Direction – Slovak Social Democracy&amp;quot;,&lt;br /&gt;
	[&amp;quot;District of Columbia Democratic State Committee&amp;quot;] = &amp;quot;Democratic Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;District of Columbia Republican Party&amp;quot;] = &amp;quot;Republican Party (United States)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dixiecrat Party (United States)&amp;quot;] = &amp;quot;Dixiecrat&amp;quot;,&lt;br /&gt;
	[&amp;quot;DK–MSZP–Dialogue&amp;quot;] = &amp;quot;DK–MSZP–Dialogue Alliance&amp;quot;,&lt;br /&gt;
	[&amp;quot;DMK&amp;quot;] = &amp;quot;Dravida Munnetra Kazhagam&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dodd Independent Party&amp;quot;] = &amp;quot;Independent (US)&amp;quot;,&lt;br /&gt;
	[&amp;quot;DPHK&amp;quot;] = &amp;quot;Democratic Party (Hong Kong)&amp;quot;,&lt;br /&gt;
	[&amp;quot;Dutch Labour Party&amp;quot;] = &amp;quot;Labour Party (Netherlands)&amp;quot;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local full = {&lt;br /&gt;
	[&amp;quot;D.C. Statehood Green Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#17AA5C&amp;quot;, shortname = &amp;quot;DC Statehood Green&amp;quot;,},&lt;br /&gt;
	[&amp;quot;D.C. Statehood Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0BDA51&amp;quot;, shortname = &amp;quot;DC Statehood&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Da&#039;am Workers Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C60408&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dabalorivhuwa Patriotic Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF8000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dad, This is for You&amp;quot;] = {abbrev = &amp;quot;ĆOJZT&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dai Le and Frank Carbone Network&amp;quot;] = {abbrev = &amp;quot;DLFCN&amp;quot;, color = &amp;quot;#FF7F7F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Đại Việt National Socialist Party&amp;quot;] = {abbrev = &amp;quot;ĐVQXĐ&amp;quot;, color = &amp;quot;#DC143C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dagga Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#009245&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#91ADBC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Party&amp;quot;] = {abbrev = &amp;quot;PDD&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Democratic Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5CBB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Progressive Union&amp;quot;] = {abbrev = &amp;quot;UPD&amp;quot;, color = &amp;quot;#5CBB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dahomeyan Unity Party&amp;quot;] = {abbrev = &amp;quot;PDU&amp;quot;, color = &amp;quot;#D2691E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dainiin Club&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#587dab&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalija Orešković and People with a First and Last Name&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D11E60&amp;quot;, shortname = &amp;quot;DO i SIP&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Janajati Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Mazdoor Kisan Party&amp;quot;] = {abbrev = &amp;quot;DMKP&amp;quot;, color = &amp;quot;#A5CBFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalit Muslim Vikas Party&amp;quot;] = {abbrev = &amp;quot;DMVP&amp;quot;, color = &amp;quot;#293A03&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalmatian Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dalmatian Action (2021)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#04369C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE1126&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FCD03B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Social Liberal Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#733280&amp;quot;, shortname = &amp;quot;Social Liberals&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Danish Unity&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002366&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Davidson Faction&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E81B23&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn – National Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#004071&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn (Iceland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#eab943&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn (Russia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEB684&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn of Direct Democracy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A2D945&amp;quot;, shortname = &amp;quot;Dawn&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dawn of Nemunas&amp;quot;] = {abbrev = &amp;quot;PPNA&amp;quot;, color = &amp;quot;#F25D23&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dayak Unity Party&amp;quot;] = {abbrev = &amp;quot;PPD&amp;quot;, color = &amp;quot;#0093dd&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Daylight Saving&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFD7A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Daylight Saving Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFD7A&amp;quot;, shortname = &amp;quot;Daylight Savings&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DCIDE&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3B9F40&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;De Basis&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDC05&amp;quot;, shortname = &amp;quot;Basis&amp;quot;,},&lt;br /&gt;
	[&amp;quot;De Nou Reus&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5CBACC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Death to the System (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0A0A0A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deák Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AAD8E6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout la France&amp;quot;] = {abbrev = &amp;quot;DLF&amp;quot;, color = &amp;quot;#0087CD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout la République&amp;quot;] = {abbrev = &amp;quot;DLR&amp;quot;, color = &amp;quot;#8040C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Debout Les Belges!&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CA232B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decentralist Social Force Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#82BC1C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DecideT–EligeT&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#21297C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decidix&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DC4868&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Decolonization and Social Emancipation Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AA0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Defense of the Andalusian People&#039;s Interests&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#40903B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DéFI&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DD0081&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Degel HaTorah&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3E3E3E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Degrowth Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BB0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Delhi Janata Party&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#CEF6EC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Delhi Poorvanchal Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#BCA9F5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deliberation Tsuen Wan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7CBECC&amp;quot;, shortname = &amp;quot;Deliberation TW&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demo-Social 12&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4D955D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demo-Social 60&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F58025&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demochristian Party of Albania&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EE82EE&amp;quot;, shortname = &amp;quot;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Autonomy&amp;quot;] = {abbrev = &amp;quot;DemA&amp;quot;, color = &amp;quot;#D6441D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F6BA1B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Freedom&amp;quot;] = {abbrev = &amp;quot;DiL&amp;quot;, color = &amp;quot;#212765&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Freedom (San Marino)&amp;quot;] = {abbrev = &amp;quot;DeL&amp;quot;, color = &amp;quot;#015FA8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Human Rights Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2E3492&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Progress Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0069A7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Solidarity Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F0046&amp;quot;, shortname = &amp;quot;Demos&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy at Home Party&amp;quot;] = {abbrev = &amp;quot;PPDA&amp;quot;, color = &amp;quot;#003399&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy First&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ff8c00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy for Chorley&amp;quot;] = {abbrev = &amp;quot;DfC&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Groundwork&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEED59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy in Europe Movement 2025&amp;quot;] = {abbrev = &amp;quot;DiEM25&amp;quot;, color = &amp;quot;#ec5122&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy in Motion&amp;quot;] = {abbrev = &amp;quot;DiB&amp;quot;, color = &amp;quot;#263d80&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy is Freedom – The Daisy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3CB371&amp;quot;, shortname = &amp;quot;The Daisy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DemocracyNZ&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#30B6C1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Power Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BC1D2D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy Yes&amp;quot;] = {abbrev = &amp;quot;DSÍ&amp;quot;, color = &amp;quot;#CE3977&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy and Development through Unity&amp;quot;] = {abbrev = &amp;quot;DOE&amp;quot;, color = &amp;quot;#C8ED69&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democracy, Citizenry and Republic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FCDB10&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E3431F&amp;quot;, shortname = &amp;quot;Democrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00A1F1&amp;quot;, shortname = &amp;quot;Democrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Turkey, 1946–1961)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#CD42B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party (Turkey, current)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#D360BC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Party of Iran&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#093&amp;quot;, shortname = &amp;quot;Democrat Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Social Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4CBB17&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrat Turkey Party&amp;quot;] = {abbrev = &amp;quot;DTP&amp;quot;, color = &amp;quot;#DA7766&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrata Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1434A4&amp;quot;, shortname = &amp;quot;Democrata&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Accountants&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#47954E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (El Salvador)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#F95400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BA55D3&amp;quot;, shortname = &amp;quot;Democratic Action&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action (Venezuela)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;Democratic Action&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Congress&amp;quot;] = {abbrev = &amp;quot;DAC&amp;quot;, color = &amp;quot;#aa00d4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party (Kenya)&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#313691&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3E4E3E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action Party&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#ED1C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Agrarian Party of Romania&amp;quot;] = {abbrev = &amp;quot;PDAR&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alignment (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIPA&amp;quot;, color = &amp;quot;#00AEEF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alignment (2015)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2D902D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Bulgaria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gray&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (France)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#FFBF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Greece)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6D85CB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Guinea-Bissau)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#228B22&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (New Zealand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFE802&amp;quot;, shortname = &amp;quot;Democratic Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Philippines)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#DC143C&amp;quot;, shortname = &amp;quot;Democratic Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal, 1979)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Portugal, 2024)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#3777BC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (South Africa)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#005BA6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Ukraine)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#193695&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance (Venezuela)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#0F52BA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Diversity and Awakening&amp;quot;] = {abbrev = &amp;quot;DAVA&amp;quot;, color = &amp;quot;#078E92&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Korea&amp;quot;] = {abbrev = &amp;quot;DAK&amp;quot;, color = &amp;quot;#152484&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Niger&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#337585&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for Peace&amp;quot;] = {abbrev = &amp;quot;ADP-MALIBA&amp;quot;, color = &amp;quot;#8D6800&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance for the Betterment and Progress of Hong Kong&amp;quot;] = {abbrev = &amp;quot;DAB&amp;quot;, color = &amp;quot;#1861AC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Croats in Vojvodina&amp;quot;] = {abbrev = &amp;quot;DSHV&amp;quot;, color = &amp;quot;#EE1C25&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Hungarians in Romania&amp;quot;] = {abbrev = &amp;quot;UDMR&amp;quot;, color = &amp;quot;#00833e&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Serbs&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;#BC204B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance of Wales&amp;quot;] = {abbrev = &amp;quot;DAW&amp;quot;, color = &amp;quot;#CCCCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Albania)&amp;quot;] = {abbrev = &amp;quot;AD&amp;quot;, color = &amp;quot;#1369B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Solomon Islands)&amp;quot;] = {abbrev = &amp;quot;DAP&amp;quot;, color = &amp;quot;#68C76D&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alliance Party (Tunisia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;Salmon&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternation Pole&amp;quot;] = {abbrev = &amp;quot;Sawab–RAG&amp;quot;, color = &amp;quot;#EAC553&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative &#039;91&amp;quot;] = {abbrev = &amp;quot;DA&#039;91&amp;quot;, color = &amp;quot;#FFF212&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9ACD32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Finland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF4D00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Malta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7AC143&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (North Macedonia)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative (Serbia)&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#FA8383&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Alternative Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF7619&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Angola – Coalition&amp;quot;] = {abbrev = &amp;quot;AD–C&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;AD–Coligação&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Independent Cape Verdean Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0066ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Popular Unity&amp;quot;] = {abbrev = &amp;quot;UDP&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Progressive Union&amp;quot;] = {abbrev = &amp;quot;UDP/DPU&amp;quot;, color = &amp;quot;#DAA520&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Republican Alliance&amp;quot;] = {abbrev = &amp;quot;ADERE&amp;quot;, color = &amp;quot;#1935D0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Republican Union&amp;quot;] = {abbrev = &amp;quot;URD&amp;quot;, color = &amp;quot;#24445c&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Centre (Spain)&amp;quot;] = {abbrev = &amp;quot;CDS&amp;quot;, color = &amp;quot;#049456&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Convention&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#679A6C&amp;quot;, shortname = &amp;quot;CDS-Rahama&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Left&amp;quot;] = {abbrev = &amp;quot;GDS&amp;quot;, color = &amp;quot;#EF3034&amp;quot;, shortname = &amp;quot;&amp;quot;},&lt;br /&gt;
	[&amp;quot;Democratic and Social Movement (Algeria)&amp;quot;] = {abbrev = &amp;quot;MDS&amp;quot;, color = &amp;quot;#006FB6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Movement (Morocco)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9AAD35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Socialist Party for Alternation&amp;quot;] = {abbrev = &amp;quot;PDSA&amp;quot;, color = &amp;quot;#4c9bed&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Party of Ceuta&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#29806D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Republican Party&amp;quot;] = {abbrev = &amp;quot;PRDS&amp;quot;, color = &amp;quot;#981C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Social Ribat Party&amp;quot;] = {abbrev = &amp;quot;RDS&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic and Socialist Union of the Resistance&amp;quot;] = {abbrev = &amp;quot;UDSR&amp;quot;, color = &amp;quot;#EF5327&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Arab Socialist Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Ashkali Party of Kosovo&amp;quot;] = {abbrev = &amp;quot;PDAK&amp;quot;, color = &amp;quot;#01B965&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Axe&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#84171C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Azad Party&amp;quot;] = {abbrev = &amp;quot;DPAP&amp;quot;, color = &amp;quot;#FEF01E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Beginning&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc (Poland)&amp;quot;] = {abbrev = &amp;quot;BD&amp;quot;, color = &amp;quot;#F02F2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc (Ukraine)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0087DC&amp;quot;, shortname = &amp;quot;Democratic Bloc&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bloc&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Bulgaria&amp;quot;] = {abbrev = &amp;quot;DB&amp;quot;, color = &amp;quot;#004A80&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Center (Colombia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Center&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Center (Ecuador)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#FF4500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre of Macau&amp;quot;] = {abbrev = &amp;quot;CDM&amp;quot;, color = &amp;quot;#DD0000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Croatia)&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#006bb3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (France)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#00CCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Italy, 2013)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E86055&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Latvia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;Democratic Centre&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre (Serbia)&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#FFFF99&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Centre Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4CB034&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (El Salvador)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (Panama)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#2A889B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Change (South Sudan)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FB2026&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice (Dominican Republic)&amp;quot;] = {abbrev = &amp;quot;OD&amp;quot;, color = &amp;quot;#503123&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice (Russia, 2010)&amp;quot;] = {abbrev = &amp;quot;DemChoice&amp;quot;, color = &amp;quot;#1C3F94&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Kazakhstan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0083cd&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Russia – United Democrats&amp;quot;] = {abbrev = &amp;quot;DVR–OD&amp;quot;, color = &amp;quot;#3A46CE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Choice of Russia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#29166F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition (Hungary)&amp;quot;] = {abbrev = &amp;quot;DK&amp;quot;, color = &amp;quot;#0067AA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition (Spain)&amp;quot;] = {abbrev = &amp;quot;CD&amp;quot;, color = &amp;quot;#8E9629&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Coalition for DC Election&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D38D4F&amp;quot;, shortname = &amp;quot;Democratic Coalition&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Committee of Human Rights&amp;quot;] = {abbrev = &amp;quot;DCHR&amp;quot;, color = &amp;quot;#691F6C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Community of Welfare and Freedom&amp;quot;] = {abbrev = &amp;quot;JESZ&amp;quot;, color = &amp;quot;#80BB3D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Confederation of Labour (Morocco)&amp;quot;] = {abbrev = &amp;quot;CDT&amp;quot;, color = &amp;quot;#020202&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Congress&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#B70002&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Congress Kerala&amp;quot;] = {abbrev = &amp;quot;DCK&amp;quot;, color = &amp;quot;#008080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Consent–Republican Party&amp;quot;] = {abbrev = &amp;quot;ID–PR&amp;quot;, color = &amp;quot;#317C41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conservative Party&amp;quot;] = {abbrev = &amp;quot;PCD&amp;quot;, color = &amp;quot;#397a42&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conservative Party (Syria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DF0611&amp;quot;, shortname = &amp;quot;Democratic Conservative Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Constitutional Rally&amp;quot;] = {abbrev = &amp;quot;RCD&amp;quot;, color = &amp;quot;FireBrick&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convention of African Peoples&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convention of Moldova&amp;quot;] = {abbrev = &amp;quot;CDM&amp;quot;, color = &amp;quot;#0061D4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1e90ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence (El Salvador)&amp;quot;] = {abbrev = &amp;quot;CVD&amp;quot;, color = &amp;quot;#DC241F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence of Catalonia&amp;quot;] = {abbrev = &amp;quot;CDC&amp;quot;, color = &amp;quot;#232D7B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence Party (Guinea-Bissau)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0099FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Convergence Party (São Tomé and Príncipe)&amp;quot;] = {abbrev = &amp;quot;PCD-GR&amp;quot;, color = &amp;quot;#1102DE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Conviction&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0098D8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Current&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FE6500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Development Forum&amp;quot;] = {abbrev = &amp;quot;FDD&amp;quot;, color = &amp;quot;#F0F040&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Development Party&amp;quot;] = {abbrev = &amp;quot;DDP&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Electoral Commission&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;darkred&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic European Force&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00CCCC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Farmers&#039; Party of Germany&amp;quot;] = {abbrev = &amp;quot;DBD&amp;quot;, color = &amp;quot;#006600&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Fellowship of Vojvodina Hungarians&amp;quot;] = {abbrev = &amp;quot;VMDK&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;PFD&amp;quot;, color = &amp;quot;#EB6109&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force (France)&amp;quot;] = {abbrev = &amp;quot;FD&amp;quot;, color = &amp;quot;#003366&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Force Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CA3634&amp;quot;, shortname = &amp;quot;Democratic Force&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forces of Guiana&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A71585&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1C5530&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum for Labour and Liberties&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#660000&amp;quot;, shortname = &amp;quot;Ettakatol&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum for Modernity&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;purple&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Forum of Germans in Romania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AA2421&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Bosnia and Herzegovina)&amp;quot;] = {abbrev = &amp;quot;DF&amp;quot;, color = &amp;quot;#F16822&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIPA&amp;quot;, color = &amp;quot;#26ACE2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DF&amp;quot;, color = &amp;quot;#00008B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Peru)&amp;quot;] = {abbrev = &amp;quot;FREDEMO&amp;quot;, color = &amp;quot;#50a7f7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FE9059&amp;quot;, shortname = &amp;quot;Democratic Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front for the Liberation of Palestine&amp;quot;] = {abbrev = &amp;quot;DFLP&amp;quot;, color = &amp;quot;#D10A2B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front for the Reunification of Korea&amp;quot;] = {abbrev = &amp;quot;FF&amp;quot;, color = &amp;quot;#FF3333&amp;quot;, shortname = &amp;quot;Fatherland Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front of Albania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF4A2E&amp;quot;, shortname = &amp;quot;Democratic Front&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Front Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Galicianist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3886AC&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Generation Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A9A5B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Green Party of Rwanda&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#A2FD0B&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Green&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Groundwork&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEED59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
    [&amp;quot;Democratic Group for Integrity and Progress in the Philippines&amp;quot;] = {abbrev = &amp;quot;DGIPP&amp;quot;, color = &amp;quot;#496AB6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Group of Albacete&amp;quot;] = {abbrev = &amp;quot;ADA&amp;quot;, color = &amp;quot;#4F836A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Group of the Centre&amp;quot;] = {abbrev = &amp;quot;GDC&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Hope&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DE2118&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Hygiene&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4F6179&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independence Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AE872A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independent Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gold&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Independent Regionalist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4A1C51&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Indira Congress (Karunakaran)&amp;quot;] = {abbrev = &amp;quot;DIC&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Initiative for Benalmádena&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#22305E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Innovation Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Israel&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0E0348&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Jewish Union&amp;quot;] = {abbrev = &amp;quot;ŽDS&amp;quot;, color = &amp;quot;#7F51C7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Justice Party&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#004C97&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Justice Party (1987)&amp;quot;] = {abbrev = &amp;quot;DJP&amp;quot;, color = &amp;quot;#0A84E9&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Korea Party&amp;quot;] = {abbrev = &amp;quot;DKP&amp;quot;, color = &amp;quot;#ED2939&amp;quot;, shortname = &amp;quot;Democratic Korea&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party (Australia, 1955)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#008080&amp;quot;, shortname = &amp;quot;Democratic Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#E7000A&amp;quot;, shortname = &amp;quot;Democratic Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labor Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9C00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Australia, 1980)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#EEAF30&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Barbados)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Brazil)&amp;quot;] = {abbrev = &amp;quot;PDT&amp;quot;, color = &amp;quot;#C21E56&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (New Zealand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (Trinidad and Tobago)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#e25822&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK, 1972)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF6600&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party (UK, 1998)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E32636&amp;quot;, shortname = &amp;quot;Democratic Labour&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Labour Party of Lithuania&amp;quot;] = {abbrev = &amp;quot;LDDP&amp;quot;, color = &amp;quot;#E75480&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League (Catalonia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002D70&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League in Montenegro&amp;quot;] = {abbrev = &amp;quot;DSCG&amp;quot;, color = &amp;quot;cornflowerblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League of Dardania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005CA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League of Kosovo&amp;quot;] = {abbrev = &amp;quot;LDK&amp;quot;, color = &amp;quot;#F37476&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic League/Movement for the Labour Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E392B6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Ecuador)&amp;quot;] = {abbrev = &amp;quot;ID&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Greece)&amp;quot;] = {abbrev = &amp;quot;DIMAR&amp;quot;, color = &amp;quot;#FF4100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Ireland)&amp;quot;] = {abbrev = &amp;quot;DL&amp;quot;, color = &amp;quot;#C700C7&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left (UK)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC0033&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Alliance – Labour Union&amp;quot;] = {abbrev = &amp;quot;SLD-UP&amp;quot;, color = &amp;quot;#CA2021&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Alliance (Poland)&amp;quot;] = {abbrev = &amp;quot;SLD&amp;quot;, color = &amp;quot;#E2001A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Association&amp;quot;] = {abbrev = &amp;quot;SLD&amp;quot;, color = &amp;quot;#e10914&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Front (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7F517C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Front (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;DLF&amp;quot;, color = &amp;quot;#F90818&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Movement (Lebanon)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left of Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFE507&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Party (Turkey)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#02CDFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Left Scotland&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC0033&amp;quot;, shortname = &amp;quot;Democratic Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Leftwing Republican Party&amp;quot;] = {abbrev = &amp;quot;PRED&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Congress&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F70000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Timor-Leste)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2C43DB&amp;quot;, shortname = &amp;quot;Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Japan)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#42A46B&amp;quot;, shortname = &amp;quot;Democratic Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PDL&amp;quot;, color = &amp;quot;#FF9D1C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Liberal Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#003990&amp;quot;, shortname = &amp;quot;Democratic Liberal&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FDFF46&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List for Israeli Arabs&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic List of Nazareth&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#AF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Majority (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0086D6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Montenegro&amp;quot;] = {abbrev = &amp;quot;DCG&amp;quot;, color = &amp;quot;#F5911D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement – United Georgia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0067A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (India)&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#92cfcf&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (France)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF5327&amp;quot;, shortname = &amp;quot;MoDem&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement (San Marino)&amp;quot;] = {abbrev = &amp;quot;MD&amp;quot;, color = &amp;quot;#F80000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement for Change&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#253EFE&amp;quot;, shortname = &amp;quot;Dash&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement of Mozambique&amp;quot;] = {abbrev = &amp;quot;MDM&amp;quot;, color = &amp;quot;#FFA825&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Movement of Serbia&amp;quot;] = {abbrev = &amp;quot;DEPOS&amp;quot;, color = &amp;quot;#1A4A96&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Municipal Action&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF610F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nasserist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Antigua &amp;amp; Barbuda)&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#EB8123&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Bahamas)&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#419b41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Alliance (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CCCC33&amp;quot;, shortname = &amp;quot;Democratic National Alliance&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Assembly&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#add8e6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00008B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Convergence&amp;quot;] = {abbrev = &amp;quot;CDN&amp;quot;, color = &amp;quot;#76DAB4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Front Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BA0E00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EB6F53&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Initiative&amp;quot;] = {abbrev = &amp;quot;IDN&amp;quot;, color = &amp;quot;#FF00D4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Party (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DEK&amp;quot;, color = &amp;quot;#783B12&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Rally&amp;quot;] = {abbrev = &amp;quot;RND&amp;quot;, color = &amp;quot;#003153&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Salvation Front&amp;quot;] = {abbrev = &amp;quot;FDSN&amp;quot;, color = &amp;quot;#cc3333&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic National Union of Kurdistan&amp;quot;] = {abbrev = &amp;quot;YNDK&amp;quot;, color = &amp;quot;#d1342f&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (Malta, 1959–1966)&amp;quot;] = {abbrev = &amp;quot;PDN&amp;quot;, color = &amp;quot;#A02C2C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PND&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalist Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;DNP&amp;quot;, color = &amp;quot;#9acd32&amp;quot;, shortname = &amp;quot;Democratic Nationalist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationalists&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Nationhood Party&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;#054C30&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Network&amp;quot;] = {abbrev = &amp;quot;RED&amp;quot;, color = &amp;quot;white&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Non-Partisan Alliance&amp;quot;] = {abbrev = &amp;quot;DNPA&amp;quot;, color = &amp;quot;#FF0D6C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic New Macau Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Opposition of Serbia&amp;quot;] = {abbrev = &amp;quot;DOS&amp;quot;, color = &amp;quot;#C0C0C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Pact for Catalonia&amp;quot;] = {abbrev = &amp;quot;PDC&amp;quot;, color = &amp;quot;#FFC400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Partnership&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;khaki&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party – demokraci.pl&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (1912)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (1943)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6482BF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#192B6B&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Bolivia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DC4C46&amp;quot;, shortname= &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Brazil, 1925-1934)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#191198&amp;quot;, shortname= &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Bulgaria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;gold&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cambodia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00FF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cook Islands)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2136C2&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cuba)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0000FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Curaçao)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E41E2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Cyprus)&amp;quot;] = {abbrev = &amp;quot;DIKO&amp;quot;, color = &amp;quot;#E07C00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Timor-Leste)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#004080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Georgia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F8FBF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Hong Kong)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5FB04A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Hungary)&amp;quot;] = {abbrev = &amp;quot;DEMP&amp;quot;, color = &amp;quot;#1560BD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Iceland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#04437F&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Indonesia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2643A3&amp;quot;, shortname = &amp;quot;Demokrat&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF1C27&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1947)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC9502&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1954)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#99AF25&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1996)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E60000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 1998)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE2029&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Japan, 2016)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#003E98&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Kenya)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#336600&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Laos)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFCD00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Luxembourg)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#002C4F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Macedonia)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#3016C8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Malta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Mendoza)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#192B6B&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Mongolia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#11479E&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#09B2ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Myanmar)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FFB00D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Nicaragua)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800000&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Northern Cyprus)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#E5382B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Peru)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF3333&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Philippines)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Poland)&amp;quot;] = {abbrev = &amp;quot;SD&amp;quot;, color = &amp;quot;#6495ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Portugal)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#FF69B4&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#FF6633&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Serbia)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#FFF500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Singapore)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#DD6777&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Sint Eustatius)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#C00000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (SL)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia, 1944)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#002FA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Slovakia, 1989)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#002FA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Solomon Islands)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFEB33&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Africa)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#6699CC&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1955)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#000080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1967)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FAA50D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1990)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#DA2C43&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1991)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#D82634&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 1995)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#009D68&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2005)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#00736D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2008)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#019E33&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2011)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#FAC71A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, May 2013)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#28A54A&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, September 2013)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#015DA9&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (South Korea, 2015)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#152484&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Sri Lanka)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Switzerland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0B3861&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Tanzania)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, 1970)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#ffa500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Turkey, 1992)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#341D47&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Uganda)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#0C713A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (UK, 1942)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;lightyellow&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (UK, 1969)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ffffff&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;w:Democratic Party (United States)&amp;quot;] = {abbrev = &amp;quot;D&amp;quot;, color = &amp;quot;#3333FF&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Yugoslavia)&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#FFD300&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party (Zambia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#ff338c&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party \&amp;quot;Saimnieks\&amp;quot;&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#861623&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party – Democratic and Progressive Italy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E30613&amp;quot;, shortname = &amp;quot;Democratic Party – IDP&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party Adilet&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0085fc&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party for a British Gibraltar&amp;quot;] = {abbrev = &amp;quot;DPBG&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party for Progress – Angolan National Alliance&amp;quot;] = {abbrev = &amp;quot;PDP–ANA&amp;quot;, color = &amp;quot;#009900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party For the People&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FFBA00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Albania&amp;quot;] = {abbrev = &amp;quot;PD&amp;quot;, color = &amp;quot;#00529C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Albanians&amp;quot;] = {abbrev = &amp;quot;PDSh&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Armenia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC1B24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Artsakh&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0072B9&amp;quot;, shortname = &amp;quot;Democratic Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Chile (1988)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Córdoba&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1F2F6B&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Equatorial Guinea&amp;quot;] = {abbrev = &amp;quot;PDGE&amp;quot;, color = &amp;quot;#3051A3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Greens&amp;quot;] = {abbrev = &amp;quot;DSZ&amp;quot;, color = &amp;quot;#007b33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Guinea – African Democratic Rally&amp;quot;] = {abbrev = &amp;quot;PDG-RDA&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of India (Ambedkar)&amp;quot;] = {abbrev = &amp;quot;DPIA (A)&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Iranian Kurdistan&amp;quot;] = {abbrev = &amp;quot;KDPI&amp;quot;, color = &amp;quot;#FC0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Ivory Coast – African Democratic Rally&amp;quot;] = {abbrev = &amp;quot;PDCI–RDA&amp;quot;, color = &amp;quot;#0FAF32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Kazakhstan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#01AEF3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Kosovo&amp;quot;] = {abbrev = &amp;quot;PDK&amp;quot;, color = &amp;quot;#2E96D2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Labour&amp;quot;] = {abbrev = &amp;quot;PDM&amp;quot;, color = &amp;quot;#ED2128&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Lesotho&amp;quot;] = {abbrev = &amp;quot;DPL&amp;quot;, color = &amp;quot;#4c196e&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Macedonia&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Macedonians&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;#F7D10C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Moldova&amp;quot;] = {abbrev = &amp;quot;PDM&amp;quot;, color = &amp;quot;#264B9D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Nauru&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002B7F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Pensioners of Slovenia&amp;quot;] = {abbrev = &amp;quot;DeSUS&amp;quot;, color = &amp;quot;#8DC63F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Pensioners&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;grey&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Republika Srpska&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Russia&amp;quot;] = {abbrev = &amp;quot;DPR&amp;quot;, color = &amp;quot;#DBB726&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Serbia&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;#126180&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Serbs in Macedonia&amp;quot;] = {abbrev = &amp;quot;DPSM&amp;quot;, color = &amp;quot;#1101E0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Slovenia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3300B2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Socialists of Montenegro (2021)&amp;quot;] = {abbrev = &amp;quot;DPS&amp;quot;, color = &amp;quot;#524FA1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Socialists of Montenegro&amp;quot;] = {abbrev = &amp;quot;DPS&amp;quot;, color = &amp;quot;#F58634&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Chadian People&amp;quot;] = {abbrev = &amp;quot;PDPT&amp;quot;, color = &amp;quot;#3b09e8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Atlantic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0000FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Friendly Islands&amp;quot;] = {abbrev = &amp;quot;DPFI&amp;quot;, color = &amp;quot;#C20100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Left&amp;quot;] = {abbrev = &amp;quot;PDS&amp;quot;, color = &amp;quot;#C72F35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the New Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FD3C0B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of the Philippines&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#0054A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Tajikistan&amp;quot;] = {abbrev = &amp;quot;DPT&amp;quot;, color = &amp;quot;#1E7B08&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Trinidad and Tobago&amp;quot;] = {abbrev = &amp;quot;DPTT&amp;quot;, color = &amp;quot;#2A3A8C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Turkmenistan&amp;quot;] = {abbrev = &amp;quot;TDP&amp;quot;, color = &amp;quot;#1CC858&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Turks&amp;quot;] = {abbrev = &amp;quot;DPTM&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Ukraine&amp;quot;] = {abbrev = &amp;quot;DPU&amp;quot;, color = &amp;quot;#025BAB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Vietnam&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0055A4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Vojvodina Hungarians&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5c7b59&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party of Zagorje&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#70bd5d&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Party Sint Maarten&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#e21c1a&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Patriotic Alliance of Kurdistan&amp;quot;] = {abbrev = &amp;quot;DPAK&amp;quot;, color = &amp;quot;#CCFF33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Patriots&#039; Unified Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D80100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Peace Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8DB7E9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Peasants&#039; Party–Lupu&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#B7D749&amp;quot;, shortname = &amp;quot;PȚD–Lupu&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People (Spain)&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#5BB829&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Alliance&amp;quot;] = {abbrev = &amp;quot;DNS&amp;quot;, color = &amp;quot;#2B0E72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Front&amp;quot;] = {abbrev = &amp;quot;DPF&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Movement&amp;quot;] = {abbrev = &amp;quot;DPM&amp;quot;, color = &amp;quot;#FF4500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Ghana)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#005DA3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (San Marino)&amp;quot;] = {abbrev = &amp;quot;PDP&amp;quot;, color = &amp;quot;#0068C1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#353F9C&amp;quot;, shortname = &amp;quot;Democratic People&#039;s&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Party (Turkey)&amp;quot;] = {abbrev = &amp;quot;DHP&amp;quot;, color = &amp;quot;#437CCD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&#039;s Union&amp;quot;] = {abbrev = &amp;quot;DNZ&amp;quot;, color = &amp;quot;#048AEB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic People&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#5AC2C5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Popular Movement&amp;quot;] = {abbrev = &amp;quot;SPD&amp;quot;, color = &amp;quot;#8a4e58&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progress Party&amp;quot;] = {abbrev = &amp;quot;DGP&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PDP&amp;quot;, color = &amp;quot;#005C9E&amp;quot;, shortname = &amp;quot;Democratic Progressive Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Austria)&amp;quot;] = {abbrev = &amp;quot;DFP&amp;quot;, color = &amp;quot;#FFE500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Malawi)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#1E90FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Singapore)&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C92B7D&amp;quot;, shortname = &amp;quot;Democratic&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Progressive Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#1B9431&amp;quot;, shortname = &amp;quot;Democratic Progressive&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Prosperous Macau Association&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#006400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally of the Comorian People&amp;quot;] = {abbrev = &amp;quot;RDPC&amp;quot;, color = &amp;quot;#FFFFFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally of the Comoros&amp;quot;] = {abbrev = &amp;quot;RDC&amp;quot;, color = &amp;quot;#32CD32&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rally&amp;quot;] = {abbrev = &amp;quot;DISY&amp;quot;, color = &amp;quot;#1569C7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform Party (Japan)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;Democratic Reform&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#2A52BE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reform Party of Muslims&amp;quot;] = {abbrev = &amp;quot;DRSM&amp;quot;, color = &amp;quot;#74C365&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reformist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D13C21&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Reforms Party&amp;quot;] = {abbrev = &amp;quot;DİP&amp;quot;, color = &amp;quot;#333399&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Regional Union&amp;quot;] = {abbrev = &amp;quot;DPE&amp;quot;, color = &amp;quot;darkorange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Regions Party&amp;quot;] = {abbrev = &amp;quot;DBP&amp;quot;, color = &amp;quot;#30A13E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal (Andorra)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal of Macedonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8DC73F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Angola)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#662531&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Brazil)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Benin)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#FFFA00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Cape Verde)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#02569F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Portugal)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal&amp;quot;] = {abbrev = &amp;quot;DIANA&amp;quot;, color = &amp;quot;#007FFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renewal Party (Costa Rica)&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#2C93FB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Renovation&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republic of Timor-Leste Party&amp;quot;] = {abbrev = &amp;quot;PDRT&amp;quot;, color = &amp;quot;#DE5D83&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#835B38&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Alliance&amp;quot;] = {abbrev = &amp;quot;ARD&amp;quot;, color = &amp;quot;#FFBF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Party (South Korea, 1997)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0D90D6&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Republican Union&amp;quot;] = {abbrev = &amp;quot;URD&amp;quot;, color = &amp;quot;#feed01&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revival&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolution&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1D4C4F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Alliance (Bolivia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Front – New Alternative&amp;quot;] = {abbrev = &amp;quot;FDR&amp;quot;, color = &amp;quot;#1FA045&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Nationalist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#bb0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Party&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#003F87&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Revolutionary Peoples Party&amp;quot;] = {abbrev = &amp;quot;DRPP&amp;quot;, color = &amp;quot;#006400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Rioja&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFF6F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Senate&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB64DB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Serb Party (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DSS&amp;quot;, color = &amp;quot;Darkblue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Christian Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#556627&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Front&amp;quot;] = {abbrev = &amp;quot;FDS&amp;quot;, color = &amp;quot;#009900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Justice Party&amp;quot;] = {abbrev = &amp;quot;DSJP&amp;quot;, color = &amp;quot;#A91B0D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Movement&amp;quot;] = {abbrev = &amp;quot;DIKKI&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social Party&amp;quot;] = {abbrev = &amp;quot;PDS&amp;quot;, color = &amp;quot;#0067A5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Social-Revolutionary Party of Cuba&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D21F1B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialism (Chile)&amp;quot;] = {abbrev = &amp;quot;SD&amp;quot;, color = &amp;quot;#B7051F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Alliance (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EE3507&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CC4E5C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Arab Ba&#039;ath Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#02AB72&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Coalition&amp;quot;] = {abbrev = &amp;quot;CSD&amp;quot;, color = &amp;quot;#00BFFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D2323A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Argentina)&amp;quot;] = {abbrev = &amp;quot;PSD&amp;quot;, color = &amp;quot;#FF9900&amp;quot;, shortname = &amp;quot;Democratic Socialist Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Ireland)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#FF0099&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Japan)&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#FF4F4F&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Morocco)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#188410&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (Prabodh Chandra)&amp;quot;] = {abbrev = &amp;quot;DSP(PC)&amp;quot;, color = &amp;quot;#FF033E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF8000&amp;quot;, shortname = &amp;quot;Democratic Socialist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Party of Greece&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;Yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Radical Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialist Unionist Party&amp;quot;] = {abbrev = &amp;quot;DSUP&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialists &#039;70&amp;quot;] = {abbrev = &amp;quot;DS&#039;70&amp;quot;, color = &amp;quot;#A21756&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Socialists of America&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EB2128&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#74C365&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Congress&amp;quot;] = {abbrev = &amp;quot;DTK&amp;quot;, color = &amp;quot;#029E4A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Party&amp;quot;] = {abbrev = &amp;quot;DTP&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Society Party (Morocco)&amp;quot;] = {abbrev = &amp;quot;PSD&amp;quot;, color = &amp;quot;#FDD86D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic swaraj party&amp;quot;] = {abbrev = &amp;quot;DSP&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Tamil National Alliance&amp;quot;] = {abbrev = &amp;quot;DTNA&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Tumu Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C8102E&amp;quot;, shortname = &amp;quot;Democratic Tumu&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Turkish Union of Romania&amp;quot;] = {abbrev = &amp;quot;RDTB&amp;quot;, color = &amp;quot;#E30A17&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unification Party (South Korea)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#c93&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Unification&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unification Party&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#FEF100&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Czech Republic)&amp;quot;] = {abbrev = &amp;quot;DEU&amp;quot;, color = &amp;quot;#6D051C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Greece)&amp;quot;] = {abbrev = &amp;quot;DE&amp;quot;, color = &amp;quot;#FFC0CB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Greece, 1956)&amp;quot;] = {abbrev = &amp;quot;DE&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Guatemala)&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#4fadea&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Israel)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#029A3D&amp;quot;, shortname = &amp;quot;Democratic Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Italy)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Bosnia and Herzegovina)&amp;quot;] = {abbrev = &amp;quot;DEMOS&amp;quot;, color = &amp;quot;#ED1C24&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union (Poland)&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#DB812E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Coalition (1996–2000)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#074DA9&amp;quot;, shortname = &amp;quot;Democratic&amp;amp;nbsp;Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for Integration&amp;quot;] = {abbrev = &amp;quot;BDI&amp;quot;, color = &amp;quot;#344b9b&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for Revival&amp;quot;] = {abbrev = &amp;quot;DAK&amp;quot;, color = &amp;quot;#1F2563&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for the Respect of Labour&amp;quot;] = {abbrev = &amp;quot;UDRT/RAD&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union for the Republic&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Albanians&amp;quot;] = {abbrev = &amp;quot;UDSH&amp;quot;, color = &amp;quot;#E65532&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Catalonia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0053A1&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Croats&amp;quot;] = {abbrev = &amp;quot;DZH&amp;quot;, color = &amp;quot;#E5111D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Hungarians in Romania&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#15803C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Hungarians of Croatia&amp;quot;] = {abbrev = &amp;quot;DZMH&amp;quot;, color = &amp;quot;#15803C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovakia&amp;quot;] = {abbrev = &amp;quot;DEÚS&amp;quot;, color = &amp;quot;#007BA7&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Slovaks and Czechs of Romania&amp;quot;] = {abbrev = &amp;quot;UDSCR&amp;quot;, color = &amp;quot;#1136F2&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Taiwan&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9826&amp;quot;, shortname = &amp;quot;Democratic Union&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Malian People&amp;quot;] = {abbrev = &amp;quot;UDPM&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Region of Murcia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#039C06&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Rwandan People&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#344EA3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of the Vlachs of Macedonia&amp;quot;] = {abbrev = &amp;quot;DSVM&amp;quot;, color = &amp;quot;&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union of Turkic-Muslim Tatars of Romania&amp;quot;] = {abbrev = &amp;quot;RMTTDB&amp;quot;, color = &amp;quot;#E4E700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Party (Romania)&amp;quot;] = {abbrev = &amp;quot;PDU&amp;quot;, color = &amp;quot;blue&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union Party (Syria)&amp;quot;] = {abbrev = &amp;quot;PYD&amp;quot;, color = &amp;quot;#F70302&amp;quot;, shortname = &amp;quot;Democratic Union Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Union–Broad Centre&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F6643D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unionist Party&amp;quot;] = {abbrev = &amp;quot;DUP&amp;quot;, color = &amp;quot;#D46A4C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unionist Party (Sudan)&amp;quot;] = {abbrev = &amp;quot;DUP&amp;quot;, color = &amp;quot;#00A6EF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic United National Front&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;green&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic United Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FAC71A&amp;quot;, shortname = &amp;quot;Democratic United&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity&amp;quot;] = {abbrev = &amp;quot;UD&amp;quot;, color = &amp;quot;#FFD700&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity Alliance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F8A718&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Unity Roundtable&amp;quot;] = {abbrev = &amp;quot;MUD&amp;quot;, color = &amp;quot;#0F52BA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Way (Spain)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFAE00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Way Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87a1fe&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic Women&#039;s League of Germany&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3d61d6&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic – Neutral – Authentic&amp;quot;] = {abbrev = &amp;quot;DNA&amp;quot;, color = &amp;quot;#2C2D84&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Independent Party (North Dakota)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#66CCFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3333FF&amp;quot;, shortname = &amp;quot;Democratic-People&#039;s&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Adams)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#68C468&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Jackson)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#698DC5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican (Crawford)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9955&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party (1844)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#808000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Republican Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Democratic-Republican&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic-Social Movement (Poland)&amp;quot;] = {abbrev = &amp;quot;RDS&amp;quot;, color = &amp;quot;#FAAA49&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic/Country coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6495ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democratic/Hold&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EEF6FF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Brazil)&amp;quot;] = {abbrev = &amp;quot;DEM&amp;quot;, color = &amp;quot;#8CC63E&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Chile)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DA1764&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Croatia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#B00F1F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greece, 2009)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6D85CB&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greece, 2024)&amp;quot;] = {abbrev = &amp;quot;Democrats&amp;quot;, color = &amp;quot;#011689&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Greenland)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#152D49&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Slovakia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#50168E&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats (Slovenia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#09115e&amp;quot;, shortname = &amp;quot;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats 66&amp;quot;] = {abbrev = &amp;quot;D66&amp;quot;, color = &amp;quot;#00AE41&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats and Veterans&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#000000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for a Strong Bulgaria&amp;quot;] = {abbrev = &amp;quot;DSB&amp;quot;, color = &amp;quot;#02528A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Andorra&amp;quot;] = {abbrev = &amp;quot;DA&amp;quot;, color = &amp;quot;#EA7A28&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Liechtenstein&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005EA8&amp;quot;, shortname = &amp;quot;DpL&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats for Responsibility, Solidarity and Tolerance&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1A70B8&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats of Catalonia&amp;quot;] = {abbrev = &amp;quot;DC&amp;quot;, color = &amp;quot;#1375CE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Democrats of the Left&amp;quot;] = {abbrev = &amp;quot;DS&amp;quot;, color = &amp;quot;#C72F35&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DEMOS (Montenegro)&amp;quot;] = {abbrev = &amp;quot;DEMOS&amp;quot;, color = &amp;quot;#89CFF0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demos+&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F97D19&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demosisto&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#37C8B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Demosistō&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#37C8B4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denk (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00B7B2&amp;quot;, shortname = &amp;quot;Denk&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denmark Democrats&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4572F1&amp;quot;, shortname = &amp;quot;Denmark&amp;amp;nbsp;Democrats&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Denok Hiritar&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FEF900&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Der Wandel&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D32C0B&amp;quot;, shortname = &amp;quot;Wandel&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derekh Eretz (political faction)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#277EE5&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derryn Hinch&#039;s Justice Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#002F5D&amp;quot;, shortname = &amp;quot;Justice&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derwentside Independents&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9F009F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derzhava (Russian party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#959698&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Derzhava (Ukrainian party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;Derzhava&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Des de Baix&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EF7D00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desh Bhakt Party&amp;quot;] = {abbrev = &amp;quot;DBP&amp;quot;, color = &amp;quot;#B404AE&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desire the Right Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0087DC&amp;quot;, shortname = &amp;quot;Desire the Right&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Desiya Murpokku Dravida Kazhagam&amp;quot;] = {abbrev = &amp;quot;DMDK&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destiny New Zealand&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFFF00&amp;quot;, shortname = &amp;quot;Destiny&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destour&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#7F1A03&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Destourian Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;RebeccaPurple&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Determination and Justice&amp;quot;] = {abbrev = &amp;quot;OiP&amp;quot;, color = &amp;quot;#262757&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deutsche Mitte&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#284f8d&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Deutsche Reichspartei&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8B4726&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Devana Parapura&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#98151b&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development and Peace (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#6A287E&amp;quot;, shortname = &amp;quot;Flatto-Sharon&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#8F188F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Development/For!&amp;quot;] = {abbrev = &amp;quot;AP!&amp;quot;, color = &amp;quot;#FFEC00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Devizes Guardians&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#9A114F&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dharmacracy Party&amp;quot;] = {abbrev = &amp;quot;DP&amp;quot;, color = &amp;quot;#F46A26&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dharmacracy Party (Thailand)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C8BCA7&amp;quot;, shortname = &amp;quot;Dharmacracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dhivehi Qaumee Party&amp;quot;] = {abbrev = &amp;quot;DQP&amp;quot;, color = &amp;quot;maroon&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dhivehi Rayyithunge Party&amp;quot;] = {abbrev = &amp;quot;DRP&amp;quot;, color = &amp;quot;#3F89C0&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Diàleg Republicà&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CD2E33&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue – The Greens&#039; Party&amp;quot;] = {abbrev = &amp;quot;PZ&amp;quot;, color = &amp;quot;#39B54A&amp;quot;, shortname = &amp;quot;Dialogue&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue for Hungary&amp;quot;] = {abbrev = &amp;quot;PM&amp;quot;, color = &amp;quot;#3CB34D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dialogue Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#D32270&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dibyojyoti Singh Deo&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DD4561&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die Linke&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#BE3075&amp;quot;, shortname = &amp;quot;Linke&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die PARTEI&amp;quot;] = {abbrev = &amp;quot;PARTEI&amp;quot;, color = &amp;quot;#B5152B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Die Urbane. Eine HipHop Partei&amp;quot;] = {abbrev = &amp;quot;du.&amp;quot;, color = &amp;quot;#E66346&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DierAnimal&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#148C8B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Different Cantabria&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#96D351&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Digital Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F36F21&amp;quot;, shortname = &amp;quot;Digital&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignidad Ahora&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#EC8431&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Charity&amp;quot;] = {abbrev = &amp;quot;DM&amp;quot;, color = &amp;quot;#0BC3AD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform&amp;quot;] = {abbrev = &amp;quot;PPDA&amp;quot;, color = &amp;quot;#5E0C06&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity and Truth Platform2022&amp;quot;] = {abbrev = &amp;quot;PPDA2022&amp;quot;, color = &amp;quot;#409FD9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Coalition&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#3D7254&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Movement&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#458241&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Now!&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FFA500&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (Algeria)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;Dignity&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (Egypt)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dignity Party (South Australia)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#69359C&amp;quot;, shortname = &amp;quot;Dignity&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dikwankwetla Party of South Africa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4B393B&amp;quot;, shortname = &amp;quot;Dikwankwetla Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dimasalang Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FC6A03&amp;quot;, shortname = &amp;quot;Dimasalang&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy (Peru)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;yellow&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy (Poland)&amp;quot;] = {abbrev = &amp;quot;DB&amp;quot;, color = &amp;quot;#3AD5C8&amp;quot;, shortname = &amp;quot;Direct Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy Ireland&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;Direct&amp;amp;nbsp;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democracy Party of New Zealand&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#F28317&amp;quot;, shortname = &amp;quot;Direct&amp;amp;nbsp;Democracy&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democratic Participation of Galicia&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4FAECD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Democrats (Sweden)&amp;quot;] = {abbrev = &amp;quot;DD&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direct Development Party&amp;quot;] = {abbrev = &amp;quot;DDP&amp;quot;, color = &amp;quot;#57A0D3&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Direction – Slovak Social Democracy&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#d82222&amp;quot;, shortname = &amp;quot;Smer&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dissident Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#66CC99&amp;quot;, shortname = &amp;quot;Dissident Left&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dissident Radical Civic Union&amp;quot;] = {abbrev = &amp;quot;UCRD&amp;quot;, color = &amp;quot;#A52A2A&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dixiecrat&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF9955&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Djathtas 1912&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#143560&amp;quot;, shortname = &amp;quot;Djathtas&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Djathtas për Zhvillim&amp;quot;] = {abbrev = &amp;quot;DZh&amp;quot;, color = &amp;quot;#542d52&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DK–MSZP–Dialogue Alliance&amp;quot;] = {abbrev = &amp;quot;DK–MSZP–P&amp;quot;, color = &amp;quot;#0171BB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Don&#039;t Let Belgrade Drown&amp;quot;] = {abbrev = &amp;quot;NDB&amp;quot;, color = &amp;quot;#276030&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Doctrinaires&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#87CEFA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Domani Motus Liberi&amp;quot;] = {abbrev = &amp;quot;DML&amp;quot;, color = &amp;quot;#039ADA&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōmei Seisha&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#825C8C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica Freedom Party&amp;quot;] = {abbrev = &amp;quot;DFP&amp;quot;, color = &amp;quot;#008000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica Labour Party&amp;quot;] = {abbrev = &amp;quot;DLP&amp;quot;, color = &amp;quot;#F0001C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominica United People&#039;s Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;orange&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Communist Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#CE2029&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Humanist Party&amp;quot;] = {abbrev = &amp;quot;DHP&amp;quot;, color = &amp;quot;#FFEF52&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Liberation Party&amp;quot;] = {abbrev = &amp;quot;PLD&amp;quot;, color = &amp;quot;#870B9C&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#964B00&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominican Revolutionary Party&amp;quot;] = {abbrev = &amp;quot;PRD&amp;quot;, color = &amp;quot;#009EFF&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominicans for Change&amp;quot;] = {abbrev = &amp;quot;PDC&amp;quot;, color = &amp;quot;#12e3ff&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Labor Party (Alberta)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;transparent&amp;quot;, shortname = &amp;quot;Labor&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Party (South Africa)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#50C878&amp;quot;, shortname = &amp;quot;Dominion&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dominion Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#800080&amp;quot;, shortname = &amp;quot;Dominion&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DOMOV&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#C63B28&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Donegal Progressive Party&amp;quot;] = {abbrev = &amp;quot;DPP&amp;quot;, color = &amp;quot;#FF7F00&amp;quot;, shortname = &amp;quot;Donegal Progressive Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Donetsk Republic (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#005087&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Doordarshi Party&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#00FF99&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dor (political party)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#409199&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōshi Club (1900s)&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#0018ED&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dōshi Seisha&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#4D5269&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dovira&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#1A9DAA&amp;quot;, shortname = &amp;quot;Dovira&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Downlands Resident Group&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DDDDDD&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DPS – A New Beginning&amp;quot;] = {abbrev = &amp;quot;DPS–NN&amp;quot;, color = &amp;quot;#0662AB&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dr. A. P. J. Abdul Kalam&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#DB7099&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dr. Ansay Party&amp;quot;] = {abbrev = &amp;quot;DrA&amp;quot;, color = &amp;quot;#15E4C9&amp;quot;, shortname = &amp;quot;Ansay Party&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Drago Project&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#232323&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Drassi&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#f37021&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dravida Munnetra Kazhagam&amp;quot;] = {abbrev = &amp;quot;DMK&amp;quot;, color = &amp;quot;#FF0D0D&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Droa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#231F20&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Chirwang Tshogpa&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FCB116&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Nyamrup Tshogpa&amp;quot;] = {abbrev = &amp;quot;DNT&amp;quot;, color = &amp;quot;#F9C6D9&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Phuensum Tshogpa&amp;quot;] = {abbrev = &amp;quot;DPT&amp;quot;, color = &amp;quot;#E48400&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Druk Thuendrel Tshogpa&amp;quot;] = {abbrev = &amp;quot;DTT&amp;quot;, color = &amp;quot;#4a85c4&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dublin Trades Council&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#FF0000&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Duma Polska&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E04A4B&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dutch People&#039;s Union&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;red&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Duterte Youth&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#60a2ec&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;DuterTen&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#015420&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dveri&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#E32636&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Dynastic Left&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;#5FA082&amp;quot;, shortname = &amp;quot;Leftist&amp;quot;,},&lt;br /&gt;
	[&amp;quot;Džemijet&amp;quot;] = {abbrev = &amp;quot;&amp;quot;, color = &amp;quot;black&amp;quot;, shortname = &amp;quot;&amp;quot;,},&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	full = full,&lt;br /&gt;
	alternate = alternate,&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Percentage_point&amp;diff=75</id>
		<title>Percentage point</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Percentage_point&amp;diff=75"/>
		<updated>2025-08-04T18:02:00Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;{{Short description|Unit for the arithmetic difference of two percentages}} {{Distinguish-redirect|Percent point|Quantile function{{!}}Percent point function}}  A &amp;#039;&amp;#039;&amp;#039;percentage point&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;percent point&amp;#039;&amp;#039;&amp;#039; is the unit for the arithmetic difference between two percentages. For example, moving up from 40 percent to 44 percent is an increase of 4 percentage points (although it is a 10-percent increase in the quantit...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Short description|Unit for the arithmetic difference of two percentages}}&lt;br /&gt;
{{Distinguish-redirect|Percent point|Quantile function{{!}}Percent point function}}&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;percentage point&#039;&#039;&#039; or &#039;&#039;&#039;percent point&#039;&#039;&#039; is the [[unit (measurement)|unit]] for the [[difference (mathematics)|arithmetic difference]] between two [[percentage]]s. For example, moving up from 40 percent to 44 percent is an increase of 4 percentage points (although it is a 10-percent increase in the quantity being measured, if the total amount remains the same).&amp;lt;ref&amp;gt;{{cite book |last=Brechner |first=Robert |date=2008 |title=Contemporary Mathematics for Business and Consumers, Brief Edition |url=https://books.google.com/books?id=jSsHAAAAQBAJ&amp;amp;q=percentage+points&amp;amp;pg=PA190 |publisher=Cengage Learning |page=190 |access-date=7 May 2015 |url-status=live |archive-url=https://web.archive.org/web/20150518123546/https://books.google.co.uk/books?id=jSsHAAAAQBAJ&amp;amp;lpg=PA190&amp;amp;dq=percentage%20points&amp;amp;hl=no&amp;amp;pg=PA190#v=onepage&amp;amp;q=percentage%20points&amp;amp;f=false |archive-date=18 May 2015 |isbn=9781111805500 }}&amp;lt;/ref&amp;gt; In written text, the unit (the percentage point) is usually either written out,&amp;lt;ref&amp;gt;{{cite book |last=Wickham |first=Kathleen |date=2003 |title=Math Tools for Journalists |url=https://books.google.com/books?id=RYtYmMD2ReAC&amp;amp;q=points&amp;amp;pg=PA30 |publisher=Cengage Learning |page=30 |access-date=7 May 2015 |url-status=live |archive-url=https://web.archive.org/web/20150518123538/https://books.google.co.uk/books?id=RYtYmMD2ReAC&amp;amp;lpg=PP1&amp;amp;dq=textbook%20mathematics%20%22percentage%20points%22&amp;amp;hl=no&amp;amp;pg=PA30#v=onepage&amp;amp;q=points&amp;amp;f=false |archive-date=18 May 2015 |isbn=9780972993746 }}&amp;lt;/ref&amp;gt; or abbreviated as &#039;&#039;pp&#039;&#039;, &#039;&#039;p.p.&#039;&#039;, or &#039;&#039;%pt.&#039;&#039; to avoid confusion with percentage increase or decrease in the actual quantity. After the first occurrence, some writers abbreviate by using just &amp;quot;point&amp;quot; or &amp;quot;points&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Differences between percentages and percentage points==&lt;br /&gt;
Consider the following hypothetical example: In 1980, 50 percent of the population smoked, and in 1990 only 40 percent of the population smoked. One can thus say that from 1980 to 1990, the prevalence of smoking decreased by 10 &#039;&#039;percentage points&#039;&#039; (or by 10 percent of the population) or by &#039;&#039;20 percent&#039;&#039; when talking about smokers only – percentages indicate proportionate part of a total. &lt;br /&gt;
&lt;br /&gt;
Percentage-point differences are one way to express a risk or [[probability]]. Consider a drug that cures a given disease in 70 percent of all cases, while without the drug, the disease heals spontaneously in only 50 percent of cases. The drug reduces absolute risk by 20 percentage points. Alternatives may be more meaningful to consumers of statistics, such as the  [[Multiplicative inverse|reciprocal]], also known as the [[number needed to treat]] (NNT). In this case, the reciprocal transform of the percentage-point difference would be 1/(20pp) = 1/0.20 = 5. Thus if 5 patients are treated with the drug, one could expect to cure one more patient than would have gotten well without receiving the treatment.&lt;br /&gt;
&lt;br /&gt;
For measurements involving percentages as a unit, such as, growth, [[yield (finance)|yield]], or [[ejection fraction]], [[statistical deviation]]s and related [[descriptive statistics]], including the [[standard deviation]] and [[root-mean-square error]], the result should be expressed in units of percentage points instead of percentage. {{Citation needed|reason=Suggesting that pp&#039;s should be used needs support|date=February 2019}} Mistakenly using percentage as the unit for the standard deviation is confusing, since percentage is also used as a unit for the [[relative standard deviation]], i.e. standard deviation divided by average value ([[coefficient of variation]]).&lt;br /&gt;
&lt;br /&gt;
== Related units ==&lt;br /&gt;
* [[Percentage]] (%) 1 part in 100&lt;br /&gt;
* [[Per mille]] (‰) 1 part in 1,000&lt;br /&gt;
* [[Permyriad]] (‱) 1 part in 10,000&lt;br /&gt;
** [[Basis point]] (bp) difference of 1 part in 10,000&lt;br /&gt;
* [[Per cent mille]] (pcm) 1 part in 100,000&lt;br /&gt;
* [[Parts-per notation]] parts per million (ppm) etc.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{annotated link|Baker percentage}}&lt;br /&gt;
* {{annotated link|Parts-per notation}}&lt;br /&gt;
* {{annotated link|Percent point function}}&lt;br /&gt;
* {{annotated link|Per-unit system}}&lt;br /&gt;
* {{annotated link|Relative change |aka=relative difference}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Mathematical terminology]]&lt;br /&gt;
[[Category:Probability assessment]]&lt;br /&gt;
[[Category:Units of measurement]]&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=74</id>
		<title>2024 United States presidential election</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=2024_United_States_presidential_election&amp;diff=74"/>
		<updated>2025-08-04T17:44:26Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;{{Infobox election | election_name = 2024 United States presidential election | country = United States | type = presidential | opinion_polls = Nationwide opinion polling for the 2024 United States presidential election | college_voted = yes | previous_election = 2020 United States presidential election | previous_year = 2020 | next_election = 2028 United States presidential election | next_year = &amp;#039;&amp;#039;2028&amp;#039;&amp;#039; | election_date = November 5, 2024 | votes_for_election = 538 mem...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox election&lt;br /&gt;
| election_name = 2024 United States presidential election&lt;br /&gt;
| country = United States&lt;br /&gt;
| type = presidential&lt;br /&gt;
| opinion_polls = Nationwide opinion polling for the 2024 United States presidential election&lt;br /&gt;
| college_voted = yes&lt;br /&gt;
| previous_election = 2020 United States presidential election&lt;br /&gt;
| previous_year = 2020&lt;br /&gt;
| next_election = 2028 United States presidential election&lt;br /&gt;
| next_year = &#039;&#039;2028&#039;&#039;&lt;br /&gt;
| election_date = November 5, 2024&lt;br /&gt;
| votes_for_election = 538 members of the [[United States Electoral College|Electoral College]]&lt;br /&gt;
| needed_votes = 270 electoral&lt;br /&gt;
| turnout = 64.1% ({{decrease}} 2.5 [[percentage point|pp]])&lt;br /&gt;
| map_image = {{2024 United States presidential election imagemap}}&lt;br /&gt;
| map_size = &lt;br /&gt;
| image1 = TrumpPortrait (3x4a).jpg&lt;br /&gt;
| image_size = 200x200px&lt;br /&gt;
| nominee1 = &#039;&#039;&#039;[[w:Donald Trump|Donald Trump]]&#039;&#039;&#039;&lt;br /&gt;
| party1 = Republican Party (United States)&lt;br /&gt;
| home_state1 = [[Florida]]&lt;br /&gt;
| running_mate1 = &#039;&#039;&#039;[[JD Vance]]&#039;&#039;&#039;&lt;br /&gt;
| electoral_vote1 = &#039;&#039;&#039;312&#039;&#039;&#039;&lt;br /&gt;
| states_carried1 = &#039;&#039;&#039;31 + {{ushr|ME|2|ME-02}}&#039;&#039;&#039;&lt;br /&gt;
| popular_vote1 = &#039;&#039;&#039;77,302,580&#039;&#039;&#039;&lt;br /&gt;
| percentage1 = &#039;&#039;&#039;49.8%&#039;&#039;&#039;&lt;br /&gt;
| image2 = Kamala Harris Vice Presidential Portrait (cropped).jpg&lt;br /&gt;
| nominee2 = [[Kamala Harris]]&lt;br /&gt;
| party2 = Democratic Party (United States)&lt;br /&gt;
| home_state2 = [[California]]&lt;br /&gt;
| running_mate2 = [[Tim Walz]]&lt;br /&gt;
| electoral_vote2 = 226&lt;br /&gt;
| states_carried2 = 19 + [[Washington, D.C.|DC]] + {{ushr|NE|2|NE-02}}&lt;br /&gt;
| popular_vote2 = 75,017,613&lt;br /&gt;
| percentage2 = 48.3%&lt;br /&gt;
| map_caption = Presidential election results map. &amp;lt;span style=&amp;quot;color:darkred;&amp;quot;&amp;gt;Red&amp;lt;/span&amp;gt; denotes [[U.S. states]] won by Trump/Vance and &amp;lt;span style=&amp;quot;color:darkblue&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt; denotes those won by Harris/Walz. Numbers indicate [[United States Electoral College|electoral votes]] cast by each state and the [[District of Columbia]].&lt;br /&gt;
| title = President&lt;br /&gt;
| before_election = [[Joe Biden]]&lt;br /&gt;
| before_party = Democratic Party (United States)&lt;br /&gt;
| posttitle = &amp;lt;!--Please stop changing--&amp;gt;Elected President&amp;lt;!--Please stop changing--&amp;gt;&lt;br /&gt;
| after_election = [[Donald Trump]]&lt;br /&gt;
| after_party = Republican Party (United States)&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=MediaWiki:Common.js&amp;diff=73</id>
		<title>MediaWiki:Common.js</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=MediaWiki:Common.js&amp;diff=73"/>
		<updated>2025-08-04T17:28:09Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;/* Any JavaScript here will be loaded for all users on every page load. */ /**  * Keep code in MediaWiki:Common.js to a minimum as it is unconditionally  * loaded for all users on every wiki page. If possible create a gadget that is  * enabled by default instead of adding it here (since gadgets are fully  * optimized ResourceLoader modules with possibility to add dependencies etc.)  *  * Since Common.js isn&amp;#039;t a gadget, there is no place to declare its  * dependencies, so...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/* Any JavaScript here will be loaded for all users on every page load. */&lt;br /&gt;
/**&lt;br /&gt;
 * Keep code in MediaWiki:Common.js to a minimum as it is unconditionally&lt;br /&gt;
 * loaded for all users on every wiki page. If possible create a gadget that is&lt;br /&gt;
 * enabled by default instead of adding it here (since gadgets are fully&lt;br /&gt;
 * optimized ResourceLoader modules with possibility to add dependencies etc.)&lt;br /&gt;
 *&lt;br /&gt;
 * Since Common.js isn&#039;t a gadget, there is no place to declare its&lt;br /&gt;
 * dependencies, so we have to lazy load them with mw.loader.using on demand and&lt;br /&gt;
 * then execute the rest in the callback. In most cases these dependencies will&lt;br /&gt;
 * be loaded (or loading) already and the callback will not be delayed. In case a&lt;br /&gt;
 * dependency hasn&#039;t arrived yet it&#039;ll make sure those are loaded before this.&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
/* global mw, $ */&lt;br /&gt;
/* jshint strict:false, browser:true */&lt;br /&gt;
&lt;br /&gt;
mw.loader.using( [ &#039;mediawiki.util&#039; ] ).done( function () {&lt;br /&gt;
	/* Begin of mw.loader.using callback */&lt;br /&gt;
&lt;br /&gt;
	/**&lt;br /&gt;
	 * Map addPortletLink to mw.util&lt;br /&gt;
	 * @deprecated: Use mw.util.addPortletLink instead.&lt;br /&gt;
	 */&lt;br /&gt;
	mw.log.deprecate( window, &#039;addPortletLink&#039;, mw.util.addPortletLink, &#039;Use mw.util.addPortletLink instead&#039; );&lt;br /&gt;
&lt;br /&gt;
	/**&lt;br /&gt;
	 * @source www.mediawiki.org/wiki/Snippets/Load_JS_and_CSS_by_URL&lt;br /&gt;
	 * @rev 6&lt;br /&gt;
	 */&lt;br /&gt;
	var extraCSS = mw.util.getParamValue( &#039;withCSS&#039; ),&lt;br /&gt;
		extraJS = mw.util.getParamValue( &#039;withJS&#039; );&lt;br /&gt;
&lt;br /&gt;
	if ( extraCSS ) {&lt;br /&gt;
		if ( extraCSS.match( /^MediaWiki:[^&amp;amp;&amp;lt;&amp;gt;=%#]*\.css$/ ) ) {&lt;br /&gt;
			mw.loader.load( &#039;/w/index.php?title=&#039; + extraCSS + &#039;&amp;amp;action=raw&amp;amp;ctype=text/css&#039;, &#039;text/css&#039; );&lt;br /&gt;
		} else {&lt;br /&gt;
			mw.notify( &#039;Only pages from the MediaWiki namespace are allowed.&#039;, { title: &#039;Invalid withCSS value&#039; } );&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	if ( extraJS ) {&lt;br /&gt;
		if ( extraJS.match( /^MediaWiki:[^&amp;amp;&amp;lt;&amp;gt;=%#]*\.js$/ ) ) {&lt;br /&gt;
			mw.loader.load( &#039;/w/index.php?title=&#039; + extraJS + &#039;&amp;amp;action=raw&amp;amp;ctype=text/javascript&#039; );&lt;br /&gt;
		} else {&lt;br /&gt;
			mw.notify( &#039;Only pages from the MediaWiki namespace are allowed.&#039;, { title: &#039;Invalid withJS value&#039; } );&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	/**&lt;br /&gt;
	 * Collapsible tables; reimplemented with mw-collapsible&lt;br /&gt;
	 * Styling is also in place to avoid FOUC&lt;br /&gt;
	 *&lt;br /&gt;
	 * Allows tables to be collapsed, showing only the header. See [[Help:Collapsing]].&lt;br /&gt;
	 * @version 3.0.0 (2018-05-20)&lt;br /&gt;
	 * @source https://www.mediawiki.org/wiki/MediaWiki:Gadget-collapsibleTables.js&lt;br /&gt;
	 * @author [[User:R. Koot]]&lt;br /&gt;
	 * @author [[User:Krinkle]]&lt;br /&gt;
	 * @author [[User:TheDJ]]&lt;br /&gt;
	 * @deprecated Since MediaWiki 1.20: Use class=&amp;quot;mw-collapsible&amp;quot; instead which&lt;br /&gt;
	 * is supported in MediaWiki core. Shimmable since MediaWiki 1.32&lt;br /&gt;
	 *&lt;br /&gt;
	 * @param {jQuery} $content&lt;br /&gt;
	 */&lt;br /&gt;
	function makeCollapsibleMwCollapsible( $content ) {&lt;br /&gt;
		var $tables = $content&lt;br /&gt;
			.find( &#039;table.collapsible:not(.mw-collapsible)&#039; )&lt;br /&gt;
			.addClass( &#039;mw-collapsible&#039; );&lt;br /&gt;
&lt;br /&gt;
		$.each( $tables, function ( index, table ) {&lt;br /&gt;
			// mw.log.warn( &#039;This page is using the deprecated class collapsible. Please replace it with mw-collapsible.&#039;);&lt;br /&gt;
			if ( $( table ).hasClass( &#039;collapsed&#039; ) ) {&lt;br /&gt;
				$( table ).addClass( &#039;mw-collapsed&#039; );&lt;br /&gt;
				// mw.log.warn( &#039;This page is using the deprecated class collapsed. Please replace it with mw-collapsed.&#039;);&lt;br /&gt;
			}&lt;br /&gt;
		} );&lt;br /&gt;
		if ( $tables.length &amp;gt; 0 ) {&lt;br /&gt;
			mw.loader.using( &#039;jquery.makeCollapsible&#039; ).then( function () {&lt;br /&gt;
				$tables.makeCollapsible();&lt;br /&gt;
			} );&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
	mw.hook( &#039;wikipage.content&#039; ).add( makeCollapsibleMwCollapsible );&lt;br /&gt;
&lt;br /&gt;
	/**&lt;br /&gt;
	 * Add support to mw-collapsible for autocollapse, innercollapse and outercollapse&lt;br /&gt;
	 *&lt;br /&gt;
	 * Maintainers: TheDJ&lt;br /&gt;
	 */&lt;br /&gt;
	function mwCollapsibleSetup( $collapsibleContent ) {&lt;br /&gt;
		var $element,&lt;br /&gt;
			$toggle,&lt;br /&gt;
			autoCollapseThreshold = 2;&lt;br /&gt;
		$.each( $collapsibleContent, function ( index, element ) {&lt;br /&gt;
			$element = $( element );&lt;br /&gt;
			if ( $element.hasClass( &#039;collapsible&#039; ) ) {&lt;br /&gt;
				$element.find( &#039;tr:first &amp;gt; th:first&#039; ).prepend( $element.find( &#039;tr:first &amp;gt; * &amp;gt; .mw-collapsible-toggle&#039; ) );&lt;br /&gt;
			}&lt;br /&gt;
			if ( $collapsibleContent.length &amp;gt;= autoCollapseThreshold &amp;amp;&amp;amp; $element.hasClass( &#039;autocollapse&#039; ) ) {&lt;br /&gt;
				$element.data( &#039;mw-collapsible&#039; ).collapse();&lt;br /&gt;
			} else if ( $element.hasClass( &#039;innercollapse&#039; ) ) {&lt;br /&gt;
				if ( $element.parents( &#039;.outercollapse&#039; ).length &amp;gt; 0 ) {&lt;br /&gt;
					$element.data( &#039;mw-collapsible&#039; ).collapse();&lt;br /&gt;
				}&lt;br /&gt;
			}&lt;br /&gt;
			// because of colored backgrounds, style the link in the text color&lt;br /&gt;
			// to ensure accessible contrast&lt;br /&gt;
			$toggle = $element.find( &#039;.mw-collapsible-toggle&#039; );&lt;br /&gt;
			if ( $toggle.length ) {&lt;br /&gt;
				// Make the toggle inherit text color (Updated for T333357 2023-04-29)&lt;br /&gt;
				if ( $toggle.parent()[ 0 ].style.color ) {&lt;br /&gt;
					$toggle.css( &#039;color&#039;, &#039;inherit&#039; );&lt;br /&gt;
					$toggle.find( &#039;.mw-collapsible-text&#039; ).css( &#039;color&#039;, &#039;inherit&#039; );&lt;br /&gt;
				}&lt;br /&gt;
			}&lt;br /&gt;
		} );&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	mw.hook( &#039;wikipage.collapsibleContent&#039; ).add( mwCollapsibleSetup );&lt;br /&gt;
&lt;br /&gt;
	/* End of mw.loader.using callback */&lt;br /&gt;
} );&lt;br /&gt;
/* DO NOT ADD CODE BELOW THIS LINE */&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=MediaWiki:Common.css&amp;diff=72</id>
		<title>MediaWiki:Common.css</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=MediaWiki:Common.css&amp;diff=72"/>
		<updated>2025-08-04T17:26:22Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;/* CSS placed here will be applied to all skins */ /*  * This is the CSS common to all desktop skins on en.Wikipedia.  * Styling inside .mw-parser-output should generally use TemplateStyles.  */ /* Reset italic styling set by user agent */ cite, dfn { 	font-style: inherit; }  /* Straight quote marks for &amp;lt;q&amp;gt; */ q { 	quotes: &amp;#039;&amp;quot;&amp;#039; &amp;#039;&amp;quot;&amp;#039; &amp;quot;&amp;#039;&amp;quot; &amp;quot;&amp;#039;&amp;quot;; }  /* Avoid collision of blockquote with floating elements by swapping margin and padding */ blockquote { 	overflow: hidden; 	margin:...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/* CSS placed here will be applied to all skins */&lt;br /&gt;
/*&lt;br /&gt;
 * This is the CSS common to all desktop skins on en.Wikipedia.&lt;br /&gt;
 * Styling inside .mw-parser-output should generally use TemplateStyles.&lt;br /&gt;
 */&lt;br /&gt;
/* Reset italic styling set by user agent */&lt;br /&gt;
cite,&lt;br /&gt;
dfn {&lt;br /&gt;
	font-style: inherit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Straight quote marks for &amp;lt;q&amp;gt; */&lt;br /&gt;
q {&lt;br /&gt;
	quotes: &#039;&amp;quot;&#039; &#039;&amp;quot;&#039; &amp;quot;&#039;&amp;quot; &amp;quot;&#039;&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Avoid collision of blockquote with floating elements by swapping margin and padding */&lt;br /&gt;
blockquote {&lt;br /&gt;
	overflow: hidden;&lt;br /&gt;
	margin: 1em 0;&lt;br /&gt;
	padding: 0 40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Consistent size for &amp;lt;small&amp;gt;, &amp;lt;sub&amp;gt; and &amp;lt;sup&amp;gt; */&lt;br /&gt;
small {&lt;br /&gt;
	font-size: 85%;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mw-body-content sub,&lt;br /&gt;
.mw-body-content sup {&lt;br /&gt;
	font-size: 80%;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Same spacing for indented and unindented paragraphs on talk pages */&lt;br /&gt;
.ns-talk .mw-body-content dd {&lt;br /&gt;
	margin-top: 0.4em;&lt;br /&gt;
	margin-bottom: 0.4em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Reduce page jumps by hiding collapsed/dismissed content */&lt;br /&gt;
.client-js .collapsible:not( .mw-made-collapsible).collapsed &amp;gt; tbody &amp;gt; tr:not(:first-child),&lt;br /&gt;
&lt;br /&gt;
/* Avoid FOUC/reflows on collapsed elements. */&lt;br /&gt;
/* This copies MediaWiki&#039;s solution for T42812 to apply to innercollapse/outercollapse (T325115). */&lt;br /&gt;
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */&lt;br /&gt;
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */&lt;br /&gt;
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) &amp;gt; p,&lt;br /&gt;
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) &amp;gt; table,&lt;br /&gt;
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) &amp;gt; thead + tbody,&lt;br /&gt;
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),&lt;br /&gt;
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,&lt;br /&gt;
&lt;br /&gt;
/* Hide charinsert base for those not using the gadget */&lt;br /&gt;
#editpage-specialchars {&lt;br /&gt;
	display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Different margin on references */&lt;br /&gt;
.references {&lt;br /&gt;
	margin-bottom: 0.5em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Cite customizations */&lt;br /&gt;
span[ rel=&amp;quot;mw:referencedBy&amp;quot; ] {&lt;br /&gt;
	counter-reset: mw-ref-linkback 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
span[ rel=&#039;mw:referencedBy&#039; ] &amp;gt; a::before {&lt;br /&gt;
	content: counter( mw-ref-linkback, lower-alpha );&lt;br /&gt;
	font-size: 80%;&lt;br /&gt;
	font-weight: bold;&lt;br /&gt;
	font-style: italic;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
a[ rel=&amp;quot;mw:referencedBy&amp;quot; ]::before {&lt;br /&gt;
	font-weight: bold;&lt;br /&gt;
	content: &amp;quot;^&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
span[ rel=&amp;quot;mw:referencedBy&amp;quot; ]::before {&lt;br /&gt;
	content: &amp;quot;^ &amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Styling for jQuery makeCollapsible, matching that of collapseButton */&lt;br /&gt;
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {&lt;br /&gt;
	font-weight: normal;&lt;br /&gt;
	padding-right: 0.2em;&lt;br /&gt;
	padding-left: 0.2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {&lt;br /&gt;
	/* @noflip */&lt;br /&gt;
	float: left;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Lists in wikitable data cells are always left-aligned */&lt;br /&gt;
.wikitable td ul,&lt;br /&gt;
.wikitable td ol,&lt;br /&gt;
.wikitable td dl {&lt;br /&gt;
	/* @noflip */&lt;br /&gt;
	text-align: left;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Change the external link icon to a PDF icon for all PDF files */&lt;br /&gt;
.mw-parser-output a[href$=&amp;quot;.pdf&amp;quot;].external,&lt;br /&gt;
.mw-parser-output a[href*=&amp;quot;.pdf?&amp;quot;].external,&lt;br /&gt;
.mw-parser-output a[href*=&amp;quot;.pdf#&amp;quot;].external,&lt;br /&gt;
.mw-parser-output a[href$=&amp;quot;.PDF&amp;quot;].external,&lt;br /&gt;
.mw-parser-output a[href*=&amp;quot;.PDF?&amp;quot;].external,&lt;br /&gt;
.mw-parser-output a[href*=&amp;quot;.PDF#&amp;quot;].external {&lt;br /&gt;
	background: url(&amp;quot;//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png&amp;quot;) no-repeat right;&lt;br /&gt;
	/* @noflip */&lt;br /&gt;
	padding: 8px 18px 8px 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* System messages styled similarly to fmbox */&lt;br /&gt;
/* for .mw-warning-with-logexcerpt, behavior of this line differs between&lt;br /&gt;
 * the edit-protected notice and the special:Contribs for blocked users&lt;br /&gt;
 * The latter has specificity of 3 classes so we have to triple up here.&lt;br /&gt;
 */&lt;br /&gt;
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,&lt;br /&gt;
div.mw-lag-warn-high,&lt;br /&gt;
div.mw-cascadeprotectedwarning,&lt;br /&gt;
div#mw-protect-cascadeon {&lt;br /&gt;
	clear: both;&lt;br /&gt;
	margin: 0.2em 0;&lt;br /&gt;
	border: 1px solid #bb7070;&lt;br /&gt;
	background-color: var(--background-color-error-subtle, #ffdbdb);&lt;br /&gt;
	padding: 0.25em 0.9em;&lt;br /&gt;
	box-sizing: border-box;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* default colors for partial block message */&lt;br /&gt;
/* gotta get over the hump introduced by the triple class above */&lt;br /&gt;
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {&lt;br /&gt;
	border-color: #fc3;&lt;br /&gt;
	background-color: var(--background-color-warning-subtle, #fef6e7);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Minimum thumb width */&lt;br /&gt;
@media (min-width: 640px) {&lt;br /&gt;
	figure[typeof~=&#039;mw:File/Thumb&#039;],&lt;br /&gt;
	figure[typeof~=&#039;mw:File/Frame&#039;],&lt;br /&gt;
	.thumbinner {&lt;br /&gt;
		min-width: 100px;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Prevent floating boxes from overlapping any category listings,&lt;br /&gt;
   file histories, edit previews, and edit [Show changes] views. */&lt;br /&gt;
#mw-subcategories,&lt;br /&gt;
#mw-pages,&lt;br /&gt;
#mw-category-media,&lt;br /&gt;
#filehistory,&lt;br /&gt;
#wikiPreview,&lt;br /&gt;
#wikiDiff {&lt;br /&gt;
	clear: both;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Hide stuff meant for accounts with special permissions. Made visible again in&lt;br /&gt;
   [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],&lt;br /&gt;
   [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],&lt;br /&gt;
   [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],&lt;br /&gt;
   [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */&lt;br /&gt;
.checkuser-show,&lt;br /&gt;
.sysop-show,&lt;br /&gt;
.abusefilter-show,&lt;br /&gt;
.abusefilter-helper-show,&lt;br /&gt;
.patroller-show,&lt;br /&gt;
.templateeditor-show,&lt;br /&gt;
.extendedmover-show,&lt;br /&gt;
.extendedconfirmed-show,&lt;br /&gt;
.autoconfirmed-show,&lt;br /&gt;
.user-show {&lt;br /&gt;
	display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Hide the redlink generated by {{Editnotice}},&lt;br /&gt;
   this overrides the &amp;quot;.sysop-show { display: none; }&amp;quot; above that applies&lt;br /&gt;
   to the same link as well. See [[phab:T45013]]&lt;br /&gt;
&lt;br /&gt;
   Hide the images in editnotices to keep them readable in VE view.&lt;br /&gt;
   Long term, editnotices should become a core feature so that they can be designed responsive. */&lt;br /&gt;
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,&lt;br /&gt;
.ve-ui-mwNoticesPopupTool-item .mbox-image,&lt;br /&gt;
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {&lt;br /&gt;
	display: none !important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Remove bullets when there are multiple edit page warnings */&lt;br /&gt;
ul.permissions-errors {&lt;br /&gt;
	margin: 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul.permissions-errors &amp;gt; li {&lt;br /&gt;
	list-style: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* larger inline math */&lt;br /&gt;
span.mwe-math-mathml-inline {&lt;br /&gt;
	font-size: 118%;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Make &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt; be left aligned with one space indent for &lt;br /&gt;
 * compatibility with style conventions&lt;br /&gt;
 */&lt;br /&gt;
.mwe-math-fallback-image-display,&lt;br /&gt;
.mwe-math-mathml-display {&lt;br /&gt;
	margin-left: 1.6em !important;&lt;br /&gt;
	margin-top: 0.6em;&lt;br /&gt;
	margin-bottom: 0.6em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mwe-math-mathml-display math {&lt;br /&gt;
	display: inline;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media screen {&lt;br /&gt;
	/* Put a chequered background behind images, only visible if they have transparency,&lt;br /&gt;
	 * except on main, user, and portal namespaces&lt;br /&gt;
	 */&lt;br /&gt;
	body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {&lt;br /&gt;
		background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	/* Display &amp;quot;From Wikipedia, the free encyclopedia&amp;quot; in skins that support it,&lt;br /&gt;
	   do not apply to print mode */&lt;br /&gt;
	#siteSub {&lt;br /&gt;
		display: block;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	/* Make the list of references smaller&lt;br /&gt;
	 * Keep in sync with Template:Refbegin/styles.css&lt;br /&gt;
	 * And Template:Reflist/styles.css&lt;br /&gt;
	 */&lt;br /&gt;
	.references {&lt;br /&gt;
		font-size: 90%;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Hide FlaggedRevs notice UI when there are no pending changes */&lt;br /&gt;
.flaggedrevs_draft_synced,&lt;br /&gt;
.flaggedrevs_stable_synced,&lt;br /&gt;
/* &amp;quot;Temporary&amp;quot; to remove links in sidebar T255381 */&lt;br /&gt;
#t-upload,&lt;br /&gt;
/* Hide broken download box on Special:Book pending T285400 */&lt;br /&gt;
.mw-special-Book #coll-downloadbox {&lt;br /&gt;
	display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 * BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;&lt;br /&gt;
 * SEE [[MediaWiki talk:Common.css/to do]]&lt;br /&gt;
 * CSS is separated by component (which is why media queries are not joined)&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
/* Infoboxes */&lt;br /&gt;
.infobox {&lt;br /&gt;
	border: 1px solid #a2a9b1;&lt;br /&gt;
	color: black;&lt;br /&gt;
	padding: 0.2em;&lt;br /&gt;
	font-size: 88%;&lt;br /&gt;
	line-height: 1.5em;&lt;br /&gt;
	border-spacing: 3px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media screen {&lt;br /&gt;
	.infobox {&lt;br /&gt;
		background-color: #f8f9fa;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media (max-width: 640px) {&lt;br /&gt;
	.infobox {&lt;br /&gt;
		width: 100%;&lt;br /&gt;
	}&lt;br /&gt;
    &lt;br /&gt;
	.infobox .nowrap {&lt;br /&gt;
		white-space: normal;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media (min-width: 640px) {&lt;br /&gt;
	.infobox {&lt;br /&gt;
		/* @noflip */&lt;br /&gt;
		margin: 0.5em 0 0.5em 1em;&lt;br /&gt;
		/* @noflip */&lt;br /&gt;
		float: right;&lt;br /&gt;
		/* @noflip */&lt;br /&gt;
		clear: right;&lt;br /&gt;
		width: 22em;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.infobox-header,&lt;br /&gt;
.infobox-label,&lt;br /&gt;
.infobox-above,&lt;br /&gt;
.infobox-full-data,&lt;br /&gt;
.infobox-data,&lt;br /&gt;
.infobox-below,&lt;br /&gt;
.infobox-subheader,&lt;br /&gt;
.infobox-image,&lt;br /&gt;
.infobox-navbar,&lt;br /&gt;
/* Remove element selector when every .infobox thing is using the standard module/templates  */&lt;br /&gt;
.infobox th,&lt;br /&gt;
.infobox td {&lt;br /&gt;
	vertical-align: top;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.infobox-label,&lt;br /&gt;
.infobox-data,&lt;br /&gt;
/* Remove element selector when every .infobox thing is using the standard module/templates  */&lt;br /&gt;
.infobox th,&lt;br /&gt;
.infobox td {&lt;br /&gt;
	/* @noflip */&lt;br /&gt;
	text-align: left;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Remove .infobox when element selectors above are removed */&lt;br /&gt;
.infobox .infobox-above,&lt;br /&gt;
.infobox .infobox-title,&lt;br /&gt;
/* Remove element selector when every .infobox thing is using the standard module/templates  */&lt;br /&gt;
.infobox caption {&lt;br /&gt;
	font-size: 125%;&lt;br /&gt;
	font-weight: bold;&lt;br /&gt;
	text-align: center;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.infobox-title,&lt;br /&gt;
/* Remove element selector when every .infobox thing is using the standard module/templates  */&lt;br /&gt;
.infobox caption {&lt;br /&gt;
	padding: 0.2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Remove .infobox when element selectors above are removed */&lt;br /&gt;
.infobox .infobox-header,&lt;br /&gt;
.infobox .infobox-subheader,&lt;br /&gt;
.infobox .infobox-image,&lt;br /&gt;
.infobox .infobox-full-data,&lt;br /&gt;
.infobox .infobox-below {&lt;br /&gt;
	text-align: center;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Remove .infobox when element selectors above are removed */&lt;br /&gt;
.infobox .infobox-navbar {&lt;br /&gt;
	/* @noflip */&lt;br /&gt;
	text-align: right;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Normal font styling for wikitable row headers with scope=&amp;quot;row&amp;quot; tag */&lt;br /&gt;
.wikitable.plainrowheaders th[scope=row],&lt;br /&gt;
.wikitable.plainrowheaders th[scope=rowgroup] {&lt;br /&gt;
	font-weight: normal;&lt;br /&gt;
	/* @noflip */&lt;br /&gt;
	text-align: left;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Remove underlines from certain links */&lt;br /&gt;
.nounderlines a,&lt;br /&gt;
.IPA a:link,&lt;br /&gt;
.IPA a:visited {&lt;br /&gt;
	text-decoration: none !important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Prevent line breaks in silly places where desired (nowrap)&lt;br /&gt;
   and links when we don&#039;t want them to (nowraplinks a) */&lt;br /&gt;
.nowrap,&lt;br /&gt;
.nowraplinks a {&lt;br /&gt;
	white-space: nowrap;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* But allow wrapping where desired: */&lt;br /&gt;
.wrap,&lt;br /&gt;
.wraplinks a {&lt;br /&gt;
	white-space: normal;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* texhtml class for inline math (based on generic times-serif class) */&lt;br /&gt;
/* remove spans when this is TemplateStyled */&lt;br /&gt;
span.texhtml {&lt;br /&gt;
	font-family: &amp;quot;Nimbus Roman No9 L&amp;quot;, &amp;quot;Times New Roman&amp;quot;, Times, serif;&lt;br /&gt;
	font-size: 118%;&lt;br /&gt;
	line-height: 1;&lt;br /&gt;
	/* Force tabular and lining display for texhtml */&lt;br /&gt;
	font-variant-numeric: lining-nums tabular-nums;&lt;br /&gt;
	font-kerning: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
span.texhtml span.texhtml {&lt;br /&gt;
	font-size: 100%;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media (min-width: 640px) {&lt;br /&gt;
	span.texhtml {&lt;br /&gt;
		white-space: nowrap;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Prevent flags in tables from collapsing: Fix for T116318&lt;br /&gt;
 * TODO: Remove when [[phab:T368469]] merges [[phab:T367463]] for the other skins&lt;br /&gt;
 */&lt;br /&gt;
@media (max-width: 640px) {&lt;br /&gt;
	.flagicon a &amp;gt; img,&lt;br /&gt;
	.flagicon noscript &amp;gt; img {&lt;br /&gt;
		max-width: none !important;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media screen {&lt;br /&gt;
	.nochecker .gallerybox .thumb img {&lt;br /&gt;
		background-image: none;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 * Put anything you mean to be a sitewide addition above the TemplateStyles&lt;br /&gt;
 * comment above.&lt;br /&gt;
 */&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Suggestions&amp;diff=71</id>
		<title>Module:Citation/CS1/Suggestions</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Suggestions&amp;diff=71"/>
		<updated>2025-08-04T17:19:03Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;-- Please insert new suggestions in alphabetical order -- The form is [&amp;#039;incorrect&amp;#039;] = &amp;#039;correct&amp;#039;,  suggestions = { 	[&amp;#039;ASIN-TLD&amp;#039;] = &amp;#039;asin-tld&amp;#039;,													-- old parameter name 	[&amp;#039;abruf&amp;#039;] = &amp;#039;access-date&amp;#039;,													-- German 	[&amp;#039;abruf-verborgen&amp;#039;] = &amp;#039;access-date&amp;#039;,										-- German 	[&amp;#039;accessmonth&amp;#039;] = &amp;#039;access-date&amp;#039;, 	[&amp;#039;accesso&amp;#039;] = &amp;#039;access-date&amp;#039;,												-- Italian 	[&amp;#039;accessyear&amp;#039;] = &amp;#039;access-date&amp;#039;, 	[&amp;#039;acessodata&amp;#039;] = &amp;#039;access-date&amp;#039;,												-- Brazilian Portuguese 	[&amp;#039;ad...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;-- Please insert new suggestions in alphabetical order&lt;br /&gt;
-- The form is [&#039;incorrect&#039;] = &#039;correct&#039;,&lt;br /&gt;
&lt;br /&gt;
suggestions = {&lt;br /&gt;
	[&#039;ASIN-TLD&#039;] = &#039;asin-tld&#039;,													-- old parameter name&lt;br /&gt;
	[&#039;abruf&#039;] = &#039;access-date&#039;,													-- German&lt;br /&gt;
	[&#039;abruf-verborgen&#039;] = &#039;access-date&#039;,										-- German&lt;br /&gt;
	[&#039;accessmonth&#039;] = &#039;access-date&#039;,&lt;br /&gt;
	[&#039;accesso&#039;] = &#039;access-date&#039;,												-- Italian&lt;br /&gt;
	[&#039;accessyear&#039;] = &#039;access-date&#039;,&lt;br /&gt;
	[&#039;acessodata&#039;] = &#039;access-date&#039;,												-- Brazilian Portuguese&lt;br /&gt;
	[&#039;ad&#039;] = &#039;first&#039;,															-- Turkish&lt;br /&gt;
	[&#039;address&#039;] = &#039;location&#039;,&lt;br /&gt;
	[&#039;anno&#039;] = &#039;date&#039;,															-- Italian&lt;br /&gt;
	[&#039;annoaccesso&#039;] = &#039;access-date&#039;,											-- Italian&lt;br /&gt;
	[&#039;annodiaccesso&#039;] = &#039;access-date&#039;,											-- Italian&lt;br /&gt;
	[&#039;annooriginale&#039;] = &#039;orig-date&#039;,											-- Italian&lt;br /&gt;
	[&#039;année&#039;] = &#039;date&#039;,															-- French&lt;br /&gt;
	[&#039;apellido&#039;] = &#039;last&#039;,														-- Spanish&lt;br /&gt;
	[&#039;apellidos&#039;] = &#039;last&#039;,														-- Spanish&lt;br /&gt;
	[&#039;archiv-datum&#039;] = &#039;archive-date&#039;,											-- German&lt;br /&gt;
	[&#039;archiv-url&#039;] = &#039;archive-url&#039;,												-- German&lt;br /&gt;
	[&#039;archive date&#039;] = &#039;archive-date&#039;,                                          -- misspelling&lt;br /&gt;
	[&#039;archive url&#039;] = &#039;archive-url&#039;,											-- misspelling&lt;br /&gt;
	[&#039;archive-link&#039;] = &#039;archive-url&#039;,	                                        -- old parameter name&lt;br /&gt;
    [&#039;archiv-url&#039;] = &#039;archive-url&#039;,												-- German	&lt;br /&gt;
    [&#039;arkivdatum&#039;] = &#039;archive-date&#039;,											-- Swedish, Norwegian&lt;br /&gt;
    [&#039;arkivurl&#039;] = &#039;archive-url&#039;,											    -- Swedish, Norwegian	&lt;br /&gt;
    [&#039;artist&#039;] = &#039;others&#039;,&lt;br /&gt;
	[&#039;arşiv-tarihi&#039;] = &#039;archive-date&#039;,											-- Turkish&lt;br /&gt;
	[&#039;arşiv-url&#039;] = &#039;archive-url&#039;,												-- Turkish&lt;br /&gt;
	[&#039;arşivtarihi&#039;] = &#039;archive-date&#039;,											-- Turkish&lt;br /&gt;
	[&#039;arşivurl&#039;] = &#039;archive-url&#039;,												-- Turkish&lt;br /&gt;
	[&#039;auflage&#039;] = &#039;edition&#039;,													-- German&lt;br /&gt;
	[&#039;auteur&#039;] = &#039;author&#039;,														-- French&lt;br /&gt;
	[&#039;auther&#039;] = &#039;author&#039;,                                                      -- misspelling&lt;br /&gt;
	[&#039;author link&#039;] = &#039;author-link&#039;,											-- Polish&lt;br /&gt;
	[&#039;authorfirst&#039;] = &#039;author-first&#039;,											-- old parameter name&lt;br /&gt;
	[&#039;authorgiven&#039;] = &#039;author-given&#039;,											-- old parameter name&lt;br /&gt;
	[&#039;authorlast&#039;] = &#039;author-last&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;authormask&#039;] = &#039;author-mask&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;authorsurname&#039;] = &#039;author-surname&#039;,										-- old parameter name&lt;br /&gt;
	[&#039;autor&#039;] = &#039;author&#039;,														-- Spanish, German (singular and plural)&lt;br /&gt;
	[&#039;autore&#039;] = &#039;author&#039;,														-- Italian&lt;br /&gt;
	[&#039;autthor&#039;] = &#039;author&#039;,                                                     -- misspelling&lt;br /&gt;
	[&#039;ay&#039;] = &#039;month&#039;,															-- Turkish&lt;br /&gt;
	[&#039;año&#039;] = &#039;date&#039;,															-- Spanish&lt;br /&gt;
	[&#039;año-original&#039;] = &#039;orig-date&#039;,												-- Spanish&lt;br /&gt;
	[&#039;añoacceso&#039;] = &#039;access-date&#039;,												-- Spanish&lt;br /&gt;
	[&#039;añooriginal&#039;] = &#039;orig-date&#039;,												-- Spanish&lt;br /&gt;
	[&#039;band&#039;] = &#039;volume&#039;,														-- German&lt;br /&gt;
	[&#039;bandreihe&#039;] = &#039;volume&#039;,													-- German&lt;br /&gt;
	[&#039;baskı&#039;] = &#039;edition&#039;,														-- Turkish&lt;br /&gt;
	[&#039;başlık&#039;] = &#039;title&#039;,														-- Turkish&lt;br /&gt;
	[&#039;began&#039;] = &#039;date&#039;,															-- old parameter name (cite serial only); or orig-date=&lt;br /&gt;
	[&#039;booktitle&#039;] = &#039;book-title&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;ch&#039;] = &#039;language&#039;,														-- German (as &#039;language=de-CH&#039;)&lt;br /&gt;
	[&#039;chapter_title&#039;] = &#039;chapter&#039;,&lt;br /&gt;
	[&#039;chapterurl&#039;] = &#039;chapter-url&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;cid&#039;] = &#039;ref&#039;,															-- Italian&lt;br /&gt;
	[&#039;cilt&#039;] = &#039;volume&#039;,														-- Turkish&lt;br /&gt;
	[&#039;cita&#039;] = &#039;quote&#039;,															-- Spanish&lt;br /&gt;
	[&#039;citazione&#039;] = &#039;quote&#039;,													-- Italian&lt;br /&gt;
	[&#039;città&#039;] = &#039;location&#039;,														-- Italian&lt;br /&gt;
	[&#039;city&#039;] = &#039;location&#039;,														-- old parameter name (cite serial only)&lt;br /&gt;
	[&#039;coauthor&#039;] = &#039;author&#039;,&lt;br /&gt;
	[&#039;coauthors&#039;] = &#039;author&#039;,&lt;br /&gt;
	[&#039;coautores&#039;] = &#039;author&#039;,													-- Spanish&lt;br /&gt;
	[&#039;coautori&#039;] = &#039;author&#039;,													-- Italian&lt;br /&gt;
	[&#039;cognome&#039;] = &#039;last&#039;,														-- Italian&lt;br /&gt;
	[&#039;conferenceurl&#039;] = &#039;conference-url&#039;,										-- old parameter name&lt;br /&gt;
	[&#039;consulté le&#039;] = &#039;access-date&#039;,											-- French&lt;br /&gt;
	[&#039;contributionurl&#039;] = &#039;contribution-url&#039;,									-- old parameter name&lt;br /&gt;
	[&#039;curatore&#039;] = &#039;publisher&#039;,													-- Italian&lt;br /&gt;
	[&#039;czasopismo&#039;] = &#039;journal&#039;,													-- Polish&lt;br /&gt;
	[&#039;data dostępu&#039;] = &#039;access-date&#039;,											-- Polish&lt;br /&gt;
	[&#039;data&#039;] = &#039;date&#039;,															-- Polish, Italian&lt;br /&gt;
	[&#039;dataaccesso&#039;] = &#039;access-date&#039;,											-- Italian&lt;br /&gt;
	[&#039;dataarchivio&#039;] = &#039;archive-date&#039;,											-- Italian&lt;br /&gt;
	[&#039;datum&#039;] = &#039;date&#039;,															-- German, Swedish&lt;br /&gt;
	[&#039;dead-url&#039;] = &#039;url-status&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;deadlink&#039;] = &#039;url-status&#039;,                                                -- old parameter name&lt;br /&gt;
	[&#039;deadurl&#039;] = &#039;url-status&#039;,													-- old parameter name&lt;br /&gt;
	[&#039;dergi&#039;] = &#039;work&#039;,															-- Turkish&lt;br /&gt;
	[&#039;dil&#039;] = &#039;language&#039;,														-- Turkish&lt;br /&gt;
	[&#039;displayauthors&#039;] = &#039;display-authors&#039;,										-- old parameter name&lt;br /&gt;
	[&#039;displayeditors&#039;] = &#039;display-editors&#039;,										-- old parameter name&lt;br /&gt;
	[&#039;distributor&#039;] = &#039;publisher&#039;,&lt;br /&gt;
	[&#039;dnb&#039;] = &#039;id&#039;,																-- German (as &#039;id={{DNB-IDN|...}}&#039;)&lt;br /&gt;
	[&#039;doi-broken&#039;] = &#039;doi-broken-date&#039;,											-- old parameter alias&lt;br /&gt;
	[&#039;doi-inactive&#039;] = &#039;doi-broken-date&#039;,										-- invalid name found in mainspace&lt;br /&gt;
	[&#039;doi-inactive-date&#039;] = &#039;doi-broken-date&#039;,									-- old parameter alias&lt;br /&gt;
	[&#039;doi_brokendate&#039;] = &#039;doi-broken-date&#039;,										-- old parameter alias&lt;br /&gt;
	[&#039;doi_inactivedate&#039;] = &#039;doi-inactive-date&#039;,									-- old parameter alias&lt;br /&gt;
	[&#039;doibroken&#039;] = &#039;doi-broken-date&#039;,											-- invalid name found in mainspace&lt;br /&gt;
	[&#039;doiinactive&#039;] = &#039;doi-broken-date&#039;,										-- invalid name found in mainspace&lt;br /&gt;
	[&#039;e-print&#039;] = &#039;eprint&#039;,														-- misspelling&lt;br /&gt;
	-- [&#039;ed&#039;] = &#039;edition&#039;,														-- avoid suggestion as in English this could be short for editor or edition&lt;br /&gt;
	-- [&#039;editora&#039;] = &#039;publisher&#039;,												-- can be either editor or publisher&lt;br /&gt;
	-- [&#039;editore&#039;] = &#039;agency&#039;,													-- can be either publisher or agency&lt;br /&gt;
	-- [&#039;editori&#039;] = &#039;editor&#039;,													-- can be either editor or publisher&lt;br /&gt;
	-- [&#039;editorial&#039;] = &#039;publisher&#039;,												-- can be either publisher or work&lt;br /&gt;
	[&#039;editoin&#039;] = &#039;edition&#039;,													-- misspelling&lt;br /&gt;
	[&#039;editon&#039;] = &#039;edition&#039;,														-- misspelling&lt;br /&gt;
	[&#039;editorfirst&#039;] = &#039;editor-first&#039;,											-- old parameter name&lt;br /&gt;
	[&#039;editorgiven&#039;] = &#039;editor-given&#039;,											-- old parameter name&lt;br /&gt;
	[&#039;editorlast&#039;] = &#039;editor-last&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;editorlink&#039;] = &#039;editor-link&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;editormask&#039;] = &#039;editor-mask&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;editors&#039;] = &#039;editor&#039;,														-- old parameter name (can be emulated using multiple singular |editor= params)&lt;br /&gt;
	[&#039;editorsurname&#039;] = &#039;editor-surname&#039;,										-- old parameter name&lt;br /&gt;
	[&#039;edizione&#039;] = &#039;edition&#039;,													-- Italian&lt;br /&gt;
	[&#039;embargo&#039;] = &#039;pmc-embargo-date&#039;,											-- old parameter name&lt;br /&gt;
	[&#039;ended&#039;] = &#039;date&#039;,															-- old parameter name (cite serial only)&lt;br /&gt;
	[&#039;en ligne le&#039;] = &#039;archive-date&#039;,											-- French&lt;br /&gt;
	[&#039;encyclopædia&#039;] = &#039;encyclopedia&#039;,&lt;br /&gt;
	[&#039;enlaceautor&#039;] = &#039;author-link&#039;,											-- Spanish&lt;br /&gt;
	[&#039;enlaceroto&#039;] = &#039;url-status&#039;,												-- Spanish&lt;br /&gt;
	[&#039;episodelink&#039;] = &#039;episode-link&#039;,											-- old parameter name&lt;br /&gt;
	[&#039;erişimtarihi&#039;] = &#039;access-date&#039;,											-- Turkish&lt;br /&gt;
	[&#039;eser&#039;] = &#039;work&#039;,															-- Turkish&lt;br /&gt;
	[&#039;family&#039;] = &#039;surname&#039;,														-- misguess&lt;br /&gt;
	[&#039;fecha&#039;] = &#039;date&#039;,															-- Spanish&lt;br /&gt;
	[&#039;fechaacceso&#039;] = &#039;access-date&#039;,											-- Spanish&lt;br /&gt;
	[&#039;fechaarchivo&#039;] = &#039;archive-date&#039;,											-- Spanish&lt;br /&gt;
	[&#039;filetype&#039;] = &#039;format&#039;,&lt;br /&gt;
	[&#039;foramt&#039;] = &#039;format&#039;,														-- misspelling&lt;br /&gt;
	[&#039;fore-name&#039;] = &#039;given&#039;,													-- misguess/misspelling&lt;br /&gt;
	[&#039;forename&#039;] = &#039;given&#039;,														-- misguess&lt;br /&gt;
	[&#039;författare&#039;] = &#039;author&#039;,                                                  -- Swedish, Norwegian&lt;br /&gt;
    [&#039;formato&#039;] = &#039;format&#039;,														-- Spanish, Italian, Polish&lt;br /&gt;
	[&#039;frist&#039;] = &#039;first&#039;,														-- misspelling&lt;br /&gt;
	[&#039;fundstelle&#039;] = &#039;at&#039;,														-- German&lt;br /&gt;
	[&#039;gazete&#039;] = &#039;work&#039;,														-- Turkish&lt;br /&gt;
	[&#039;giornale&#039;] = &#039;journal&#039;,													-- Italian&lt;br /&gt;
    [&#039;hämtdatum&#039;] = &#039;access-date&#039;,											    -- Swedish	&lt;br /&gt;
    [&#039;herausgeber&#039;] = &#039;editor&#039;,													-- German (singular and plural)&lt;br /&gt;
	[&#039;hrsg&#039;] = &#039;publisher&#039;,														-- German&lt;br /&gt;
	[&#039;hrsgreihe&#039;] = &#039;editor&#039;,													-- German&lt;br /&gt;
	[&#039;idioma&#039;] = &#039;language&#039;,													-- Spanish&lt;br /&gt;
	[&#039;ignore-isbn-error&#039;] = &#039;isbn&#039;,												-- old parameter (can be fully emulated using ((syntax)))&lt;br /&gt;
	[&#039;ignoreisbnerror&#039;] = &#039;isbn&#039;,												-- old parameter alias (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax))&lt;br /&gt;
	[&#039;imię&#039;] = &#039;first&#039;,															-- Polish&lt;br /&gt;
	[&#039;in-set&#039;] = &#039;inset&#039;,														-- misspelling&lt;br /&gt;
	[&#039;interviewerlink&#039;] = &#039;interviewer-link&#039;,									-- old parameter alias&lt;br /&gt;
	[&#039;interviewermask&#039;] = &#039;interviewer-mask&#039;,									-- old parameter alias&lt;br /&gt;
	[&#039;isbndefekt&#039;] = &#039;isbn&#039;,													-- German (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax))&lt;br /&gt;
	[&#039;isbnformalfalsch&#039;] = &#039;isbn&#039;,												-- German (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax))&lt;br /&gt;
	[&#039;isbnistformalfalsch&#039;] = &#039;isbn&#039;,											-- German (suggest |isbn as |ignore-isbn-error is deprecated), not a direct replacement, but can be fully emulated using ((syntax))&lt;br /&gt;
	[&#039;isnb&#039;] = &#039;isbn&#039;,															-- misspelling&lt;br /&gt;
	[&#039;issnformalfalsch&#039;] = &#039;issn&#039;,												-- German (can be fully emulated using ((syntax)))&lt;br /&gt;
	[&#039;jahr&#039;] = &#039;date&#039;,															-- German&lt;br /&gt;
	[&#039;jahrea&#039;] = &#039;orig-date&#039;,													-- German (not a direct replacement, but can be emulated)&lt;br /&gt;
	[&#039;kapitel&#039;] = &#039;chapter&#039;,													-- German&lt;br /&gt;
	[&#039;langauge&#039;] = &#039;language&#039;,													-- misspelling&lt;br /&gt;
	[&#039;langue&#039;] = &#039;language&#039;,													-- French&lt;br /&gt;
	[&#039;last-author-amp&#039;] = &#039;name-list-style&#039;,									-- old parameter name (as |name-list-style=amp)&lt;br /&gt;
	[&#039;lastauthoramp&#039;] = &#039;name-list-style&#039;,										-- old parameter name (as |name-list-style=amp)&lt;br /&gt;
	[&#039;lieu&#039;] = &#039;location&#039;,														-- French&lt;br /&gt;
	[&#039;lingua&#039;] = &#039;language&#039;,													-- Italian&lt;br /&gt;
	[&#039;lire en ligne&#039;] = &#039;url&#039;,													-- French&lt;br /&gt;
	[&#039;lizenznummer&#039;] = &#039;id&#039;,													-- German (as &#039;id=License No. ...&#039;)&lt;br /&gt;
&lt;br /&gt;
	[&#039;loaction&#039;] = &#039;location&#039;,													-- misspelling&lt;br /&gt;
	[&#039;local&#039;] = &#039;location&#039;,														-- Brazilian Portuguese&lt;br /&gt;
	[&#039;locatoin&#039;] = &#039;location&#039;,													-- misspelling&lt;br /&gt;
	[&#039;lugar&#039;] = &#039;location&#039;,														-- Spanish&lt;br /&gt;
	[&#039;mailinglist&#039;] = &#039;mailing-list&#039;,											-- old parameter name&lt;br /&gt;
	[&#039;mapurl&#039;] = &#039;map-url&#039;,														-- old parameter name&lt;br /&gt;
	[&#039;mes&#039;] = &#039;date&#039;,															-- Spanish (not a direct replacement)&lt;br /&gt;
	[&#039;mese&#039;] = &#039;date&#039;,															-- Italian (not a direct replacement)&lt;br /&gt;
	[&#039;miejsce&#039;] = &#039;location&#039;,													-- Polish&lt;br /&gt;
	[&#039;miesiąc&#039;] = &#039;date&#039;,														-- Polish&lt;br /&gt;
	[&#039;mois&#039;] = &#039;date&#039;,															-- French&lt;br /&gt;
	[&#039;monat&#039;] = &#039;date&#039;,															-- German&lt;br /&gt;
--	[&#039;name&#039;] = &#039;author&#039;,														-- &#039;name&#039; is often erroneously used for &#039;title&#039; and &#039;work&#039; as well, so no suggestion is better than a wrong suggestion&lt;br /&gt;
	[&#039;name-list-format&#039;] = &#039;name-list-style&#039;,									-- old parameter name (as |name-list-style=amp)&lt;br /&gt;
	[&#039;nazwisko&#039;] = &#039;last&#039;,														-- Polish&lt;br /&gt;
	[&#039;nespaper&#039;] = &#039;newspaper&#039;,													-- misspelling&lt;br /&gt;
	[&#039;net-work&#039;] = &#039;network&#039;,													-- misspelling&lt;br /&gt;
	[&#039;newpaper&#039;] = &#039;newspaper&#039;,													-- misspelling&lt;br /&gt;
	[&#039;news&#039;] = &#039;newspaper&#039;,&lt;br /&gt;
	[&#039;news-group&#039;] = &#039;newsgroup&#039;,												-- misspelling&lt;br /&gt;
	[&#039;news-paper&#039;] = &#039;newspaper&#039;,												-- misspelling&lt;br /&gt;
	[&#039;no-cat&#039;] = &#039;no-tracking&#039;,													-- old parameter&lt;br /&gt;
	[&#039;nocat&#039;] = &#039;no-tracking&#039;,													-- old parameter&lt;br /&gt;
	[&#039;nom&#039;] = &#039;last&#039;,															-- French&lt;br /&gt;
	[&#039;nombre&#039;] = &#039;first&#039;,														-- Spanish&lt;br /&gt;
	[&#039;nome&#039;] = &#039;first&#039;,															-- Italian&lt;br /&gt;
	[&#039;nopp&#039;] = &#039;no-pp&#039;,															-- old parameter name&lt;br /&gt;
	[&#039;notracking&#039;] = &#039;no-tracking&#039;,												-- old parameter&lt;br /&gt;
	[&#039;numero&#039;] = &#039;number&#039;,														-- Italian, Spanish&lt;br /&gt;
	[&#039;nummer&#039;] = &#039;number&#039;,														-- German&lt;br /&gt;
	[&#039;nummerreihe&#039;] = &#039;number&#039;,													-- German&lt;br /&gt;
	[&#039;obra&#039;] = &#039;work&#039;,															-- Spanish&lt;br /&gt;
	[&#039;odpowiedzialność&#039;] = &#039;agency&#039;,											-- Polish&lt;br /&gt;
	[&#039;offline&#039;] = &#039;url-status&#039;,													-- German (as &#039;url-status=dead&#039;)&lt;br /&gt;
	[&#039;online&#039;] = &#039;url&#039;,															-- German (not a direct replacement, but can be emulated)&lt;br /&gt;
	[&#039;opera&#039;] = &#039;work&#039;,															-- Italian&lt;br /&gt;
	[&#039;opublikowany&#039;] = &#039;agency&#039;,												-- Polish&lt;br /&gt;
	[&#039;origdate&#039;] = &#039;orig-date&#039;,													-- misspelling&lt;br /&gt;
	[&#039;originaljahr&#039;] = &#039;orig-date&#039;,												-- German&lt;br /&gt;
	[&#039;originalort&#039;] = &#039;publication-place&#039;,										-- German&lt;br /&gt;
	[&#039;originalsprache&#039;] = &#039;language&#039;,											-- German&lt;br /&gt;
	[&#039;originaltitel&#039;] = &#039;title&#039;,												-- German (if &#039;originaltitel&#039; is specified, any possible contents of &#039;title&#039; should be put in &#039;trans-title&#039;)&lt;br /&gt;
	[&#039;ort&#039;] = &#039;publication-place&#039;,												-- German&lt;br /&gt;
	[&#039;ortea&#039;] = &#039;publication-place&#039;,											-- German (not a direct replacement, but can be emulated)&lt;br /&gt;
	[&#039;other&#039;] = &#039;others&#039;,&lt;br /&gt;
	[&#039;oznaczenie&#039;] = &#039;agency&#039;,													-- Polish&lt;br /&gt;
	[&#039;pagees&#039;] = &#039;pages&#039;,														-- misspelling&lt;br /&gt;
	[&#039;pagina&#039;] = &#039;page&#039;,														-- Italian&lt;br /&gt;
	[&#039;pagina&#039;] = &#039;pages&#039;,														-- Italian&lt;br /&gt;
	[&#039;pagine&#039;] = &#039;pages&#039;,														-- Italian&lt;br /&gt;
	[&#039;pagine&#039;] = &#039;pages&#039;,														-- Italian&lt;br /&gt;
	[&#039;passage&#039;] = &#039;pages&#039;,														-- French&lt;br /&gt;
	[&#039;periodico&#039;] = &#039;magazine&#039;,													-- Spanish&lt;br /&gt;
	[&#039;plublisher&#039;] = &#039;publisher&#039;,												-- misspelling&lt;br /&gt;
	[&#039;pmcid&#039;] = &#039;pmc&#039;,&lt;br /&gt;
	[&#039;post-script&#039;] = &#039;postscript&#039;,												-- misspelling&lt;br /&gt;
	[&#039;praca&#039;] = &#039;work&#039;,															-- Polish&lt;br /&gt;
	[&#039;primero&#039;] = &#039;first&#039;,														-- Spanish&lt;br /&gt;
	[&#039;prénom&#039;] = &#039;first&#039;,														-- French&lt;br /&gt;
	[&#039;prénom1&#039;] = &#039;first1&#039;,														-- French&lt;br /&gt;
	[&#039;ps&#039;] = &#039;postscript&#039;,&lt;br /&gt;
	[&#039;pub&#039;] = &#039;publisher&#039;,&lt;br /&gt;
	-- [&#039;pubblicazione&#039;] = &#039;magazine&#039;,											-- could be any kind of work&lt;br /&gt;
	-- [&#039;publicación&#039;] = &#039;journal&#039;,												-- could be any kind of work&lt;br /&gt;
	[&#039;publicationdate&#039;] = &#039;publication-date&#039;,									-- old parameter name&lt;br /&gt;
	-- [&#039;published&#039;] = &#039;publisher&#039;,												-- could be date, location, or name of publisher&lt;br /&gt;
	[&#039;publicationplace&#039;] = &#039;publication-place&#039;,									-- old parameter name&lt;br /&gt;
	[&#039;pulbication-place&#039;] = &#039;publication-place&#039;,								-- misspelling&lt;br /&gt;
	[&#039;página&#039;] = &#039;page&#039;,														-- Spanish&lt;br /&gt;
	[&#039;páginas&#039;] = &#039;pages&#039;,														-- Spanish&lt;br /&gt;
	[&#039;périodique&#039;] = &#039;publisher&#039;,												-- French&lt;br /&gt;
	[&#039;registration&#039;] = &#039;url-access&#039;,											-- old parameter name&lt;br /&gt;
	[&#039;reihe&#039;] = &#039;series&#039;,														-- German&lt;br /&gt;
	[&#039;retrieved&#039;] = &#039;access-date&#039;,                                              -- old parameter name&lt;br /&gt;
	[&#039;richiestasottoscrizione&#039;] = &#039;url-access&#039;,									-- Italian (as |url-access=subscription)&lt;br /&gt;
	[&#039;rivista&#039;] = &#039;magazine&#039;,                                                   -- Italian&lt;br /&gt;
    [&#039;rok&#039;] = &#039;date&#039;,															-- Polish&lt;br /&gt;
	[&#039;rubrik&#039;] = &#039;title&#039;,                                                       -- Swedish&lt;br /&gt;
    [&#039;sammelwerk&#039;] = &#039;work&#039;,													-- German&lt;br /&gt;
	[&#039;sayfa&#039;] = &#039;page&#039;,															-- Turkish&lt;br /&gt;
	[&#039;sayfalar&#039;] = &#039;pages&#039;,														-- Turkish&lt;br /&gt;
	[&#039;sayı&#039;] = &#039;issue&#039;,															-- Turkish&lt;br /&gt;
	[&#039;script-post&#039;] = &#039;postscript&#039;,												-- misspelling&lt;br /&gt;
	[&#039;script-trans&#039;] = &#039;transcript&#039;,											-- misspelling&lt;br /&gt;
	[&#039;season&#039;] = &#039;date&#039;,														-- old parameter name (cite serial only)&lt;br /&gt;
	[&#039;sectionurl&#039;] = &#039;section-url&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;seiten&#039;] = &#039;pages&#039;,														-- German&lt;br /&gt;
	[&#039;seria&#039;] = &#039;series&#039;,														-- Spanish, Polish&lt;br /&gt;
	[&#039;serie&#039;] = &#039;series&#039;,														-- Italian&lt;br /&gt;
	[&#039;série&#039;] = &#039;series&#039;,														-- French&lt;br /&gt;
	[&#039;serieslink&#039;] = &#039;series-link&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;seriesno&#039;] = &#039;series-number&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;service&#039;] = &#039;agency&#039;,&lt;br /&gt;
	[&#039;sitioweb&#039;] = &#039;website&#039;,													-- Spanish&lt;br /&gt;
	[&#039;sito&#039;] = &#039;website&#039;,														-- Italian&lt;br /&gt;
	[&#039;soyadı&#039;] = &#039;last&#039;,														-- Turkish&lt;br /&gt;
	[&#039;spalten&#039;] = &#039;at&#039;,															-- German (not a direct replacement, but can be emulated)&lt;br /&gt;
	[&#039;sprache&#039;] = &#039;language&#039;,													-- German&lt;br /&gt;
	[&#039;språk&#039;] = &#039;language&#039;,                                                     -- Swedish, Norwegian&lt;br /&gt;
    [&#039;stron&#039;] = &#039;page&#039;,															-- Polish&lt;br /&gt;
	[&#039;strony&#039;] = &#039;pages&#039;,														-- Polish&lt;br /&gt;
	[&#039;subjectlink&#039;] = &#039;subject-link&#039;,											-- old parameter name&lt;br /&gt;
	[&#039;subscription&#039;] = &#039;url-access&#039;,											-- old parameter name (emulated as |url-access=subscription)&lt;br /&gt;
	[&#039;sur-name&#039;] = &#039;surname&#039;,													-- misspelling&lt;br /&gt;
	[&#039;suscripción&#039;] = &#039;url-access&#039;,												-- Spanish, Polish (as |url-access=subscription)&lt;br /&gt;
	[&#039;tag&#039;] = &#039;date&#039;,															-- German&lt;br /&gt;
	[&#039;tarih&#039;] = &#039;date&#039;,															-- Turkish&lt;br /&gt;
	[&#039;template doc demo&#039;] = &#039;no-tracking&#039;,										-- old parameter alias&lt;br /&gt;
	[&#039;tidning&#039;] = &#039;work&#039;,                                                       -- Swedish&lt;br /&gt;
    [&#039;tile&#039;] = &#039;title&#039;,															-- misspelling&lt;br /&gt;
	[&#039;timecaption&#039;] = &#039;time-caption&#039;,											-- old parameter name&lt;br /&gt;
	[&#039;titlelink&#039;] = &#039;title-link&#039;,												-- old parameter name&lt;br /&gt;
	[&#039;tipo&#039;] = &#039;type&#039;,															-- Italian&lt;br /&gt;
	[&#039;tite&#039;] = &#039;title&#039;,															-- misspelling&lt;br /&gt;
	[&#039;titel&#039;] = &#039;title&#039;,														-- German&lt;br /&gt;
	[&#039;titel-p&#039;] = &#039;title&#039;,														-- German (&#039;postscript=none&#039; should be added as well)&lt;br /&gt;
	[&#039;titelerg&#039;] = &#039;contribution&#039;,												-- German (not a direct replacement, but can be emulated)&lt;br /&gt;
	[&#039;titled&#039;] = &#039;title&#039;,														-- Brazilian Portuguese&lt;br /&gt;
	[&#039;titolo&#039;] = &#039;title&#039;,														-- Italian&lt;br /&gt;
	[&#039;titre&#039;] = &#039;title&#039;,														-- French&lt;br /&gt;
	[&#039;trans-script&#039;] = &#039;transcript&#039;,											-- misspelling&lt;br /&gt;
	[&#039;trans_chapter&#039;] = &#039;trans-chapter&#039;,										-- old parameter alias&lt;br /&gt;
	[&#039;trans_title&#039;] = &#039;trans-title&#039;,											-- old parameter alias&lt;br /&gt;
	[&#039;transchapter&#039;] = &#039;trans-chapter&#039;,&lt;br /&gt;
	[&#039;transcripturl&#039;] = &#039;transcript-url&#039;,										-- old parameter name&lt;br /&gt;
	[&#039;transscript&#039;] = &#039;transcript&#039;,												-- misspelling&lt;br /&gt;
	[&#039;transscript-format&#039;] = &#039;transcript-format&#039;,								-- misspelling&lt;br /&gt;
	[&#039;transscript-url&#039;] = &#039;transcript-url&#039;,										-- misspelling&lt;br /&gt;
	[&#039;transscripturl&#039;] = &#039;transcript-url&#039;,										-- misspelling&lt;br /&gt;
	[&#039;transtitle&#039;] = &#039;trans-title&#039;,&lt;br /&gt;
	[&#039;typ&#039;] = &#039;author-mask&#039;,													-- German (not a direct replacement, but the only valid argument &#039;typ=wl&#039; can be emulated using &#039;author-mask&#039;)&lt;br /&gt;
	[&#039;tytuł&#039;] = &#039;title&#039;,														-- Polish&lt;br /&gt;
	[&#039;títle&#039;] = &#039;title&#039;,&lt;br /&gt;
	[&#039;título&#039;] = &#039;title&#039;,														-- Spanish&lt;br /&gt;
	[&#039;ubicación&#039;] = &#039;location&#039;,													-- Spanish&lt;br /&gt;
	[&#039;urlarchivio&#039;] = &#039;archive-url&#039;,											-- Italian&lt;br /&gt;
	[&#039;urlarchivo&#039;] = &#039;archive-url&#039;,												-- Spanish&lt;br /&gt;
	[&#039;urlmorto&#039;] = &#039;url-status&#039;,												-- Italian&lt;br /&gt;
	[&#039;urn&#039;] = &#039;id&#039;,																-- German (as &#039;id={{URN|...}}&#039;)&lt;br /&gt;
	[&#039;v-authors&#039;] = &#039;vauthors&#039;,													-- misspelling&lt;br /&gt;
	[&#039;v-editors&#039;] = &#039;veditors&#039;,													-- misspelling&lt;br /&gt;
	[&#039;verlag&#039;] = &#039;publisher&#039;,													-- German&lt;br /&gt;
	[&#039;verlagea&#039;] = &#039;publisher&#039;,													-- German (not a direct replacement, but can be emulated)&lt;br /&gt;
	[&#039;vol&#039;] = &#039;volume&#039;,&lt;br /&gt;
	[&#039;volumen&#039;] = &#039;volume&#039;,														-- Spanish&lt;br /&gt;
	[&#039;werk&#039;] = &#039;work&#039;,															-- German&lt;br /&gt;
	[&#039;werkerg&#039;] = &#039;contribution&#039;,												-- German (not a direct replacement, but can be emulated)&lt;br /&gt;
	[&#039;wkautore&#039;] = &#039;author-link&#039;,												-- Italian&lt;br /&gt;
	[&#039;wolumin&#039;] = &#039;volume&#039;,														-- Polish&lt;br /&gt;
	[&#039;wydanie&#039;] = &#039;number&#039;,														-- Polish&lt;br /&gt;
	[&#039;wydawca&#039;] = &#039;publisher&#039;,													-- French&lt;br /&gt;
	[&#039;yardımcıyazarlar&#039;] = &#039;author&#039;,											-- Turkish&lt;br /&gt;
	[&#039;yayımcı&#039;] = &#039;publisher&#039;,													-- Turkish&lt;br /&gt;
	[&#039;yayıncı&#039;] = &#039;publisher&#039;,													-- Turkish&lt;br /&gt;
	[&#039;yazar&#039;] = &#039;author&#039;,														-- Turkish&lt;br /&gt;
	[&#039;yazarbağı&#039;] = &#039;author-link&#039;,												-- Turkish&lt;br /&gt;
	[&#039;yer&#039;] = &#039;location&#039;,														-- Turkish&lt;br /&gt;
	[&#039;yıl&#039;] = &#039;date&#039;,															-- Turkish&lt;br /&gt;
	[&#039;zaprezentowany&#039;] = &#039;publisher&#039;,											-- French&lt;br /&gt;
	[&#039;zdb&#039;] = &#039;id&#039;,																-- German (as &#039;id={{ZDB|...}}&#039;)&lt;br /&gt;
	[&#039;zitat&#039;] = &#039;quote&#039;,														-- German&lt;br /&gt;
	[&#039;zugriff&#039;] = &#039;access-date&#039;,												-- German&lt;br /&gt;
	[&#039;éditeur&#039;] = &#039;editor&#039;,														-- French&lt;br /&gt;
	[&#039;ölüurl&#039;] = &#039;url-status&#039;,													-- Turkish&lt;br /&gt;
	[&#039;übersetzer&#039;] = &#039;translator&#039;,												-- German (singular and plural)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; P A T T E R N S &amp;gt;--------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Here we use Lua patterns to make suggestions.  The form is&lt;br /&gt;
&lt;br /&gt;
	[&#039;pattern&#039;] = &#039;correct&#039;,&lt;br /&gt;
&lt;br /&gt;
Lua patterns are not REGEX though they are similar.  The escape character is &#039;%&#039;, not &#039;\&#039;.&lt;br /&gt;
For more information about Lua patterns, see: Extension:Scribunto/Lua_reference_manual#Patterns&lt;br /&gt;
&lt;br /&gt;
Patterns should probably always include the &#039;^&#039; and &#039;$&#039; anchor assertions to prevent a partial&lt;br /&gt;
match from incorrectly suggesting the wrong parameter name.  For instance, the pattern &#039;a[utho]+r&#039;&lt;br /&gt;
matches &#039;author&#039; in the no-longer-supported parameter |author-separator= so the code suggests&lt;br /&gt;
&#039;|author=&#039;; the same pattern also matches the no-longer-supported parameter |separator= (returning &#039;ator&#039;)&lt;br /&gt;
so again, the code suggests &#039;|author=&#039;.&lt;br /&gt;
&lt;br /&gt;
One capture is supported, typically the enumerator from an enumerated parameter (the &#039;6&#039; in |author6=, etc.)&lt;br /&gt;
The value from the capture replaces $1 in the &#039;correct&#039; value.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local patterns = {&lt;br /&gt;
	[&#039;^ac+es+ ?d?a?t?e?$&#039;] = &#039;access-date&#039;,										-- misspelling&lt;br /&gt;
	[&#039;^apellido[s]?(%d+)$&#039;] = &#039;last$1&#039;,											-- Spanish, enumerated&lt;br /&gt;
	[&#039;^a[utho]+r$&#039;] = &#039;author&#039;,													-- misspelling&lt;br /&gt;
	[&#039;^a[utho]+r(%d+)$&#039;] = &#039;author$1&#039;,											-- misspelling, enumerated&lt;br /&gt;
	[&#039;^author link(%d+)$&#039;] = &#039;author-link$1&#039;,									-- Polish, enumerated&lt;br /&gt;
	[&#039;^autor[e]?(%d+)$&#039;] = &#039;author$1&#039;,											-- Italian/Spanish/German, enumerated&lt;br /&gt;
	[&#039;^authorfirst(%d+)$&#039;] = &#039;author-first$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^author(%d+)first$&#039;] = &#039;author-first$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^authorgiven(%d+)$&#039;] = &#039;author-given$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^author(%d+)given$&#039;] = &#039;author-given$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^authorlast(%d+)$&#039;] = &#039;author-last$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^author(%d+)last$&#039;] = &#039;author-last$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^authormask(%d+)$&#039;] = &#039;author-mask$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^author(%d+)mask$&#039;] = &#039;author-mask$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^authorsurname(%d+)$&#039;] = &#039;author-surname$1&#039;,								-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^author(%d+)surname$&#039;] = &#039;author-surname$1&#039;,								-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^cognome(%d+)$&#039;] = &#039;last$1&#039;,												-- Italian, enumerated&lt;br /&gt;
	[&#039;^editorfirst(%d+)$&#039;] = &#039;editor-first$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^editor(%d+)first$&#039;] = &#039;editor-first$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^editorgiven(%d+)$&#039;] = &#039;editor-given$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^editor(%d+)given$&#039;] = &#039;editor-given$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^editorlast(%d+)$&#039;] = &#039;editor-last$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^editor(%d+)last$&#039;] = &#039;editor-last$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^editorlink(%d+)$&#039;] = &#039;editor-link$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^editor(%d+)link$&#039;] = &#039;editor-link$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^editormask(%d+)$&#039;] = &#039;editor-mask$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^editor(%d+)mask$&#039;] = &#039;editor-mask$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^editorsurname(%d+)$&#039;] = &#039;editor-surname$1&#039;,								-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^editor(%d+)surname$&#039;] = &#039;editor-surname$1&#039;,								-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^enlaceautore(%d+)$&#039;] = &#039;author-link$1&#039;,									-- Spanish, enumerated&lt;br /&gt;
	[&#039;^first (%d+)$&#039;] = &#039;first$1&#039;,												-- enumerated&lt;br /&gt;
	[&#039;^last (%d+)$&#039;] = &#039;last$1&#039;,												-- enumerated&lt;br /&gt;
	[&#039;^nom[e]?(%d+)$&#039;] = &#039;last$1&#039;,												-- Italian/French, enumerated&lt;br /&gt;
	[&#039;^nombre(%d+)$&#039;] = &#039;first$1&#039;,												-- Spanish, enumerated&lt;br /&gt;
	[&#039;^primero(%d+)$&#039;] = &#039;first$1&#039;,												-- Spanish, enumerated&lt;br /&gt;
	[&#039;^pu[blish]+ers?$&#039;] = &#039;publisher&#039;,											-- misspelling&lt;br /&gt;
	[&#039;^subjectlink(%d+)$&#039;] = &#039;subject-link$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^subject(%d+)link$&#039;] = &#039;subject-link$1&#039;,									-- old parameter name, enumerated&lt;br /&gt;
	[&#039;^wkautore(%d+)$&#039;] = &#039;author-link$1&#039;,										-- Italian, enumerated&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
return {suggestions = suggestions, patterns=patterns};&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Citation/CS1/styles.css&amp;diff=70</id>
		<title>Module:Citation/CS1/styles.css</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Citation/CS1/styles.css&amp;diff=70"/>
		<updated>2025-08-04T17:18:45Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;/* Protection icon the following line controls the page-protection icon in the upper right corner it must remain within this comment 	{{sandbox other||{{pp-template}}}}  */  /* Overrides Some wikis do not override user agent default styles for HTML &amp;lt;cite&amp;gt; and &amp;lt;q&amp;gt;, unlike en.wp. On en.wp, keep these the same as MediaWiki:Common.css.  The word-wrap and :target styles were moved here from Common.css. On en.wp, keep these the same as Template:Citation/styles.css. */...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/* Protection icon&lt;br /&gt;
the following line controls the page-protection icon in the upper right corner&lt;br /&gt;
it must remain within this comment&lt;br /&gt;
	{{sandbox other||{{pp-template}}}}&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
/* Overrides&lt;br /&gt;
Some wikis do not override user agent default styles for HTML &amp;lt;cite&amp;gt; and &amp;lt;q&amp;gt;,&lt;br /&gt;
unlike en.wp. On en.wp, keep these the same as [[MediaWiki:Common.css]].&lt;br /&gt;
&lt;br /&gt;
The word-wrap and :target styles were moved here from Common.css.&lt;br /&gt;
On en.wp, keep these the same as [[Template:Citation/styles.css]].&lt;br /&gt;
*/&lt;br /&gt;
cite.citation {&lt;br /&gt;
	font-style: inherit; /* Remove italics for &amp;lt;cite&amp;gt; */&lt;br /&gt;
	/* Break long urls, etc., rather than overflowing box */&lt;br /&gt;
	word-wrap: break-word;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.citation q {&lt;br /&gt;
	quotes: &#039;&amp;quot;&#039; &#039;&amp;quot;&#039; &amp;quot;&#039;&amp;quot; &amp;quot;&#039;&amp;quot;; /* Straight quote marks for &amp;lt;q&amp;gt; */&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Highlight linked elements (such as clicked references) in blue */&lt;br /&gt;
.citation:target {&lt;br /&gt;
	/* ignore the linter - all browsers of interest implement this */&lt;br /&gt;
	background-color: rgba(0, 127, 255, 0.133);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* ID and URL access&lt;br /&gt;
Both core and Common.css have selector .mw-parser-output a[href$=&amp;quot;.pdf&amp;quot;].external&lt;br /&gt;
for PDF pages. All TemplateStyles pages are hoisted to .mw-parser-output. We need&lt;br /&gt;
to have specificity equal to a[href$=&amp;quot;.pdf&amp;quot;].external for locks to override PDF icon.&lt;br /&gt;
That&#039;s essentially 2 classes and 1 element.&lt;br /&gt;
&lt;br /&gt;
the .id-lock-... selectors are for use by non-citation templates like&lt;br /&gt;
{{Catalog lookup link}}&lt;br /&gt;
&lt;br /&gt;
bg-size `contain` in Minerva and Timeless is too large, so we set a size for them&lt;br /&gt;
and then exclude them later&lt;br /&gt;
*/&lt;br /&gt;
.id-lock-free.id-lock-free a {&lt;br /&gt;
	background: url(https://upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg)&lt;br /&gt;
		right 0.1em center/9px no-repeat;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.id-lock-limited.id-lock-limited a,&lt;br /&gt;
.id-lock-registration.id-lock-registration a {&lt;br /&gt;
	background: url(https://upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg)&lt;br /&gt;
		right 0.1em center/9px no-repeat;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.id-lock-subscription.id-lock-subscription a {&lt;br /&gt;
	background: url(https://upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg)&lt;br /&gt;
		right 0.1em center/9px no-repeat;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Wikisource&lt;br /&gt;
Wikisource icon when |chapter= or |title= is wikilinked to Wikisource&lt;br /&gt;
as in cite wikisource&lt;br /&gt;
*/&lt;br /&gt;
.cs1-ws-icon a {&lt;br /&gt;
	background: url(https://upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg)&lt;br /&gt;
		right 0.1em center/12px no-repeat;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
body:not(.skin-timeless):not(.skin-minerva) .id-lock-free a,&lt;br /&gt;
body:not(.skin-timeless):not(.skin-minerva) .id-lock-limited a,&lt;br /&gt;
body:not(.skin-timeless):not(.skin-minerva) .id-lock-registration a,&lt;br /&gt;
body:not(.skin-timeless):not(.skin-minerva) .id-lock-subscription a,&lt;br /&gt;
body:not(.skin-timeless):not(.skin-minerva) .cs1-ws-icon a {&lt;br /&gt;
	background-size: contain;&lt;br /&gt;
	/* Common.css has a padding set for PDF URLs. bg-contain expands to the&lt;br /&gt;
	 * size of the padding which makes the icons very large. we &amp;quot;reset&amp;quot; the&lt;br /&gt;
	 * padding here. 1em picked out of a hat based on console having a similar&lt;br /&gt;
	 * rule from elsewhere&lt;br /&gt;
	 */&lt;br /&gt;
	padding: 0 1em 0 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Errors and maintenance */&lt;br /&gt;
.cs1-code {&lt;br /&gt;
	/* &amp;lt;code&amp;gt;...&amp;lt;/code&amp;gt; style override: mediawiki&#039;s css definition is specified here:&lt;br /&gt;
	https://git.wikimedia.org/blob/mediawiki%2Fcore.git/&lt;br /&gt;
		69cd73811f7aadd093050dbf20ed70ef0b42a713/skins%2Fcommon%2FcommonElements.css#L199&lt;br /&gt;
	*/&lt;br /&gt;
	color: inherit;&lt;br /&gt;
	background: inherit;&lt;br /&gt;
	border: none;&lt;br /&gt;
	padding: inherit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.cs1-hidden-error {&lt;br /&gt;
	display: none;&lt;br /&gt;
	color: var(--color-error, #d33);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.cs1-visible-error {&lt;br /&gt;
	color: var(--color-error, #d33);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.cs1-maint {&lt;br /&gt;
	display: none;&lt;br /&gt;
	color: #085;&lt;br /&gt;
	margin-left: 0.3em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* kerning */&lt;br /&gt;
.cs1-kern-left {&lt;br /&gt;
	padding-left: 0.2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.cs1-kern-right {&lt;br /&gt;
	padding-right: 0.2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* selflinks – avoid bold font style when cs1|2 template links to the current page */&lt;br /&gt;
.citation .mw-selflink {&lt;br /&gt;
	font-weight: inherit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media screen {&lt;br /&gt;
	/* Small text size&lt;br /&gt;
	Set small text size in one place. 0.95 (here) * 0.9 (from references list) is&lt;br /&gt;
	~0.85, which is the lower bound for size for accessibility. Old styling for this&lt;br /&gt;
	was just 0.85. We could write the rule so that when this template is inside&lt;br /&gt;
	references/reflist, only then does it multiply by 0.95; else multiply by 0.85 */&lt;br /&gt;
	.cs1-format {&lt;br /&gt;
		font-size: 95%;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	html.skin-theme-clientpref-night .cs1-maint {&lt;br /&gt;
		color: #18911f;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
@media screen and (prefers-color-scheme: dark) {&lt;br /&gt;
	html.skin-theme-clientpref-os .cs1-maint {&lt;br /&gt;
		color: #18911f;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Citation/CS1/COinS&amp;diff=69</id>
		<title>Module:Citation/CS1/COinS</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Citation/CS1/COinS&amp;diff=69"/>
		<updated>2025-08-04T17:17:43Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;----------------------------&amp;lt; F O R W A R D   D E C L A R A T I O N S &amp;gt;--------------------------------------   local has_accept_as_written, is_set, in_array, remove_wiki_link, strip_apostrophe_markup;	-- functions in Module:Citation/CS1/Utilities  local cfg;																		-- table of configuration tables that are defined in Module:Citation/CS1/Configuration   --[[--------------------------&amp;lt; M A K E _ C O I N S _ T I T L E &amp;gt;----------------------------------------...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--[[--------------------------&amp;lt; F O R W A R D   D E C L A R A T I O N S &amp;gt;--------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local has_accept_as_written, is_set, in_array, remove_wiki_link, strip_apostrophe_markup;	-- functions in Module:Citation/CS1/Utilities&lt;br /&gt;
&lt;br /&gt;
local cfg;																		-- table of configuration tables that are defined in Module:Citation/CS1/Configuration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; M A K E _ C O I N S _ T I T L E &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Makes a title for COinS from Title and / or ScriptTitle (or any other name-script pairs)&lt;br /&gt;
&lt;br /&gt;
Apostrophe markup (bold, italics) is stripped from each value so that the COinS metadata isn&#039;t corrupted with strings&lt;br /&gt;
of %27%27...&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function make_coins_title (title, script)&lt;br /&gt;
	title = has_accept_as_written (title);&lt;br /&gt;
	if is_set (title) then&lt;br /&gt;
		title = strip_apostrophe_markup (title);								-- strip any apostrophe markup&lt;br /&gt;
	else&lt;br /&gt;
		title = &#039;&#039;;																-- if not set, make sure title is an empty string&lt;br /&gt;
	end&lt;br /&gt;
	if is_set (script) then&lt;br /&gt;
		script = script:gsub (&#039;^%l%l%s*:%s*&#039;, &#039;&#039;);								-- remove language prefix if present (script value may now be empty string)&lt;br /&gt;
		script = strip_apostrophe_markup (script);								-- strip any apostrophe markup&lt;br /&gt;
	else&lt;br /&gt;
		script = &#039;&#039;;															-- if not set, make sure script is an empty string&lt;br /&gt;
	end&lt;br /&gt;
	if is_set (title) and is_set (script) then&lt;br /&gt;
		script = &#039; &#039; .. script;													-- add a space before we concatenate&lt;br /&gt;
	end&lt;br /&gt;
	return title .. script;														-- return the concatenation&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E S C A P E _ L U A _ M A G I C _ C H A R S &amp;gt;----------------------------------&lt;br /&gt;
&lt;br /&gt;
Returns a string where all of Lua&#039;s magic characters have been escaped.  This is important because functions like&lt;br /&gt;
string.gsub() treat their pattern and replace strings as patterns, not literal strings.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function escape_lua_magic_chars (argument)&lt;br /&gt;
	argument = argument:gsub(&amp;quot;%%&amp;quot;, &amp;quot;%%%%&amp;quot;);										-- replace % with %%&lt;br /&gt;
	argument = argument:gsub(&amp;quot;([%^%$%(%)%.%[%]%*%+%-%?])&amp;quot;, &amp;quot;%%%1&amp;quot;);				-- replace all other Lua magic pattern characters&lt;br /&gt;
	return argument;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; G E T _ C O I N S _ P A G E S &amp;gt;------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Extract page numbers from external wikilinks in any of the |page=, |pages=, or |at= parameters for use in COinS.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function get_coins_pages (pages)&lt;br /&gt;
	local pattern;&lt;br /&gt;
	if not is_set (pages) then return pages; end								-- if no page numbers then we&#039;re done&lt;br /&gt;
	&lt;br /&gt;
	while true do&lt;br /&gt;
		pattern = pages:match(&amp;quot;%[(%w*:?//[^ ]+%s+)[%w%d].*%]&amp;quot;);					-- pattern is the opening bracket, the URL and following space(s): &amp;quot;[url &amp;quot;&lt;br /&gt;
		if nil == pattern then break; end										-- no more URLs&lt;br /&gt;
		pattern = escape_lua_magic_chars (pattern);								-- pattern is not a literal string; escape Lua&#039;s magic pattern characters&lt;br /&gt;
		pages = pages:gsub(pattern, &amp;quot;&amp;quot;);										-- remove as many instances of pattern as possible&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	pages = pages:gsub(&amp;quot;[%[%]]&amp;quot;, &amp;quot;&amp;quot;);											-- remove the brackets&lt;br /&gt;
	pages = pages:gsub(&amp;quot;–&amp;quot;, &amp;quot;-&amp;quot; );												-- replace endashes with hyphens&lt;br /&gt;
	pages = pages:gsub(&amp;quot;&amp;amp;%w+;&amp;quot;, &amp;quot;-&amp;quot; );											-- and replace HTML entities (&amp;amp;ndash; etc.) with hyphens; do we need to replace numerical entities like &amp;amp;#32; and the like?&lt;br /&gt;
	pages = pages:gsub (&#039;%b&amp;lt;&amp;gt;&#039;, &#039;&#039;);											-- remove html-like tags; spans are added to &amp;lt;Pages&amp;gt; by utilities.hyphen_to_dash() which should not appear in COinS metadata&lt;br /&gt;
	return pages;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; C O I N S _ R E P L A C E _ M A T H _ S T R I P M A R K E R &amp;gt;------------------&lt;br /&gt;
&lt;br /&gt;
There are three options for math markup rendering that depend on the editor&#039;s math preference settings.  These&lt;br /&gt;
settings are at [[Special:Preferences#mw-prefsection-rendering]] and are&lt;br /&gt;
	PNG images&lt;br /&gt;
	TeX source&lt;br /&gt;
	MathML with SVG or PNG fallback&lt;br /&gt;
&lt;br /&gt;
All three are heavy with HTML and CSS which doesn&#039;t belong in the metadata.&lt;br /&gt;
&lt;br /&gt;
Without this function, the metadata saved in the raw wikitext contained the rendering determined by the settings&lt;br /&gt;
of the last editor to save the page.&lt;br /&gt;
&lt;br /&gt;
This function gets the rendered form of an equation according to the editor&#039;s preference before the page is saved.  It&lt;br /&gt;
then searches the rendering for the text equivalent of the rendered equation and replaces the rendering with that so&lt;br /&gt;
that the page is saved without extraneous HTML/CSS markup and with a reasonably readable text form of the equation.&lt;br /&gt;
&lt;br /&gt;
When a replacement is made, this function returns true and the value with replacement; otherwise false and the initial&lt;br /&gt;
value.  To replace multipe equations it is necessary to call this function from within a loop.&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function coins_replace_math_stripmarker (value)&lt;br /&gt;
	local stripmarker = cfg.stripmarkers[&#039;math&#039;];&lt;br /&gt;
	local rendering = value:match (stripmarker);								-- is there a math stripmarker&lt;br /&gt;
&lt;br /&gt;
	if not rendering then														-- when value doesn&#039;t have a math stripmarker, abandon this test&lt;br /&gt;
		return false, value;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	rendering = mw.text.unstripNoWiki (rendering);								-- convert stripmarker into rendered value (or nil? &#039;&#039;? when math render error)&lt;br /&gt;
	&lt;br /&gt;
	if rendering:match (&#039;alt=&amp;quot;[^&amp;quot;]+&amp;quot;&#039;) then										-- if PNG math option&lt;br /&gt;
		rendering = rendering:match (&#039;alt=&amp;quot;([^&amp;quot;]+)&amp;quot;&#039;);							-- extract just the math text&lt;br /&gt;
	elseif rendering:match (&#039;$%s+.+%s+%$&#039;) then									-- if TeX math option; $ is legit character that is escapes as \$&lt;br /&gt;
		rendering = rendering:match (&#039;$%s+(.+)%s+%$&#039;)							-- extract just the math text&lt;br /&gt;
	elseif rendering:match (&#039;&amp;lt;annotation[^&amp;gt;]+&amp;gt;.+&amp;lt;/annotation&amp;gt;&#039;) then			-- if MathML math option&lt;br /&gt;
		rendering = rendering:match (&#039;&amp;lt;annotation[^&amp;gt;]+&amp;gt;(.+)&amp;lt;/annotation&amp;gt;&#039;)		-- extract just the math text&lt;br /&gt;
	else&lt;br /&gt;
		return false, value;													-- had math stripmarker but not one of the three defined forms&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return true, value:gsub (stripmarker, rendering, 1);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C O I N S _ C L E A N U P &amp;gt;----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Cleanup parameter values for the metadata by removing or replacing invisible characters and certain HTML entities.&lt;br /&gt;
&lt;br /&gt;
2015-12-10: there is a bug in mw.text.unstripNoWiki ().  It replaces math stripmarkers with the appropriate content&lt;br /&gt;
when it shouldn&#039;t.  See https://phabricator.wikimedia.org/T121085 and Wikipedia_talk:Lua#stripmarkers_and_mw.text.unstripNoWiki.28.29&lt;br /&gt;
&lt;br /&gt;
TODO: move the replacement patterns and replacement values into a table in /Configuration similar to the invisible&lt;br /&gt;
characters table?&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function coins_cleanup (value)&lt;br /&gt;
	local replaced = true;														-- default state to get the do loop running&lt;br /&gt;
&lt;br /&gt;
	while replaced do															-- loop until all math stripmarkers replaced&lt;br /&gt;
		replaced, value = coins_replace_math_stripmarker (value);				-- replace math stripmarker with text representation of the equation&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	value = value:gsub (cfg.stripmarkers[&#039;math&#039;], &amp;quot;MATH RENDER ERROR&amp;quot;);			-- one or more couldn&#039;t be replaced; insert vague error message&lt;br /&gt;
	&lt;br /&gt;
	value = mw.text.unstripNoWiki (value);										-- replace nowiki stripmarkers with their content&lt;br /&gt;
	value = value:gsub (&#039;&amp;lt;span class=&amp;quot;nowrap&amp;quot; style=&amp;quot;padding%-left:0%.1em;&amp;quot;&amp;gt;&amp;amp;#39;(s?)&amp;lt;/span&amp;gt;&#039;, &amp;quot;&#039;%1&amp;quot;);	-- replace {{&#039;}} or {{&#039;s}} with simple apostrophe or apostrophe-s&lt;br /&gt;
	value = value:gsub (&#039;&amp;amp;nbsp;&#039;, &#039; &#039;);											-- replace &amp;amp;nbsp; entity with plain space&lt;br /&gt;
	value = value:gsub (&#039;\226\128\138&#039;, &#039; &#039;);									-- replace hair space with plain space&lt;br /&gt;
	if not mw.ustring.find (value, cfg.indic_script) then						-- don&#039;t remove zero-width joiner characters from indic script&lt;br /&gt;
		value = value:gsub (&#039;&amp;amp;zwj;&#039;, &#039;&#039;);										-- remove &amp;amp;zwj; entities&lt;br /&gt;
		value = mw.ustring.gsub (value, &#039;[\226\128\141\226\128\139\194\173]&#039;, &#039;&#039;);	-- remove zero-width joiner, zero-width space, soft hyphen&lt;br /&gt;
	end&lt;br /&gt;
	value = value:gsub (&#039;[\009\010\013 ]+&#039;, &#039; &#039;);								-- replace horizontal tab, line feed, carriage return with plain space&lt;br /&gt;
	return value;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C O I N S &amp;gt;--------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
COinS metadata (see &amp;lt;http://ocoins.info/&amp;gt;) allows automated tools to parse the citation information.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function COinS(data, class)&lt;br /&gt;
	if &#039;table&#039; ~= type(data) or nil == next(data) then&lt;br /&gt;
		return &#039;&#039;;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	for k, v in pairs (data) do													-- spin through all of the metadata parameter values&lt;br /&gt;
		if &#039;ID_list&#039; ~= k and &#039;Authors&#039; ~= k then								-- except the ID_list and Author tables (author nowiki stripmarker done when Author table processed)&lt;br /&gt;
			data[k] = coins_cleanup (v);&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ctx_ver = &amp;quot;Z39.88-2004&amp;quot;;&lt;br /&gt;
	&lt;br /&gt;
	-- treat table strictly as an array with only set values.&lt;br /&gt;
	local OCinSoutput = setmetatable( {}, {&lt;br /&gt;
		__newindex = function(self, key, value)&lt;br /&gt;
			if is_set(value) then&lt;br /&gt;
				rawset( self, #self+1, table.concat{ key, &#039;=&#039;, mw.uri.encode( remove_wiki_link( value ) ) } );&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	});&lt;br /&gt;
	&lt;br /&gt;
	if in_array (class, {&#039;arxiv&#039;, &#039;biorxiv&#039;, &#039;citeseerx&#039;, &#039;medrxiv&#039;, &#039;ssrn&#039;, &#039;journal&#039;, &#039;news&#039;, &#039;magazine&#039;}) or&lt;br /&gt;
		(in_array (class, {&#039;conference&#039;, &#039;interview&#039;, &#039;map&#039;, &#039;press release&#039;, &#039;web&#039;}) and is_set(data.Periodical)) or&lt;br /&gt;
		(&#039;citation&#039; == class and is_set(data.Periodical) and not is_set (data.Encyclopedia)) then&lt;br /&gt;
			OCinSoutput.rft_val_fmt = &amp;quot;info:ofi/fmt:kev:mtx:journal&amp;quot;;			-- journal metadata identifier&lt;br /&gt;
			if in_array (class, {&#039;arxiv&#039;, &#039;biorxiv&#039;, &#039;citeseerx&#039;, &#039;medrxiv&#039;, &#039;ssrn&#039;}) then	-- set genre according to the type of citation template we are rendering&lt;br /&gt;
				OCinSoutput[&amp;quot;rft.genre&amp;quot;] = &amp;quot;preprint&amp;quot;;							-- cite arxiv, cite biorxiv, cite citeseerx, cite medrxiv, cite ssrn&lt;br /&gt;
			elseif &#039;conference&#039; == class then&lt;br /&gt;
				OCinSoutput[&amp;quot;rft.genre&amp;quot;] = &amp;quot;conference&amp;quot;;						-- cite conference (when Periodical set)&lt;br /&gt;
			elseif &#039;web&#039; == class then&lt;br /&gt;
				OCinSoutput[&amp;quot;rft.genre&amp;quot;] = &amp;quot;unknown&amp;quot;;							-- cite web (when Periodical set)&lt;br /&gt;
			else&lt;br /&gt;
				OCinSoutput[&amp;quot;rft.genre&amp;quot;] = &amp;quot;article&amp;quot;;							-- journal and other &#039;periodical&#039; articles&lt;br /&gt;
			end&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.jtitle&amp;quot;] = data.Periodical;						-- journal only&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.atitle&amp;quot;] = data.Title;								-- &#039;periodical&#039; article titles&lt;br /&gt;
&lt;br /&gt;
																				-- these used only for periodicals&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.ssn&amp;quot;] = data.Season;								-- keywords: winter, spring, summer, fall&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.quarter&amp;quot;] = data.Quarter;							-- single digits 1-&amp;gt;first quarter, etc.&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.chron&amp;quot;] = data.Chron;								-- free-form date components&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.volume&amp;quot;] = data.Volume;							-- does not apply to books&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.issue&amp;quot;] = data.Issue;&lt;br /&gt;
			OCinSoutput[&#039;rft.artnum&#039;] = data.ArticleNumber;						-- {{cite journal}} only&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.pages&amp;quot;] = data.Pages;								-- also used in book metadata&lt;br /&gt;
&lt;br /&gt;
	elseif &#039;thesis&#039; ~= class then												-- all others except cite thesis are treated as &#039;book&#039; metadata; genre distinguishes&lt;br /&gt;
		OCinSoutput.rft_val_fmt = &amp;quot;info:ofi/fmt:kev:mtx:book&amp;quot;;					-- book metadata identifier&lt;br /&gt;
		if &#039;report&#039; == class or &#039;techreport&#039; == class then						-- cite report and cite techreport&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.genre&amp;quot;] = &amp;quot;report&amp;quot;;&lt;br /&gt;
		elseif &#039;conference&#039; == class then										-- cite conference when Periodical not set&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.genre&amp;quot;] = &amp;quot;conference&amp;quot;;&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.atitle&amp;quot;] = data.Chapter;							-- conference paper as chapter in proceedings (book)&lt;br /&gt;
		elseif in_array (class, {&#039;book&#039;, &#039;citation&#039;, &#039;encyclopaedia&#039;, &#039;interview&#039;, &#039;map&#039;}) then&lt;br /&gt;
			if is_set (data.Chapter) then&lt;br /&gt;
				OCinSoutput[&amp;quot;rft.genre&amp;quot;] = &amp;quot;bookitem&amp;quot;;&lt;br /&gt;
				OCinSoutput[&amp;quot;rft.atitle&amp;quot;] = data.Chapter;						-- book chapter, encyclopedia article, interview in a book, or map title&lt;br /&gt;
			else&lt;br /&gt;
				if &#039;map&#039; == class or &#039;interview&#039; == class then&lt;br /&gt;
					OCinSoutput[&amp;quot;rft.genre&amp;quot;] = &#039;unknown&#039;;						-- standalone map or interview&lt;br /&gt;
				else&lt;br /&gt;
					OCinSoutput[&amp;quot;rft.genre&amp;quot;] = &#039;book&#039;;							-- book and encyclopedia&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		else	-- {&#039;audio-visual&#039;, &#039;AV-media-notes&#039;, &#039;DVD-notes&#039;, &#039;episode&#039;, &#039;interview&#039;, &#039;mailinglist&#039;, &#039;map&#039;, &#039;newsgroup&#039;, &#039;podcast&#039;, &#039;press release&#039;, &#039;serial&#039;, &#039;sign&#039;, &#039;speech&#039;, &#039;web&#039;}&lt;br /&gt;
			OCinSoutput[&amp;quot;rft.genre&amp;quot;] = &amp;quot;unknown&amp;quot;;&lt;br /&gt;
		end&lt;br /&gt;
		OCinSoutput[&amp;quot;rft.btitle&amp;quot;] = data.Title;									-- book only&lt;br /&gt;
		OCinSoutput[&amp;quot;rft.place&amp;quot;] = data.PublicationPlace;						-- book only&lt;br /&gt;
		OCinSoutput[&amp;quot;rft.series&amp;quot;] = data.Series;								-- book only&lt;br /&gt;
		OCinSoutput[&amp;quot;rft.pages&amp;quot;] = data.Pages;									-- book, journal&lt;br /&gt;
		OCinSoutput[&amp;quot;rft.edition&amp;quot;] = data.Edition;								-- book only&lt;br /&gt;
		OCinSoutput[&amp;quot;rft.pub&amp;quot;] = data.PublisherName;							-- book and dissertation&lt;br /&gt;
		&lt;br /&gt;
	else																		-- cite thesis&lt;br /&gt;
		OCinSoutput.rft_val_fmt = &amp;quot;info:ofi/fmt:kev:mtx:dissertation&amp;quot;;			-- dissertation metadata identifier&lt;br /&gt;
		OCinSoutput[&amp;quot;rft.title&amp;quot;] = data.Title;									-- dissertation (also patent but that is not yet supported)&lt;br /&gt;
		OCinSoutput[&amp;quot;rft.degree&amp;quot;] = data.Degree;								-- dissertation only&lt;br /&gt;
		OCinSoutput[&#039;rft.inst&#039;] = data.PublisherName;							-- book and dissertation&lt;br /&gt;
	end&lt;br /&gt;
	-- NB. Not currently supported are &amp;quot;info:ofi/fmt:kev:mtx:patent&amp;quot;, &amp;quot;info:ofi/fmt:kev:mtx:dc&amp;quot;, &amp;quot;info:ofi/fmt:kev:mtx:sch_svc&amp;quot;, &amp;quot;info:ofi/fmt:kev:mtx:ctx&amp;quot;&lt;br /&gt;
																				-- and now common parameters (as much as possible)&lt;br /&gt;
	OCinSoutput[&amp;quot;rft.date&amp;quot;] = data.Date;										-- book, journal, dissertation&lt;br /&gt;
&lt;br /&gt;
	for k, v in pairs( data.ID_list ) do										-- what to do about these? For now assume that they are common to all?&lt;br /&gt;
		if k == &#039;ISBN&#039; then v = v:gsub( &amp;quot;[^-0-9X]&amp;quot;, &amp;quot;&amp;quot; ); end&lt;br /&gt;
		local id = cfg.id_handlers[k].COinS;&lt;br /&gt;
		if string.sub( id or &amp;quot;&amp;quot;, 1, 4 ) == &#039;info&#039; then							-- for ids that are in the info:registry&lt;br /&gt;
			OCinSoutput[&amp;quot;rft_id&amp;quot;] = table.concat{ id, &amp;quot;/&amp;quot;, v };&lt;br /&gt;
		elseif string.sub (id or &amp;quot;&amp;quot;, 1, 3 ) == &#039;rft&#039; then						-- for isbn, issn, eissn, etc. that have defined COinS keywords&lt;br /&gt;
			OCinSoutput[ id ] = v;&lt;br /&gt;
		elseif &#039;url&#039; == id then													-- for urls that are assembled in ~/Identifiers; |asin= and |ol=&lt;br /&gt;
			OCinSoutput[&amp;quot;rft_id&amp;quot;] = table.concat ({data.ID_list[k], &amp;quot;#id-name=&amp;quot;, cfg.id_handlers[k].label});&lt;br /&gt;
		elseif id then															-- when cfg.id_handlers[k].COinS is not nil so urls created here&lt;br /&gt;
			OCinSoutput[&amp;quot;rft_id&amp;quot;] = table.concat{ cfg.id_handlers[k].prefix, v, cfg.id_handlers[k].suffix or &#039;&#039;, &amp;quot;#id-name=&amp;quot;, cfg.id_handlers[k].label };	-- others; provide a URL and indicate identifier name as #fragment (human-readable, but transparent to browsers)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local last, first;&lt;br /&gt;
	for k, v in ipairs( data.Authors ) do&lt;br /&gt;
		last, first = coins_cleanup (v.last), coins_cleanup (v.first or &#039;&#039;);	-- replace any nowiki stripmarkers, non-printing or invisible characters&lt;br /&gt;
		if k == 1 then															-- for the first author name only&lt;br /&gt;
			if is_set(last) and is_set(first) then								-- set these COinS values if |first= and |last= specify the first author name&lt;br /&gt;
				OCinSoutput[&amp;quot;rft.aulast&amp;quot;] = last;								-- book, journal, dissertation&lt;br /&gt;
				OCinSoutput[&amp;quot;rft.aufirst&amp;quot;] = first;								-- book, journal, dissertation&lt;br /&gt;
			elseif is_set(last) then &lt;br /&gt;
				OCinSoutput[&amp;quot;rft.au&amp;quot;] = last;									-- book, journal, dissertation -- otherwise use this form for the first name&lt;br /&gt;
			end&lt;br /&gt;
		else																	-- for all other authors&lt;br /&gt;
			if is_set(last) and is_set(first) then&lt;br /&gt;
				OCinSoutput[&amp;quot;rft.au&amp;quot;] = table.concat{ last, &amp;quot;, &amp;quot;, first };		-- book, journal, dissertation&lt;br /&gt;
			elseif is_set(last) then&lt;br /&gt;
				OCinSoutput[&amp;quot;rft.au&amp;quot;] = last;									-- book, journal, dissertation&lt;br /&gt;
			end&lt;br /&gt;
			-- TODO: At present we do not report &amp;quot;et al.&amp;quot;. Add anything special if this condition applies?&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	OCinSoutput.rft_id = data.URL;&lt;br /&gt;
	OCinSoutput.rfr_id = table.concat{ &amp;quot;info:sid/&amp;quot;, mw.site.server:match( &amp;quot;[^/]*$&amp;quot; ), &amp;quot;:&amp;quot;, data.RawPage };&lt;br /&gt;
&lt;br /&gt;
	-- TODO: Add optional extra info:&lt;br /&gt;
	-- rfr_dat=#REVISION&amp;lt;version&amp;gt; (referrer private data)&lt;br /&gt;
	-- ctx_id=&amp;lt;data.RawPage&amp;gt;#&amp;lt;ref&amp;gt; (identifier for the context object)&lt;br /&gt;
	-- ctx_tim=&amp;lt;ts&amp;gt; (timestamp in format yyyy-mm-ddThh:mm:ssTZD or yyyy-mm-dd)&lt;br /&gt;
	-- ctx_enc=info:ofi/enc:UTF-8 (character encoding)&lt;br /&gt;
	&lt;br /&gt;
	OCinSoutput = setmetatable( OCinSoutput, nil );&lt;br /&gt;
&lt;br /&gt;
	-- sort with version string always first, and combine.&lt;br /&gt;
	-- table.sort( OCinSoutput );&lt;br /&gt;
	table.insert( OCinSoutput, 1, &amp;quot;ctx_ver=&amp;quot; .. ctx_ver ); -- such as &amp;quot;Z39.88-2004&amp;quot;&lt;br /&gt;
	return table.concat(OCinSoutput, &amp;quot;&amp;amp;&amp;quot;);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S E T _ S E L E C T E D _ M O D U L E S &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
Sets local cfg table and imported functions table to same (live or sandbox) as that used by the other modules.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function set_selected_modules (cfg_table_ptr, utilities_page_ptr)&lt;br /&gt;
	cfg = cfg_table_ptr;&lt;br /&gt;
&lt;br /&gt;
	has_accept_as_written = utilities_page_ptr.has_accept_as_written;			-- import functions from selected Module:Citation/CS1/Utilities module&lt;br /&gt;
	is_set = utilities_page_ptr.is_set;&lt;br /&gt;
	in_array = utilities_page_ptr.in_array;&lt;br /&gt;
	remove_wiki_link = utilities_page_ptr.remove_wiki_link;&lt;br /&gt;
	strip_apostrophe_markup = utilities_page_ptr.strip_apostrophe_markup;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X P O R T E D   F U N C T I O N S &amp;gt;------------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	make_coins_title = make_coins_title,&lt;br /&gt;
	get_coins_pages = get_coins_pages,&lt;br /&gt;
	COinS = COinS,&lt;br /&gt;
	set_selected_modules = set_selected_modules,&lt;br /&gt;
	}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Utilities&amp;diff=68</id>
		<title>Module:Citation/CS1/Utilities</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Utilities&amp;diff=68"/>
		<updated>2025-08-04T17:17:28Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;local z = { 	error_cats_t = {};															-- for categorizing citations that contain errors 	error_ids_t = {};															-- list of error identifiers; used to prevent duplication of certain errors; local to this module 	error_msgs_t = {};															-- sequence table of error messages 	maint_cats_t = {};															-- for categorizing citations that aren&amp;#039;t erroneous per se, but could use a little work 	prop_cats_t = {};															-- for categorizing cit...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local z = {&lt;br /&gt;
	error_cats_t = {};															-- for categorizing citations that contain errors&lt;br /&gt;
	error_ids_t = {};															-- list of error identifiers; used to prevent duplication of certain errors; local to this module&lt;br /&gt;
	error_msgs_t = {};															-- sequence table of error messages&lt;br /&gt;
	maint_cats_t = {};															-- for categorizing citations that aren&#039;t erroneous per se, but could use a little work&lt;br /&gt;
	prop_cats_t = {};															-- for categorizing citations based on certain properties, language of source for instance&lt;br /&gt;
	prop_keys_t = {};															-- for adding classes to the citation&#039;s &amp;lt;cite&amp;gt; tag&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; F O R W A R D   D E C L A R A T I O N S &amp;gt;--------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local cfg;																		-- table of tables imported from selected Module:Citation/CS1/Configuration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ S E T &amp;gt;------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Returns true if argument is set; false otherwise. Argument is &#039;set&#039; when it exists (not nil) or when it is not an empty string.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_set (var)&lt;br /&gt;
	return not (var == nil or var == &#039;&#039;);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I N _ A R R A Y &amp;gt;--------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Whether needle is in haystack&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function in_array (needle, haystack)&lt;br /&gt;
	if needle == nil then&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
	for n, v in ipairs (haystack) do&lt;br /&gt;
		if v == needle then&lt;br /&gt;
			return n;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return false;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; H A S _ A C C E P T _ A S _ W R I T T E N &amp;gt;------------------------------------&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;str&amp;gt; is wholly wrapped in accept-as-written markup, return &amp;lt;str&amp;gt; without markup and true; return &amp;lt;str&amp;gt; and false else&lt;br /&gt;
&lt;br /&gt;
with allow_empty = false, &amp;lt;str&amp;gt; must have at least one character inside the markup&lt;br /&gt;
with allow_empty = true, &amp;lt;str&amp;gt; the markup frame can be empty like (()) to distinguish an empty template parameter from the specific condition &amp;quot;has no applicable value&amp;quot; in citation-context.&lt;br /&gt;
&lt;br /&gt;
After further evaluation the two cases might be merged at a later stage, but should be kept separated for now.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function has_accept_as_written (str, allow_empty)&lt;br /&gt;
	if not is_set (str) then&lt;br /&gt;
		return str, false;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local count;&lt;br /&gt;
&lt;br /&gt;
	if true == allow_empty then&lt;br /&gt;
		str, count = str:gsub (&#039;^%(%((.*)%)%)$&#039;, &#039;%1&#039;); 						-- allows (()) to be an empty set&lt;br /&gt;
	else&lt;br /&gt;
		str, count = str:gsub (&#039;^%(%((.+)%)%)$&#039;, &#039;%1&#039;);&lt;br /&gt;
	end&lt;br /&gt;
	return str, 0 ~= count;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S U B S T I T U T E &amp;gt;----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Populates numbered arguments in a message string using an argument table. &amp;lt;args&amp;gt; may be a single string or a&lt;br /&gt;
sequence table of multiple strings.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function substitute (msg, args)&lt;br /&gt;
	return args and mw.message.newRawMessage (msg, args):plain() or msg;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E R R O R _ C O M M E N T &amp;gt;----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Wraps error messages with CSS markup according to the state of hidden. &amp;lt;content&amp;gt; may be a single string or a&lt;br /&gt;
sequence table of multiple strings.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function error_comment (content, hidden)&lt;br /&gt;
	return substitute (hidden and cfg.presentation[&#039;hidden-error&#039;] or cfg.presentation[&#039;visible-error&#039;], content);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; H Y P H E N _ T O _ D A S H &amp;gt;--------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Converts a hyphen, endash, emdash to endash under certain conditions.  The hyphen/en/em must separate&lt;br /&gt;
like items; unlike items are returned unmodified.  These forms are modified:&lt;br /&gt;
	letter - letter (A-B)&lt;br /&gt;
	digit - digit (4-5)&lt;br /&gt;
	digit separator digit - digit separator digit (4.1-4.5 or 4-1-4-5)&lt;br /&gt;
	letterdigit - letterdigit (A1-A5) (an optional separator between letter and&lt;br /&gt;
		digit is supported – a.1-a.5 or a-1-a-5)&lt;br /&gt;
	digitletter - digitletter (5a-5d) (an optional separator between letter and&lt;br /&gt;
		digit is supported – 5.a-5.d or 5-a-5-d)&lt;br /&gt;
&lt;br /&gt;
any other forms are returned unmodified.&lt;br /&gt;
&lt;br /&gt;
str may be a comma- or semicolon-separated list of page ranges with/without single pages&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function hyphen_to_dash (str)&lt;br /&gt;
	if not is_set (str) then&lt;br /&gt;
		return str;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	str = str:gsub (&amp;quot;(%(%(.-%)%))&amp;quot;, function(m) return m:gsub(&amp;quot;,&amp;quot;, &amp;quot;，&amp;quot;):gsub(&amp;quot;;&amp;quot;, &amp;quot;；&amp;quot;) end) -- replace commas and semicolons in accept-as-written markup with similar unicode characters so they&#039;ll be ignored during the split	&lt;br /&gt;
	str = str:gsub (&#039;&amp;amp;[nm]dash;&#039;, {[&#039;&amp;amp;ndash;&#039;] = &#039;–&#039;, [&#039;&amp;amp;mdash;&#039;] = &#039;—&#039;});		-- replace &amp;amp;mdash; and &amp;amp;ndash; entities with their characters; semicolon mucks up the text.split&lt;br /&gt;
	str = str:gsub (&#039;&amp;amp;#45;&#039;, &#039;-&#039;);												-- replace HTML numeric entity with hyphen character&lt;br /&gt;
	str = str:gsub (&#039;&amp;amp;nbsp;&#039;, &#039; &#039;);												-- replace &amp;amp;nbsp; entity with generic keyboard space character&lt;br /&gt;
	&lt;br /&gt;
	local out = {};&lt;br /&gt;
	local list = mw.text.split (str, &#039;%s*[,;]%s*&#039;);								-- split str at comma or semicolon separators if there are any&lt;br /&gt;
&lt;br /&gt;
	local accept;																-- boolean&lt;br /&gt;
&lt;br /&gt;
	for _, item in ipairs (list) do												-- for each item in the list&lt;br /&gt;
		item, accept = has_accept_as_written (item);							-- remove accept-this-as-written markup when it wraps all of item&lt;br /&gt;
		if not accept and mw.ustring.match (item, &#039;^%w*[%.%-]?%w+%s*[—–-]%s*%w*[%.%-]?%w+$&#039;) then	-- if a hyphenated range or has endash or emdash separators&lt;br /&gt;
			if mw.ustring.match (item, &#039;^%a+[%.%-]?%d+%s*[—–-]%s*%a+[%.%-]?%d+$&#039;) or		-- letterdigit hyphen letterdigit (optional separator between letter and digit)&lt;br /&gt;
				mw.ustring.match (item, &#039;^%d+[%.%-]?%a+%s*[—–-]%s*%d+[%.%-]?%a+$&#039;) or		-- digitletter hyphen digitletter (optional separator between digit and letter)&lt;br /&gt;
				mw.ustring.match (item, &#039;^%d+[%.%-]%d+%s*[—–-]%s*%d+[%.%-]%d+$&#039;) then		-- digit separator digit hyphen digit separator digit&lt;br /&gt;
					item = mw.ustring.gsub (item, &#039;(%w*[%.%-]?%w+)%s*[—–-]%s*(%w*[%.%-]?%w+)&#039;, &#039;&amp;lt;span class=&amp;quot;nowrap&amp;quot;&amp;gt;%1 –&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;nowrap&amp;quot;&amp;gt;%2&amp;lt;/span&amp;gt;&#039;);	-- replace hyphen/dash, with spaced endash&lt;br /&gt;
&lt;br /&gt;
			elseif mw.ustring.match (item, &#039;^%d+%s*[—–-]%s*%d+$&#039;) or			-- digit hyphen digit&lt;br /&gt;
				mw.ustring.match (item, &#039;^%a+%s*[—–-]%s*%a+$&#039;) then				-- letter hyphen letter&lt;br /&gt;
					item = mw.ustring.gsub (item, &#039;(%w+)%s*[—–-]%s*(%w+)&#039;, &#039;&amp;lt;span class=&amp;quot;nowrap&amp;quot;&amp;gt;%1–&amp;lt;/span&amp;gt;%2&#039;);	-- replace hyphen/emdash with endash, remove extraneous space characters&lt;br /&gt;
&lt;br /&gt;
			else&lt;br /&gt;
--				item = mw.ustring.gsub (item, &#039;%s*[—–-]%s*&#039;, &#039;–&#039;);				-- disabled; here when &#039;unlike&#039; items so return &amp;lt;item&amp;gt; as is&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		table.insert (out, item);												-- add the (possibly modified) item to the output table&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local temp_str = &#039;&#039;;														-- concatenate the output table into a comma separated string&lt;br /&gt;
	temp_str, accept = has_accept_as_written (table.concat (out, &#039;, &#039;));		-- remove accept-this-as-written markup when it wraps all of concatenated out&lt;br /&gt;
	if accept then&lt;br /&gt;
		temp_str = has_accept_as_written (str);									-- when global markup removed, return original str; do it this way to suppress boolean second return value&lt;br /&gt;
		return temp_str:gsub(&amp;quot;，&amp;quot;, &amp;quot;,&amp;quot;):gsub(&amp;quot;；&amp;quot;, &amp;quot;;&amp;quot;);&lt;br /&gt;
	else&lt;br /&gt;
		return temp_str:gsub(&amp;quot;，&amp;quot;, &amp;quot;,&amp;quot;):gsub(&amp;quot;；&amp;quot;, &amp;quot;;&amp;quot;);						-- else, return assembled temp_str&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; M A K E _ W I K I L I N K &amp;gt;----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Makes a wikilink; when both link and display text is provided, returns a wikilink in the form [[L|D]]; if only&lt;br /&gt;
link is provided (or link and display are the same), returns a wikilink in the form [[L]]; if neither are&lt;br /&gt;
provided or link is omitted, returns an empty string.&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function make_wikilink (link, display)&lt;br /&gt;
	if not is_set (link) then return &#039;&#039; end&lt;br /&gt;
&lt;br /&gt;
	if is_set (display) and link ~= display then			&lt;br /&gt;
		return table.concat ({&#039;[[&#039;, link, &#039;|&#039;, display, &#039;]]&#039;});			&lt;br /&gt;
	else&lt;br /&gt;
		return table.concat ({&#039;[[&#039;, link, &#039;]]&#039;});&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S E T _ M E S S A G E &amp;gt;----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Sets an error message using the ~/Configuration error_conditions{} table along with arguments supplied in the function&lt;br /&gt;
call, inserts the resulting message in z.error_msgs_t{} sequence table, and returns the error message.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;error_id&amp;gt; – key value for appropriate error handler in ~/Configuration error_conditions{} table &lt;br /&gt;
&amp;lt;arguments&amp;gt; – may be a single string or a sequence table of multiple strings to be subsititued into error_conditions[error_id].message&lt;br /&gt;
&amp;lt;raw&amp;gt; – boolean&lt;br /&gt;
	true –	causes this function to return the error message not wrapped in visible-error, hidden-error span tag;&lt;br /&gt;
			returns error_conditions[error_id].hidden as a second return value&lt;br /&gt;
			does not add message to z.error_msgs_t sequence table&lt;br /&gt;
	false, nil – adds message wrapped in visible-error, hidden-error span tag to z.error_msgs_t&lt;br /&gt;
			returns the error message wrapped in visible-error, hidden-error span tag; there is no second return value&lt;br /&gt;
&amp;lt;prefix&amp;gt; – string to be prepended to &amp;lt;message&amp;gt;									-- TODO: remove support for these unused(?) arguments?&lt;br /&gt;
&amp;lt;suffix&amp;gt; – string to be appended to &amp;lt;message&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TODO: change z.error_cats_t and z.maint_cats_t to have the form cat_name = true?  this to avoid dups without having to have an extra table&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local added_maint_cats = {}														-- list of maintenance categories that have been added to z.maint_cats_t; TODO: figure out how to delete this table&lt;br /&gt;
&lt;br /&gt;
local function set_message (error_id, arguments, raw, prefix, suffix)&lt;br /&gt;
	local error_state = cfg.error_conditions[error_id];&lt;br /&gt;
	&lt;br /&gt;
	prefix = prefix or &#039;&#039;;&lt;br /&gt;
	suffix = suffix or &#039;&#039;;&lt;br /&gt;
	&lt;br /&gt;
	if error_state == nil then&lt;br /&gt;
		error (cfg.messages[&#039;undefined_error&#039;] .. &#039;: &#039; .. error_id);			-- because missing error handler in Module:Citation/CS1/Configuration&lt;br /&gt;
&lt;br /&gt;
	elseif is_set (error_state.category) then&lt;br /&gt;
		if error_state.message then												-- when error_state.message defined, this is an error message&lt;br /&gt;
			table.insert (z.error_cats_t, error_state.category);&lt;br /&gt;
		else&lt;br /&gt;
			if not added_maint_cats[error_id] then&lt;br /&gt;
				added_maint_cats[error_id] = true;								-- note that we&#039;ve added this category&lt;br /&gt;
				table.insert (z.maint_cats_t, substitute (error_state.category, arguments));	-- make cat name then add to table&lt;br /&gt;
			end&lt;br /&gt;
			return;																-- because no message, nothing more to do&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local message = substitute (error_state.message, arguments);&lt;br /&gt;
&lt;br /&gt;
	message = table.concat (&lt;br /&gt;
		{&lt;br /&gt;
		message,&lt;br /&gt;
		&#039; (&#039;,&lt;br /&gt;
		make_wikilink (&lt;br /&gt;
			table.concat (&lt;br /&gt;
				{&lt;br /&gt;
				cfg.messages[&#039;help page link&#039;],&lt;br /&gt;
				&#039;#&#039;,&lt;br /&gt;
				error_state.anchor&lt;br /&gt;
				}),&lt;br /&gt;
			cfg.messages[&#039;help page label&#039;]),&lt;br /&gt;
		&#039;)&#039;&lt;br /&gt;
		});&lt;br /&gt;
&lt;br /&gt;
	z.error_ids_t[error_id] = true;&lt;br /&gt;
	if z.error_ids_t[&#039;err_citation_missing_title&#039;] and							-- if missing-title error already noted&lt;br /&gt;
		in_array (error_id, {&#039;err_bare_url_missing_title&#039;, &#039;err_trans_missing_title&#039;}) then		-- and this error is one of these&lt;br /&gt;
			return &#039;&#039;, false;													-- don&#039;t bother because one flavor of missing title is sufficient&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	message = table.concat ({prefix, message, suffix});&lt;br /&gt;
&lt;br /&gt;
	if true == raw then&lt;br /&gt;
		return message, error_state.hidden;										-- return message not wrapped in visible-error, hidden-error span tag&lt;br /&gt;
	end		&lt;br /&gt;
&lt;br /&gt;
	message = error_comment (message, error_state.hidden);						-- wrap message in visible-error, hidden-error span tag&lt;br /&gt;
	table.insert (z.error_msgs_t, message);										-- add it to the messages sequence table&lt;br /&gt;
	return message;																-- and done; return value generally not used but is used as a flag in various functions of ~/Identifiers&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-------------------------&amp;lt; I S _ A L I A S _ U S E D &amp;gt;-----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
This function is used by select_one() to determine if one of a list of alias parameters is in the argument list&lt;br /&gt;
provided by the template.&lt;br /&gt;
&lt;br /&gt;
Input:&lt;br /&gt;
	args – pointer to the arguments table from calling template&lt;br /&gt;
	alias – one of the list of possible aliases in the aliases lists from Module:Citation/CS1/Configuration&lt;br /&gt;
	index – for enumerated parameters, identifies which one&lt;br /&gt;
	enumerated – true/false flag used to choose how enumerated aliases are examined&lt;br /&gt;
	value – value associated with an alias that has previously been selected; nil if not yet selected&lt;br /&gt;
	selected – the alias that has previously been selected; nil if not yet selected&lt;br /&gt;
	error_list – list of aliases that are duplicates of the alias already selected&lt;br /&gt;
&lt;br /&gt;
Returns:&lt;br /&gt;
	value – value associated with alias we selected or that was previously selected or nil if an alias not yet selected&lt;br /&gt;
	selected – the alias we selected or the alias that was previously selected or nil if an alias not yet selected&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_alias_used (args, alias, index, enumerated, value, selected, error_list)&lt;br /&gt;
	if enumerated then															-- is this a test for an enumerated parameters?&lt;br /&gt;
		alias = alias:gsub (&#039;#&#039;, index);										-- replace &#039;#&#039; with the value in index&lt;br /&gt;
	else&lt;br /&gt;
		alias = alias:gsub (&#039;#&#039;, &#039;&#039;);											-- remove &#039;#&#039; if it exists&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if is_set (args[alias]) then												-- alias is in the template&#039;s argument list&lt;br /&gt;
		if value ~= nil and selected ~= alias then								-- if we have already selected one of the aliases&lt;br /&gt;
			local skip;&lt;br /&gt;
			for _, v in ipairs (error_list) do									-- spin through the error list to see if we&#039;ve added this alias&lt;br /&gt;
				if v == alias then&lt;br /&gt;
					skip = true;&lt;br /&gt;
					break;														-- has been added so stop looking &lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			if not skip then													-- has not been added so&lt;br /&gt;
				table.insert (error_list, alias);								-- add error alias to the error list&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			value = args[alias];												-- not yet selected an alias, so select this one&lt;br /&gt;
			selected = alias;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return value, selected;														-- return newly selected alias, or previously selected alias&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; A D D _ M A I N T _ C A T &amp;gt;------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Adds a category to z.maint_cats_t using names from the configuration file with additional text if any.&lt;br /&gt;
To prevent duplication, the added_maint_cats table lists the categories by key that have been added to z.maint_cats_t.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function add_maint_cat (key, arguments)&lt;br /&gt;
	if not added_maint_cats [key] then&lt;br /&gt;
		added_maint_cats [key] = true;											-- note that we&#039;ve added this category&lt;br /&gt;
		table.insert (z.maint_cats_t, substitute (cfg.maint_cats [key], arguments));	-- make name then add to table&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; A D D _ P R O P _ C A T &amp;gt;--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Adds a category to z.prop_cats_t using names from the configuration file with additional text if any.&lt;br /&gt;
&lt;br /&gt;
foreign_lang_source and foreign_lang_source_2 keys have a language code appended to them so that multiple languages&lt;br /&gt;
may be categorized but multiples of the same language are not categorized.&lt;br /&gt;
&lt;br /&gt;
added_prop_cats is a table declared in page scope variables above&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local added_prop_cats = {};														-- list of property categories that have been added to z.prop_cats_t&lt;br /&gt;
&lt;br /&gt;
local function add_prop_cat (key, arguments, key_modifier)&lt;br /&gt;
	local key_modified = key .. ((key_modifier and key_modifier) or &#039;&#039;);		-- modify &amp;lt;key&amp;gt; with &amp;lt;key_modifier&amp;gt; if present and not nil&lt;br /&gt;
	&lt;br /&gt;
	if not added_prop_cats [key_modified] then&lt;br /&gt;
		added_prop_cats [key_modified] = true;									-- note that we&#039;ve added this category&lt;br /&gt;
		table.insert (z.prop_cats_t, substitute (cfg.prop_cats [key], arguments));	-- make name then add to table&lt;br /&gt;
		table.insert (z.prop_keys_t, &#039;cs1-prop-&#039; .. key);						-- convert key to class for use in the citation&#039;s &amp;lt;cite&amp;gt; tag&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S A F E _ F O R _ I T A L I C S &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Protects a string that will be wrapped in wiki italic markup &#039;&#039; ... &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note: We cannot use &amp;lt;i&amp;gt; for italics, as the expected behavior for italics specified by &#039;&#039;...&#039;&#039; in the title is that&lt;br /&gt;
they will be inverted (i.e. unitalicized) in the resulting references.  In addition, &amp;lt;i&amp;gt; and &#039;&#039; tend to interact&lt;br /&gt;
poorly under Mediawiki&#039;s HTML tidy.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function safe_for_italics (str)&lt;br /&gt;
	if not is_set (str) then return str end&lt;br /&gt;
&lt;br /&gt;
	if str:sub (1, 1) == &amp;quot;&#039;&amp;quot; then str = &amp;quot;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&amp;quot; .. str; end&lt;br /&gt;
	if str:sub (-1, -1) == &amp;quot;&#039;&amp;quot; then str = str .. &amp;quot;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&amp;quot;; end&lt;br /&gt;
	&lt;br /&gt;
	return str:gsub (&#039;\n&#039;, &#039; &#039;);												-- Remove newlines as they break italics.&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; W R A P _ S T Y L E &amp;gt;----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Applies styling to various parameters.  Supplied string is wrapped using a message_list configuration taking one&lt;br /&gt;
argument; protects italic styled parameters.  Additional text taken from citation_config.presentation - the reason&lt;br /&gt;
this function is similar to but separate from wrap_msg().&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function wrap_style (key, str)&lt;br /&gt;
	if not is_set (str) then&lt;br /&gt;
		return &amp;quot;&amp;quot;;&lt;br /&gt;
	elseif in_array (key, {&#039;italic-title&#039;, &#039;trans-italic-title&#039;}) then&lt;br /&gt;
		str = safe_for_italics (str);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return substitute (cfg.presentation[key], {str});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; M A K E _ S E P _ L I S T &amp;gt;------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
make a separated list of items using provided separators.&lt;br /&gt;
	&amp;lt;sep_list&amp;gt; - typically &#039;&amp;lt;comma&amp;gt;&amp;lt;space&amp;gt;&#039;&lt;br /&gt;
	&amp;lt;sep_list_pair&amp;gt; - typically &#039;&amp;lt;space&amp;gt;and&amp;lt;space&amp;gt;&#039;&lt;br /&gt;
	&amp;lt;sep_list_end&amp;gt; - typically &#039;&amp;lt;comma&amp;gt;&amp;lt;space&amp;gt;and&amp;lt;space&amp;gt;&#039; or &#039;&amp;lt;comma&amp;gt;&amp;lt;space&amp;gt;&amp;amp;&amp;lt;space&amp;gt;&#039;&lt;br /&gt;
&lt;br /&gt;
defaults to cfg.presentation[&#039;sep_list&#039;], cfg.presentation[&#039;sep_list_pair&#039;], and cfg.presentation[&#039;sep_list_end&#039;]&lt;br /&gt;
if &amp;lt;sep_list_end&amp;gt; is specified, &amp;lt;sep_list&amp;gt; and &amp;lt;sep_list_pair&amp;gt; must also be supplied&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function make_sep_list (count, list_seq, sep_list, sep_list_pair, sep_list_end)&lt;br /&gt;
	local list = &#039;&#039;;&lt;br /&gt;
&lt;br /&gt;
	if not sep_list then														-- set the defaults&lt;br /&gt;
		sep_list = cfg.presentation[&#039;sep_list&#039;];&lt;br /&gt;
		sep_list_pair = cfg.presentation[&#039;sep_list_pair&#039;];&lt;br /&gt;
		sep_list_end = cfg.presentation[&#039;sep_list_end&#039;];&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if 2 &amp;gt;= count then&lt;br /&gt;
		list = table.concat (list_seq, sep_list_pair);							-- insert separator between two items; returns list_seq[1] then only one item&lt;br /&gt;
	elseif 2 &amp;lt; count then&lt;br /&gt;
		list = table.concat (list_seq, sep_list, 1, count - 1);					-- concatenate all but last item with plain list separator&lt;br /&gt;
		list = table.concat ({list, list_seq[count]}, sep_list_end);			-- concatenate last item onto end of &amp;lt;list&amp;gt; with final separator&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return list;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S E L E C T _ O N E &amp;gt;----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Chooses one matching parameter from a list of parameters to consider.  The list of parameters to consider is just&lt;br /&gt;
names.  For parameters that may be enumerated, the position of the numerator in the parameter name is identified&lt;br /&gt;
by the &#039;#&#039; so |author-last1= and |author1-last= are represented as &#039;author-last#&#039; and &#039;author#-last&#039;.&lt;br /&gt;
&lt;br /&gt;
Because enumerated parameter |&amp;lt;param&amp;gt;1= is an alias of |&amp;lt;param&amp;gt;= we must test for both possibilities.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Generates an error if more than one match is present.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function select_one (args, aliases_list, error_condition, index)&lt;br /&gt;
	local value = nil;															-- the value assigned to the selected parameter&lt;br /&gt;
	local selected = &#039;&#039;;														-- the name of the parameter we have chosen&lt;br /&gt;
	local error_list = {};&lt;br /&gt;
&lt;br /&gt;
	if index ~= nil then index = tostring(index); end&lt;br /&gt;
&lt;br /&gt;
	for _, alias in ipairs (aliases_list) do									-- for each alias in the aliases list&lt;br /&gt;
		if alias:match (&#039;#&#039;) then												-- if this alias can be enumerated&lt;br /&gt;
			if &#039;1&#039; == index then												-- when index is 1 test for enumerated and non-enumerated aliases&lt;br /&gt;
				value, selected = is_alias_used (args, alias, index, false, value, selected, error_list);	-- first test for non-enumerated alias&lt;br /&gt;
			end&lt;br /&gt;
			value, selected = is_alias_used (args, alias, index, true, value, selected, error_list);	-- test for enumerated alias&lt;br /&gt;
		else&lt;br /&gt;
			value, selected = is_alias_used (args, alias, index, false, value, selected, error_list);	-- test for non-enumerated alias&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if #error_list &amp;gt; 0 and &#039;none&#039; ~= error_condition then						-- for cases where this code is used outside of extract_names()&lt;br /&gt;
		for i, v in ipairs (error_list) do&lt;br /&gt;
			error_list[i] = wrap_style (&#039;parameter&#039;, v);&lt;br /&gt;
		end&lt;br /&gt;
		table.insert (error_list, wrap_style (&#039;parameter&#039;, selected));&lt;br /&gt;
		set_message (error_condition, {make_sep_list (#error_list, error_list)});&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return value, selected;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; R E M O V E _ W I K I _ L I N K &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Gets the display text from a wikilink like [[A|B]] or [[B]] gives B&lt;br /&gt;
&lt;br /&gt;
The str:gsub() returns either A|B froma [[A|B]] or B from [[B]] or B from B (no wikilink markup).&lt;br /&gt;
&lt;br /&gt;
In l(), l:gsub() removes the link and pipe (if they exist); the second :gsub() trims whitespace from the label&lt;br /&gt;
if str was wrapped in wikilink markup.  Presumably, this is because without wikimarkup in str, there is no match&lt;br /&gt;
in the initial gsub, the replacement function l() doesn&#039;t get called.&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function remove_wiki_link (str)&lt;br /&gt;
	return (str:gsub (&amp;quot;%[%[([^%[%]]*)%]%]&amp;quot;, function(l)&lt;br /&gt;
		return l:gsub (&amp;quot;^[^|]*|(.*)$&amp;quot;, &amp;quot;%1&amp;quot; ):gsub (&amp;quot;^%s*(.-)%s*$&amp;quot;, &amp;quot;%1&amp;quot;);&lt;br /&gt;
	end));&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; I S _ W I K I L I N K &amp;gt;--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Determines if str is a wikilink, extracts, and returns the wikilink type, link text, and display text parts.&lt;br /&gt;
If str is a complex wikilink ([[L|D]]):&lt;br /&gt;
	returns wl_type 2 and D and L from [[L|D]];&lt;br /&gt;
if str is a simple wikilink ([[D]])&lt;br /&gt;
	returns wl_type 1 and D from [[D]] and L as empty string;&lt;br /&gt;
if not a wikilink:&lt;br /&gt;
	returns wl_type 0, str as D, and L as empty string.&lt;br /&gt;
&lt;br /&gt;
trims leading and trailing whitespace and pipes from L and D ([[L|]] and [[|D]] are accepted by MediaWiki and&lt;br /&gt;
treated like [[D]]; while [[|D|]] is not accepted by MediaWiki, here, we accept it and return D without the pipes).&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function is_wikilink (str)&lt;br /&gt;
	local D, L&lt;br /&gt;
	local wl_type = 2;															-- assume that str is a complex wikilink [[L|D]]&lt;br /&gt;
&lt;br /&gt;
	if not str:match (&#039;^%[%[[^%]]+%]%]$&#039;) then									-- is str some sort of a wikilink (must have some sort of content)&lt;br /&gt;
		return 0, str, &#039;&#039;;														-- not a wikilink; return wl_type as 0, str as D, and empty string as L&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	L, D = str:match (&#039;^%[%[([^|]+)|([^%]]+)%]%]$&#039;);							-- get L and D from [[L|D]] &lt;br /&gt;
&lt;br /&gt;
	if not is_set (D) then														-- if no separate display&lt;br /&gt;
		D = str:match (&#039;^%[%[([^%]]*)|*%]%]$&#039;);									-- get D from [[D]] or [[D|]]&lt;br /&gt;
		wl_type = 1; &lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	D = mw.text.trim (D, &#039;%s|&#039;);												-- trim white space and pipe characters &lt;br /&gt;
	return wl_type, D, L or &#039;&#039;;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S T R I P _ A P O S T R O P H E _ M A R K U P &amp;gt;--------------------------------&lt;br /&gt;
&lt;br /&gt;
Strip wiki italic and bold markup from argument so that it doesn&#039;t contaminate COinS metadata.&lt;br /&gt;
This function strips common patterns of apostrophe markup.  We presume that editors who have taken the time to&lt;br /&gt;
markup a title have, as a result, provided valid markup. When they don&#039;t, some single apostrophes are left behind.&lt;br /&gt;
&lt;br /&gt;
Returns the argument without wiki markup and a number; the number is more-or-less meaningless except as a flag&lt;br /&gt;
to indicate that markup was replaced; do not rely on it as an indicator of how many of any kind of markup was&lt;br /&gt;
removed; returns the argument and nil when no markup removed&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function strip_apostrophe_markup (argument)&lt;br /&gt;
	if not is_set (argument) then&lt;br /&gt;
		return argument, nil;													-- no argument, nothing to do&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if nil == argument:find ( &amp;quot;&#039;&#039;&amp;quot;, 1, true ) then								-- Is there at least one double apostrophe?  If not, exit.&lt;br /&gt;
		return argument, nil;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local flag;&lt;br /&gt;
	while true do&lt;br /&gt;
		if argument:find (&amp;quot;&#039;&#039;&#039;&#039;&#039;&amp;quot;, 1, true) then								-- bold italic (5)&lt;br /&gt;
			argument, flag = argument:gsub (&amp;quot;%&#039;%&#039;%&#039;%&#039;%&#039;&amp;quot;, &amp;quot;&amp;quot;);					-- remove all instances of it&lt;br /&gt;
		elseif argument:find (&amp;quot;&#039;&#039;&#039;&#039;&amp;quot;, 1, true) then								-- italic start and end without content (4)&lt;br /&gt;
			argument, flag=argument:gsub (&amp;quot;%&#039;%&#039;%&#039;%&#039;&amp;quot;, &amp;quot;&amp;quot;);&lt;br /&gt;
		elseif argument:find (&amp;quot;&#039;&#039;&#039;&amp;quot;, 1, true) then								-- bold (3)&lt;br /&gt;
			argument, flag=argument:gsub (&amp;quot;%&#039;%&#039;%&#039;&amp;quot;, &amp;quot;&amp;quot;);&lt;br /&gt;
		elseif argument:find (&amp;quot;&#039;&#039;&amp;quot;, 1, true) then								-- italic (2)&lt;br /&gt;
			argument, flag = argument:gsub (&amp;quot;%&#039;%&#039;&amp;quot;, &amp;quot;&amp;quot;);&lt;br /&gt;
		else&lt;br /&gt;
			break;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return argument, flag;														-- done&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S E T _ S E L E C T E D _ M O D U L E S &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
Sets local cfg table to same (live or sandbox) as that used by the other modules.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function set_selected_modules (cfg_table_ptr)&lt;br /&gt;
	cfg = cfg_table_ptr;&lt;br /&gt;
	&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X P O R T S &amp;gt;----------------------------------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	add_maint_cat = add_maint_cat,												-- exported functions&lt;br /&gt;
	add_prop_cat = add_prop_cat,&lt;br /&gt;
	error_comment = error_comment,&lt;br /&gt;
	has_accept_as_written = has_accept_as_written,&lt;br /&gt;
	hyphen_to_dash = hyphen_to_dash,&lt;br /&gt;
	in_array = in_array,&lt;br /&gt;
	is_set = is_set,&lt;br /&gt;
	is_wikilink = is_wikilink,&lt;br /&gt;
	make_sep_list = make_sep_list,&lt;br /&gt;
	make_wikilink = make_wikilink,&lt;br /&gt;
	remove_wiki_link = remove_wiki_link,&lt;br /&gt;
	safe_for_italics = safe_for_italics,&lt;br /&gt;
	select_one = select_one,&lt;br /&gt;
	set_message = set_message,&lt;br /&gt;
	set_selected_modules = set_selected_modules,&lt;br /&gt;
	strip_apostrophe_markup = strip_apostrophe_markup,&lt;br /&gt;
	substitute = substitute,&lt;br /&gt;
	wrap_style = wrap_style,&lt;br /&gt;
&lt;br /&gt;
	z = z,																		-- exported table&lt;br /&gt;
	}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Identifiers&amp;diff=67</id>
		<title>Module:Citation/CS1/Identifiers</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Identifiers&amp;diff=67"/>
		<updated>2025-08-04T17:17:14Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;----------------------------&amp;lt; F O R W A R D   D E C L A R A T I O N S &amp;gt;--------------------------------------   local has_accept_as_written, is_set, in_array, set_message, select_one,			-- functions in Module:Citation/CS1/Utilities 		substitute, make_wikilink;  local z;																		-- table of tables defined in Module:Citation/CS1/Utilities  local cfg;																		-- table of configuration tables that are defined in Module:Citation/CS1/Configuration   --[[-...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--[[--------------------------&amp;lt; F O R W A R D   D E C L A R A T I O N S &amp;gt;--------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local has_accept_as_written, is_set, in_array, set_message, select_one,			-- functions in Module:Citation/CS1/Utilities&lt;br /&gt;
		substitute, make_wikilink;&lt;br /&gt;
&lt;br /&gt;
local z;																		-- table of tables defined in Module:Citation/CS1/Utilities&lt;br /&gt;
&lt;br /&gt;
local cfg;																		-- table of configuration tables that are defined in Module:Citation/CS1/Configuration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; P A G E   S C O P E   V A R I A B L E S &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
declare variables here that have page-wide scope that are not brought in from other modules; that are created here and used here&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local auto_link_urls = {};														-- holds identifier URLs for those identifiers that can auto-link |title=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--============================&amp;lt;&amp;lt; H E L P E R   F U N C T I O N S &amp;gt;&amp;gt;============================================&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; W I K I D A T A _ A R T I C L E _ N A M E _ G E T &amp;gt;----------------------------&lt;br /&gt;
&lt;br /&gt;
as an aid to internationalizing identifier-label wikilinks, gets identifier article names from Wikidata.&lt;br /&gt;
&lt;br /&gt;
returns :&amp;lt;lang code&amp;gt;:&amp;lt;article title&amp;gt; when &amp;lt;q&amp;gt; has an &amp;lt;article title&amp;gt; for &amp;lt;lang code&amp;gt;; nil else&lt;br /&gt;
&lt;br /&gt;
for identifiers that do not have q, returns nil&lt;br /&gt;
&lt;br /&gt;
for wikis that do not have mw.wikibase installed, returns nil&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function wikidata_article_name_get (q)&lt;br /&gt;
	if not is_set (q) or (q and not mw.wikibase) then							-- when no q number or when a q number but mw.wikibase not installed on this wiki&lt;br /&gt;
		return nil;																-- abandon&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local wd_article;&lt;br /&gt;
	local this_wiki_code = cfg.this_wiki_code;									-- Wikipedia subdomain; &#039;en&#039; for en.wikipedia.org&lt;br /&gt;
&lt;br /&gt;
	wd_article = mw.wikibase.getSitelink (q, this_wiki_code .. &#039;wiki&#039;);			-- fetch article title from WD; nil when no title available at this wiki&lt;br /&gt;
&lt;br /&gt;
	if wd_article then&lt;br /&gt;
		wd_article = table.concat ({&#039;:&#039;, this_wiki_code, &#039;:&#039;, wd_article});		-- interwiki-style link without brackets if taken from WD; leading colon required&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return wd_article;															-- article title from WD; nil else&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; L I N K _ L A B E L _ M A K E &amp;gt;------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
common function to create identifier link label from handler table or from Wikidata&lt;br /&gt;
&lt;br /&gt;
returns the first available of&lt;br /&gt;
	1. redirect from local wiki&#039;s handler table (if enabled)&lt;br /&gt;
	2. Wikidata (if there is a Wikidata entry for this identifier in the local wiki&#039;s language)&lt;br /&gt;
	3. label specified in the local wiki&#039;s handler table&lt;br /&gt;
	&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function link_label_make (handler)&lt;br /&gt;
	local wd_article;&lt;br /&gt;
	&lt;br /&gt;
	if not (cfg.use_identifier_redirects and is_set (handler.redirect)) then	-- redirect has priority so if enabled and available don&#039;t fetch from Wikidata because expensive&lt;br /&gt;
		wd_article = wikidata_article_name_get (handler.q);						-- if Wikidata has an article title for this wiki, get it;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return (cfg.use_identifier_redirects and is_set (handler.redirect) and handler.redirect) or wd_article or handler.link;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X T E R N A L _ L I N K _ I D &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Formats a wiki-style external link&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function external_link_id (options)&lt;br /&gt;
	local url_string = options.id;&lt;br /&gt;
	local ext_link;&lt;br /&gt;
	local this_wiki_code = cfg.this_wiki_code;									-- Wikipedia subdomain; &#039;en&#039; for en.wikipedia.org&lt;br /&gt;
	local wd_article;															-- article title from Wikidata&lt;br /&gt;
	&lt;br /&gt;
	if options.encode == true or options.encode == nil then&lt;br /&gt;
		url_string = mw.uri.encode (url_string, &#039;PATH&#039;);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if options.auto_link and is_set (options.access) then&lt;br /&gt;
		auto_link_urls[options.auto_link] = table.concat ({options.prefix, url_string, options.suffix});&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	ext_link = mw.ustring.format (&#039;[%s%s%s %s]&#039;, options.prefix, url_string, options.suffix or &amp;quot;&amp;quot;, mw.text.nowiki (options.id));&lt;br /&gt;
	if is_set (options.access) then&lt;br /&gt;
		ext_link = substitute (cfg.presentation[&#039;ext-link-access-signal&#039;], {cfg.presentation[options.access].class, cfg.presentation[options.access].title, ext_link});	-- add the free-to-read / paywall lock&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return table.concat	({&lt;br /&gt;
		make_wikilink (link_label_make (options), options.label),				-- redirect, Wikidata link, or locally specified link (in that order)&lt;br /&gt;
		options.separator or &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		ext_link&lt;br /&gt;
		});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I N T E R N A L _ L I N K _ I D &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Formats a wiki-style internal link&lt;br /&gt;
&lt;br /&gt;
TODO: Does not currently need to support options.access, options.encode, auto-linking and COinS (as in external_link_id),&lt;br /&gt;
but may be needed in the future for :m:Interwiki_map custom-prefixes like :arxiv:, :bibcode:, :DOI:, :hdl:, :ISSN:,&lt;br /&gt;
:JSTOR:, :Openlibrary:, :PMID:, :RFC:.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function internal_link_id (options)&lt;br /&gt;
	local id = mw.ustring.gsub (options.id, &#039;%d&#039;, cfg.date_names.local_digits);	-- translate &#039;local&#039; digits to Western 0-9&lt;br /&gt;
&lt;br /&gt;
	return table.concat (&lt;br /&gt;
		{&lt;br /&gt;
		make_wikilink (link_label_make (options), options.label),				-- wiki-link the identifier label&lt;br /&gt;
		options.separator or &#039;&amp;amp;nbsp;&#039;,											-- add the separator&lt;br /&gt;
		make_wikilink (&lt;br /&gt;
			table.concat (&lt;br /&gt;
				{&lt;br /&gt;
				options.prefix,&lt;br /&gt;
				id,																-- translated to Western digits&lt;br /&gt;
				options.suffix or &#039;&#039;&lt;br /&gt;
				}),&lt;br /&gt;
			substitute (cfg.presentation[&#039;bdi&#039;], {&#039;&#039;, mw.text.nowiki (options.id)})	-- bdi tags to prevent Latin script identifiers from being reversed at RTL language wikis&lt;br /&gt;
			);																	-- nowiki because MediaWiki still has magic links for ISBN and the like; TODO: is it really required?&lt;br /&gt;
		});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ E M B A R G O E D &amp;gt;------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Determines if a PMC identifier&#039;s online version is embargoed. Compares the date in |pmc-embargo-date= against&lt;br /&gt;
today&#039;s date.  If embargo date is in the future, returns the content of |pmc-embargo-date=; otherwise, returns&lt;br /&gt;
an empty string because the embargo has expired or because |pmc-embargo-date= was not set in this cite.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_embargoed (embargo)&lt;br /&gt;
	if is_set (embargo) then&lt;br /&gt;
		local lang = mw.getContentLanguage();&lt;br /&gt;
		local good1, embargo_date, todays_date;&lt;br /&gt;
		good1, embargo_date = pcall (lang.formatDate, lang, &#039;U&#039;, embargo);&lt;br /&gt;
		todays_date = lang:formatDate (&#039;U&#039;);&lt;br /&gt;
	&lt;br /&gt;
		if good1 then															-- if embargo date is a good date&lt;br /&gt;
			if tonumber (embargo_date) &amp;gt;= tonumber (todays_date) then			-- is embargo date is in the future?&lt;br /&gt;
				return embargo;													-- still embargoed&lt;br /&gt;
			else&lt;br /&gt;
				set_message (&#039;maint_pmc_embargo&#039;);								-- embargo has expired; add main cat&lt;br /&gt;
				return &#039;&#039;;														-- unset because embargo has expired&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return &#039;&#039;;																	-- |pmc-embargo-date= not set return empty string&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; I S _ V A L I D _ R X I V _ D A T E &amp;gt;------------------------------------------&lt;br /&gt;
&lt;br /&gt;
for biorxiv, returns true if:&lt;br /&gt;
	2019-12-11T00:00Z &amp;lt;= biorxiv_date &amp;lt; today + 2 days&lt;br /&gt;
for medrxiv, returns true if:&lt;br /&gt;
	2020-01-01T00:00Z &amp;lt;= medrxiv_date &amp;lt; today + 2 days&lt;br /&gt;
	&lt;br /&gt;
The dated form of biorxiv identifier has a start date of 2019-12-11.  The Unix timestamp for that date is {{#time:U|2019-12-11}} = 1576022400&lt;br /&gt;
The medrxiv identifier has a start date of 2020-01-01.  The Unix timestamp for that date is {{#time:U|2020-01-01}} = 1577836800&lt;br /&gt;
&lt;br /&gt;
&amp;lt;rxiv_date&amp;gt; is the date provided in those |biorxiv= parameter values that are dated and in |medrxiv= parameter values at time 00:00:00 UTC&lt;br /&gt;
&amp;lt;today&amp;gt; is the current date at time 00:00:00 UTC plus 48 hours&lt;br /&gt;
	if today&#039;s date is 2023-01-01T00:00:00 then&lt;br /&gt;
		adding 24 hours gives 2023-01-02T00:00:00 – one second more than today&lt;br /&gt;
		adding 24 hours gives 2023-01-03T00:00:00 – one second more than tomorrow&lt;br /&gt;
&lt;br /&gt;
inputs:&lt;br /&gt;
	&amp;lt;y&amp;gt;, &amp;lt;m&amp;gt;, &amp;lt;d&amp;gt; – year, month, day parts of the date from the birxiv or medrxiv identifier&lt;br /&gt;
	&amp;lt;select&amp;gt; &#039;b&#039; for biorxiv, &#039;m&#039; for medrxiv; defaults to &#039;b&#039;&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function is_valid_rxiv_date (y, m, d, select)&lt;br /&gt;
	if 0 == tonumber (m) and 12 &amp;lt; tonumber (m) then								-- &amp;lt;m&amp;gt; must be a number 1–12&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
	if 0 == tonumber (d) and 31 &amp;lt; tonumber (d) then								-- &amp;lt;d&amp;gt; must be a number 1–31; TODO: account for month length and leap yer?&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local rxiv_date = table.concat ({y, m, d}, &#039;-&#039;);							-- make ymd date string&lt;br /&gt;
	local good1, good2;&lt;br /&gt;
	local rxiv_ts, tomorrow_ts;													-- to hold Unix timestamps representing the dates&lt;br /&gt;
	local lang_object = mw.getContentLanguage();&lt;br /&gt;
&lt;br /&gt;
	good1, rxiv_ts = pcall (lang_object.formatDate, lang_object, &#039;U&#039;, rxiv_date);		-- convert rxiv_date value to Unix timestamp &lt;br /&gt;
	good2, tomorrow_ts = pcall (lang_object.formatDate, lang_object, &#039;U&#039;, &#039;today + 2 days&#039; );	-- today midnight + 2 days is one second more than all day tomorrow&lt;br /&gt;
	&lt;br /&gt;
	if good1 and good2 then														-- lang.formatDate() returns a timestamp in the local script which tonumber() may not understand&lt;br /&gt;
		rxiv_ts = tonumber (rxiv_ts) or lang_object:parseFormattedNumber (rxiv_ts);	-- convert to numbers for the comparison;&lt;br /&gt;
		tomorrow_ts = tonumber (tomorrow_ts) or lang_object:parseFormattedNumber (tomorrow_ts);&lt;br /&gt;
	else&lt;br /&gt;
		return false;															-- one or both failed to convert to Unix timestamp&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local limit_ts = ((select and (&#039;m&#039; == select)) and 1577836800) or 1576022400;	-- choose the appropriate limit timesatmp&lt;br /&gt;
&lt;br /&gt;
	return ((limit_ts &amp;lt;= rxiv_ts) and (rxiv_ts &amp;lt; tomorrow_ts))					-- limit_ts &amp;lt;= rxiv_date &amp;lt; tomorrow&#039;s date&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; IS _ V A L I D _ I S X N &amp;gt;-----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
ISBN-10 and ISSN validator code calculates checksum across all ISBN/ISSN digits including the check digit.&lt;br /&gt;
ISBN-13 is checked in isbn().&lt;br /&gt;
&lt;br /&gt;
If the number is valid the result will be 0. Before calling this function, ISBN/ISSN must be checked for length&lt;br /&gt;
and stripped of dashes, spaces and other non-ISxN characters.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_valid_isxn (isxn_str, len)&lt;br /&gt;
	local temp = 0;&lt;br /&gt;
	isxn_str = { isxn_str:byte(1, len) };										-- make a table of byte values &#039;0&#039; → 0x30 .. &#039;9&#039; → 0x39, &#039;X&#039; → 0x58&lt;br /&gt;
	len = len + 1;																-- adjust to be a loop counter&lt;br /&gt;
	for i, v in ipairs (isxn_str) do											-- loop through all of the bytes and calculate the checksum&lt;br /&gt;
		if v == string.byte (&amp;quot;X&amp;quot; ) then											-- if checkdigit is X (compares the byte value of &#039;X&#039; which is 0x58)&lt;br /&gt;
			temp = temp + 10 * (len - i);										-- it represents 10 decimal&lt;br /&gt;
		else&lt;br /&gt;
			temp = temp + tonumber (string.char (v) )*(len-i);&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return temp % 11 == 0;														-- returns true if calculation result is zero&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; IS _ V A L I D _ I S X N _ 1 3 &amp;gt;-----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
ISBN-13 and ISMN validator code calculates checksum across all 13 ISBN/ISMN digits including the check digit.&lt;br /&gt;
If the number is valid, the result will be 0. Before calling this function, ISBN-13/ISMN must be checked for length&lt;br /&gt;
and stripped of dashes, spaces and other non-ISxN-13 characters.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_valid_isxn_13 (isxn_str)&lt;br /&gt;
	local temp=0;&lt;br /&gt;
	&lt;br /&gt;
	isxn_str = { isxn_str:byte(1, 13) };										-- make a table of byte values &#039;0&#039; → 0x30 .. &#039;9&#039; → 0x39&lt;br /&gt;
	for i, v in ipairs (isxn_str) do&lt;br /&gt;
		temp = temp + (3 - 2*(i % 2)) * tonumber (string.char (v) );			-- multiply odd index digits by 1, even index digits by 3 and sum; includes check digit&lt;br /&gt;
	end&lt;br /&gt;
	return temp % 10 == 0;														-- sum modulo 10 is zero when ISBN-13/ISMN is correct&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; N O R M A L I Z E _ L C C N &amp;gt;--------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
LCCN normalization (https://www.loc.gov/marc/lccn-namespace.html#normalization)&lt;br /&gt;
1. Remove all blanks.&lt;br /&gt;
2. If there is a forward slash (/) in the string, remove it, and remove all characters to the right of the forward slash.&lt;br /&gt;
3. If there is a hyphen in the string:&lt;br /&gt;
	a. Remove it.&lt;br /&gt;
	b. Inspect the substring following (to the right of) the (removed) hyphen. Then (and assuming that steps 1 and 2 have been carried out):&lt;br /&gt;
		1. All these characters should be digits, and there should be six or less. (not done in this function)&lt;br /&gt;
		2. If the length of the substring is less than 6, left-fill the substring with zeroes until the length is six.&lt;br /&gt;
&lt;br /&gt;
Returns a normalized LCCN for lccn() to validate.  There is no error checking (step 3.b.1) performed in this function.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function normalize_lccn (lccn)&lt;br /&gt;
	lccn = lccn:gsub (&amp;quot;%s&amp;quot;, &amp;quot;&amp;quot;);												-- 1. strip whitespace&lt;br /&gt;
&lt;br /&gt;
	if nil ~= string.find (lccn, &#039;/&#039;) then&lt;br /&gt;
		lccn = lccn:match (&amp;quot;(.-)/&amp;quot;);											-- 2. remove forward slash and all character to the right of it&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local prefix&lt;br /&gt;
	local suffix&lt;br /&gt;
	prefix, suffix = lccn:match (&amp;quot;(.+)%-(.+)&amp;quot;);									-- 3.a remove hyphen by splitting the string into prefix and suffix&lt;br /&gt;
&lt;br /&gt;
	if nil ~= suffix then														-- if there was a hyphen&lt;br /&gt;
		suffix = string.rep(&amp;quot;0&amp;quot;, 6-string.len (suffix)) .. suffix;				-- 3.b.2 left fill the suffix with 0s if suffix length less than 6&lt;br /&gt;
		lccn = prefix..suffix;													-- reassemble the LCCN&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return lccn;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--============================&amp;lt;&amp;lt; I D E N T I F I E R   F U N C T I O N S &amp;gt;&amp;gt;====================================&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; A R X I V &amp;gt;--------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
See: https://arxiv.org/help/arxiv_identifier&lt;br /&gt;
&lt;br /&gt;
format and error check arXiv identifier.  There are three valid forms of the identifier:&lt;br /&gt;
the first form, valid only between date codes 9107 and 0703, is:&lt;br /&gt;
	arXiv:&amp;lt;archive&amp;gt;.&amp;lt;class&amp;gt;/&amp;lt;date code&amp;gt;&amp;lt;number&amp;gt;&amp;lt;version&amp;gt;&lt;br /&gt;
where:&lt;br /&gt;
	&amp;lt;archive&amp;gt; is a string of alpha characters - may be hyphenated; no other punctuation&lt;br /&gt;
	&amp;lt;class&amp;gt; is a string of alpha characters - may be hyphenated; no other punctuation; not the same as |class= parameter which is not supported in this form&lt;br /&gt;
	&amp;lt;date code&amp;gt; is four digits in the form YYMM where YY is the last two digits of the four-digit year and MM is the month number January = 01&lt;br /&gt;
		first digit of YY for this form can only 9 and 0&lt;br /&gt;
	&amp;lt;number&amp;gt; is a three-digit number&lt;br /&gt;
	&amp;lt;version&amp;gt; is a 1 or more digit number preceded with a lowercase v; no spaces (undocumented)&lt;br /&gt;
	&lt;br /&gt;
the second form, valid from April 2007 through December 2014 is:&lt;br /&gt;
	arXiv:&amp;lt;date code&amp;gt;.&amp;lt;number&amp;gt;&amp;lt;version&amp;gt;&lt;br /&gt;
where:&lt;br /&gt;
	&amp;lt;date code&amp;gt; is four digits in the form YYMM where YY is the last two digits of the four-digit year and MM is the month number January = 01&lt;br /&gt;
	&amp;lt;number&amp;gt; is a four-digit number&lt;br /&gt;
	&amp;lt;version&amp;gt; is a 1 or more digit number preceded with a lowercase v; no spaces&lt;br /&gt;
&lt;br /&gt;
the third form, valid from January 2015 is:&lt;br /&gt;
	arXiv:&amp;lt;date code&amp;gt;.&amp;lt;number&amp;gt;&amp;lt;version&amp;gt;&lt;br /&gt;
where:&lt;br /&gt;
	&amp;lt;date code&amp;gt; and &amp;lt;version&amp;gt; are as defined for 0704-1412&lt;br /&gt;
	&amp;lt;number&amp;gt; is a five-digit number&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function arxiv (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local class = options.Class;												-- TODO: lowercase?&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local year, month, version;&lt;br /&gt;
	local err_msg = false;														-- assume no error message&lt;br /&gt;
	local text;																	-- output text&lt;br /&gt;
	&lt;br /&gt;
	if id:match(&amp;quot;^%a[%a%.%-]+/[90]%d[01]%d%d%d%d$&amp;quot;) or id:match(&amp;quot;^%a[%a%.%-]+/[90]%d[01]%d%d%d%dv%d+$&amp;quot;) then	-- test for the 9107-0703 format with or without version&lt;br /&gt;
		year, month = id:match(&amp;quot;^%a[%a%.%-]+/([90]%d)([01]%d)%d%d%d[v%d]*$&amp;quot;);&lt;br /&gt;
		year = tonumber (year);&lt;br /&gt;
		month = tonumber (month);&lt;br /&gt;
		if ((not (90 &amp;lt; year or 8 &amp;gt; year)) or (1 &amp;gt; month or 12 &amp;lt; month)) or		-- if invalid year or invalid month&lt;br /&gt;
			((91 == year and 7 &amp;gt; month) or (7 == year and 3 &amp;lt; month)) then		-- if years ok, are starting and ending months ok?&lt;br /&gt;
				err_msg = true;													-- flag for error message&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	elseif id:match(&amp;quot;^%d%d[01]%d%.%d%d%d%d$&amp;quot;) or id:match(&amp;quot;^%d%d[01]%d%.%d%d%d%dv%d+$&amp;quot;) then	-- test for the 0704-1412 with or without version&lt;br /&gt;
		year, month = id:match(&amp;quot;^(%d%d)([01]%d)%.%d%d%d%d[v%d]*$&amp;quot;);&lt;br /&gt;
		year = tonumber (year);&lt;br /&gt;
		month = tonumber (month);&lt;br /&gt;
		if ((7 &amp;gt; year) or (14 &amp;lt; year) or (1 &amp;gt; month or 12 &amp;lt; month)) or			-- is year invalid or is month invalid? (doesn&#039;t test for future years)&lt;br /&gt;
			((7 == year) and (4 &amp;gt; month)) then									-- when year is 07, is month invalid (before April)?&lt;br /&gt;
				err_msg = true;													-- flag for error message&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	elseif id:match(&amp;quot;^%d%d[01]%d%.%d%d%d%d%d$&amp;quot;) or id:match(&amp;quot;^%d%d[01]%d%.%d%d%d%d%dv%d+$&amp;quot;) then	-- test for the 1501- format with or without version&lt;br /&gt;
		year, month = id:match(&amp;quot;^(%d%d)([01]%d)%.%d%d%d%d%d[v%d]*$&amp;quot;);&lt;br /&gt;
		year = tonumber (year);&lt;br /&gt;
		month = tonumber (month);&lt;br /&gt;
		if ((15 &amp;gt; year) or (1 &amp;gt; month or 12 &amp;lt; month)) then						-- is year invalid or is month invalid? (doesn&#039;t test for future years)&lt;br /&gt;
			err_msg = true;														-- flag for error message&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	else&lt;br /&gt;
		err_msg = true;															-- not a recognized format; flag for error message&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if err_msg then&lt;br /&gt;
		options.coins_list_t[&#039;ARXIV&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local err_msg_t = {};&lt;br /&gt;
	if err_msg then&lt;br /&gt;
		set_message (&#039;err_bad_arxiv&#039;);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	text = external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
			prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode, access = handler.access});&lt;br /&gt;
&lt;br /&gt;
	if is_set (class) then&lt;br /&gt;
		if id:match (&#039;^%d+&#039;) then&lt;br /&gt;
			text = table.concat ({text, &#039; [[https://arxiv.org/archive/&#039;, class, &#039; &#039;, class, &#039;]]&#039;});	-- external link within square brackets, not wikilink&lt;br /&gt;
		else&lt;br /&gt;
			set_message (&#039;err_class_ignored&#039;);&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return text;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; B I B C O D E &amp;gt;--------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Validates (sort of) and formats a bibcode ID.&lt;br /&gt;
&lt;br /&gt;
Format for bibcodes is specified here: https://adsabs.harvard.edu/abs_doc/help_pages/data.html#bibcodes&lt;br /&gt;
&lt;br /&gt;
But, this: 2015arXiv151206696F is apparently valid so apparently, the only things that really matter are length, 19 characters&lt;br /&gt;
and first four digits must be a year.  This function makes these tests:&lt;br /&gt;
	length must be 19 characters&lt;br /&gt;
	characters in position&lt;br /&gt;
		1–4 must be digits and must represent a year in the range of 1000 – next year&lt;br /&gt;
		5 must be a letter&lt;br /&gt;
		6–8 must be letter, digit, ampersand, or dot (ampersand cannot directly precede a dot; &amp;amp;. )&lt;br /&gt;
		9–18 must be letter, digit, or dot&lt;br /&gt;
		19 must be a letter or dot&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function bibcode (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local access = options.access;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local ignore_invalid = options.accept;&lt;br /&gt;
	local err_type;&lt;br /&gt;
	local err_msg = &#039;&#039;;&lt;br /&gt;
	local year;&lt;br /&gt;
&lt;br /&gt;
	local text = external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
		prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode,&lt;br /&gt;
		access = access});&lt;br /&gt;
	&lt;br /&gt;
	if 19 ~= id:len() then&lt;br /&gt;
		err_type = cfg.err_msg_supl.length;&lt;br /&gt;
	else&lt;br /&gt;
		year = id:match (&amp;quot;^(%d%d%d%d)[%a][%w&amp;amp;%.][%w&amp;amp;%.][%w&amp;amp;%.][%w.]+[%a%.]$&amp;quot;);&lt;br /&gt;
		if not year then														-- if nil then no pattern match&lt;br /&gt;
			err_type = cfg.err_msg_supl.value;									-- so value error&lt;br /&gt;
		else&lt;br /&gt;
			local next_year = tonumber (os.date (&#039;%Y&#039;)) + 1;					-- get the current year as a number and add one for next year&lt;br /&gt;
			year = tonumber (year);												-- convert year portion of bibcode to a number&lt;br /&gt;
			if (1000 &amp;gt; year) or (year &amp;gt; next_year) then&lt;br /&gt;
				err_type = cfg.err_msg_supl.year;								-- year out of bounds&lt;br /&gt;
			end&lt;br /&gt;
			if id:find(&#039;&amp;amp;%.&#039;) then&lt;br /&gt;
				err_type = cfg.err_msg_supl.journal;							-- journal abbreviation must not have &#039;&amp;amp;.&#039; (if it does it&#039;s missing a letter)&lt;br /&gt;
			end&lt;br /&gt;
			if id:match (&#039;.........%.tmp%.&#039;) then								-- temporary bibcodes when positions 10–14 are &#039;.tmp.&#039;&lt;br /&gt;
				set_message (&#039;maint_bibcode&#039;);&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if is_set (err_type) and not ignore_invalid then							-- if there was an error detected and accept-as-written markup not used&lt;br /&gt;
		set_message (&#039;err_bad_bibcode&#039;, {err_type});&lt;br /&gt;
		options.coins_list_t[&#039;BIBCODE&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return text;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; B I O R X I V &amp;gt;-----------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Format bioRxiv ID and do simple error checking.  Before 2019-12-11, biorXiv IDs were 10.1101/ followed by exactly&lt;br /&gt;
6 digits.  After 2019-12-11, biorXiv IDs retained the six-digit identifier but prefixed that with a yyyy.mm.dd. &lt;br /&gt;
date and suffixed with an optional version identifier.&lt;br /&gt;
&lt;br /&gt;
The bioRxiv ID is the string of characters:&lt;br /&gt;
	https://doi.org/10.1101/078733 -&amp;gt; 10.1101/078733&lt;br /&gt;
or a date followed by a six-digit number followed by an optional version indicator &#039;v&#039; and one or more digits:&lt;br /&gt;
	https://www.biorxiv.org/content/10.1101/2019.12.11.123456v2 -&amp;gt; 10.1101/2019.12.11.123456v2&lt;br /&gt;
	&lt;br /&gt;
see https://www.biorxiv.org/about-biorxiv&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function biorxiv (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local err_msg = true;														-- flag; assume that there will be an error&lt;br /&gt;
	&lt;br /&gt;
	local patterns = {&lt;br /&gt;
		&#039;^10%.1101/%d%d%d%d%d%d$&#039;,												-- simple 6-digit identifier (before 2019-12-11)&lt;br /&gt;
		&#039;^10%.1101/(20%d%d)%.(%d%d)%.(%d%d)%.%d%d%d%d%d%dv%d+$&#039;,				-- y.m.d. date + 6-digit identifier + version (after 2019-12-11)&lt;br /&gt;
		&#039;^10%.1101/(20%d%d)%.(%d%d)%.(%d%d)%.%d%d%d%d%d%d$&#039;,					-- y.m.d. date + 6-digit identifier (after 2019-12-11)&lt;br /&gt;
		}&lt;br /&gt;
	&lt;br /&gt;
	for _, pattern in ipairs (patterns) do										-- spin through the patterns looking for a match&lt;br /&gt;
		if id:match (pattern) then&lt;br /&gt;
			local y, m, d = id:match (pattern);									-- found a match, attempt to get year, month and date from the identifier&lt;br /&gt;
&lt;br /&gt;
			if m then															-- m is nil when id is the six-digit form&lt;br /&gt;
				if not is_valid_rxiv_date (y, m, d, &#039;b&#039;) then					-- validate the encoded date; &#039;b&#039; for biorxiv limit&lt;br /&gt;
					break;														-- date fail; break out early so we don&#039;t unset the error message&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			err_msg = nil;														-- we found a match so unset the error message&lt;br /&gt;
			break;																-- and done&lt;br /&gt;
		end&lt;br /&gt;
	end																			-- err_cat remains set here when no match&lt;br /&gt;
&lt;br /&gt;
	if err_msg then&lt;br /&gt;
		options.coins_list_t[&#039;BIORXIV&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
		set_message (&#039;err_bad_biorxiv&#039;);										-- and set the error message&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
			prefix = handler.prefix, id = id, separator = handler.separator,&lt;br /&gt;
			encode = handler.encode, access = handler.access});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C I T E S E E R X &amp;gt;------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
CiteSeerX use their own notion of &amp;quot;doi&amp;quot; (not to be confused with the identifiers resolved via doi.org).&lt;br /&gt;
&lt;br /&gt;
The description of the structure of this identifier can be found at Help_talk:Citation_Style_1/Archive_26#CiteSeerX_id_structure&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function citeseerx (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local matched;&lt;br /&gt;
&lt;br /&gt;
	local text = external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
		prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode,&lt;br /&gt;
		access = handler.access});&lt;br /&gt;
	&lt;br /&gt;
	matched = id:match (&amp;quot;^10%.1%.1%.[1-9]%d?%d?%d?%.[1-9]%d?%d?%d?$&amp;quot;);&lt;br /&gt;
	if not matched then&lt;br /&gt;
		set_message (&#039;err_bad_citeseerx&#039; );&lt;br /&gt;
		options.coins_list_t[&#039;CITESEERX&#039;] = nil;								-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return text;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; D O I &amp;gt;------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Formats a DOI and checks for DOI errors.&lt;br /&gt;
&lt;br /&gt;
DOI names contain two parts: prefix and suffix separated by a forward slash.&lt;br /&gt;
	Prefix: directory indicator &#039;10.&#039; followed by a registrant code&lt;br /&gt;
	Suffix: character string of any length chosen by the registrant&lt;br /&gt;
&lt;br /&gt;
This function checks a DOI name for: prefix/suffix.  If the DOI name contains spaces or endashes, or, if it ends&lt;br /&gt;
with a period or a comma, this function will emit a bad_doi error message.&lt;br /&gt;
&lt;br /&gt;
DOI names are case-insensitive and can incorporate any printable Unicode characters so the test for spaces, endash,&lt;br /&gt;
and terminal punctuation may not be technically correct but it appears, that in practice these characters are rarely&lt;br /&gt;
if ever used in DOI names.&lt;br /&gt;
&lt;br /&gt;
https://www.doi.org/doi_handbook/2_Numbering.html				-- 2.2 Syntax of a DOI name&lt;br /&gt;
https://www.doi.org/doi_handbook/2_Numbering.html#2.2.2			-- 2.2.2 DOI prefix&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function doi (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local inactive = options.DoiBroken&lt;br /&gt;
	local access = options.access;&lt;br /&gt;
	local ignore_invalid = options.accept;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local err_flag;&lt;br /&gt;
&lt;br /&gt;
	local function is_extended_free (registrant, suffix)						-- local function to check those few registrants that are mixed; identifiable by the doi suffix &amp;lt;incipit&amp;gt;&lt;br /&gt;
		if cfg.extended_registrants_t[registrant] then							-- if this registrant has known free-to-read extentions&lt;br /&gt;
			for _, incipit in ipairs (cfg.extended_registrants_t[registrant]) do	-- loop through the registrant&#039;s incipits&lt;br /&gt;
				if mw.ustring.find (suffix, &#039;^&#039; .. incipit) then				-- if found&lt;br /&gt;
					return true;&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local text;&lt;br /&gt;
	if is_set (inactive) then&lt;br /&gt;
		local inactive_year = inactive:match(&amp;quot;%d%d%d%d&amp;quot;);						-- try to get the year portion from the inactive date&lt;br /&gt;
		local inactive_month, good;&lt;br /&gt;
&lt;br /&gt;
		if is_set (inactive_year) then&lt;br /&gt;
			if 4 &amp;lt; inactive:len() then											-- inactive date has more than just a year (could be anything)&lt;br /&gt;
				local lang_obj = mw.getContentLanguage();						-- get a language object for this wiki&lt;br /&gt;
				good, inactive_month = pcall (lang_obj.formatDate, lang_obj, &#039;F&#039;, inactive);	-- try to get the month name from the inactive date&lt;br /&gt;
				if not good then&lt;br /&gt;
					inactive_month = nil;										-- something went wrong so make sure this is unset&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end																		-- otherwise, |doi-broken-date= has something but it isn&#039;t a date&lt;br /&gt;
		&lt;br /&gt;
		if is_set (inactive_year) and is_set (inactive_month) then&lt;br /&gt;
			set_message (&#039;maint_doi_inactive_dated&#039;, {inactive_year, inactive_month, &#039; &#039;});&lt;br /&gt;
		elseif is_set (inactive_year) then&lt;br /&gt;
			set_message (&#039;maint_doi_inactive_dated&#039;, {inactive_year, &#039;&#039;, &#039;&#039;});&lt;br /&gt;
		else&lt;br /&gt;
			set_message (&#039;maint_doi_inactive&#039;);&lt;br /&gt;
		end&lt;br /&gt;
		inactive = &amp;quot; (&amp;quot; .. cfg.messages[&#039;inactive&#039;] .. &#039; &#039; .. inactive .. &#039;)&#039;;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local suffix;&lt;br /&gt;
	local registrant, suffix = mw.ustring.match (id, &#039;^10%.([^/]+)/([^%s–]-[^%.,])$&#039;);	-- registrant and suffix set when DOI has the proper basic form&lt;br /&gt;
&lt;br /&gt;
	local registrant_err_patterns = {											-- these patterns are for code ranges that are not supported &lt;br /&gt;
		&#039;^[^1-3]%d%d%d%d%.%d+$&#039;,												-- 5 digits with subcode (0xxxx, 40000+); accepts: 10000–39999&lt;br /&gt;
		&#039;^[^1-7]%d%d%d%d$&#039;,														-- 5 digits without subcode (0xxxx, 60000+); accepts: 10000–69999&lt;br /&gt;
		&#039;^[^1-9]%d%d%d%.%d+$&#039;,												-- 4 digits with subcode (0xxx); accepts: 1000–9999&lt;br /&gt;
		&#039;^[^1-9]%d%d%d$&#039;,														-- 4 digits without subcode (0xxx); accepts: 1000–9999&lt;br /&gt;
		&#039;^%d%d%d%d%d%d+&#039;,														-- 6 or more digits&lt;br /&gt;
		&#039;^%d%d?%d?$&#039;,															-- less than 4 digits without subcode (3 digits with subcode is legitimate)&lt;br /&gt;
		&#039;^%d%d?%.[%d%.]+&#039;,														-- 1 or 2 digits with subcode&lt;br /&gt;
		&#039;^5555$&#039;,																-- test registrant will never resolve&lt;br /&gt;
		&#039;[^%d%.]&#039;,																-- any character that isn&#039;t a digit or a dot&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
	if not ignore_invalid then&lt;br /&gt;
		if registrant then														-- when DOI has proper form&lt;br /&gt;
			for i, pattern in ipairs (registrant_err_patterns) do				-- spin through error patterns&lt;br /&gt;
				if registrant:match (pattern) then								-- to validate registrant codes&lt;br /&gt;
					err_flag = set_message (&#039;err_bad_doi&#039;);						-- when found, mark this DOI as bad&lt;br /&gt;
					break;														-- and done&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			err_flag = set_message (&#039;err_bad_doi&#039;);								-- invalid directory or malformed&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		set_message (&#039;maint_doi_ignore&#039;);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if err_flag then&lt;br /&gt;
		options.coins_list_t[&#039;DOI&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	else&lt;br /&gt;
		if not access and (cfg.known_free_doi_registrants_t[registrant] or is_extended_free (registrant, suffix)) then		-- |doi-access=free not set and &amp;lt;registrant&amp;gt; is known to be free&lt;br /&gt;
			set_message (&#039;maint_doi_unflagged_free&#039;);							-- set a maint cat&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	text = external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
		prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode, access = access,&lt;br /&gt;
		auto_link = not (err_flag or is_set (inactive) or ignore_invalid) and &#039;doi&#039; or nil -- do not auto-link when |doi-broken-date= has a value or when there is a DOI error or (to play it safe, after all, auto-linking is not essential) when invalid DOIs are ignored&lt;br /&gt;
		}) .. (inactive or &#039;&#039;);&lt;br /&gt;
&lt;br /&gt;
	return text;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; H D L &amp;gt;------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Formats an HDL with minor error checking.&lt;br /&gt;
&lt;br /&gt;
HDL names contain two parts: prefix and suffix separated by a forward slash.&lt;br /&gt;
	Prefix: character string using any character in the UCS-2 character set except &#039;/&#039;&lt;br /&gt;
	Suffix: character string of any length using any character in the UCS-2 character set chosen by the registrant&lt;br /&gt;
&lt;br /&gt;
This function checks a HDL name for: prefix/suffix.  If the HDL name contains spaces, endashes, or, if it ends&lt;br /&gt;
with a period or a comma, this function will emit a bad_hdl error message.&lt;br /&gt;
&lt;br /&gt;
HDL names are case-insensitive and can incorporate any printable Unicode characters so the test for endashes and&lt;br /&gt;
terminal punctuation may not be technically correct but it appears, that in practice these characters are rarely&lt;br /&gt;
if ever used in HDLs.&lt;br /&gt;
&lt;br /&gt;
Query string parameters are named here: https://www.handle.net/proxy_servlet.html.  query strings are not displayed&lt;br /&gt;
but since &#039;?&#039; is an allowed character in an HDL, &#039;?&#039; followed by one of the query parameters is the only way we&lt;br /&gt;
have to detect the query string so that it isn&#039;t URL-encoded with the rest of the identifier.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function hdl (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local access = options.access;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local query_params = {														-- list of known query parameters from https://www.handle.net/proxy_servlet.html&lt;br /&gt;
		&#039;noredirect&#039;,&lt;br /&gt;
		&#039;ignore_aliases&#039;,&lt;br /&gt;
		&#039;auth&#039;,&lt;br /&gt;
		&#039;cert&#039;,&lt;br /&gt;
		&#039;index&#039;,&lt;br /&gt;
		&#039;type&#039;,&lt;br /&gt;
		&#039;urlappend&#039;,&lt;br /&gt;
		&#039;locatt&#039;,&lt;br /&gt;
		&#039;action&#039;,&lt;br /&gt;
		}&lt;br /&gt;
	&lt;br /&gt;
	local hdl, suffix, param = id:match (&#039;(.-)(%?(%a+).+)$&#039;);					-- look for query string&lt;br /&gt;
	local found;&lt;br /&gt;
&lt;br /&gt;
	if hdl then																	-- when there are query strings, this is the handle identifier portion&lt;br /&gt;
		for _, q in ipairs (query_params) do									-- spin through the list of query parameters&lt;br /&gt;
			if param:match (&#039;^&#039; .. q) then										-- if the query string begins with one of the parameters&lt;br /&gt;
				found = true;													-- announce a find&lt;br /&gt;
				break;															-- and stop looking&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if found then&lt;br /&gt;
		id = hdl;																-- found so replace id with the handle portion; this will be URL-encoded, suffix will not&lt;br /&gt;
	else&lt;br /&gt;
		suffix = &#039;&#039;;															-- make sure suffix is empty string for concatenation else&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local text = external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
			prefix = handler.prefix, id = id, suffix = suffix, separator = handler.separator, encode = handler.encode, access = access})&lt;br /&gt;
&lt;br /&gt;
	if nil == id:match(&amp;quot;^[^%s–]-/[^%s–]-[^%.,]$&amp;quot;) then							-- HDL must contain a forward slash, must not contain spaces, endashes, and must not end with period or comma&lt;br /&gt;
		set_message (&#039;err_bad_hdl&#039; );&lt;br /&gt;
		options.coins_list_t[&#039;HDL&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return text;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S B N &amp;gt;----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Determines whether an ISBN string is valid&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function isbn (options_t)&lt;br /&gt;
	local isbn_str = options_t.id;&lt;br /&gt;
	local ignore_invalid = options_t.accept;&lt;br /&gt;
	local handler = options_t.handler;&lt;br /&gt;
	local year = options_t.Year;												-- when set, valid anchor_year; may have a disambiguator which must be removed&lt;br /&gt;
&lt;br /&gt;
	local function return_result (check, err_type)								-- local function to handle the various returns&lt;br /&gt;
		local ISBN = internal_link_id ({link = handler.link, label = handler.label, redirect = handler.redirect,&lt;br /&gt;
						prefix = handler.prefix, id = isbn_str, separator = handler.separator});&lt;br /&gt;
		if ignore_invalid then													-- if ignoring ISBN errors&lt;br /&gt;
			set_message (&#039;maint_isbn_ignore&#039;);									-- add a maint category even when there is no error&lt;br /&gt;
		else																	-- here when not ignoring&lt;br /&gt;
			if not check then													-- and there is an error&lt;br /&gt;
				options_t.coins_list_t[&#039;ISBN&#039;] = nil;								-- when error, unset so not included in COinS&lt;br /&gt;
				set_message (&#039;err_bad_isbn&#039;, err_type);							-- set an error message&lt;br /&gt;
				return ISBN;										 			-- return id text&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		return ISBN;															-- return id text&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if year and not ignore_invalid then											-- &lt;br /&gt;
		year = year:match (&#039;%d%d%d%d?&#039;);										-- strip disambiguator if present&lt;br /&gt;
		if year and (1965 &amp;gt; tonumber(year)) then&lt;br /&gt;
			set_message (&#039;err_invalid_isbn_date&#039;);								-- set an error message&lt;br /&gt;
			return internal_link_id ({link = handler.link, label = handler.label, redirect = handler.redirect,&lt;br /&gt;
					prefix = handler.prefix, id = isbn_str, separator = handler.separator});&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if nil ~= isbn_str:match (&#039;[^%s-0-9X]&#039;) then&lt;br /&gt;
		return return_result (false, cfg.err_msg_supl.char);					-- fail if isbn_str contains anything but digits, hyphens, or the uppercase X&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local id = isbn_str:gsub (&#039;[%s-]&#039;, &#039;&#039;);										-- remove hyphens and whitespace&lt;br /&gt;
&lt;br /&gt;
	local len = id:len();&lt;br /&gt;
 &lt;br /&gt;
	if len ~= 10 and len ~= 13 then&lt;br /&gt;
		return return_result (false, cfg.err_msg_supl.length);					-- fail if incorrect length&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if len == 10 then&lt;br /&gt;
		if id:match (&#039;^%d*X?$&#039;) == nil then										-- fail if isbn_str has &#039;X&#039; anywhere but last position&lt;br /&gt;
			return return_result (false, cfg.err_msg_supl.form);									&lt;br /&gt;
		end&lt;br /&gt;
		if not is_valid_isxn (id, 10) then										-- test isbn-10 for numerical validity&lt;br /&gt;
			return return_result (false, cfg.err_msg_supl.check);				-- fail if isbn-10 is not numerically valid&lt;br /&gt;
		end&lt;br /&gt;
		if id:find (&#039;^63[01]&#039;) then												-- 630xxxxxxx and 631xxxxxxx are (apparently) not valid isbn group ids but are used by amazon as numeric identifiers (asin)&lt;br /&gt;
			return return_result (false, cfg.err_msg_supl.group);				-- fail if isbn-10 begins with 630/1&lt;br /&gt;
		end&lt;br /&gt;
		return return_result (true, cfg.err_msg_supl.check);					-- pass if isbn-10 is numerically valid&lt;br /&gt;
	else&lt;br /&gt;
		if id:match (&#039;^%d+$&#039;) == nil then&lt;br /&gt;
			return return_result (false, cfg.err_msg_supl.char);				-- fail if ISBN-13 is not all digits&lt;br /&gt;
		end&lt;br /&gt;
		if id:match (&#039;^97[89]%d*$&#039;) == nil then&lt;br /&gt;
			return return_result (false, cfg.err_msg_supl.prefix);				-- fail when ISBN-13 does not begin with 978 or 979&lt;br /&gt;
		end&lt;br /&gt;
		if id:match (&#039;^9790&#039;) then&lt;br /&gt;
			return return_result (false, cfg.err_msg_supl.group);				-- group identifier &#039;0&#039; is reserved to ISMN&lt;br /&gt;
		end&lt;br /&gt;
		return return_result (is_valid_isxn_13 (id), cfg.err_msg_supl.check);&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; A S I N &amp;gt;----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Formats a link to Amazon.  Do simple error checking: ASIN must be mix of 10 numeric or uppercase alpha&lt;br /&gt;
characters.  If a mix, first character must be uppercase alpha; if all numeric, ASINs must be 10-digit&lt;br /&gt;
ISBN. If 10-digit ISBN, add a maintenance category so a bot or AWB script can replace |asin= with |isbn=.&lt;br /&gt;
Error message if not 10 characters, if not ISBN-10, if mixed and first character is a digit.&lt;br /&gt;
&lt;br /&gt;
|asin=630....... and |asin=631....... are (apparently) not a legitimate ISBN though it checksums as one; these&lt;br /&gt;
do not cause this function to emit the maint_asin message&lt;br /&gt;
&lt;br /&gt;
This function is positioned here because it calls isbn()&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function asin (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local domain = options.ASINTLD;&lt;br /&gt;
	&lt;br /&gt;
	local err_flag;&lt;br /&gt;
&lt;br /&gt;
	if not id:match(&amp;quot;^[%d%u][%d%u][%d%u][%d%u][%d%u][%d%u][%d%u][%d%u][%d%u][%d%u]$&amp;quot;) then&lt;br /&gt;
		err_flag = set_message (&#039;err_bad_asin&#039;);								-- ASIN is not a mix of 10 uppercase alpha and numeric characters&lt;br /&gt;
	else&lt;br /&gt;
		if id:match(&amp;quot;^%d%d%d%d%d%d%d%d%d[%dX]$&amp;quot;) then							-- if 10-digit numeric (or 9 digits with terminal X)&lt;br /&gt;
			if is_valid_isxn (id, 10) then										-- see if ASIN value is or validates as ISBN-10&lt;br /&gt;
				if not id:find (&#039;^63[01]&#039;) then									-- 630xxxxxxx and 631xxxxxxx are (apparently) not a valid isbn prefixes but are used by amazon as a numeric identifier&lt;br /&gt;
					err_flag = set_message (&#039;err_bad_asin&#039;);					-- ASIN has ISBN-10 form but begins with something other than 630/1 so probably an isbn &lt;br /&gt;
				end&lt;br /&gt;
			elseif not is_set (err_flag) then&lt;br /&gt;
				err_flag = set_message (&#039;err_bad_asin&#039;);						-- ASIN is not ISBN-10&lt;br /&gt;
			end&lt;br /&gt;
		elseif not id:match(&amp;quot;^%u[%d%u]+$&amp;quot;) then&lt;br /&gt;
			err_flag = set_message (&#039;err_bad_asin&#039;);							-- asin doesn&#039;t begin with uppercase alpha&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if (not is_set (domain)) or in_array (domain, {&#039;us&#039;}) then					-- default: United States&lt;br /&gt;
		domain = &amp;quot;com&amp;quot;;&lt;br /&gt;
	elseif in_array (domain, {&#039;jp&#039;, &#039;uk&#039;}) then									-- Japan, United Kingdom&lt;br /&gt;
		domain = &amp;quot;co.&amp;quot; .. domain;&lt;br /&gt;
	elseif in_array (domain, {&#039;z.cn&#039;}) then 									-- China&lt;br /&gt;
		domain = &amp;quot;cn&amp;quot;;&lt;br /&gt;
	elseif in_array (domain, {&#039;au&#039;, &#039;br&#039;, &#039;mx&#039;, &#039;sg&#039;, &#039;tr&#039;}) then				-- Australia, Brazil, Mexico, Singapore, Turkey&lt;br /&gt;
		domain = &amp;quot;com.&amp;quot; .. domain;&lt;br /&gt;
	elseif not in_array (domain, {&#039;ae&#039;, &#039;ca&#039;, &#039;cn&#039;, &#039;de&#039;, &#039;es&#039;, &#039;fr&#039;, &#039;in&#039;, &#039;it&#039;, &#039;nl&#039;, &#039;pl&#039;, &#039;sa&#039;, &#039;se&#039;, &#039;co.jp&#039;, &#039;co.uk&#039;, &#039;com&#039;, &#039;com.au&#039;, &#039;com.br&#039;, &#039;com.mx&#039;, &#039;com.sg&#039;, &#039;com.tr&#039;}) then -- Arabic Emirates, Canada, China, Germany, Spain, France, Indonesia, Italy, Netherlands, Poland, Saudi Arabia, Sweden (as of 2021-03 Austria (.at), Liechtenstein (.li) and Switzerland (.ch) still redirect to the German site (.de) with special settings, so don&#039;t maintain local ASINs for them)&lt;br /&gt;
		err_flag = set_message (&#039;err_bad_asin_tld&#039;);							-- unsupported asin-tld value&lt;br /&gt;
	end&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
&lt;br /&gt;
	if not is_set (err_flag) then&lt;br /&gt;
		options.coins_list_t[&#039;ASIN&#039;] = handler.prefix .. domain .. &amp;quot;/dp/&amp;quot; .. id;	-- asin for coins&lt;br /&gt;
	else&lt;br /&gt;
		options.coins_list_t[&#039;ASIN&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
		prefix = handler.prefix .. domain .. &amp;quot;/dp/&amp;quot;,&lt;br /&gt;
		id = id, encode = handler.encode, separator = handler.separator})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S M N &amp;gt;----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Determines whether an ISMN string is valid.  Similar to ISBN-13, ISMN is 13 digits beginning 979-0-... and uses the&lt;br /&gt;
same check digit calculations.  See https://www.ismn-international.org/download/Web_ISMN_Users_Manual_2008-6.pdf&lt;br /&gt;
section 2, pages 9–12.&lt;br /&gt;
&lt;br /&gt;
ismn value not made part of COinS metadata because we don&#039;t have a url or isn&#039;t a COinS-defined identifier (rft.xxx)&lt;br /&gt;
or an identifier registered at info-uri.info (info:)&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function ismn (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local text;&lt;br /&gt;
	local valid_ismn = true;&lt;br /&gt;
	local id_copy;&lt;br /&gt;
&lt;br /&gt;
	id_copy = id;																-- save a copy because this testing is destructive&lt;br /&gt;
	id = id:gsub (&#039;[%s-]&#039;, &#039;&#039;);													-- remove hyphens and white space&lt;br /&gt;
&lt;br /&gt;
	if 13 ~= id:len() or id:match (&amp;quot;^9790%d*$&amp;quot; ) == nil then					-- ISMN must be 13 digits and begin with 9790&lt;br /&gt;
		valid_ismn = false;&lt;br /&gt;
	else&lt;br /&gt;
		valid_ismn=is_valid_isxn_13 (id);										-- validate ISMN&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	--	text = internal_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,		-- use this (or external version) when there is some place to link to&lt;br /&gt;
	--		prefix = handler.prefix, id = id_copy, separator = handler.separator, encode = handler.encode})&lt;br /&gt;
&lt;br /&gt;
	text = table.concat (														-- because no place to link to yet&lt;br /&gt;
		{&lt;br /&gt;
		make_wikilink (link_label_make (handler), handler.label),&lt;br /&gt;
		handler.separator,&lt;br /&gt;
		id_copy&lt;br /&gt;
		});&lt;br /&gt;
&lt;br /&gt;
	if false == valid_ismn then&lt;br /&gt;
		options.coins_list_t[&#039;ISMN&#039;] = nil;										-- when error, unset so not included in COinS; not really necessary here because ismn not made part of COinS&lt;br /&gt;
		set_message (&#039;err_bad_ismn&#039;);											-- create an error message if the ISMN is invalid&lt;br /&gt;
	end &lt;br /&gt;
	&lt;br /&gt;
	return text;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S S N &amp;gt;----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Validate and format an ISSN.  This code fixes the case where an editor has included an ISSN in the citation but&lt;br /&gt;
has separated the two groups of four digits with a space.  When that condition occurred, the resulting link looked&lt;br /&gt;
like this:&lt;br /&gt;
&lt;br /&gt;
	|issn=0819 4327 gives: [https://www.worldcat.org/issn/0819 4327 0819 4327]	-- can&#039;t have spaces in an external link&lt;br /&gt;
	&lt;br /&gt;
This code now prevents that by inserting a hyphen at the ISSN midpoint.  It also validates the ISSN for length&lt;br /&gt;
and makes sure that the checkdigit agrees with the calculated value.  Incorrect length (8 digits), characters&lt;br /&gt;
other than 0-9 and X, or checkdigit / calculated value mismatch will all cause a check ISSN error message.  The&lt;br /&gt;
ISSN is always displayed with a hyphen, even if the ISSN was given as a single group of 8 digits.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function issn (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local ignore_invalid = options.accept;&lt;br /&gt;
&lt;br /&gt;
	local issn_copy = id;														-- save a copy of unadulterated ISSN; use this version for display if ISSN does not validate&lt;br /&gt;
	local text;&lt;br /&gt;
	local valid_issn = true;&lt;br /&gt;
&lt;br /&gt;
	id = id:gsub (&#039;[%s-]&#039;, &#039;&#039;);													-- remove hyphens and whitespace&lt;br /&gt;
&lt;br /&gt;
	if 8 ~= id:len() or nil == id:match (&amp;quot;^%d*X?$&amp;quot; ) then						-- validate the ISSN: 8 digits long, containing only 0-9 or X in the last position&lt;br /&gt;
		valid_issn = false;														-- wrong length or improper character&lt;br /&gt;
	else&lt;br /&gt;
		valid_issn = is_valid_isxn (id, 8);										-- validate ISSN&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if true == valid_issn then&lt;br /&gt;
		id = string.sub (id, 1, 4 ) .. &amp;quot;-&amp;quot; .. string.sub (id, 5 );				-- if valid, display correctly formatted version&lt;br /&gt;
	else&lt;br /&gt;
		id = issn_copy;															-- if not valid, show the invalid ISSN with error message&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	text = external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
		prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode})&lt;br /&gt;
&lt;br /&gt;
	if ignore_invalid then&lt;br /&gt;
		set_message (&#039;maint_issn_ignore&#039;);&lt;br /&gt;
	else&lt;br /&gt;
		if false == valid_issn then&lt;br /&gt;
			options.coins_list_t[&#039;ISSN&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
			set_message (&#039;err_bad_issn&#039;, (options.hkey == &#039;EISSN&#039;) and &#039;e&#039; or &#039;&#039;);	-- create an error message if the ISSN is invalid&lt;br /&gt;
		end &lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return text;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; J F M &amp;gt;-----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
A numerical identifier in the form nn.nnnn.nn&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function jfm (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local id_num;&lt;br /&gt;
&lt;br /&gt;
	id_num = id:match (&#039;^[Jj][Ff][Mm](.*)$&#039;);									-- identifier with jfm prefix; extract identifier&lt;br /&gt;
&lt;br /&gt;
	if is_set (id_num) then&lt;br /&gt;
		set_message (&#039;maint_jfm_format&#039;);&lt;br /&gt;
	else																		-- plain number without JFM prefix&lt;br /&gt;
		id_num = id;															-- if here id does not have prefix&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if id_num and id_num:match(&#039;^%d%d%.%d%d%d%d%.%d%d$&#039;) then&lt;br /&gt;
		id = id_num;															-- jfm matches pattern&lt;br /&gt;
	else&lt;br /&gt;
		set_message (&#039;err_bad_jfm&#039; );											-- set an error message&lt;br /&gt;
		options.coins_list_t[&#039;JFM&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
			prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; J S T O R &amp;gt;--------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Format a JSTOR with some error checking&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function jstor (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local access = options.access;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
&lt;br /&gt;
	if id:find (&#039;[Jj][Ss][Tt][Oo][Rr]&#039;) or id:find (&#039;^https?://&#039;) or id:find (&#039;%s&#039;) then&lt;br /&gt;
		set_message (&#039;err_bad_jstor&#039;);											-- set an error message&lt;br /&gt;
		options.coins_list_t[&#039;JSTOR&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
		prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode, access = access});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; L C C N &amp;gt;----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Format LCCN link and do simple error checking.  LCCN is a character string 8-12 characters long. The length of&lt;br /&gt;
the LCCN dictates the character type of the first 1-3 characters; the rightmost eight are always digits.&lt;br /&gt;
https://oclc-research.github.io/infoURI-Frozen/info-uri.info/info:lccn/reg.html&lt;br /&gt;
&lt;br /&gt;
length = 8 then all digits&lt;br /&gt;
length = 9 then lccn[1] is lowercase alpha&lt;br /&gt;
length = 10 then lccn[1] and lccn[2] are both lowercase alpha or both digits&lt;br /&gt;
length = 11 then lccn[1] is lower case alpha, lccn[2] and lccn[3] are both lowercase alpha or both digits&lt;br /&gt;
length = 12 then lccn[1] and lccn[2] are both lowercase alpha&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function lccn (options)&lt;br /&gt;
	local lccn = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local err_flag;																-- presume that LCCN is valid&lt;br /&gt;
	local id = lccn;															-- local copy of the LCCN&lt;br /&gt;
&lt;br /&gt;
	id = normalize_lccn (id);													-- get canonical form (no whitespace, hyphens, forward slashes)&lt;br /&gt;
	local len = id:len();														-- get the length of the LCCN&lt;br /&gt;
&lt;br /&gt;
	if 8 == len then&lt;br /&gt;
		if id:match(&amp;quot;[^%d]&amp;quot;) then												-- if LCCN has anything but digits (nil if only digits)&lt;br /&gt;
			err_flag = set_message (&#039;err_bad_lccn&#039;);							-- set an error message&lt;br /&gt;
		end&lt;br /&gt;
	elseif 9 == len then														-- LCCN should be adddddddd&lt;br /&gt;
		if nil == id:match(&amp;quot;%l%d%d%d%d%d%d%d%d&amp;quot;) then							-- does it match our pattern?&lt;br /&gt;
			err_flag = set_message (&#039;err_bad_lccn&#039;);							-- set an error message&lt;br /&gt;
		end&lt;br /&gt;
	elseif 10 == len then														-- LCCN should be aadddddddd or dddddddddd&lt;br /&gt;
		if id:match(&amp;quot;[^%d]&amp;quot;) then												-- if LCCN has anything but digits (nil if only digits) ...&lt;br /&gt;
			if nil == id:match(&amp;quot;^%l%l%d%d%d%d%d%d%d%d&amp;quot;) then					-- ... see if it matches our pattern&lt;br /&gt;
				err_flag = set_message (&#039;err_bad_lccn&#039;);						-- no match, set an error message&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	elseif 11 == len then														-- LCCN should be aaadddddddd or adddddddddd&lt;br /&gt;
		if not (id:match(&amp;quot;^%l%l%l%d%d%d%d%d%d%d%d&amp;quot;) or id:match(&amp;quot;^%l%d%d%d%d%d%d%d%d%d%d&amp;quot;)) then	-- see if it matches one of our patterns&lt;br /&gt;
			err_flag = set_message (&#039;err_bad_lccn&#039;);							-- no match, set an error message&lt;br /&gt;
		end&lt;br /&gt;
	elseif 12 == len then														-- LCCN should be aadddddddddd&lt;br /&gt;
		if not id:match(&amp;quot;^%l%l%d%d%d%d%d%d%d%d%d%d&amp;quot;) then						-- see if it matches our pattern&lt;br /&gt;
			err_flag = set_message (&#039;err_bad_lccn&#039;);							-- no match, set an error message&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		err_flag = set_message (&#039;err_bad_lccn&#039;);								-- wrong length, set an error message&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if not is_set (err_flag) and nil ~= lccn:find (&#039;%s&#039;) then&lt;br /&gt;
		err_flag = set_message (&#039;err_bad_lccn&#039;);								-- lccn contains a space, set an error message&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if is_set (err_flag) then&lt;br /&gt;
		options.coins_list_t[&#039;LCCN&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
			prefix = handler.prefix, id = lccn, separator = handler.separator, encode = handler.encode});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; M E D R X I V &amp;gt;-----------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Format medRxiv ID and do simple error checking.  Similar to later bioRxiv IDs, medRxiv IDs are prefixed with a&lt;br /&gt;
yyyy.mm.dd. date and suffixed with an optional version identifier.  Ealiest date accepted is 2020.01.01&lt;br /&gt;
&lt;br /&gt;
The medRxiv ID is a date followed by an eight-digit number followed by an optional version indicator &#039;v&#039; and one or more digits:&lt;br /&gt;
	https://www.medrxiv.org/content/10.1101/2020.11.16.20232009v2 -&amp;gt; 10.1101/2020.11.16.20232009v2&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function medrxiv (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local err_msg_flag = true;													-- flag; assume that there will be an error&lt;br /&gt;
&lt;br /&gt;
	local patterns = {&lt;br /&gt;
		&#039;%d%d%d%d%d%d%d%d$&#039;,													-- simple 8-digit identifier; these should be relatively rare&lt;br /&gt;
		&#039;^10%.1101/(20%d%d)%.(%d%d)%.(%d%d)%.%d%d%d%d%d%d%d%dv%d+$&#039;,			-- y.m.d. date + 8-digit identifier + version (2020-01-01 and later)&lt;br /&gt;
		&#039;^10%.1101/(20%d%d)%.(%d%d)%.(%d%d)%.%d%d%d%d%d%d%d%d$&#039;,				-- y.m.d. date + 8-digit identifier (2020-01-01 and later)&lt;br /&gt;
		}&lt;br /&gt;
	&lt;br /&gt;
	for _, pattern in ipairs (patterns) do										-- spin through the patterns looking for a match&lt;br /&gt;
		if id:match (pattern) then&lt;br /&gt;
			local y, m, d = id:match (pattern);									-- found a match, attempt to get year, month and date from the identifier&lt;br /&gt;
&lt;br /&gt;
			if m then															-- m is nil when id is the 8-digit form&lt;br /&gt;
				if not is_valid_rxiv_date (y, m, d, &#039;b&#039;) then					-- validate the encoded date; &#039;b&#039; for medrxiv limit&lt;br /&gt;
					break;														-- date fail; break out early so we don&#039;t unset the error message&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			err_msg_flag = nil;													-- we found a match so unset the error message&lt;br /&gt;
			break;																-- and done&lt;br /&gt;
		end&lt;br /&gt;
	end																			-- &amp;lt;err_msg_flag&amp;gt; remains set here when no match&lt;br /&gt;
&lt;br /&gt;
	if err_msg_flag then&lt;br /&gt;
		options.coins_list_t[&#039;MEDRXIV&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
		set_message (&#039;err_bad_medrxiv&#039;);										-- and set the error message&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
			prefix = handler.prefix, id = id, separator = handler.separator,&lt;br /&gt;
			encode = handler.encode, access = handler.access});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; M R &amp;gt;--------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
A seven digit number; if not seven digits, zero-fill leading digits to make seven digits.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function mr (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local id_num;&lt;br /&gt;
	local id_len;&lt;br /&gt;
&lt;br /&gt;
	id_num = id:match (&#039;^[Mm][Rr](%d+)$&#039;);										-- identifier with mr prefix&lt;br /&gt;
&lt;br /&gt;
	if is_set (id_num) then&lt;br /&gt;
		set_message (&#039;maint_mr_format&#039;);										-- add maint cat&lt;br /&gt;
	else																		-- plain number without mr prefix&lt;br /&gt;
		id_num = id:match (&#039;^%d+$&#039;);											-- if here id is all digits&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	id_len = id_num and id_num:len() or 0;&lt;br /&gt;
	if (7 &amp;gt;= id_len) and (0 ~= id_len) then&lt;br /&gt;
		id = string.rep (&#039;0&#039;, 7-id_len) .. id_num;								-- zero-fill leading digits&lt;br /&gt;
	else&lt;br /&gt;
		set_message (&#039;err_bad_mr&#039;);												-- set an error message&lt;br /&gt;
		options.coins_list_t[&#039;MR&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
			prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; O C L C &amp;gt;----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Validate and format an OCLC ID.  https://www.oclc.org/batchload/controlnumber.en.html {{dead link}}&lt;br /&gt;
archived at: https://web.archive.org/web/20161228233804/https://www.oclc.org/batchload/controlnumber.en.html&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function oclc (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local number;&lt;br /&gt;
&lt;br /&gt;
	if id:match(&#039;^ocm%d%d%d%d%d%d%d%d$&#039;) then									-- ocm prefix and 8 digits; 001 field (12 characters)&lt;br /&gt;
		number = id:match(&#039;ocm(%d+)&#039;);											-- get the number&lt;br /&gt;
	elseif id:match(&#039;^ocn%d%d%d%d%d%d%d%d%d$&#039;) then								-- ocn prefix and 9 digits; 001 field (12 characters)&lt;br /&gt;
		number = id:match(&#039;ocn(%d+)&#039;);											-- get the number&lt;br /&gt;
	elseif id:match(&#039;^on%d%d%d%d%d%d%d%d%d%d+$&#039;) then							-- on prefix and 10 or more digits; 001 field (12 characters)&lt;br /&gt;
		number = id:match(&#039;^on(%d%d%d%d%d%d%d%d%d%d+)$&#039;);						-- get the number&lt;br /&gt;
	elseif id:match(&#039;^%(OCoLC%)[1-9]%d*$&#039;) then									-- (OCoLC) prefix and variable number digits; no leading zeros; 035 field&lt;br /&gt;
		number = id:match(&#039;%(OCoLC%)([1-9]%d*)&#039;);								-- get the number&lt;br /&gt;
		if 9 &amp;lt; number:len() then&lt;br /&gt;
			number = nil;														-- constrain to 1 to 9 digits; change this when OCLC issues 10-digit numbers&lt;br /&gt;
		end&lt;br /&gt;
	elseif id:match(&#039;^%d+$&#039;) then												-- no prefix&lt;br /&gt;
		number = id;															-- get the number&lt;br /&gt;
		if tonumber (id) &amp;gt; handler.id_limit then&lt;br /&gt;
			number = nil;														-- unset when id value exceeds the limit&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if number then																-- proper format&lt;br /&gt;
		id = number;															-- exclude prefix, if any, from external link&lt;br /&gt;
	else&lt;br /&gt;
		set_message (&#039;err_bad_oclc&#039;)											-- add an error message if the id is malformed&lt;br /&gt;
		options.coins_list_t[&#039;OCLC&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
		prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; O P E N L I B R A R Y &amp;gt;--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Formats an OpenLibrary link, and checks for associated errors.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function openlibrary (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local access = options.access;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local ident, code = id:gsub(&#039;^OL&#039;, &#039;&#039;):match(&amp;quot;^(%d+([AMW]))$&amp;quot;);				-- strip optional OL prefix followed immediately by digits followed by &#039;A&#039;, &#039;M&#039;, or &#039;W&#039;;&lt;br /&gt;
	local err_flag;&lt;br /&gt;
	local prefix = {															-- these are appended to the handler.prefix according to code&lt;br /&gt;
		[&#039;A&#039;]=&#039;authors/OL&#039;,&lt;br /&gt;
		[&#039;M&#039;]=&#039;books/OL&#039;,&lt;br /&gt;
		[&#039;W&#039;]=&#039;works/OL&#039;,&lt;br /&gt;
		[&#039;X&#039;]=&#039;OL&#039;																-- not a code; spoof when &#039;code&#039; in id is invalid&lt;br /&gt;
		};&lt;br /&gt;
&lt;br /&gt;
	if not ident then&lt;br /&gt;
		code = &#039;X&#039;;																-- no code or id completely invalid&lt;br /&gt;
		ident = id;																-- copy id to ident so that we display the flawed identifier&lt;br /&gt;
		err_flag = set_message (&#039;err_bad_ol&#039;);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if not is_set (err_flag) then&lt;br /&gt;
		options.coins_list_t[&#039;OL&#039;] = handler.prefix .. prefix[code] .. ident;	-- experiment for ol coins&lt;br /&gt;
	else&lt;br /&gt;
		options.coins_list_t[&#039;OL&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
		prefix = handler.prefix .. prefix[code],&lt;br /&gt;
		id = ident, separator = handler.separator, encode = handler.encode,&lt;br /&gt;
		access = access});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; O S T I &amp;gt;----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Format OSTI and do simple error checking. OSTIs are sequential numbers beginning at 1 and counting up.  This&lt;br /&gt;
code checks the OSTI to see that it contains only digits and is less than test_limit specified in the configuration;&lt;br /&gt;
the value in test_limit will need to be updated periodically as more OSTIs are issued.&lt;br /&gt;
&lt;br /&gt;
NB. 1018 is the lowest OSTI number found in the wild (so far) and resolving OK on the OSTI site&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function osti (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local access = options.access;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
&lt;br /&gt;
	if id:match(&amp;quot;[^%d]&amp;quot;) then													-- if OSTI has anything but digits&lt;br /&gt;
		set_message (&#039;err_bad_osti&#039;);											-- set an error message&lt;br /&gt;
		options.coins_list_t[&#039;OSTI&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	else																		-- OSTI is only digits&lt;br /&gt;
		local id_num = tonumber (id);											-- convert id to a number for range testing&lt;br /&gt;
		if 1018 &amp;gt; id_num or handler.id_limit &amp;lt; id_num then						-- if OSTI is outside test limit boundaries&lt;br /&gt;
			set_message (&#039;err_bad_osti&#039;);										-- set an error message&lt;br /&gt;
			options.coins_list_t[&#039;OSTI&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
			prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode, access = access});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; P M C &amp;gt;------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Format a PMC, do simple error checking, and check for embargoed articles.&lt;br /&gt;
&lt;br /&gt;
The embargo parameter takes a date for a value. If the embargo date is in the future the PMC identifier will not&lt;br /&gt;
be linked to the article.  If the embargo date is today or in the past, or if it is empty or omitted, then the&lt;br /&gt;
PMC identifier is linked to the article through the link at cfg.id_handlers[&#039;PMC&#039;].prefix.&lt;br /&gt;
&lt;br /&gt;
PMC embargo date testing is done in function is_embargoed () which is called earlier because when the citation&lt;br /&gt;
has |pmc=&amp;lt;value&amp;gt; but does not have a |url= then |title= is linked with the PMC link.  Function is_embargoed ()&lt;br /&gt;
returns the embargo date if the PMC article is still embargoed, otherwise it returns an empty string.&lt;br /&gt;
&lt;br /&gt;
PMCs are sequential numbers beginning at 1 and counting up.  This code checks the PMC to see that it contains only digits and is less&lt;br /&gt;
than test_limit; the value in local variable test_limit will need to be updated periodically as more PMCs are issued.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function pmc (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local embargo = options.Embargo;											-- TODO: lowercase?&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local err_flag;&lt;br /&gt;
	local id_num;&lt;br /&gt;
	local text;&lt;br /&gt;
&lt;br /&gt;
	id_num = id:match (&#039;^[Pp][Mm][Cc](%d+)$&#039;);									-- identifier with PMC prefix&lt;br /&gt;
&lt;br /&gt;
	if is_set (id_num) then&lt;br /&gt;
		set_message (&#039;maint_pmc_format&#039;);&lt;br /&gt;
	else																		-- plain number without PMC prefix&lt;br /&gt;
		id_num = id:match (&#039;^%d+$&#039;);											-- if here id is all digits&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if is_set (id_num) then														-- id_num has a value so test it&lt;br /&gt;
		id_num = tonumber (id_num);												-- convert id_num to a number for range testing&lt;br /&gt;
		if 1 &amp;gt; id_num or handler.id_limit &amp;lt; id_num then							-- if PMC is outside test limit boundaries&lt;br /&gt;
			err_flag = set_message (&#039;err_bad_pmc&#039;);								-- set an error message&lt;br /&gt;
		else&lt;br /&gt;
			id = tostring (id_num);												-- make sure id is a string&lt;br /&gt;
		end&lt;br /&gt;
	else																		-- when id format incorrect&lt;br /&gt;
		err_flag = set_message (&#039;err_bad_pmc&#039;);									-- set an error message&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if is_set (embargo) and is_set (is_embargoed (embargo)) then				-- is PMC is still embargoed?&lt;br /&gt;
		text = table.concat (													-- still embargoed so no external link&lt;br /&gt;
			{&lt;br /&gt;
			make_wikilink (link_label_make (handler), handler.label),&lt;br /&gt;
			handler.separator,&lt;br /&gt;
			id,&lt;br /&gt;
			});&lt;br /&gt;
	else&lt;br /&gt;
		text = external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,	-- no embargo date or embargo has expired, ok to link to article&lt;br /&gt;
			prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode, access = handler.access,&lt;br /&gt;
			auto_link = not err_flag and &#039;pmc&#039; or nil							-- do not auto-link when PMC has error&lt;br /&gt;
			});&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if err_flag then&lt;br /&gt;
		options.coins_list_t[&#039;PMC&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return text;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; P M I D &amp;gt;----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Format PMID and do simple error checking.  PMIDs are sequential numbers beginning at 1 and counting up.  This&lt;br /&gt;
code checks the PMID to see that it contains only digits and is less than test_limit; the value in local variable&lt;br /&gt;
test_limit will need to be updated periodically as more PMIDs are issued.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function pmid (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
&lt;br /&gt;
	if id:match(&amp;quot;[^%d]&amp;quot;) then													-- if PMID has anything but digits&lt;br /&gt;
		set_message (&#039;err_bad_pmid&#039;);											-- set an error message&lt;br /&gt;
		options.coins_list_t[&#039;PMID&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	else																		-- PMID is only digits&lt;br /&gt;
		local id_num = tonumber (id);											-- convert id to a number for range testing&lt;br /&gt;
		if 1 &amp;gt; id_num or handler.id_limit &amp;lt; id_num then							-- if PMID is outside test limit boundaries&lt;br /&gt;
			set_message (&#039;err_bad_pmid&#039;);										-- set an error message&lt;br /&gt;
			options.coins_list_t[&#039;PMID&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
			prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; R F C &amp;gt;------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Format RFC and do simple error checking. RFCs are sequential numbers beginning at 1 and counting up.  This&lt;br /&gt;
code checks the RFC to see that it contains only digits and is less than test_limit specified in the configuration;&lt;br /&gt;
the value in test_limit will need to be updated periodically as more RFCs are issued.&lt;br /&gt;
&lt;br /&gt;
An index of all RFCs is here: https://tools.ietf.org/rfc/&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function rfc (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
&lt;br /&gt;
	if id:match(&amp;quot;[^%d]&amp;quot;) then													-- if RFC has anything but digits&lt;br /&gt;
		set_message (&#039;err_bad_rfc&#039;);											-- set an error message&lt;br /&gt;
		options.coins_list_t[&#039;RFC&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	else																		-- RFC is only digits&lt;br /&gt;
		local id_num = tonumber (id);											-- convert id to a number for range testing&lt;br /&gt;
		if 1 &amp;gt; id_num or handler.id_limit &amp;lt; id_num then							-- if RFC is outside test limit boundaries&lt;br /&gt;
			set_message (&#039;err_bad_rfc&#039;);										-- set an error message&lt;br /&gt;
			options.coins_list_t[&#039;RFC&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
			prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode, access = handler.access});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S 2 C I D &amp;gt;--------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Format an S2CID, do simple error checking&lt;br /&gt;
&lt;br /&gt;
S2CIDs are sequential numbers beginning at 1 and counting up.  This code checks the S2CID to see that it is only&lt;br /&gt;
digits and is less than test_limit; the value in local variable test_limit will need to be updated periodically&lt;br /&gt;
as more S2CIDs are issued.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function s2cid (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local access = options.access;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local id_num;&lt;br /&gt;
	local text;&lt;br /&gt;
	&lt;br /&gt;
	id_num = id:match (&#039;^[1-9]%d*$&#039;);											-- id must be all digits; must not begin with 0; no open access flag&lt;br /&gt;
&lt;br /&gt;
 	if is_set (id_num) then														-- id_num has a value so test it&lt;br /&gt;
		id_num = tonumber (id_num);												-- convert id_num to a number for range testing&lt;br /&gt;
		if handler.id_limit &amp;lt; id_num then										-- if S2CID is outside test limit boundaries&lt;br /&gt;
			set_message (&#039;err_bad_s2cid&#039;);										-- set an error message&lt;br /&gt;
			options.coins_list_t[&#039;S2CID&#039;] = nil;								-- when error, unset so not included in COinS&lt;br /&gt;
		end&lt;br /&gt;
	else																		-- when id format incorrect&lt;br /&gt;
		set_message (&#039;err_bad_s2cid&#039;);											-- set an error message&lt;br /&gt;
		options.coins_list_t[&#039;S2CID&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	text = external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
		prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode, access = access});&lt;br /&gt;
&lt;br /&gt;
	return text;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S B N &amp;gt;------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
9-digit form of ISBN-10; uses same check-digit validation when SBN is prefixed with an additional &#039;0&#039; to make 10 digits&lt;br /&gt;
&lt;br /&gt;
sbn value not made part of COinS metadata because we don&#039;t have a url or isn&#039;t a COinS-defined identifier (rft.xxx)&lt;br /&gt;
or an identifier registered at info-uri.info (info:)&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function sbn (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local ignore_invalid = options.accept;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local function return_result (check, err_type)								-- local function to handle the various returns&lt;br /&gt;
		local SBN = internal_link_id ({link = handler.link, label = handler.label, redirect = handler.redirect,&lt;br /&gt;
						prefix = handler.prefix, id = id, separator = handler.separator});&lt;br /&gt;
		if not ignore_invalid then												-- if not ignoring SBN errors&lt;br /&gt;
			if not check then&lt;br /&gt;
				options.coins_list_t[&#039;SBN&#039;] = nil;								-- when error, unset so not included in COinS; not really necessary here because sbn not made part of COinS&lt;br /&gt;
				set_message (&#039;err_bad_sbn&#039;, {err_type});						-- display an error message&lt;br /&gt;
				return SBN; &lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			set_message (&#039;maint_isbn_ignore&#039;);									-- add a maint category even when there is no error (ToDo: Possibly switch to separate message for SBNs only)&lt;br /&gt;
		end&lt;br /&gt;
		return SBN;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if id:match (&#039;[^%s-0-9X]&#039;) then&lt;br /&gt;
		return return_result (false, cfg.err_msg_supl.char);					-- fail if SBN contains anything but digits, hyphens, or the uppercase X&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ident = id:gsub (&#039;[%s-]&#039;, &#039;&#039;);										-- remove hyphens and whitespace; they interfere with the rest of the tests&lt;br /&gt;
&lt;br /&gt;
	if  9 ~= ident:len() then&lt;br /&gt;
		return return_result (false, cfg.err_msg_supl.length);					-- fail if incorrect length&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if ident:match (&#039;^%d*X?$&#039;) == nil then&lt;br /&gt;
		return return_result (false, cfg.err_msg_supl.form);					-- fail if SBN has &#039;X&#039; anywhere but last position&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return return_result (is_valid_isxn (&#039;0&#039; .. ident, 10), cfg.err_msg_supl.check);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S S R N &amp;gt;----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Format an SSRN, do simple error checking&lt;br /&gt;
&lt;br /&gt;
SSRNs are sequential numbers beginning at 100? and counting up.  This code checks the SSRN to see that it is&lt;br /&gt;
only digits and is greater than 99 and less than test_limit; the value in local variable test_limit will need&lt;br /&gt;
to be updated periodically as more SSRNs are issued.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function ssrn (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
	local id_num;&lt;br /&gt;
	local text;&lt;br /&gt;
	&lt;br /&gt;
	id_num = id:match (&#039;^%d+$&#039;);												-- id must be all digits&lt;br /&gt;
&lt;br /&gt;
	if is_set (id_num) then														-- id_num has a value so test it&lt;br /&gt;
		id_num = tonumber (id_num);												-- convert id_num to a number for range testing&lt;br /&gt;
		if 100 &amp;gt; id_num or handler.id_limit &amp;lt; id_num then						-- if SSRN is outside test limit boundaries&lt;br /&gt;
			set_message (&#039;err_bad_ssrn&#039;);										-- set an error message&lt;br /&gt;
			options.coins_list_t[&#039;SSRN&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
		end&lt;br /&gt;
	else																		-- when id format incorrect&lt;br /&gt;
		set_message (&#039;err_bad_ssrn&#039;);											-- set an error message&lt;br /&gt;
		options.coins_list_t[&#039;SSRN&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	text = external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
		prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode, access = options.access});&lt;br /&gt;
&lt;br /&gt;
	return text;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; U S E N E T _ I D &amp;gt;------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Validate and format a usenet message id.  Simple error checking, looks for &#039;id-left@id-right&#039; not enclosed in&lt;br /&gt;
&#039;&amp;lt;&#039; and/or &#039;&amp;gt;&#039; angle brackets.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function usenet_id (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
&lt;br /&gt;
	local text = external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
		prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode})&lt;br /&gt;
 &lt;br /&gt;
	if not id:match(&#039;^.+@.+$&#039;) or not id:match(&#039;^[^&amp;lt;].*[^&amp;gt;]$&#039;) then				-- doesn&#039;t have &#039;@&#039; or has one or first or last character is &#039;&amp;lt; or &#039;&amp;gt;&#039;&lt;br /&gt;
		set_message (&#039;err_bad_usenet_id&#039;)										-- add an error message if the message id is invalid&lt;br /&gt;
		options.coins_list_t[&#039;USENETID&#039;] = nil;									-- when error, unset so not included in COinS&lt;br /&gt;
	end &lt;br /&gt;
	&lt;br /&gt;
	return text;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; Z B L &amp;gt;-----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
A numerical identifier in the form nnnn.nnnnn - leading zeros in the first quartet optional&lt;br /&gt;
&lt;br /&gt;
format described here: http://emis.mi.sanu.ac.rs/ZMATH/zmath/en/help/search/&lt;br /&gt;
&lt;br /&gt;
temporary format is apparently eight digits.  Anything else is an error&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function zbl (options)&lt;br /&gt;
	local id = options.id;&lt;br /&gt;
	local handler = options.handler;&lt;br /&gt;
&lt;br /&gt;
	if id:match(&#039;^%d%d%d%d%d%d%d%d$&#039;) then										-- is this identifier using temporary format?&lt;br /&gt;
		set_message (&#039;maint_zbl&#039;);												-- yes, add maint cat&lt;br /&gt;
	elseif not id:match(&#039;^%d?%d?%d?%d%.%d%d%d%d%d$&#039;) then						-- not temporary, is it normal format?&lt;br /&gt;
		set_message (&#039;err_bad_zbl&#039;);											-- no, set an error message&lt;br /&gt;
		options.coins_list_t[&#039;ZBL&#039;] = nil;										-- when error, unset so not included in COinS&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return external_link_id ({link = handler.link, label = handler.label, q = handler.q, redirect = handler.redirect,&lt;br /&gt;
			prefix = handler.prefix, id = id, separator = handler.separator, encode = handler.encode});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--============================&amp;lt;&amp;lt; I N T E R F A C E   F U N C T I O N S &amp;gt;&amp;gt;==========================================&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X T R A C T _ I D S &amp;gt;------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Populates ID table from arguments using configuration settings. Loops through cfg.id_handlers and searches args for&lt;br /&gt;
any of the parameters listed in each cfg.id_handlers[&#039;...&#039;].parameters.  If found, adds the parameter and value to&lt;br /&gt;
the identifier list.  Emits redundant error message if more than one alias exists in args&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function extract_ids (args)&lt;br /&gt;
	local id_list = {};															-- list of identifiers found in args&lt;br /&gt;
	for k, v in pairs (cfg.id_handlers) do										-- k is uppercase identifier name as index to cfg.id_handlers; e.g. cfg.id_handlers[&#039;ISBN&#039;], v is a table&lt;br /&gt;
		v = select_one (args, v.parameters, &#039;err_redundant_parameters&#039; );		-- v.parameters is a table of aliases for k; here we pick one from args if present&lt;br /&gt;
		if is_set (v) then id_list[k] = v; end									-- if found in args, add identifier to our list&lt;br /&gt;
	end&lt;br /&gt;
	return id_list;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X T R A C T _ I D _ A C C E S S _ L E V E L S &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
Fetches custom id access levels from arguments using configuration settings. Parameters which have a predefined access&lt;br /&gt;
level (e.g. arxiv) do not use this function as they are directly rendered as free without using an additional parameter.&lt;br /&gt;
&lt;br /&gt;
returns a table of k/v pairs where k is same as the identifier&#039;s key in cfg.id_handlers and v is the assigned (valid) keyword&lt;br /&gt;
&lt;br /&gt;
access-level values must match the case used in cfg.keywords_lists[&#039;id-access&#039;] (lowercase unless there is some special reason for something else)&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function extract_id_access_levels (args, id_list)&lt;br /&gt;
	local id_accesses_list = {};&lt;br /&gt;
	for k, v in pairs (cfg.id_handlers) do&lt;br /&gt;
		local access_param = v.custom_access;									-- name of identifier&#039;s access-level parameter&lt;br /&gt;
		if is_set (access_param) then&lt;br /&gt;
			local access_level = args[access_param];							-- get the assigned value if there is one&lt;br /&gt;
			if is_set (access_level) then&lt;br /&gt;
				if not in_array (access_level, cfg.keywords_lists[&#039;id-access&#039;]) then	-- exact match required&lt;br /&gt;
					set_message (&#039;err_invalid_param_val&#039;, {access_param, access_level});	&lt;br /&gt;
					access_level = nil;											-- invalid so unset&lt;br /&gt;
				end&lt;br /&gt;
				if not is_set (id_list[k]) then									-- identifier access-level must have a matching identifier&lt;br /&gt;
					set_message (&#039;err_param_access_requires_param&#039;, {k:lower()});	-- parameter name is uppercase in cfg.id_handlers (k); lowercase for error message&lt;br /&gt;
				end&lt;br /&gt;
				id_accesses_list[k] = cfg.keywords_xlate[access_level];			-- get translated keyword&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return id_accesses_list;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; B U I L D _ I D _ L I S T &amp;gt;----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
render the identifiers into a sorted sequence table&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ID_list_coins_t&amp;gt; is a table of k/v pairs where k is same as key in cfg.id_handlers and v is the assigned value&lt;br /&gt;
&amp;lt;options_t&amp;gt; is a table of various k/v option pairs provided in the call to new_build_id_list();&lt;br /&gt;
	modified by	this function and passed to all identifier rendering functions&lt;br /&gt;
&amp;lt;access_levels_t&amp;gt; is a table of k/v pairs where k is same as key in cfg.id_handlers and v is the assigned value (if valid)&lt;br /&gt;
&lt;br /&gt;
returns a sequence table of sorted (by hkey - &#039;handler&#039; key) rendered identifier strings&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function build_id_list (ID_list_coins_t, options_t, access_levels_t)&lt;br /&gt;
	local ID_list_t = {};&lt;br /&gt;
	local accept;&lt;br /&gt;
	local func_map = {															--function map points to functions associated with hkey identifier&lt;br /&gt;
		[&#039;ARXIV&#039;] = arxiv,&lt;br /&gt;
		[&#039;ASIN&#039;] = asin,&lt;br /&gt;
		[&#039;BIBCODE&#039;] = bibcode,&lt;br /&gt;
		[&#039;BIORXIV&#039;] = biorxiv,&lt;br /&gt;
		[&#039;CITESEERX&#039;] = citeseerx,&lt;br /&gt;
		[&#039;DOI&#039;] = doi,&lt;br /&gt;
		[&#039;EISSN&#039;] = issn,&lt;br /&gt;
		[&#039;HDL&#039;] = hdl,&lt;br /&gt;
		[&#039;ISBN&#039;] = isbn,&lt;br /&gt;
		[&#039;ISMN&#039;] = ismn,&lt;br /&gt;
		[&#039;ISSN&#039;] = issn,&lt;br /&gt;
		[&#039;JFM&#039;] = jfm,&lt;br /&gt;
		[&#039;JSTOR&#039;] = jstor,&lt;br /&gt;
		[&#039;LCCN&#039;] = lccn,&lt;br /&gt;
		[&#039;MEDRXIV&#039;] = medrxiv,&lt;br /&gt;
		[&#039;MR&#039;] = mr,&lt;br /&gt;
		[&#039;OCLC&#039;] = oclc,&lt;br /&gt;
		[&#039;OL&#039;] = openlibrary,&lt;br /&gt;
		[&#039;OSTI&#039;] = osti,&lt;br /&gt;
		[&#039;PMC&#039;] = pmc,&lt;br /&gt;
		[&#039;PMID&#039;] = pmid,&lt;br /&gt;
		[&#039;RFC&#039;]  = rfc,&lt;br /&gt;
		[&#039;S2CID&#039;] = s2cid,&lt;br /&gt;
		[&#039;SBN&#039;] = sbn,&lt;br /&gt;
		[&#039;SSRN&#039;] = ssrn,&lt;br /&gt;
		[&#039;USENETID&#039;] = usenet_id,&lt;br /&gt;
		[&#039;ZBL&#039;] = zbl,&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
	for hkey, v in pairs (ID_list_coins_t) do&lt;br /&gt;
		v, accept = has_accept_as_written (v);									-- remove accept-as-written markup if present; accept is boolean true when markup removed; false else&lt;br /&gt;
																				-- every function gets the options table with value v and accept boolean&lt;br /&gt;
		options_t.hkey = hkey;													-- ~/Configuration handler key&lt;br /&gt;
		options_t.id = v;														-- add that identifier value to the options table&lt;br /&gt;
		options_t.accept = accept;												-- add the accept boolean flag&lt;br /&gt;
		options_t.access = access_levels_t[hkey];								-- add the access level for those that have an |&amp;lt;identifier-access= parameter&lt;br /&gt;
		options_t.handler = cfg.id_handlers[hkey];&lt;br /&gt;
		options_t.coins_list_t = ID_list_coins_t;								-- pointer to ID_list_coins_t; for |asin= and |ol=; also to keep erroneous values out of the citation&#039;s metadata&lt;br /&gt;
		options_t.coins_list_t[hkey] = v;										-- id value without accept-as-written markup for metadata&lt;br /&gt;
		&lt;br /&gt;
		if options_t.handler.access and not in_array (options_t.handler.access, cfg.keywords_lists[&#039;id-access&#039;]) then&lt;br /&gt;
			error (cfg.messages[&#039;unknown_ID_access&#039;] .. options_t.handler.access);	-- here when handler access key set to a value not listed in list of allowed id access keywords&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if func_map[hkey] then&lt;br /&gt;
			local id_text = func_map[hkey] (options_t);							-- call the function to get identifier text and any error message&lt;br /&gt;
			table.insert (ID_list_t, {hkey, id_text});							-- add identifier text to the output sequence table&lt;br /&gt;
		else&lt;br /&gt;
			error (cfg.messages[&#039;unknown_ID_key&#039;] .. hkey);						-- here when func_map doesn&#039;t have a function for hkey&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local function comp (a, b)													-- used by following table.sort()&lt;br /&gt;
		return a[1]:lower() &amp;lt; b[1]:lower();										-- sort by hkey&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	table.sort (ID_list_t, comp);												-- sequence table of tables sort	&lt;br /&gt;
	for k, v in ipairs (ID_list_t) do											-- convert sequence table of tables to simple sequence table of strings&lt;br /&gt;
		ID_list_t[k] = v[2];													-- v[2] is the identifier rendering from the call to the various functions in func_map{}&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return ID_list_t;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; O P T I O N S _ C H E C K &amp;gt;----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
check that certain option parameters have their associated identifier parameters with values&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ID_list_coins_t&amp;gt; is a table of k/v pairs where k is same as key in cfg.id_handlers and v is the assigned value&lt;br /&gt;
&amp;lt;ID_support_t&amp;gt; is a sequence table of tables created in citation0() where each subtable has four elements:&lt;br /&gt;
	[1] is the support parameter&#039;s assigned value; empty string if not set&lt;br /&gt;
	[2] is a text string same as key in cfg.id_handlers&lt;br /&gt;
	[3] is cfg.error_conditions key used to create error message&lt;br /&gt;
	[4] is original ID support parameter name used to create error message&lt;br /&gt;
	&lt;br /&gt;
returns nothing; on error emits an appropriate error message&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function options_check (ID_list_coins_t, ID_support_t)&lt;br /&gt;
	for _, v in ipairs (ID_support_t) do&lt;br /&gt;
		if is_set (v[1]) and not ID_list_coins_t[v[2]] then						-- when support parameter has a value but matching identifier parameter is missing or empty&lt;br /&gt;
			set_message (v[3], (v[4]));											-- emit the appropriate error message&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I D E N T I F I E R _ L I S T S _ G E T &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
Creates two identifier lists: a k/v table of identifiers and their values to be used locally and for use in the&lt;br /&gt;
COinS metadata, and a sequence table of the rendered identifier strings that will be included in the rendered&lt;br /&gt;
citation.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function identifier_lists_get (args_t, options_t, ID_support_t)&lt;br /&gt;
	local ID_list_coins_t = extract_ids (args_t);										-- get a table of identifiers and their values for use locally and for use in COinS&lt;br /&gt;
	options_check (ID_list_coins_t, ID_support_t);										-- ID support parameters must have matching identifier parameters &lt;br /&gt;
	local ID_access_levels_t = extract_id_access_levels (args_t, ID_list_coins_t);		-- get a table of identifier access levels&lt;br /&gt;
	local ID_list_t = build_id_list (ID_list_coins_t, options_t, ID_access_levels_t);	-- get a sequence table of rendered identifier strings&lt;br /&gt;
&lt;br /&gt;
	return ID_list_t, ID_list_coins_t;											-- return the tables&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S E T _ S E L E C T E D _ M O D U L E S &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
Sets local cfg table and imported functions table to same (live or sandbox) as that used by the other modules.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function set_selected_modules (cfg_table_ptr, utilities_page_ptr)&lt;br /&gt;
	cfg = cfg_table_ptr;&lt;br /&gt;
&lt;br /&gt;
	has_accept_as_written = utilities_page_ptr.has_accept_as_written;			-- import functions from select Module:Citation/CS1/Utilities module&lt;br /&gt;
	is_set = utilities_page_ptr.is_set;								&lt;br /&gt;
	in_array = utilities_page_ptr.in_array;&lt;br /&gt;
	set_message = utilities_page_ptr.set_message;&lt;br /&gt;
	select_one = utilities_page_ptr.select_one;&lt;br /&gt;
	substitute = utilities_page_ptr.substitute;&lt;br /&gt;
	make_wikilink = utilities_page_ptr.make_wikilink;&lt;br /&gt;
&lt;br /&gt;
	z = utilities_page_ptr.z;													-- table of tables in Module:Citation/CS1/Utilities&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X P O R T E D   F U N C T I O N S &amp;gt;------------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	auto_link_urls = auto_link_urls,											-- table of identifier URLs to be used when auto-linking |title=&lt;br /&gt;
	&lt;br /&gt;
	identifier_lists_get = identifier_lists_get,								-- experiment to replace individual calls to build_id_list(), extract_ids, extract_id_access_levels&lt;br /&gt;
	is_embargoed = is_embargoed;&lt;br /&gt;
	set_selected_modules = set_selected_modules;&lt;br /&gt;
	}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Date_validation&amp;diff=66</id>
		<title>Module:Citation/CS1/Date validation</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Date_validation&amp;diff=66"/>
		<updated>2025-08-04T17:16:57Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;----------------------------&amp;lt; F O R W A R D   D E C L A R A T I O N S &amp;gt;--------------------------------------   local add_prop_cat, is_set, in_array, set_message, substitute, wrap_style;		-- imported functions from selected Module:Citation/CS1/Utilities local cfg;																		-- table of tables imported from selected Module:Citation/CS1/Configuration   --[[--------------------------&amp;lt; F I L E - S C O P E   D E C L A R A T I O N S &amp;gt;--------------------------------...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--[[--------------------------&amp;lt; F O R W A R D   D E C L A R A T I O N S &amp;gt;--------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local add_prop_cat, is_set, in_array, set_message, substitute, wrap_style;		-- imported functions from selected Module:Citation/CS1/Utilities&lt;br /&gt;
local cfg;																		-- table of tables imported from selected Module:Citation/CS1/Configuration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; F I L E - S C O P E   D E C L A R A T I O N S &amp;gt;--------------------------------&lt;br /&gt;
&lt;br /&gt;
File-scope variables are declared here&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local lang_object = mw.getContentLanguage();									-- used by is_valid_accessdate(), is_valid_year(), date_name_xlate(); TODO: move to ~/Configuration?&lt;br /&gt;
local year_limit;																-- used by is_valid_year()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; I S _ V A L I D _ A C C E S S D A T E &amp;gt;----------------------------------------&lt;br /&gt;
&lt;br /&gt;
returns true if:&lt;br /&gt;
	Wikipedia start date &amp;lt;= accessdate &amp;lt; today + 2 days&lt;br /&gt;
&lt;br /&gt;
Wikipedia start date is 2001-01-15T00:00:00 UTC which is 979516800 seconds after 1970-01-01T00:00:00 UTC (the start of Unix time)&lt;br /&gt;
accessdate is the date provided in |access-date= at time 00:00:00 UTC&lt;br /&gt;
today is the current date at time 00:00:00 UTC plus 48 hours&lt;br /&gt;
	if today is 2015-01-01T00:00:00 then&lt;br /&gt;
		adding 24 hours gives 2015-01-02T00:00:00 – one second more than today&lt;br /&gt;
		adding 24 hours gives 2015-01-03T00:00:00 – one second more than tomorrow&lt;br /&gt;
&lt;br /&gt;
This function does not work if it is fed month names for languages other than English.  Wikimedia #time: parser&lt;br /&gt;
apparently doesn&#039;t understand non-English date month names. This function will always return false when the date&lt;br /&gt;
contains a non-English month name because good1 is false after the call to lang.formatDate().  To get around that&lt;br /&gt;
call this function with YYYY-MM-DD format dates.&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function is_valid_accessdate (accessdate)&lt;br /&gt;
	local good1, good2;&lt;br /&gt;
	local access_ts, tomorrow_ts;												-- to hold Unix time stamps representing the dates&lt;br /&gt;
&lt;br /&gt;
	good1, access_ts = pcall (lang_object.formatDate, lang_object, &#039;U&#039;, accessdate );			-- convert accessdate value to Unix timestamp &lt;br /&gt;
	good2, tomorrow_ts = pcall (lang_object.formatDate, lang_object, &#039;U&#039;, &#039;today + 2 days&#039; );	-- today midnight + 2 days is one second more than all day tomorrow&lt;br /&gt;
	&lt;br /&gt;
	if good1 and good2 then														-- lang.formatDate() returns a timestamp in the local script which which tonumber() may not understand&lt;br /&gt;
		access_ts = tonumber (access_ts) or lang_object:parseFormattedNumber (access_ts);		-- convert to numbers for the comparison;&lt;br /&gt;
		tomorrow_ts = tonumber (tomorrow_ts) or lang_object:parseFormattedNumber (tomorrow_ts);&lt;br /&gt;
	else&lt;br /&gt;
		return false;															-- one or both failed to convert to Unix time stamp&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if 979516800 &amp;lt;= access_ts and access_ts &amp;lt; tomorrow_ts then					-- Wikipedia start date &amp;lt;= accessdate &amp;lt; tomorrow&#039;s date&lt;br /&gt;
		return true;&lt;br /&gt;
	else&lt;br /&gt;
		return false;															-- accessdate out of range&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; G E T _ M O N T H _ N U M B E R &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
returns a number according to the month in a date: 1 for January, etc.  Capitalization and spelling must be correct.&lt;br /&gt;
If not a valid month, returns 0&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function get_month_number (month)&lt;br /&gt;
	return cfg.date_names[&#039;local&#039;].long[month] or cfg.date_names[&#039;local&#039;].short[month] or	-- look for local names first&lt;br /&gt;
			cfg.date_names[&#039;en&#039;].long[month] or	cfg.date_names[&#039;en&#039;].short[month] or		-- failing that, look for English names&lt;br /&gt;
			0;																				-- not a recognized month name&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; G E T _ S E A S O N _ N U M B E R &amp;gt;--------------------------------------------&lt;br /&gt;
&lt;br /&gt;
returns a number according to the sequence of seasons in a year: 21 for Spring, etc.  Capitalization and spelling&lt;br /&gt;
must be correct. If not a valid season, returns 0.&lt;br /&gt;
	21-24 = Spring, Summer, Autumn, Winter, independent of “Hemisphere”&lt;br /&gt;
&lt;br /&gt;
returns 0 when &amp;lt;param&amp;gt; is not |date=&lt;br /&gt;
&lt;br /&gt;
Season numbering is defined by Extended Date/Time Format (EDTF) specification (https://www.loc.gov/standards/datetime/)&lt;br /&gt;
which became part of ISO 8601 in 2019.  See &#039;§Sub-year groupings&#039;.  The standard defines various divisions using&lt;br /&gt;
numbers 21-41.  cs1|2 only supports generic seasons.  EDTF does support the distinction between north and south&lt;br /&gt;
hemisphere seasons but cs1|2 has no way to make that distinction.&lt;br /&gt;
&lt;br /&gt;
These additional divisions not currently supported:&lt;br /&gt;
	25-28 = Spring - Northern Hemisphere, Summer- Northern Hemisphere, Autumn - Northern Hemisphere, Winter - Northern Hemisphere&lt;br /&gt;
	29-32 = Spring – Southern Hemisphere, Summer– Southern Hemisphere, Autumn – Southern Hemisphere, Winter - Southern Hemisphere&lt;br /&gt;
	33-36 = Quarter 1, Quarter 2, Quarter 3, Quarter 4 (3 months each)&lt;br /&gt;
	37-39 = Quadrimester 1, Quadrimester 2, Quadrimester 3 (4 months each)&lt;br /&gt;
	40-41 = Semestral 1, Semestral-2 (6 months each)&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function get_season_number (season, param)&lt;br /&gt;
	if &#039;date&#039; ~= param then&lt;br /&gt;
		return 0;																-- season dates only supported by |date=&lt;br /&gt;
	end&lt;br /&gt;
	return cfg.date_names[&#039;local&#039;].season[season] or							-- look for local names first&lt;br /&gt;
			cfg.date_names[&#039;en&#039;].season[season] or								-- failing that, look for English names&lt;br /&gt;
			0;																	-- not a recognized season name&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; G E T _ Q U A R T E R _ N U M B E R &amp;gt;------------------------------------------&lt;br /&gt;
&lt;br /&gt;
returns a number according to the sequence of quarters in a year: 33 for first quarter, etc.  Capitalization and spelling&lt;br /&gt;
must be correct. If not a valid quarter, returns 0.&lt;br /&gt;
	33-36 = Quarter 1, Quarter 2, Quarter 3, Quarter 4 (3 months each)&lt;br /&gt;
&lt;br /&gt;
returns 0 when &amp;lt;param&amp;gt; is not |date=&lt;br /&gt;
&lt;br /&gt;
Quarter numbering is defined by Extended Date/Time Format (EDTF) specification (https://www.loc.gov/standards/datetime/)&lt;br /&gt;
which became part of ISO 8601 in 2019.  See &#039;§Sub-year groupings&#039;.  The standard defines various divisions using&lt;br /&gt;
numbers 21-41.  cs1|2 only supports generic seasons and quarters.&lt;br /&gt;
&lt;br /&gt;
These additional divisions not currently supported:&lt;br /&gt;
	37-39 = Quadrimester 1, Quadrimester 2, Quadrimester 3 (4 months each)&lt;br /&gt;
	40-41 = Semestral 1, Semestral-2 (6 months each)&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function get_quarter_number (quarter, param)&lt;br /&gt;
	if &#039;date&#039; ~= param then&lt;br /&gt;
		return 0;																-- quarter dates only supported by |date=&lt;br /&gt;
	end&lt;br /&gt;
	quarter = mw.ustring.gsub (quarter, &#039; +&#039;, &#039; &#039;);								-- special case replace multiple space chars with a single space char&lt;br /&gt;
	return cfg.date_names[&#039;local&#039;].quarter[quarter] or							-- look for local names first&lt;br /&gt;
			cfg.date_names[&#039;en&#039;].quarter[quarter] or							-- failing that, look for English names&lt;br /&gt;
			0;																	-- not a recognized quarter name&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; G E T _ P R O P E R _ N A M E _ N U M B E R &amp;gt;----------------------------------&lt;br /&gt;
&lt;br /&gt;
returns a non-zero number if date contains a recognized proper-name.  Capitalization and spelling must be correct.&lt;br /&gt;
&lt;br /&gt;
returns 0 when &amp;lt;param&amp;gt; is not |date=&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function get_proper_name_number (name, param)&lt;br /&gt;
	if &#039;date&#039; ~= param then&lt;br /&gt;
		return 0;																-- proper-name dates only supported by |date=&lt;br /&gt;
	end&lt;br /&gt;
	return cfg.date_names[&#039;local&#039;].named[name] or								-- look for local names dates first&lt;br /&gt;
			cfg.date_names[&#039;en&#039;].named[name] or									-- failing that, look for English names&lt;br /&gt;
			0;																	-- not a recognized named date&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; G E T _ E L E M E N T _ N U M B E R &amp;lt;------------------------------------------&lt;br /&gt;
&lt;br /&gt;
returns true if month or season or quarter or proper name is valid (properly spelled, capitalized, abbreviated)&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function get_element_number (element, param)&lt;br /&gt;
	local num;&lt;br /&gt;
	&lt;br /&gt;
	local funcs = {get_month_number, get_season_number, get_quarter_number, get_proper_name_number};	-- list of functions to execute in order&lt;br /&gt;
	&lt;br /&gt;
	for _, func in ipairs (funcs) do											-- spin through the function list&lt;br /&gt;
		num = func (element, param);											-- call the function and get the returned number&lt;br /&gt;
		if 0 ~= num then														-- non-zero when valid month season quarter &lt;br /&gt;
			return num;															-- return that number&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return nil;																	-- not valid&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ V A L I D _ Y E A R &amp;gt;----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Function gets current year from the server and compares it to year from a citation parameter.  Years more than one&lt;br /&gt;
year in the future are not acceptable.&lt;br /&gt;
&lt;br /&gt;
Special case for |pmc-embargo-date=: years more than two years in the future are not acceptable&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_valid_year (year, param)&lt;br /&gt;
	if not is_set (year_limit) then&lt;br /&gt;
		year_limit = tonumber(os.date(&amp;quot;%Y&amp;quot;))+1;									-- global variable so we only have to fetch it once&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	year = tonumber (year) or lang_object:parseFormattedNumber (year);			-- convert to number for the comparison&lt;br /&gt;
	if year and (100 &amp;gt; year) then												-- years less than 100 not supported&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if &#039;pmc-embargo-date&#039; == param then											-- special case for |pmc-embargo-date=&lt;br /&gt;
		return year and (year &amp;lt;= tonumber(os.date(&amp;quot;%Y&amp;quot;))+2) or false;			-- years more than two years in the future are not accepted&lt;br /&gt;
	end	&lt;br /&gt;
	return year and (year &amp;lt;= year_limit) or false;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ V A L I D _ D A T E &amp;gt;----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Returns true if day is less than or equal to the number of days in month and year is no farther into the future&lt;br /&gt;
than next year; else returns false.&lt;br /&gt;
&lt;br /&gt;
Assumes Julian calendar prior to year 1582 and Gregorian calendar thereafter. Accounts for Julian calendar leap&lt;br /&gt;
years before 1582 and Gregorian leap years after 1582. Where the two calendars overlap (1582 to approximately&lt;br /&gt;
1923) dates are assumed to be Gregorian.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_valid_date (year, month, day, param)&lt;br /&gt;
local days_in_month = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};&lt;br /&gt;
local month_length;&lt;br /&gt;
	if not is_valid_year (year, param) then										-- no farther into the future than next year except |pmc-embargo-date= no more than two years in the future&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	month = tonumber (month);													-- required for YYYY-MM-DD dates&lt;br /&gt;
	&lt;br /&gt;
	if (2 == month) then														-- if February&lt;br /&gt;
		month_length = 28;														-- then 28 days unless&lt;br /&gt;
		if 1582 &amp;gt; tonumber(year) then											-- Julian calendar&lt;br /&gt;
			if 0 == (year%4) then												-- is a leap year?&lt;br /&gt;
				month_length = 29;												-- if leap year then 29 days in February&lt;br /&gt;
			end&lt;br /&gt;
		else																	-- Gregorian calendar&lt;br /&gt;
			if (0 == (year%4) and (0 ~= (year%100) or 0 == (year%400))) then	-- is a leap year?&lt;br /&gt;
				month_length = 29;												-- if leap year then 29 days in February&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		month_length = days_in_month[month];&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if tonumber (day) &amp;gt; month_length then&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
	return true;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ V A L I D _ M O N T H _ R A N G E _ S T Y L E &amp;gt;--------------------------&lt;br /&gt;
&lt;br /&gt;
Months in a range are expected to have the same style: Jan–Mar or October–December but not February–Mar or Jul–August. &lt;br /&gt;
This function looks in cfg.date_names{} to see if both month names are listed in the long subtable or both are&lt;br /&gt;
listed in the short subtable.  When both have the same style (both are listed in the same table), returns true; false else&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_valid_month_range_style (month1, month2)&lt;br /&gt;
	if (cfg.date_names.en.long[month1] and cfg.date_names.en.long[month2]) or					-- are both English names listed in the long subtable?&lt;br /&gt;
		(cfg.date_names.en.short[month1] and cfg.date_names.en.short[month2]) or				-- are both English names listed in the short subtable?&lt;br /&gt;
		(cfg.date_names[&#039;local&#039;].long[month1] and cfg.date_names[&#039;local&#039;].long[month2]) or		-- are both local names listed in the long subtable?&lt;br /&gt;
		(cfg.date_names[&#039;local&#039;].short[month1] and cfg.date_names[&#039;local&#039;].short[month2]) then	-- are both local names listed in the short subtable?&lt;br /&gt;
			return true;&lt;br /&gt;
	end&lt;br /&gt;
	return false;																-- names are mixed&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ V A L I D _ M O N T H _ S E A S O N _ R A N G E &amp;gt;------------------------&lt;br /&gt;
&lt;br /&gt;
Check a pair of months or seasons to see if both are valid members of a month or season pair.&lt;br /&gt;
&lt;br /&gt;
Month pairs are expected to be left to right, earliest to latest in time.&lt;br /&gt;
&lt;br /&gt;
All season ranges are accepted as valid because there are publishers out there who have published a Summer–Spring YYYY issue, hence treat as ok&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_valid_month_season_range(range_start, range_end, param)&lt;br /&gt;
	local range_start_number = get_month_number (range_start);&lt;br /&gt;
	local range_end_number;&lt;br /&gt;
&lt;br /&gt;
	if 0 == range_start_number then												-- is this a month range?&lt;br /&gt;
		range_start_number = get_season_number (range_start, param);			-- not a month; is it a season? get start season number&lt;br /&gt;
		range_end_number = get_season_number (range_end, param);				-- get end season number&lt;br /&gt;
&lt;br /&gt;
		if (0 ~= range_start_number) and (0 ~= range_end_number) and (range_start_number ~= range_end_number) then&lt;br /&gt;
			return true;														-- any season pairing is accepted except when both are the same&lt;br /&gt;
		end&lt;br /&gt;
		return false;															-- range_start and/or range_end is not a season&lt;br /&gt;
	end&lt;br /&gt;
																				-- here when range_start is a month&lt;br /&gt;
	range_end_number = get_month_number (range_end);							-- get end month number&lt;br /&gt;
	if range_start_number &amp;lt; range_end_number and								-- range_start is a month; does range_start precede range_end?&lt;br /&gt;
		is_valid_month_range_style (range_start, range_end) then				-- do months have the same style?&lt;br /&gt;
			return true;														-- proper order and same style&lt;br /&gt;
	end&lt;br /&gt;
	return false;																-- range_start month number is greater than or equal to range end number; or range end isn&#039;t a month&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; M A K E _ C O I N S _ D A T E &amp;gt;------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
This function receives a table of date parts for one or two dates and an empty table reference declared in&lt;br /&gt;
Module:Citation/CS1.  The function is called only for |date= parameters and only if the |date=&amp;lt;value&amp;gt; is &lt;br /&gt;
determined to be a valid date format.  The question of what to do with invalid date formats is not answered here.&lt;br /&gt;
&lt;br /&gt;
The date parts in the input table are converted to an ISO 8601 conforming date string:&lt;br /&gt;
	single whole dates:		yyyy-mm-dd&lt;br /&gt;
	month and year dates:	yyyy-mm&lt;br /&gt;
	year dates:				yyyy&lt;br /&gt;
	ranges:					yyyy-mm-dd/yyyy-mm-dd&lt;br /&gt;
							yyyy-mm/yyyy-mm&lt;br /&gt;
							yyyy/yyyy&lt;br /&gt;
&lt;br /&gt;
Dates in the Julian calendar are reduced to year or year/year so that we don&#039;t have to do calendar conversion from&lt;br /&gt;
Julian to Proleptic Gregorian.&lt;br /&gt;
&lt;br /&gt;
The input table has:&lt;br /&gt;
	year, year2 – always present; if before 1582, ignore months and days if present&lt;br /&gt;
	month, month2 – 0 if not provided, 1-12 for months, 21-24 for seasons; 99 Christmas&lt;br /&gt;
	day, day2 –  0 if not provided, 1-31 for days&lt;br /&gt;
	&lt;br /&gt;
the output table receives:&lt;br /&gt;
	rftdate:	an ISO 8601 formatted date&lt;br /&gt;
	rftchron:	a free-form version of the date, usually without year which is in rftdate (season ranges and proper-name dates)&lt;br /&gt;
	rftssn:		one of four season keywords: winter, spring, summer, fall (lowercase)&lt;br /&gt;
	rftquarter:	one of four values: 1, 2, 3, 4&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function make_COinS_date (input, tCOinS_date)&lt;br /&gt;
	local date;																	-- one date or first date in a range&lt;br /&gt;
	local date2 = &#039;&#039;;															-- end of range date&lt;br /&gt;
	input.year = tonumber (input.year) or lang_object:parseFormattedNumber (input.year);	-- language-aware tonumber()&lt;br /&gt;
	input.year2 = tonumber (input.year2) or lang_object:parseFormattedNumber (input.year2);	-- COinS dates are pseudo-ISO 8601 so convert to Arabic numerals&lt;br /&gt;
&lt;br /&gt;
	if ((1582 == input.year) and (10 &amp;gt; tonumber(input.month))) or (1582 &amp;gt; input.year) then	-- if a Julian calendar date&lt;br /&gt;
		tCOinS_date.rftdate = tostring (input.year);							-- &amp;amp;rft.date gets year only&lt;br /&gt;
		return;																	-- done&lt;br /&gt;
	end&lt;br /&gt;
																				-- here for all forms of Gregorian dates&lt;br /&gt;
	if 20 &amp;lt; tonumber (input.month) then											-- if season, quarter, or proper-name date&lt;br /&gt;
		date = input.year;														-- &amp;amp;rft.date gets year only&lt;br /&gt;
		if 0 ~= input.year2 and input.year ~= input.year2 then					-- if a range, only the second year portion when not the same as range start year&lt;br /&gt;
			date = string.format (&#039;%.4d/%.4d&#039;, input.year, input.year2)			-- assemble the date range&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		local season = {[24] = &#039;winter&#039;, [21] = &#039;spring&#039;, [22] = &#039;summer&#039;, [23] = &#039;fall&#039;, [33] = &#039;1&#039;, [34] = &#039;2&#039;, [35] = &#039;3&#039;, [36] = &#039;4&#039;, [98] = &#039;Easter&#039;, [99] = &#039;Christmas&#039;};	-- seasons lowercase, no autumn; proper-names use title case&lt;br /&gt;
		if 0 == input.month2 then												-- single season, quarter, or proper-name date&lt;br /&gt;
			if 40 &amp;lt; tonumber(input.month) then&lt;br /&gt;
				tCOinS_date.rftchron = season[input.month];						-- proper-name date; used in journal metadata only&lt;br /&gt;
			elseif 30 &amp;lt; tonumber(input.month) then&lt;br /&gt;
				tCOinS_date.rftquarter = season[input.month];					-- quarter date; used in journal metadata only&lt;br /&gt;
			else&lt;br /&gt;
				tCOinS_date.rftssn = season[input.month];						-- season date; used in journal metadata only&lt;br /&gt;
			end&lt;br /&gt;
		else																	-- season ranges are lumped into &amp;amp;rft.chron; &amp;amp;rft.ssn and &amp;amp;rft.quarter are left blank&lt;br /&gt;
			if input.year ~= input.year2 then									-- season year – season year range or season year–year&lt;br /&gt;
				if 0 ~= input.month2 then&lt;br /&gt;
					tCOinS_date.rftchron = string.format (&#039;%s %s – %s %s&#039;, season[input.month], input.year, season[input.month2], input.year2);	-- used in journal metadata only&lt;br /&gt;
				end&lt;br /&gt;
			else																-- season–season year range&lt;br /&gt;
				tCOinS_date.rftchron = season[input.month] .. &#039;–&#039; .. season[input.month2];	-- season–season year range; used in journal metadata only&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		tCOinS_date.rftdate = tostring (date);&lt;br /&gt;
		return;																	-- done&lt;br /&gt;
	end&lt;br /&gt;
																				-- here for gregorian calendar dates&lt;br /&gt;
	if 0 ~= input.day then&lt;br /&gt;
		date = string.format (&#039;%s-%.2d-%.2d&#039;, input.year, tonumber(input.month), tonumber(input.day));	-- whole date&lt;br /&gt;
	elseif 0 ~= input.month then&lt;br /&gt;
		date = string.format (&#039;%s-%.2d&#039;, input.year, tonumber(input.month));	-- year and month&lt;br /&gt;
	else&lt;br /&gt;
		date = string.format (&#039;%s&#039;, input.year);								-- just year&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if 0 ~= input.year2 then&lt;br /&gt;
		if 0 ~= input.day2 then&lt;br /&gt;
			date2 = string.format (&#039;/%s-%.2d-%.2d&#039;, input.year2, tonumber(input.month2), tonumber(input.day2));		-- whole date&lt;br /&gt;
		elseif 0 ~= input.month2 then&lt;br /&gt;
			date2 = string.format (&#039;/%s-%.2d&#039;, input.year2, tonumber(input.month2));	-- year and month&lt;br /&gt;
		else&lt;br /&gt;
			date2 = string.format (&#039;/%s&#039;, input.year2);							-- just year&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	tCOinS_date.rftdate = date .. date2;										-- date2 has the &#039;/&#039; separator&lt;br /&gt;
	return;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; P A T T E R N S _ T &amp;gt;----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
this is the list of patterns for date formats that this module recognizes.  Approximately the first half of these&lt;br /&gt;
patterns represent formats that might be reformatted into another format.  Those that might be reformatted have&lt;br /&gt;
&#039;indicator&#039; letters that identify the content of the matching capture: &#039;d&#039; (day), &#039;m&#039; (month), &#039;a&#039; (anchor year),&lt;br /&gt;
&#039;y&#039; (year); second day, month, year have a &#039;2&#039; suffix.&lt;br /&gt;
&lt;br /&gt;
These patterns are used for both date validation and for reformatting.  This table should not be moved to ~/Configuration&lt;br /&gt;
because changes to this table require changes to check_date() and to reformatter() and reformat_date()&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local patterns_t = {&lt;br /&gt;
	 																			-- year-initial numerical year-month-day&lt;br /&gt;
	[&#039;ymd&#039;] = {&#039;^(%d%d%d%d)%-(%d%d)%-(%d%d)$&#039;, &#039;y&#039;, &#039;m&#039;, &#039;d&#039;},					&lt;br /&gt;
																				-- month-initial: month day, year&lt;br /&gt;
	[&#039;Mdy&#039;] = {&#039;^(%D-) +([1-9]%d?), +((%d%d%d%d?)%a?)$&#039;, &#039;m&#039;, &#039;d&#039;, &#039;a&#039;, &#039;y&#039;},&lt;br /&gt;
																				-- month-initial day range: month day–day, year; days are separated by endash&lt;br /&gt;
	[&#039;Md-dy&#039;] = {&#039;^(%D-) +([1-9]%d?)[%-–]([1-9]%d?), +((%d%d%d%d)%a?)$&#039;, &#039;m&#039;, &#039;d&#039;, &#039;d2&#039;, &#039;a&#039;, &#039;y&#039;},&lt;br /&gt;
																				-- day-initial: day month year&lt;br /&gt;
	[&#039;dMy&#039;] = {&#039;^([1-9]%d?) +(%D-) +((%d%d%d%d?)%a?)$&#039;, &#039;d&#039;, &#039;m&#039;, &#039;a&#039;, &#039;y&#039;},&lt;br /&gt;
																				-- year-initial: year month day; day: 1 or 2 two digits, leading zero allowed; not supported at en.wiki&lt;br /&gt;
	--	[&#039;yMd&#039;] = {&#039;^((%d%d%d%d?)%a?) +(%D-) +(%d%d?)$&#039;, &#039;a&#039;, &#039;y&#039;, &#039;m&#039;, &#039;d&#039;},&lt;br /&gt;
																				-- day-range-initial: day–day month year; days are separated by endash&lt;br /&gt;
	[&#039;d-dMy&#039;] = {&#039;^([1-9]%d?)[%-–]([1-9]%d?) +(%D-) +((%d%d%d%d)%a?)$&#039;, &#039;d&#039;, &#039;d2&#039;, &#039;m&#039;, &#039;a&#039;, &#039;y&#039;},&lt;br /&gt;
																				-- day initial month-day-range: day month - day month year; uses spaced endash&lt;br /&gt;
	[&#039;dM-dMy&#039;] = {&#039;^([1-9]%d?) +(%D-) +[%-–] +([1-9]%d?) +(%D-) +((%d%d%d%d)%a?)$&#039;, &#039;d&#039;, &#039;m&#039;, &#039;d2&#039;, &#039;m2&#039;, &#039;a&#039;, &#039;y&#039;},&lt;br /&gt;
																				-- month initial month-day-range: month day – month day, year;  uses spaced endash&lt;br /&gt;
	[&#039;Md-Mdy&#039;] = {&#039;^(%D-) +([1-9]%d?) +[%-–] +(%D-) +([1-9]%d?), +((%d%d%d%d)%a?)$&#039;,&#039;m&#039;, &#039;d&#039;, &#039;m2&#039;, &#039;d2&#039;, &#039;a&#039;, &#039;y&#039;},&lt;br /&gt;
																				-- day initial month-day-year-range: day month year - day month year; uses spaced endash&lt;br /&gt;
	[&#039;dMy-dMy&#039;] = {&#039;^([1-9]%d?) +(%D-) +(%d%d%d%d) +[%-–] +([1-9]%d?) +(%D-) +((%d%d%d%d)%a?)$&#039;, &#039;d&#039;, &#039;m&#039;, &#039;y&#039;, &#039;d2&#039;, &#039;m2&#039;, &#039;a&#039;, &#039;y2&#039;},&lt;br /&gt;
																				-- month initial month-day-year-range: month day, year – month day, year;  uses spaced endash&lt;br /&gt;
	[&#039;Mdy-Mdy&#039;] = {&#039;^(%D-) +([1-9]%d?), +(%d%d%d%d) +[%-–] +(%D-) +([1-9]%d?), +((%d%d%d%d)%a?)$&#039;, &#039;m&#039;, &#039;d&#039;, &#039;y&#039;, &#039;m2&#039;, &#039;d2&#039;, &#039;a&#039;, &#039;y2&#039;},&lt;br /&gt;
&lt;br /&gt;
																				-- these date formats cannot be converted, per se, but month name can be rendered short or long&lt;br /&gt;
																				-- month/season year - month/season year; separated by spaced endash&lt;br /&gt;
	[&#039;My-My&#039;] = {&#039;^(%D-) +(%d%d%d%d) +[%-–] +(%D-) +((%d%d%d%d)%a?)$&#039;, &#039;m&#039;, &#039;y&#039;, &#039;m2&#039;, &#039;a&#039;, &#039;y2&#039;},&lt;br /&gt;
																				-- month/season range year; months separated by endash&lt;br /&gt;
	[&#039;M-My&#039;] = {&#039;^(%D-)[%-–](%D-) +((%d%d%d%d)%a?)$&#039;, &#039;m&#039;, &#039;m2&#039;, &#039;a&#039;, &#039;y&#039;},&lt;br /&gt;
																				-- month/season year or proper-name year; quarter year when First Quarter YYYY etc.&lt;br /&gt;
	[&#039;My&#039;] = {&#039;^([^%d–]-) +((%d%d%d%d)%a?)$&#039;, &#039;m&#039;, &#039;a&#039;, &#039;y&#039;},					-- this way because endash is a member of %D; %D- will match January–March 2019 when it shouldn&#039;t&lt;br /&gt;
&lt;br /&gt;
																				-- these date formats cannot be converted&lt;br /&gt;
	[&#039;Sy4-y2&#039;] = {&#039;^(%D-) +((%d%d)%d%d)[%-–]((%d%d)%a?)$&#039;},						-- special case Winter/Summer year-year (YYYY-YY); year separated with unspaced endash&lt;br /&gt;
	[&#039;Sy-y&#039;] = {&#039;^(%D-) +(%d%d%d%d)[%-–]((%d%d%d%d)%a?)$&#039;},						-- special case Winter/Summer year-year; year separated with unspaced endash&lt;br /&gt;
	[&#039;y-y&#039;] = {&#039;^(%d%d%d%d?)[%-–]((%d%d%d%d?)%a?)$&#039;},							-- year range: YYY-YYY or YYY-YYYY or YYYY–YYYY; separated by unspaced endash; 100-9999&lt;br /&gt;
	[&#039;y4-y2&#039;] = {&#039;^((%d%d)%d%d)[%-–]((%d%d)%a?)$&#039;},								-- year range: YYYY–YY; separated by unspaced endash&lt;br /&gt;
	[&#039;y&#039;] = {&#039;^((%d%d%d%d?)%a?)$&#039;},												-- year; here accept either YYY or YYYY&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ V A L I D _ E M B A R G O _ D A T E &amp;gt;------------------------------------&lt;br /&gt;
&lt;br /&gt;
returns true and date value if that value has proper dmy, mdy, ymd format.&lt;br /&gt;
&lt;br /&gt;
returns false and 9999 (embargoed forever) when date value is not proper format; assumes that when |pmc-embargo-date= is&lt;br /&gt;
set, the editor intended to embargo a PMC but |pmc-embargo-date= does not hold a single date.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_valid_embargo_date (v)&lt;br /&gt;
	if v:match (patterns_t[&#039;ymd&#039;][1]) or										-- ymd&lt;br /&gt;
		v:match (patterns_t[&#039;Mdy&#039;][1]) or										-- dmy&lt;br /&gt;
		v:match (patterns_t[&#039;dMy&#039;][1]) then										-- mdy&lt;br /&gt;
			return true, v;&lt;br /&gt;
	end&lt;br /&gt;
	return false, &#039;9999&#039;;														-- if here not good date so return false and set embargo date to long time in future&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C H E C K _ D A T E &amp;gt;----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Check date format to see that it is one of the formats approved by WP:DATESNO or WP:DATERANGE. Exception: only&lt;br /&gt;
allowed range separator is endash.  Additionally, check the date to see that it is a real date: no 31 in 30-day&lt;br /&gt;
months; no 29 February when not a leap year.  Months, both long-form and three character abbreviations, and seasons&lt;br /&gt;
must be spelled correctly.  Future years beyond next year are not allowed.&lt;br /&gt;
&lt;br /&gt;
If the date fails the format tests, this function returns false and does not return values for anchor_year and&lt;br /&gt;
COinS_date.  When this happens, the date parameter is (DEBUG: not?) used in the COinS metadata and the CITEREF identifier gets&lt;br /&gt;
its year from the year parameter if present otherwise CITEREF does not get a date value.&lt;br /&gt;
&lt;br /&gt;
Inputs:&lt;br /&gt;
	date_string - date string from date-holding parameters (date, year, publication-date, access-date, pmc-embargo-date, archive-date, lay-date)&lt;br /&gt;
&lt;br /&gt;
Returns:&lt;br /&gt;
	false if date string is not a real date; else&lt;br /&gt;
	true, anchor_year, COinS_date&lt;br /&gt;
		anchor_year can be used in CITEREF anchors&lt;br /&gt;
		COinS_date is ISO 8601 format date; see make_COInS_date()&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function check_date (date_string, param, tCOinS_date)&lt;br /&gt;
	local year;																	-- assume that year2, months, and days are not used;&lt;br /&gt;
	local year2 = 0;															-- second year in a year range&lt;br /&gt;
	local month = 0;&lt;br /&gt;
	local month2 = 0;															-- second month in a month range&lt;br /&gt;
	local day = 0;&lt;br /&gt;
	local day2 = 0;																-- second day in a day range&lt;br /&gt;
	local anchor_year;&lt;br /&gt;
	local coins_date;&lt;br /&gt;
&lt;br /&gt;
	if date_string:match (patterns_t[&#039;ymd&#039;][1]) then							-- year-initial numerical year month day format&lt;br /&gt;
		year, month, day = date_string:match (patterns_t[&#039;ymd&#039;][1]);&lt;br /&gt;
		if 12 &amp;lt; tonumber(month) or 1 &amp;gt; tonumber(month) or 1582 &amp;gt; tonumber(year) or 0 == tonumber(day) then return false; end	-- month or day number not valid or not Gregorian calendar&lt;br /&gt;
		anchor_year = year;&lt;br /&gt;
	&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;Mdy&#039;][1]) then				-- month-initial: month day, year&lt;br /&gt;
		month, day, anchor_year, year = mw.ustring.match(date_string, patterns_t[&#039;Mdy&#039;][1]);&lt;br /&gt;
		month = get_month_number (month);&lt;br /&gt;
		if 0 == month then return false; end									-- return false if month text isn&#039;t one of the twelve months&lt;br /&gt;
				&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;Md-dy&#039;][1]) then			-- month-initial day range: month day–day, year; days are separated by endash&lt;br /&gt;
		month, day, day2, anchor_year, year = mw.ustring.match(date_string, patterns_t[&#039;Md-dy&#039;][1]);&lt;br /&gt;
		if tonumber(day) &amp;gt;= tonumber(day2) then return false; end				-- date range order is left to right: earlier to later; dates may not be the same;&lt;br /&gt;
		month = get_month_number (month);&lt;br /&gt;
		if 0 == month then return false; end									-- return false if month text isn&#039;t one of the twelve months&lt;br /&gt;
		month2=month;															-- for metadata&lt;br /&gt;
		year2 = year;&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;dMy&#039;][1]) then				-- day-initial: day month year&lt;br /&gt;
		day, month, anchor_year, year = mw.ustring.match(date_string, patterns_t[&#039;dMy&#039;][1]);&lt;br /&gt;
		month = get_month_number (month);&lt;br /&gt;
		if 0 == month then return false; end									-- return false if month text isn&#039;t one of the twelve months&lt;br /&gt;
&lt;br /&gt;
--[[ NOT supported at en.wiki&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;yMd&#039;][1]) then				-- year-initial: year month day; day: 1 or 2 two digits, leading zero allowed&lt;br /&gt;
		anchor_year, year, month, day = mw.ustring.match(date_string, patterns_t[&#039;yMd&#039;][1]);&lt;br /&gt;
		month = get_month_number (month);&lt;br /&gt;
		if 0 == month then return false; end									-- return false if month text isn&#039;t one of the twelve months&lt;br /&gt;
-- end NOT supported at en.wiki ]]&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;d-dMy&#039;][1]) then			-- day-range-initial: day–day month year; days are separated by endash&lt;br /&gt;
		day, day2, month, anchor_year, year = mw.ustring.match(date_string, patterns_t[&#039;d-dMy&#039;][1]);&lt;br /&gt;
		if tonumber(day) &amp;gt;= tonumber(day2) then return false; end				-- date range order is left to right: earlier to later; dates may not be the same;&lt;br /&gt;
		month = get_month_number (month);&lt;br /&gt;
		if 0 == month then return false; end									-- return false if month text isn&#039;t one of the twelve months&lt;br /&gt;
		month2 = month;															-- for metadata&lt;br /&gt;
		year2 = year;&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;dM-dMy&#039;][1]) then			-- day initial month-day-range: day month - day month year; uses spaced endash&lt;br /&gt;
		day, month, day2, month2, anchor_year, year = mw.ustring.match(date_string, patterns_t[&#039;dM-dMy&#039;][1]);&lt;br /&gt;
		if (not is_valid_month_season_range(month, month2)) or not is_valid_year(year) then return false; end	-- date range order is left to right: earlier to later;&lt;br /&gt;
		month = get_month_number (month);										-- for metadata&lt;br /&gt;
		month2 = get_month_number (month2);&lt;br /&gt;
		year2 = year;&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;Md-Mdy&#039;][1]) then			-- month initial month-day-range: month day – month day, year; uses spaced endash&lt;br /&gt;
		month, day, month2, day2, anchor_year, year = mw.ustring.match(date_string, patterns_t[&#039;Md-Mdy&#039;][1]);&lt;br /&gt;
		if (not is_valid_month_season_range(month, month2, param)) or not is_valid_year(year) then return false; end&lt;br /&gt;
		month = get_month_number (month);										-- for metadata&lt;br /&gt;
		month2 = get_month_number (month2);&lt;br /&gt;
		year2 = year;&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;dMy-dMy&#039;][1]) then			-- day initial month-day-year-range: day month year - day month year; uses spaced endash&lt;br /&gt;
		day, month, year, day2, month2, anchor_year, year2 = mw.ustring.match(date_string, patterns_t[&#039;dMy-dMy&#039;][1]);&lt;br /&gt;
		if tonumber(year2) &amp;lt;= tonumber(year) then return false; end				-- must be sequential years, left to right, earlier to later&lt;br /&gt;
		if not is_valid_year(year2) or not is_valid_month_range_style(month, month2) then return false; end		-- year2 no more than one year in the future; months same style&lt;br /&gt;
		month = get_month_number (month);										-- for metadata&lt;br /&gt;
		month2 = get_month_number (month2);&lt;br /&gt;
		if 0 == month or 0 == month2 then return false; end						-- both must be valid&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;Mdy-Mdy&#039;][1]) then			-- month initial month-day-year-range: month day, year – month day, year; uses spaced endash&lt;br /&gt;
		month, day, year, month2, day2, anchor_year, year2 = mw.ustring.match(date_string, patterns_t[&#039;Mdy-Mdy&#039;][1]);&lt;br /&gt;
		if tonumber(year2) &amp;lt;= tonumber(year) then return false; end				-- must be sequential years, left to right, earlier to later&lt;br /&gt;
		if not is_valid_year(year2) or not is_valid_month_range_style(month, month2) then return false; end		-- year2 no more than one year in the future; months same style&lt;br /&gt;
		month = get_month_number (month);										-- for metadata&lt;br /&gt;
		month2 = get_month_number(month2);&lt;br /&gt;
		if 0 == month or 0 == month2 then return false; end						-- both must be valid&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;Sy4-y2&#039;][1]) then			-- special case Winter/Summer year-year (YYYY-YY); year separated with unspaced endash&lt;br /&gt;
		local century;&lt;br /&gt;
		month, year, century, anchor_year, year2 = mw.ustring.match(date_string, patterns_t[&#039;Sy4-y2&#039;][1]);&lt;br /&gt;
		if &#039;Winter&#039; ~= month and &#039;Summer&#039; ~= month then return false end;		-- &#039;month&#039; can only be Winter or Summer&lt;br /&gt;
		anchor_year = year .. &#039;–&#039; .. anchor_year;								-- assemble anchor_year from both years&lt;br /&gt;
		year2 = century..year2;													-- add the century to year2 for comparisons&lt;br /&gt;
		if 1 ~= tonumber(year2) - tonumber(year) then return false; end			-- must be sequential years, left to right, earlier to later&lt;br /&gt;
		if not is_valid_year(year2) then return false; end						-- no year farther in the future than next year&lt;br /&gt;
		month = get_season_number(month, param);&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;Sy-y&#039;][1]) then			-- special case Winter/Summer year-year; year separated with unspaced endash&lt;br /&gt;
		month, year, anchor_year, year2 = mw.ustring.match(date_string, patterns_t[&#039;Sy-y&#039;][1]);&lt;br /&gt;
		month = get_season_number (month, param);								-- &amp;lt;month&amp;gt; can only be winter or summer; also for metadata&lt;br /&gt;
		if (month ~= cfg.date_names[&#039;en&#039;].season[&#039;Winter&#039;]) and (month ~= cfg.date_names[&#039;en&#039;].season[&#039;Summer&#039;]) then&lt;br /&gt;
			return false;														-- not Summer or Winter; abandon&lt;br /&gt;
		end&lt;br /&gt;
		anchor_year = year .. &#039;–&#039; .. anchor_year;								-- assemble anchor_year from both years&lt;br /&gt;
		if 1 ~= tonumber(year2) - tonumber(year) then return false; end			-- must be sequential years, left to right, earlier to later&lt;br /&gt;
		if not is_valid_year(year2) then return false; end						-- no year farther in the future than next year&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;My-My&#039;][1]) then			-- month/season year - month/season year; separated by spaced endash&lt;br /&gt;
		month, year, month2, anchor_year, year2 = mw.ustring.match(date_string, patterns_t[&#039;My-My&#039;][1]);&lt;br /&gt;
		anchor_year = year .. &#039;–&#039; .. anchor_year;								-- assemble anchor_year from both years&lt;br /&gt;
		if tonumber(year) &amp;gt;= tonumber(year2) then return false; end				-- left to right, earlier to later, not the same&lt;br /&gt;
		if not is_valid_year(year2) then return false; end						-- no year farther in the future than next year&lt;br /&gt;
		if 0 ~= get_month_number(month) and 0 ~= get_month_number(month2) and is_valid_month_range_style(month, month2) then 	-- both must be month year, same month style&lt;br /&gt;
			month = get_month_number(month);&lt;br /&gt;
			month2 = get_month_number(month2);&lt;br /&gt;
		elseif 0 ~= get_season_number(month, param) and 0 ~= get_season_number(month2, param) then	-- both must be season year, not mixed&lt;br /&gt;
			month = get_season_number(month, param);&lt;br /&gt;
			month2 = get_season_number(month2, param);&lt;br /&gt;
		else&lt;br /&gt;
			 return false;&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;M-My&#039;][1]) then			-- month/season range year; months separated by endash &lt;br /&gt;
		month, month2, anchor_year, year = mw.ustring.match(date_string, patterns_t[&#039;M-My&#039;][1]);&lt;br /&gt;
		if (not is_valid_month_season_range(month, month2, param)) or (not is_valid_year(year)) then return false; end&lt;br /&gt;
		if 0 ~= get_month_number(month) then									-- determined to be a valid range so just check this one to know if month or season&lt;br /&gt;
			month = get_month_number(month);&lt;br /&gt;
			month2 = get_month_number(month2);&lt;br /&gt;
			if 0 == month or 0 == month2 then return false; end&lt;br /&gt;
		else&lt;br /&gt;
			month = get_season_number(month, param);&lt;br /&gt;
			month2 = get_season_number(month2, param);&lt;br /&gt;
		end&lt;br /&gt;
		year2 = year;&lt;br /&gt;
		&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;My&#039;][1]) then				-- month/season/quarter/proper-name year&lt;br /&gt;
		month, anchor_year, year = mw.ustring.match(date_string, patterns_t[&#039;My&#039;][1]);&lt;br /&gt;
		if not is_valid_year(year) then return false; end&lt;br /&gt;
		month = get_element_number(month, param);								-- get month season quarter proper-name number or nil&lt;br /&gt;
		if not month then return false; end										-- not valid whatever it is&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;y-y&#039;][1]) then				-- Year range: YYY-YYY or YYY-YYYY or YYYY–YYYY; separated by unspaced endash; 100-9999&lt;br /&gt;
		year, anchor_year, year2 = mw.ustring.match(date_string, patterns_t[&#039;y-y&#039;][1]);&lt;br /&gt;
		anchor_year = year .. &#039;–&#039; .. anchor_year;								-- assemble anchor year from both years&lt;br /&gt;
		if tonumber(year) &amp;gt;= tonumber(year2) then return false; end				-- left to right, earlier to later, not the same&lt;br /&gt;
		if not is_valid_year(year2) then return false; end						-- no year farther in the future than next year&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;y4-y2&#039;][1]) then			-- Year range: YYYY–YY; separated by unspaced endash&lt;br /&gt;
		local century;&lt;br /&gt;
		year, century, anchor_year, year2 = mw.ustring.match(date_string, patterns_t[&#039;y4-y2&#039;][1]);&lt;br /&gt;
		anchor_year = year .. &#039;–&#039; .. anchor_year;								-- assemble anchor year from both years&lt;br /&gt;
&lt;br /&gt;
		if 13 &amp;gt; tonumber(year2) then return false; end							-- don&#039;t allow 2003-05 which might be May 2003&lt;br /&gt;
		year2 = century .. year2;												-- add the century to year2 for comparisons&lt;br /&gt;
		if tonumber(year) &amp;gt;= tonumber(year2) then return false; end				-- left to right, earlier to later, not the same&lt;br /&gt;
		if not is_valid_year(year2) then return false; end						-- no year farther in the future than next year&lt;br /&gt;
&lt;br /&gt;
		if in_array (param, {&#039;date&#039;, &#039;publication-date&#039;, &#039;year&#039;}) then			-- here when &#039;valid&#039; abbreviated year range; if one of these parameters&lt;br /&gt;
			add_prop_cat (&#039;year-range-abbreviated&#039;);							-- add properties cat&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, patterns_t[&#039;y&#039;][1]) then				-- year; here accept either YYY or YYYY&lt;br /&gt;
		anchor_year, year = mw.ustring.match(date_string, patterns_t[&#039;y&#039;][1]);&lt;br /&gt;
		if false == is_valid_year(year) then&lt;br /&gt;
			return false;&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	else&lt;br /&gt;
		return false;															-- date format not one of the MOS:DATE approved formats&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if param ~= &#039;date&#039; then														-- CITEREF disambiguation only allowed in |date=; |year= &amp;amp; |publication-date= promote to date&lt;br /&gt;
		if anchor_year:match (&#039;%l$&#039;) then&lt;br /&gt;
			return false;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if &#039;access-date&#039; == param then												-- test access-date here because we have numerical date parts&lt;br /&gt;
		if 0 ~= year and 0 ~= month and 0 ~= day and 							-- all parts of a single date required&lt;br /&gt;
			0 == year2 and 0 == month2 and 0 == day2 then						-- none of these; access-date must not be a range&lt;br /&gt;
				if not is_valid_accessdate(year .. &#039;-&#039; .. month .. &#039;-&#039; .. day) then	&lt;br /&gt;
					return false;												-- return false when access-date out of bounds&lt;br /&gt;
				end&lt;br /&gt;
		else&lt;br /&gt;
			return false;														-- return false when access-date is a range of two dates&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if &#039;archive-date&#039; == param then												-- test archive-date here because we have numerical date parts&lt;br /&gt;
		if not (0 ~= year and 0 ~= month and 0 ~= day and						-- all parts of a single date required&lt;br /&gt;
			0 == year2 and 0 == month2 and 0 == day2) then						-- none of these; archive-date must not be a range&lt;br /&gt;
				return false;													-- return false when archive-date is a range of two dates&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local result=true;															-- check whole dates for validity; assume true because not all dates will go through this test&lt;br /&gt;
	if 0 ~= year and 0 ~= month and 0 ~= day and 0 == year2 and 0 == month2 and 0 == day2 then		-- YMD (simple whole date)&lt;br /&gt;
		result = is_valid_date (year, month, day, param);						-- &amp;lt;param&amp;gt; for |pmc-embargo-date=&lt;br /&gt;
&lt;br /&gt;
	elseif 0 ~= year and 0 ~= month and 0 ~= day and 0 == year2 and 0 == month2 and 0 ~= day2 then	-- YMD-d (day range)&lt;br /&gt;
		result = is_valid_date (year, month, day);&lt;br /&gt;
		result = result and is_valid_date (year, month, day2);&lt;br /&gt;
&lt;br /&gt;
	elseif 0 ~= year and 0 ~= month and 0 ~= day and 0 == year2 and 0 ~= month2 and 0 ~= day2 then	-- YMD-md (day month range)&lt;br /&gt;
		result = is_valid_date (year, month, day);&lt;br /&gt;
		result = result and is_valid_date (year, month2, day2);&lt;br /&gt;
&lt;br /&gt;
	elseif 0 ~= year and 0 ~= month and 0 ~= day and 0 ~= year2 and 0 ~= month2 and 0 ~= day2 then	-- YMD-ymd (day month year range)&lt;br /&gt;
		result = is_valid_date(year, month, day);&lt;br /&gt;
		result = result and is_valid_date(year2, month2, day2);&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if false == result then return false; end&lt;br /&gt;
&lt;br /&gt;
	if nil ~= tCOinS_date then													-- this table only passed into this function when testing |date= parameter values&lt;br /&gt;
		make_COinS_date ({year = year, month = month, day = day, year2 = year2, month2 = month2, day2 = day2}, tCOinS_date);	-- make an ISO 8601 date string for COinS&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return true, anchor_year;													-- format is good and date string represents a real date&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; D A T E S &amp;gt;--------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Cycle the date-holding parameters in passed table date_parameters_list through check_date() to check compliance with MOS:DATE. For all valid dates, check_date() returns&lt;br /&gt;
true. The |date= parameter test is unique, it is the only date holding parameter from which values for anchor_year (used in CITEREF identifiers) and COinS_date (used in&lt;br /&gt;
the COinS metadata) are derived.  The |date= parameter is the only date-holding parameter that is allowed to contain the no-date keywords &amp;quot;n.d.&amp;quot; or &amp;quot;nd&amp;quot; (without quotes).&lt;br /&gt;
&lt;br /&gt;
Unlike most error messages created in this module, only one error message is created by this function. Because all of the date holding parameters are processed serially,&lt;br /&gt;
parameters with errors are added to the &amp;lt;error_list&amp;gt; sequence table as the dates are tested.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function dates(date_parameters_list, tCOinS_date, error_list)&lt;br /&gt;
	local anchor_year;															-- will return as nil if the date being tested is not |date=&lt;br /&gt;
	local COinS_date;															-- will return as nil if the date being tested is not |date=&lt;br /&gt;
	local embargo_date;															-- if embargo date is a good dmy, mdy, ymd date then holds original value else reset to 9999&lt;br /&gt;
	local good_date = false;&lt;br /&gt;
&lt;br /&gt;
	for k, v in pairs(date_parameters_list) do									-- for each date-holding parameter in the list&lt;br /&gt;
		if is_set(v.val) then													-- if the parameter has a value&lt;br /&gt;
			v.val = mw.ustring.gsub(v.val, &#039;%d&#039;, cfg.date_names.local_digits);	-- translate &#039;local&#039; digits to Western 0-9&lt;br /&gt;
			if v.val:match(&amp;quot;^c%. [1-9]%d%d%d?%a?$&amp;quot;) then						-- special case for c. year or with or without CITEREF disambiguator - only |date= and |year=&lt;br /&gt;
				local year = v.val:match(&amp;quot;c%. ([1-9]%d%d%d?)%a?&amp;quot;);				-- get the year portion so it can be tested&lt;br /&gt;
				if &#039;date&#039; == k then&lt;br /&gt;
					anchor_year, COinS_date = v.val:match(&amp;quot;((c%. [1-9]%d%d%d?)%a?)&amp;quot;);	-- anchor year and COinS_date only from |date= parameter&lt;br /&gt;
					good_date = is_valid_year(year);&lt;br /&gt;
				elseif &#039;year&#039; == k then&lt;br /&gt;
					good_date = is_valid_year(year);&lt;br /&gt;
				end&lt;br /&gt;
			elseif &#039;date&#039; == k then												-- if the parameter is |date=&lt;br /&gt;
				if v.val:match(&amp;quot;^n%.d%.%a?$&amp;quot;) then -- ToDo: I18N								-- if |date=n.d. with or without a CITEREF disambiguator&lt;br /&gt;
					good_date, anchor_year, COinS_date = true, v.val:match(&amp;quot;((n%.d%.)%a?)&amp;quot;); -- ToDo: I18N	-- &amp;quot;n.d.&amp;quot;; no error when date parameter is set to no date&lt;br /&gt;
				elseif v.val:match(&amp;quot;^nd%a?$&amp;quot;) then -- ToDo: I18N								-- if |date=nd with or without a CITEREF disambiguator&lt;br /&gt;
					good_date, anchor_year, COinS_date = true, v.val:match(&amp;quot;((nd)%a?)&amp;quot;); -- ToDo: I18N	-- &amp;quot;nd&amp;quot;;	no error when date parameter is set to no date&lt;br /&gt;
				else&lt;br /&gt;
					good_date, anchor_year, COinS_date = check_date (v.val, k, tCOinS_date);	-- go test the date&lt;br /&gt;
				end&lt;br /&gt;
			elseif &#039;year&#039; == k then												-- if the parameter is |year= it should hold only a year value&lt;br /&gt;
				if v.val:match(&amp;quot;^[1-9]%d%d%d?%a?$&amp;quot;) then						-- if |year = 3 or 4 digits only with or without a CITEREF disambiguator&lt;br /&gt;
					good_date, anchor_year, COinS_date = true, v.val:match(&amp;quot;((%d+)%a?)&amp;quot;);&lt;br /&gt;
				end&lt;br /&gt;
			elseif &#039;pmc-embargo-date&#039; == k then									-- if the parameter is |pmc-embargo-date=&lt;br /&gt;
				good_date = check_date (v.val, k);								-- go test the date&lt;br /&gt;
				if true == good_date then										-- if the date is a valid date&lt;br /&gt;
					good_date, embargo_date = is_valid_embargo_date (v.val);	-- is |pmc-embargo-date= date a single dmy, mdy, or ymd formatted date? yes: returns embargo date; no: returns 9999&lt;br /&gt;
				end&lt;br /&gt;
			else																-- any other date-holding parameter&lt;br /&gt;
				good_date = check_date (v.val, k);								-- go test the date&lt;br /&gt;
			end&lt;br /&gt;
			if false == good_date then											-- assemble one error message so we don&#039;t add the tracking category multiple times&lt;br /&gt;
				table.insert (error_list, wrap_style (&#039;parameter&#039;, v.name));	-- make parameter name suitable for error message list&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return anchor_year, embargo_date;											-- and done&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; Y E A R _ C H E C K &amp;gt;----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Temporary function to test |year= for acceptable values:&lt;br /&gt;
	YYY, YYYY, year-only ranges, their circa forms, with or without CITEREF disambiguators.&lt;br /&gt;
&lt;br /&gt;
When |year= holds some form of date that is not one of these year-only dates, emit a maintenance message.&lt;br /&gt;
&lt;br /&gt;
This function necessary because many non-cs1|2 templates have a |year= parameter so cirrus searches are more-or-&lt;br /&gt;
less useless&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function year_check (year)&lt;br /&gt;
	year = year:gsub (&#039;c%. *&#039;, &#039;&#039;);												-- remove circa annotation (if present) before testing &amp;lt;year&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
	for _, index in ipairs ({&#039;y-y&#039;, &#039;y4-y2&#039;, &#039;y&#039;}) do							-- spin through these indexes into patterns_t&lt;br /&gt;
		if mw.ustring.match (year, patterns_t[index][1]) then&lt;br /&gt;
			return;																-- if a match then |year= holds a valid &#039;year&#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	set_message (&#039;maint_year&#039;);													-- if here, |year= value is not an accepted value; add a maint cat&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; Y E A R _ D A T E _ C H E C K &amp;gt;------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Compare the value provided in |year= with the year value(s) provided in |date=.  This function sets a local numeric value:&lt;br /&gt;
	0 - year value does not match the year value in date&lt;br /&gt;
	1 - (default) year value matches the year value in date or one of the year values when date contains two years&lt;br /&gt;
	2 - year value matches the year value in date when date is in the form YYYY-MM-DD and year is disambiguated (|year=YYYYx)&lt;br /&gt;
&lt;br /&gt;
the numeric value in &amp;lt;result&amp;gt; determines the &#039;output&#039; if any from this function:&lt;br /&gt;
	0 – adds error message to error_list sequence table&lt;br /&gt;
	1 – adds maint cat&lt;br /&gt;
	2 – does nothing&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function year_date_check (year_string, year_origin, date_string, date_origin, error_list)&lt;br /&gt;
	local year;&lt;br /&gt;
	local date1;&lt;br /&gt;
	local date2;&lt;br /&gt;
	local result = 1;															-- result of the test; assume that the test passes&lt;br /&gt;
&lt;br /&gt;
	year = year_string:match (&#039;(%d%d%d%d?)&#039;);&lt;br /&gt;
&lt;br /&gt;
	if date_string:match (&#039;%d%d%d%d%-%d%d%-%d%d&#039;) and year_string:match (&#039;%d%d%d%d%a&#039;) then	--special case where both date and year are required YYYY-MM-DD and YYYYx&lt;br /&gt;
		date1 = date_string:match (&#039;(%d%d%d%d)&#039;);&lt;br /&gt;
		year = year_string:match (&#039;(%d%d%d%d)&#039;);&lt;br /&gt;
		if year ~= date1 then&lt;br /&gt;
			result = 0;															-- years don&#039;t match&lt;br /&gt;
		else&lt;br /&gt;
			result = 2;															-- years match; but because disambiguated, don&#039;t add to maint cat&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
	elseif date_string:match (&amp;quot;%d%d%d%d?.-%d%d%d%d?&amp;quot;) then						-- any of the standard range formats of date with two three- or four-digit years&lt;br /&gt;
		date1, date2 = date_string:match (&amp;quot;(%d%d%d%d?).-(%d%d%d%d?)&amp;quot;);&lt;br /&gt;
		if year ~= date1 and year ~= date2 then&lt;br /&gt;
			result = 0;&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	elseif mw.ustring.match(date_string, &amp;quot;%d%d%d%d[%-–]%d%d&amp;quot;) then				-- YYYY-YY date ranges&lt;br /&gt;
		local century;&lt;br /&gt;
		date1, century, date2 = mw.ustring.match(date_string, &amp;quot;((%d%d)%d%d)[%-–]+(%d%d)&amp;quot;);&lt;br /&gt;
		date2 = century..date2;													-- convert YY to YYYY&lt;br /&gt;
		if year ~= date1 and year ~= date2 then&lt;br /&gt;
			result = 0;&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	elseif date_string:match (&amp;quot;%d%d%d%d?&amp;quot;) then									-- any of the standard formats of date with one year&lt;br /&gt;
		date1 = date_string:match (&amp;quot;(%d%d%d%d?)&amp;quot;);&lt;br /&gt;
		if year ~= date1 then&lt;br /&gt;
			result = 0;&lt;br /&gt;
		end&lt;br /&gt;
	else																		-- should never get here; this function called only when no other date errors&lt;br /&gt;
		result = 0;																-- no recognizable year in date&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if 0 == result then															-- year / date mismatch&lt;br /&gt;
		table.insert (error_list, substitute (cfg.messages[&#039;mismatch&#039;], {year_origin, date_origin}));	-- add error message to error_list sequence table&lt;br /&gt;
	elseif 1 == result then														-- redundant year / date&lt;br /&gt;
		set_message (&#039;maint_date_year&#039;);										-- add a maint cat&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; R E F O R M A T T E R &amp;gt;--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
reformat &#039;date&#039; into new format specified by format_param if pattern_idx (the current format of &#039;date&#039;) can be&lt;br /&gt;
reformatted.  Does the grunt work for reformat_dates().&lt;br /&gt;
&lt;br /&gt;
The table re_formats maps pattern_idx (current format) and format_param (desired format) to a table that holds:&lt;br /&gt;
	format string used by string.format()&lt;br /&gt;
	identifier letters (&#039;d&#039;, &#039;m&#039;, &#039;y&#039;, &#039;d2&#039;, &#039;m2&#039;, &#039;y2&#039;) that serve as indexes into a table t{} that holds captures&lt;br /&gt;
		from mw.ustring.match() for the various date parts specified by  patterns_t[pattern_idx][1]&lt;br /&gt;
&lt;br /&gt;
Items in patterns_t{} have the general form:&lt;br /&gt;
	[&#039;ymd&#039;] = {&#039;^(%d%d%d%d)%-(%d%d)%-(%d%d)$&#039;, &#039;y&#039;, &#039;m&#039;, &#039;d&#039;}, where:&lt;br /&gt;
		[&#039;ymd&#039;] is pattern_idx&lt;br /&gt;
		patterns_t[&#039;ymd&#039;][1] is the match pattern with captures for mw.ustring.match()&lt;br /&gt;
		patterns_t[&#039;ymd&#039;][2] is an indicator letter identifying the content of the first capture&lt;br /&gt;
		patterns_t[&#039;ymd&#039;][3] ... the second capture etc.&lt;br /&gt;
&lt;br /&gt;
when a pattern matches a date, the captures are loaded into table t{} in capture order using the idemtifier&lt;br /&gt;
characters as indexes into t{}  For the above, a ymd date is in t{} as:&lt;br /&gt;
	t.y = first capture (year), t.m = second capture (month), t.d = third capture (day)&lt;br /&gt;
&lt;br /&gt;
To reformat, this function is called with the pattern_idx that matches the current format of the date and with&lt;br /&gt;
format_param set to the desired format.  This function loads table t{} as described and then calls string.format()&lt;br /&gt;
with the format string specified by re_format[pattern_idx][format_param][1] using values taken from t{} according&lt;br /&gt;
to the capture identifier letters specified by patterns_t[pattern_idx][format_param][n] where n is 2..&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local re_formats = {&lt;br /&gt;
	[&#039;ymd&#039;] = {																	-- date format is ymd; reformat to:&lt;br /&gt;
		[&#039;mdy&#039;] = {&#039;%s %s, %s&#039;, &#039;m&#039;, &#039;d&#039;, &#039;y&#039;},									-- |df=mdy&lt;br /&gt;
		[&#039;dmy&#039;] = {&#039;%s %s %s&#039;, &#039;d&#039;, &#039;m&#039;, &#039;y&#039;},									-- |df=dmy&lt;br /&gt;
	--		[&#039;yMd&#039;] = {&#039;%s %s %s&#039;, &#039;y&#039;, &#039;m&#039;, &#039;d&#039;},								-- |df=yMd; not supported at en.wiki&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;Mdy&#039;] = {																	-- date format is Mdy; reformat to:&lt;br /&gt;
		[&#039;mdy&#039;] = {&#039;%s %s, %s&#039;, &#039;m&#039;, &#039;d&#039;, &#039;y&#039;},									-- for long/short reformatting&lt;br /&gt;
		[&#039;dmy&#039;] = {&#039;%s %s %s&#039;, &#039;d&#039;, &#039;m&#039;, &#039;y&#039;},									-- |df=dmy&lt;br /&gt;
		[&#039;ymd&#039;] = {&#039;%s-%s-%s&#039;, &#039;y&#039;, &#039;m&#039;, &#039;d&#039;},									-- |df=ymd&lt;br /&gt;
	--		[&#039;yMd&#039;] = {&#039;%s %s %s&#039;, &#039;y&#039;, &#039;m&#039;, &#039;d&#039;},								-- |df=yMd; not supported at en.wiki&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;dMy&#039;] = {																	-- date format is dMy; reformat to:&lt;br /&gt;
		[&#039;dmy&#039;] = {&#039;%s %s %s&#039;, &#039;d&#039;, &#039;m&#039;, &#039;y&#039;},									-- for long/short reformatting&lt;br /&gt;
		[&#039;mdy&#039;] = {&#039;%s %s, %s&#039;, &#039;m&#039;, &#039;d&#039;, &#039;y&#039;},									-- |df=mdy&lt;br /&gt;
		[&#039;ymd&#039;] = {&#039;%s-%s-%s&#039;, &#039;y&#039;, &#039;m&#039;, &#039;d&#039;},									-- |df=ymd&lt;br /&gt;
	--		[&#039;yMd&#039;] = {&#039;%s %s %s&#039;, &#039;y&#039;, &#039;m&#039;, &#039;d&#039;},								-- |df=yMd; not supported at en.wiki&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;Md-dy&#039;] = {																-- date format is Md-dy; reformat to:&lt;br /&gt;
		[&#039;mdy&#039;] = {&#039;%s %s–%s, %s&#039;, &#039;m&#039;, &#039;d&#039;, &#039;d2&#039;, &#039;y&#039;},						-- for long/short reformatting&lt;br /&gt;
		[&#039;dmy&#039;] = {&#039;%s–%s %s %s&#039;, &#039;d&#039;, &#039;d2&#039;, &#039;m&#039;, &#039;y&#039;},							-- |df=dmy -&amp;gt; d-dMy &lt;br /&gt;
		},&lt;br /&gt;
	[&#039;d-dMy&#039;] = {																-- date format is d-d&amp;gt;y; reformat to:&lt;br /&gt;
		[&#039;dmy&#039;] = {&#039;%s–%s %s %s&#039;, &#039;d&#039;, &#039;d2&#039;, &#039;m&#039;, &#039;y&#039;},							-- for long/short reformatting&lt;br /&gt;
		[&#039;mdy&#039;] = {&#039;%s %s–%s, %s&#039;, &#039;m&#039;, &#039;d&#039;, &#039;d2&#039;, &#039;y&#039;},						-- |df=mdy -&amp;gt; Md-dy &lt;br /&gt;
		},&lt;br /&gt;
	[&#039;dM-dMy&#039;] = {																-- date format is dM-dMy; reformat to:&lt;br /&gt;
		[&#039;dmy&#039;] = {&#039;%s %s – %s %s %s&#039;, &#039;d&#039;, &#039;m&#039;, &#039;d2&#039;, &#039;m2&#039;, &#039;y&#039;},				-- for long/short reformatting&lt;br /&gt;
		[&#039;mdy&#039;] = {&#039;%s %s – %s %s, %s&#039;, &#039;m&#039;, &#039;d&#039;, &#039;m2&#039;, &#039;d2&#039;, &#039;y&#039;},				-- |df=mdy -&amp;gt; Md-Mdy &lt;br /&gt;
		},&lt;br /&gt;
	[&#039;Md-Mdy&#039;] = {																-- date format is Md-Mdy; reformat to:&lt;br /&gt;
		[&#039;mdy&#039;] = {&#039;%s %s – %s %s, %s&#039;, &#039;m&#039;, &#039;d&#039;,  &#039;m2&#039;, &#039;d2&#039;, &#039;y&#039;},			-- for long/short reformatting&lt;br /&gt;
		[&#039;dmy&#039;] = {&#039;%s %s – %s %s %s&#039;, &#039;d&#039;, &#039;m&#039;, &#039;d2&#039;, &#039;m2&#039;, &#039;y&#039;},				-- |df=dmy -&amp;gt; dM-dMy &lt;br /&gt;
		},&lt;br /&gt;
	[&#039;dMy-dMy&#039;] = {																-- date format is dMy-dMy; reformat to:&lt;br /&gt;
		[&#039;dmy&#039;] = {&#039;%s %s %s – %s %s %s&#039;, &#039;d&#039;, &#039;m&#039;, &#039;y&#039;, &#039;d2&#039;, &#039;m2&#039;, &#039;y2&#039;},		-- for long/short reformatting&lt;br /&gt;
		[&#039;mdy&#039;] = {&#039;%s %s, %s – %s %s, %s&#039;, &#039;m&#039;, &#039;d&#039;, &#039;y&#039;, &#039;m2&#039;, &#039;d2&#039;, &#039;y2&#039;},	-- |df=mdy -&amp;gt; Mdy-Mdy &lt;br /&gt;
		},&lt;br /&gt;
	[&#039;Mdy-Mdy&#039;] = {																-- date format is Mdy-Mdy; reformat to:&lt;br /&gt;
		[&#039;mdy&#039;] = {&#039;%s %s, %s – %s %s, %s&#039;, &#039;m&#039;, &#039;d&#039;, &#039;y&#039;, &#039;m2&#039;, &#039;d2&#039;, &#039;y2&#039;},	-- for long/short reformatting&lt;br /&gt;
		[&#039;dmy&#039;] = {&#039;%s %s %s – %s %s %s&#039;, &#039;d&#039;, &#039;m&#039;, &#039;y&#039;, &#039;d2&#039;, &#039;m2&#039;, &#039;y2&#039;},		-- |df=dmy -&amp;gt; dMy-dMy &lt;br /&gt;
		},&lt;br /&gt;
	[&#039;My-My&#039;] = {																-- these for long/short reformatting&lt;br /&gt;
		[&#039;any&#039;] = {&#039;%s %s – %s %s&#039;, &#039;m&#039;, &#039;y&#039;, &#039;m2&#039;, &#039;y2&#039;},						-- dmy/mdy agnostic&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;M-My&#039;] = {																-- these for long/short reformatting&lt;br /&gt;
		[&#039;any&#039;] = {&#039;%s–%s %s&#039;, &#039;m&#039;, &#039;m2&#039;, &#039;y&#039;},									-- dmy/mdy agnostic&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;My&#039;] = {																	-- these for long/short reformatting&lt;br /&gt;
		[&#039;any&#039;] = {&#039;%s %s&#039;, &#039;m&#039;, &#039;y&#039;},											-- dmy/mdy agnostic&lt;br /&gt;
		},&lt;br /&gt;
	--	[&#039;yMd&#039;] = {																-- not supported at en.wiki&lt;br /&gt;
	--		[&#039;mdy&#039;] = {&#039;%s %s, %s&#039;, &#039;m&#039;, &#039;d&#039;, &#039;y&#039;},								-- |df=mdy&lt;br /&gt;
	--		[&#039;dmy&#039;] = {&#039;%s %s %s&#039;, &#039;d&#039;, &#039;m&#039;, &#039;y&#039;},								-- |df=dmy&lt;br /&gt;
	--		[&#039;ymd&#039;] = {&#039;%s-%s-%s&#039;, &#039;y&#039;, &#039;m&#039;, &#039;d&#039;},								-- |df=ymd&lt;br /&gt;
	--		},&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
local function reformatter (date, pattern_idx, format_param, mon_len)&lt;br /&gt;
	if not in_array (pattern_idx, {&#039;ymd&#039;, &#039;Mdy&#039;, &#039;Md-dy&#039;, &#039;dMy&#039;, &#039;yMd&#039;, &#039;d-dMy&#039;, &#039;dM-dMy&#039;, &#039;Md-Mdy&#039;, &#039;dMy-dMy&#039;, &#039;Mdy-Mdy&#039;, &#039;My-My&#039;, &#039;M-My&#039;, &#039;My&#039;}) then&lt;br /&gt;
		return;																	-- not in this set of date format patterns_t then not a reformattable date&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if &#039;ymd&#039; == format_param and in_array (pattern_idx, {&#039;ymd&#039;, &#039;Md-dy&#039;, &#039;d-dMy&#039;, &#039;dM-dMy&#039;, &#039;Md-Mdy&#039;, &#039;dMy-dMy&#039;, &#039;Mdy-Mdy&#039;, &#039;My-My&#039;, &#039;M-My&#039;, &#039;My&#039;}) then&lt;br /&gt;
		return;																	-- ymd date ranges not supported at en.wiki; no point in reformatting ymd to ymd&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if in_array (pattern_idx, {&#039;My&#039;, &#039;M-My&#039;, &#039;My-My&#039;}) then						-- these are not dmy/mdy so can&#039;t be &#039;reformatted&#039; into either&lt;br /&gt;
		format_param = &#039;any&#039;;													-- so format-agnostic &lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
																				-- yMd is not supported at en.wiki; when yMd is supported at your wiki, uncomment the next line&lt;br /&gt;
	--	if &#039;yMd&#039; == format_param and in_array (pattern_idx, {&#039;yMd&#039;, &#039;Md-dy&#039;, &#039;d-dMy&#039;, &#039;dM-dMy&#039;, &#039;Md-Mdy&#039;, &#039;dMy-dMy&#039;, &#039;Mdy-Mdy&#039;}) then	-- these formats not convertable; yMd not supported at en.wiki&lt;br /&gt;
	if &#039;yMd&#039; == format_param then												-- yMd not supported at en.wiki; when yMd is supported at your wiki, remove or comment-out this line&lt;br /&gt;
		return;																	-- not a reformattable date&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local c1, c2, c3, c4, c5, c6, c7;											-- these hold the captures specified in patterns_t[pattern_idx][1]&lt;br /&gt;
	c1, c2, c3, c4, c5, c6, c7 = mw.ustring.match (date, patterns_t[pattern_idx][1]);	-- get the captures&lt;br /&gt;
&lt;br /&gt;
	local t = {																	-- table that holds k/v pairs of date parts from the captures and patterns_t[pattern_idx][2..]&lt;br /&gt;
		[patterns_t[pattern_idx][2]] = c1;										-- at minimum there is always one capture with a matching indicator letter&lt;br /&gt;
		[patterns_t[pattern_idx][3] or &#039;x&#039;] = c2;								-- patterns_t can have a variable number of captures; each capture requires an indicator letter;&lt;br /&gt;
		[patterns_t[pattern_idx][4] or &#039;x&#039;] = c3;								-- where there is no capture, there is no indicator letter so n in patterns_t[pattern_idx][n] will be nil;&lt;br /&gt;
		[patterns_t[pattern_idx][5] or &#039;x&#039;] = c4;								-- the &#039;x&#039; here spoofs an indicator letter to prevent &#039;table index is nil&#039; error&lt;br /&gt;
		[patterns_t[pattern_idx][6] or &#039;x&#039;] = c5;&lt;br /&gt;
		[patterns_t[pattern_idx][7] or &#039;x&#039;] = c6;&lt;br /&gt;
		[patterns_t[pattern_idx][8] or &#039;x&#039;] = c7;&lt;br /&gt;
		};&lt;br /&gt;
&lt;br /&gt;
	if t.a then																	-- if this date has an anchor year capture (all convertable date formats except ymd)&lt;br /&gt;
		if t.y2 then															-- for year range date formats														&lt;br /&gt;
			t.y2 = t.a;															-- use the anchor year capture when reassembling the date&lt;br /&gt;
		else																	-- here for single date formats (except ymd)&lt;br /&gt;
			t.y = t.a;															-- use the anchor year capture when reassembling the date&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if tonumber(t.m) then														-- if raw month is a number (converting from ymd)&lt;br /&gt;
		if &#039;s&#039; == mon_len then													-- if we are to use abbreviated month names&lt;br /&gt;
			t.m = cfg.date_names[&#039;inv_local_short&#039;][tonumber(t.m)];					-- convert it to a month name&lt;br /&gt;
		else&lt;br /&gt;
			t.m = cfg.date_names[&#039;inv_local_long&#039;][tonumber(t.m)];					-- convert it to a month name&lt;br /&gt;
		end&lt;br /&gt;
		t.d = t.d:gsub (&#039;0(%d)&#039;, &#039;%1&#039;);											-- strip leading &#039;0&#039; from day if present&lt;br /&gt;
	elseif &#039;ymd&#039; == format_param then											-- when converting to ymd&lt;br /&gt;
		t.y = t.y:gsub (&#039;%a&#039;, &#039;&#039;);												-- strip CITREF disambiguator if present; anchor year already known so process can proceed; TODO: maint message?&lt;br /&gt;
		if 1582 &amp;gt; tonumber (t.y) then											-- ymd format dates not allowed before 1582&lt;br /&gt;
			return;&lt;br /&gt;
		end&lt;br /&gt;
		t.m = string.format (&#039;%02d&#039;, get_month_number (t.m));					-- make sure that month and day are two digits&lt;br /&gt;
		t.d = string.format (&#039;%02d&#039;, t.d);&lt;br /&gt;
	elseif mon_len then															-- if mon_len is set to either &#039;short&#039; or &#039;long&#039;&lt;br /&gt;
		for _, mon in ipairs ({&#039;m&#039;, &#039;m2&#039;}) do									-- because there can be two month names, check both &lt;br /&gt;
			if t[mon] then&lt;br /&gt;
				t[mon] = get_month_number (t[mon]);								-- get the month number for this month (is length agnostic)&lt;br /&gt;
				if 0 == t[mon] then return; end									-- seasons and named dates can&#039;t be converted&lt;br /&gt;
				t[mon] = ((&#039;s&#039; == mon_len) and cfg.date_names[&#039;inv_local_short&#039;][t[mon]]) or cfg.date_names[&#039;inv_local_long&#039;][t[mon]];	-- fetch month name according to length&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local new_date = string.format (re_formats[pattern_idx][format_param][1],	-- format string&lt;br /&gt;
		t[re_formats[pattern_idx][format_param][2]],							-- named captures from t{}&lt;br /&gt;
		t[re_formats[pattern_idx][format_param][3]],&lt;br /&gt;
		t[re_formats[pattern_idx][format_param][4]],&lt;br /&gt;
		t[re_formats[pattern_idx][format_param][5]],&lt;br /&gt;
		t[re_formats[pattern_idx][format_param][6]],&lt;br /&gt;
		t[re_formats[pattern_idx][format_param][7]],&lt;br /&gt;
		t[re_formats[pattern_idx][format_param][8]]&lt;br /&gt;
		);&lt;br /&gt;
&lt;br /&gt;
	return new_date;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-------------------------&amp;lt; R E F O R M A T _ D A T E S &amp;gt;--------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Reformats existing dates into the format specified by format.&lt;br /&gt;
&lt;br /&gt;
format is one of several manual keywords: dmy, dmy-all, mdy, mdy-all, ymd, ymd-all.  The -all version includes&lt;br /&gt;
access- and archive-dates; otherwise these dates are not reformatted.&lt;br /&gt;
&lt;br /&gt;
This function allows automatic date formatting.  In ~/Configuration, the article source is searched for one of&lt;br /&gt;
the {{use xxx dates}} templates.  If found, xxx becomes the global date format as xxx-all.  If |cs1-dates= in&lt;br /&gt;
{{use xxx dates}} has legitimate value then that value determines how cs1|2 dates will be rendered.  Legitimate&lt;br /&gt;
values for |cs1-dates= are:&lt;br /&gt;
	l - all dates are rendered with long month names&lt;br /&gt;
	ls - publication dates use long month names; access-/archive-dates use abbreviated month names&lt;br /&gt;
	ly - publication dates use long month names; access-/archive-dates rendered in ymd format&lt;br /&gt;
	s - all dates are rendered with abbreviated (short) month names&lt;br /&gt;
	sy - publication dates use abbreviated month names; access-/archive-dates rendered in ymd format&lt;br /&gt;
	y - all dates are rendered in ymd format&lt;br /&gt;
&lt;br /&gt;
the format argument for automatic date formatting will be the format specified by {{use xxx dates}} with the&lt;br /&gt;
value supplied by |cs1-dates so one of: xxx-l, xxx-ls, xxx-ly, xxx-s, xxx-sy, xxx-y, or simply xxx (|cs1-dates=&lt;br /&gt;
empty, omitted, or invalid) where xxx shall be either of dmy or mdy.&lt;br /&gt;
&lt;br /&gt;
dates are extracted from date_parameters_list, reformatted (if appropriate), and then written back into the&lt;br /&gt;
list in the new format.  Dates in date_parameters_list are presumed here to be valid (no errors).  This function&lt;br /&gt;
returns true when a date has been reformatted, false else.  Actual reformatting is done by reformatter().&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function reformat_dates (date_parameters_list, format)&lt;br /&gt;
	local all = false;															-- set to false to skip access- and archive-dates&lt;br /&gt;
	local len_p = &#039;l&#039;;															-- default publication date length shall be long&lt;br /&gt;
	local len_a = &#039;l&#039;;															-- default access-/archive-date length shall be long&lt;br /&gt;
	local result = false;&lt;br /&gt;
	local new_date;																&lt;br /&gt;
	&lt;br /&gt;
	if format:match(&#039;%a+%-all&#039;) then											-- manual df keyword; auto df keyword when length not specified in {{use xxx dates}}; &lt;br /&gt;
		format = format:match(&#039;(%a+)%-all&#039;);									-- extract the format&lt;br /&gt;
		all = true;																-- all dates are long format dates because this keyword doesn&#039;t specify length&lt;br /&gt;
	elseif format:match(&#039;%a+%-[lsy][sy]?&#039;) then									-- auto df keywords; internal only&lt;br /&gt;
		all = true;																-- auto df applies to all dates; use length specified by capture len_p for all dates&lt;br /&gt;
		format, len_p, len_a = format:match(&#039;(%a+)%-([lsy])([sy]?)&#039;);			-- extract the format and length keywords&lt;br /&gt;
		if &#039;y&#039; == len_p then													-- because allowed by MOS:DATEUNIFY (sort of) range dates and My dates not reformatted&lt;br /&gt;
			format = &#039;ymd&#039;;														-- override {{use xxx dates}}&lt;br /&gt;
		elseif (not is_set(len_a)) or (len_p == len_a) then						-- no access-/archive-date length specified or same length as publication dates then&lt;br /&gt;
			len_a = len_p;														-- in case len_a not set&lt;br /&gt;
		end&lt;br /&gt;
	end																			-- else only publication dates and they are long&lt;br /&gt;
&lt;br /&gt;
	for param_name, param_val in pairs (date_parameters_list) do				-- for each date-holding parameter in the list&lt;br /&gt;
		if is_set (param_val.val) then											-- if the parameter has a value&lt;br /&gt;
			if not (not all and in_array (param_name, {&#039;access-date&#039;, &#039;archive-date&#039;})) then	-- skip access- or archive-date unless format is xxx-all; yeah, ugly; TODO: find a better way&lt;br /&gt;
				for pattern_idx, pattern in pairs (patterns_t) do&lt;br /&gt;
					if mw.ustring.match (param_val.val, pattern[1]) then&lt;br /&gt;
						if all and in_array (param_name, {&#039;access-date&#039;, &#039;archive-date&#039;}) then	-- if this date is an access- or archive-date&lt;br /&gt;
							new_date = reformatter (param_val.val, pattern_idx, ((&#039;y&#039; == len_a) and &#039;ymd&#039;) or format, len_a);	-- choose ymd or dmy/mdy according to len_a setting&lt;br /&gt;
						else													-- all other dates&lt;br /&gt;
							new_date = reformatter (param_val.val, pattern_idx, format, len_p);&lt;br /&gt;
						end&lt;br /&gt;
						&lt;br /&gt;
						if new_date then										-- set when date was reformatted&lt;br /&gt;
							date_parameters_list[param_name].val = new_date;	-- update date in date list&lt;br /&gt;
							result = true;										-- and announce that changes have been made&lt;br /&gt;
							break;&lt;br /&gt;
						end&lt;br /&gt;
					end	-- if&lt;br /&gt;
				end		-- for&lt;br /&gt;
			end			-- if&lt;br /&gt;
		end				-- if&lt;br /&gt;
	end					-- for&lt;br /&gt;
	return result;																-- declare boolean result and done&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; D A T E _ H Y P H E N _ T O _ D A S H &amp;gt;----------------------------------------&lt;br /&gt;
&lt;br /&gt;
Loops through the list of date-holding parameters and converts any hyphen to an ndash.  Not called if the cs1|2&lt;br /&gt;
template has any date errors.&lt;br /&gt;
&lt;br /&gt;
Modifies the date_parameters_list and returns true if hyphens are replaced, else returns false.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function date_hyphen_to_dash (date_parameters_list)&lt;br /&gt;
	local result = false;&lt;br /&gt;
	local n;&lt;br /&gt;
	for param_name, param_val in pairs(date_parameters_list) do					-- for each date-holding parameter in the list&lt;br /&gt;
		if is_set (param_val.val) and&lt;br /&gt;
			not mw.ustring.match (param_val.val, patterns_t.ymd[1]) then		-- for those that are not ymd dates (ustring because here digits may not be Western)&lt;br /&gt;
				param_val.val, n = param_val.val:gsub (&#039;%-&#039;, &#039;–&#039;);				-- replace any hyphen with ndash&lt;br /&gt;
				if 0 ~= n then&lt;br /&gt;
					date_parameters_list[param_name].val = param_val.val;		-- update the list&lt;br /&gt;
					result = true;&lt;br /&gt;
				end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return result;																-- so we know if any hyphens were replaced&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-------------------------&amp;lt; D A T E _ N A M E _ X L A T E &amp;gt;------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Attempts to translate English date names to local-language date names using names supplied by MediaWiki&#039;s&lt;br /&gt;
date parser function.  This is simple name-for-name replacement and may not work for all languages.&lt;br /&gt;
&lt;br /&gt;
if xlat_dig is true, this function will also translate Western (English) digits to the local language&#039;s digits.&lt;br /&gt;
This will also translate ymd dates.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function date_name_xlate (date_parameters_list, xlt_dig)&lt;br /&gt;
	local xlate;&lt;br /&gt;
	local mode;																	-- long or short month names&lt;br /&gt;
	local modified = false;&lt;br /&gt;
	local date;&lt;br /&gt;
	&lt;br /&gt;
	local sources_t = {&lt;br /&gt;
		{cfg.date_names.en.long, cfg.date_names.inv_local_long},				-- for translating long English month names to long local month names&lt;br /&gt;
		{cfg.date_names.en.short, cfg.date_names.inv_local_short},				-- short month names&lt;br /&gt;
		{cfg.date_names.en.quarter, cfg.date_names.inv_local_quarter},			-- quarter date names&lt;br /&gt;
		{cfg.date_names.en.season, cfg.date_names.inv_local_season},			-- season date nam&lt;br /&gt;
		{cfg.date_names.en.named, cfg.date_names.inv_local_named},				-- named dates&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
	local function is_xlateable (month)											-- local function to get local date name that replaces existing English-language date name&lt;br /&gt;
		for _, date_names_t in ipairs (sources_t) do							-- for each sequence table in date_names_t&lt;br /&gt;
			if date_names_t[1][month] then										-- if date name is English month (long or short), quarter, season or named and&lt;br /&gt;
				if date_names_t[2][date_names_t[1][month]] then					-- if there is a matching local date name&lt;br /&gt;
					return date_names_t[2][date_names_t[1][month]];				-- return the local date name&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	for param_name, param_val in pairs(date_parameters_list) do					-- for each date-holding parameter in the list&lt;br /&gt;
		if is_set(param_val.val) then											-- if the parameter has a value&lt;br /&gt;
			date = param_val.val;&lt;br /&gt;
			for month in mw.ustring.gmatch (date, &#039;[%a ]+&#039;) do					-- iterate through all date names in the date (single date or date range)&lt;br /&gt;
				month = mw.text.trim (month);									-- this because quarterly dates contain whitespace&lt;br /&gt;
				xlate = is_xlateable (month);									-- get translate &amp;lt;month&amp;gt;; returns translation or nil&lt;br /&gt;
				&lt;br /&gt;
				if xlate then		&lt;br /&gt;
					date = mw.ustring.gsub (date, month, xlate);				-- replace the English with the translation&lt;br /&gt;
					date_parameters_list[param_name].val = date;				-- save the translated date&lt;br /&gt;
					modified = true;&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
&lt;br /&gt;
			if xlt_dig then														-- shall we also translate digits?&lt;br /&gt;
				date = date:gsub (&#039;%d&#039;, cfg.date_names.xlate_digits);			-- translate digits from Western to &#039;local digits&#039;&lt;br /&gt;
				date_parameters_list[param_name].val = date;					-- save the translated date&lt;br /&gt;
				modified = true;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return modified;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S E T _ S E L E C T E D _ M O D U L E S &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
Sets local imported functions table to same (live or sandbox) as that used by the other modules.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function set_selected_modules (cfg_table_ptr, utilities_page_ptr)&lt;br /&gt;
	add_prop_cat = utilities_page_ptr.add_prop_cat ;							-- import functions from selected Module:Citation/CS1/Utilities module&lt;br /&gt;
	is_set = utilities_page_ptr.is_set;&lt;br /&gt;
	in_array = utilities_page_ptr.in_array;&lt;br /&gt;
	set_message = utilities_page_ptr.set_message;&lt;br /&gt;
	substitute = utilities_page_ptr.substitute;&lt;br /&gt;
	wrap_style = utilities_page_ptr.wrap_style;&lt;br /&gt;
&lt;br /&gt;
	cfg = cfg_table_ptr;														-- import tables from selected Module:Citation/CS1/Configuration&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; A R C H I V E _ D A T E _ C H E C K &amp;gt;------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Compare value in |archive-date= with the timestamp in Wayback machine urls.  Emits an error message with suggested&lt;br /&gt;
date from the |archive-url= timestamp in an appropriate format when the value in |archive-date= does not match&lt;br /&gt;
the timestamp.&lt;br /&gt;
&lt;br /&gt;
this function never called when any date in a cs1|2 template has errors&lt;br /&gt;
&lt;br /&gt;
error message suggests new |archive-date= value in an appropriate format specified by &amp;lt;df&amp;gt;.  &amp;lt;df&amp;gt; is either &lt;br /&gt;
|df= or cfg.global_df in that order.  If &amp;lt;df&amp;gt; is nil, suggested date has format from |archive-date=.  There is&lt;br /&gt;
a caveat: when |df=dmy or |df=mdy, the reformatter leaves |access-date= and |archive-date= formats as they are.&lt;br /&gt;
The error message suggested date is passed to the formatter as YYYY-MM-DD so when |df=dmy or |df=mdy, the format&lt;br /&gt;
is not changed.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function archive_date_check (archive_date, archive_url_timestamp, df)&lt;br /&gt;
	local archive_date_format = &#039;dmy-y&#039;;										-- holds the date format of date in |archive-date; default to ymd; &#039;dmy&#039; used here to spoof reformat_dates() &lt;br /&gt;
	&lt;br /&gt;
	for _, v_t in ipairs ({{&#039;dMy&#039;, &#039;dmy-all&#039;}, {&#039;Mdy&#039;, &#039;mdy-all&#039;}}) do			-- is |archive-date= format dmy or mdy?&lt;br /&gt;
		if archive_date:match (patterns_t[v_t[1]][1]) then						-- does the pattern match?&lt;br /&gt;
			archive_date_format = cfg.keywords_xlate[v_t[2]];					-- get appropriate |df= supported keyword from the i18n translator table&lt;br /&gt;
			break;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local dates_t = {};&lt;br /&gt;
	dates_t[&#039;archive-date&#039;] = {val=archive_date, name=&#039;&#039;};						-- setup to call reformat_dates(); never called when errors so &amp;lt;name&amp;gt; unset as not needed&lt;br /&gt;
	reformat_dates (dates_t, &#039;dmy-y&#039;);											-- reformat |archive-date= to ymd; &#039;dmy&#039; used here to spoof reformat_dates()&lt;br /&gt;
	local archive_url_date = archive_url_timestamp:gsub (&#039;(%d%d%d%d)(%d%d)(%d%d)%d*&#039;, &#039;%1-%2-%3&#039;);	-- make ymd format date from timestamp&lt;br /&gt;
&lt;br /&gt;
	if dates_t[&#039;archive-date&#039;].val == archive_url_date then						-- are the two dates the same&lt;br /&gt;
		return;																	-- yes, done&lt;br /&gt;
	else&lt;br /&gt;
		dates_t[&#039;archive-date&#039;] = {val=archive_url_date, name=&#039;&#039;};				-- setup to call reformat_dates() with the timestamp date&lt;br /&gt;
		reformat_dates (dates_t, df or archive_date_format);					-- reformat timestamp to format specified by &amp;lt;df&amp;gt; or format used in |archive-date= &lt;br /&gt;
		archive_url_date = dates_t[&#039;archive-date&#039;].val;&lt;br /&gt;
		set_message (&#039;err_archive_date_url_ts_mismatch&#039;, archive_url_date);		-- emit an error message&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X P O R T E D   F U N C T I O N S &amp;gt;------------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
return {																		-- return exported functions&lt;br /&gt;
	archive_date_check = archive_date_check,&lt;br /&gt;
	date_hyphen_to_dash = date_hyphen_to_dash,&lt;br /&gt;
	date_name_xlate = date_name_xlate,&lt;br /&gt;
	dates = dates,&lt;br /&gt;
	reformat_dates = reformat_dates,&lt;br /&gt;
	set_selected_modules = set_selected_modules,&lt;br /&gt;
	year_check = year_check,&lt;br /&gt;
	year_date_check = year_date_check,&lt;br /&gt;
	}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Whitelist&amp;diff=65</id>
		<title>Module:Citation/CS1/Whitelist</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Whitelist&amp;diff=65"/>
		<updated>2025-08-04T17:16:43Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;--[[--------------------------&amp;lt; S U P P O R T E D   P A R A M E T E R S &amp;gt;--------------------------------------  Because a steady-state signal conveys no useful information, whitelist.basic_arguments[] list items can have three values: 	true - these parameters are valid and supported parameters 	false - these parameters are deprecated but still supported 	tracked - these parameters are valid and supported parameters tracked in an eponymous properties category 	nil - thes...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--[[--------------------------&amp;lt; S U P P O R T E D   P A R A M E T E R S &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
Because a steady-state signal conveys no useful information, whitelist.basic_arguments[] list items can have three values:&lt;br /&gt;
	true - these parameters are valid and supported parameters&lt;br /&gt;
	false - these parameters are deprecated but still supported&lt;br /&gt;
	tracked - these parameters are valid and supported parameters tracked in an eponymous properties category&lt;br /&gt;
	nil - these parameters are no longer supported. remove entirely&lt;br /&gt;
	&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local basic_arguments_t = {&lt;br /&gt;
	[&#039;accessdate&#039;] = true,&lt;br /&gt;
	[&#039;access-date&#039;] = true,&lt;br /&gt;
	[&#039;agency&#039;] = true,&lt;br /&gt;
	[&#039;archivedate&#039;] = true,&lt;br /&gt;
	[&#039;archive-date&#039;] = true,&lt;br /&gt;
	[&#039;archive-format&#039;] = true,&lt;br /&gt;
	[&#039;archiveurl&#039;] = true,&lt;br /&gt;
	[&#039;archive-url&#039;] = true,&lt;br /&gt;
	[&#039;article&#039;] = true,&lt;br /&gt;
	[&#039;article-format&#039;] = true,&lt;br /&gt;
	[&#039;article-number&#039;] = true,													-- {{cite journal}}, {{cite conference}}; {{citation}} when |journal= has a value&lt;br /&gt;
	[&#039;article-url&#039;] = true,&lt;br /&gt;
	[&#039;article-url-access&#039;] = true,&lt;br /&gt;
	[&#039;arxiv&#039;] = true,															-- cite arxiv; here because allowed in cite ... as identifier&lt;br /&gt;
	[&#039;asin&#039;] = true,&lt;br /&gt;
	[&#039;ASIN&#039;] = true,&lt;br /&gt;
	[&#039;asin-tld&#039;] = true,&lt;br /&gt;
	[&#039;at&#039;] = true,&lt;br /&gt;
	[&#039;author&#039;] = true,&lt;br /&gt;
	[&#039;author-first&#039;] = true,&lt;br /&gt;
	[&#039;author-given&#039;] = true,&lt;br /&gt;
	[&#039;author-last&#039;] = true,&lt;br /&gt;
	[&#039;author-surname&#039;] = true,&lt;br /&gt;
	[&#039;authorlink&#039;] = true,&lt;br /&gt;
	[&#039;author-link&#039;] = true,&lt;br /&gt;
	[&#039;author-mask&#039;] = true,&lt;br /&gt;
	[&#039;bibcode&#039;] = true,&lt;br /&gt;
	[&#039;bibcode-access&#039;] = true,&lt;br /&gt;
	[&#039;biorxiv&#039;] = true,															-- cite biorxiv; here because allowed in cite ... as identifier&lt;br /&gt;
	[&#039;chapter&#039;] = true,&lt;br /&gt;
	[&#039;chapter-format&#039;] = true,&lt;br /&gt;
	[&#039;chapter-url&#039;] = true,&lt;br /&gt;
	[&#039;chapter-url-access&#039;] = true,&lt;br /&gt;
	[&#039;citeseerx&#039;] = true,														-- cite citeseerx; here because allowed in cite ... as identifier&lt;br /&gt;
	[&#039;collaboration&#039;] = true,&lt;br /&gt;
	[&#039;contribution&#039;] = true,&lt;br /&gt;
	[&#039;contribution-format&#039;] = true,&lt;br /&gt;
	[&#039;contribution-url&#039;] = true,&lt;br /&gt;
	[&#039;contribution-url-access&#039;] = true,&lt;br /&gt;
	[&#039;contributor&#039;] = true,&lt;br /&gt;
	[&#039;contributor-first&#039;] = true,&lt;br /&gt;
	[&#039;contributor-given&#039;] = true,&lt;br /&gt;
	[&#039;contributor-last&#039;] = true,&lt;br /&gt;
	[&#039;contributor-surname&#039;] = true,&lt;br /&gt;
	[&#039;contributor-link&#039;] = true,&lt;br /&gt;
	[&#039;contributor-mask&#039;] = true,&lt;br /&gt;
	[&#039;date&#039;] = true,&lt;br /&gt;
	[&#039;department&#039;] = true,&lt;br /&gt;
	[&#039;df&#039;] = true,&lt;br /&gt;
	[&#039;dictionary&#039;] = true,&lt;br /&gt;
	[&#039;display-authors&#039;] = true,&lt;br /&gt;
	[&#039;display-contributors&#039;] = true,&lt;br /&gt;
	[&#039;display-editors&#039;] = true,&lt;br /&gt;
	[&#039;display-interviewers&#039;] = true,&lt;br /&gt;
	[&#039;display-subjects&#039;] = true,&lt;br /&gt;
	[&#039;display-translators&#039;] = true,&lt;br /&gt;
	[&#039;doi&#039;] = true,&lt;br /&gt;
	[&#039;DOI&#039;] = true,&lt;br /&gt;
	[&#039;doi-access&#039;] = true,&lt;br /&gt;
	[&#039;doi-broken-date&#039;] = true,&lt;br /&gt;
	[&#039;edition&#039;] = true,&lt;br /&gt;
	[&#039;editor&#039;] = true,&lt;br /&gt;
	[&#039;editor-first&#039;] = true,&lt;br /&gt;
	[&#039;editor-given&#039;] = true,&lt;br /&gt;
	[&#039;editor-last&#039;] = true,&lt;br /&gt;
	[&#039;editor-surname&#039;] = true,&lt;br /&gt;
	[&#039;editor-link&#039;] = true,&lt;br /&gt;
	[&#039;editor-mask&#039;] = true,&lt;br /&gt;
	[&#039;eissn&#039;] = true,&lt;br /&gt;
	[&#039;EISSN&#039;] = true,&lt;br /&gt;
	[&#039;encyclopaedia&#039;] = true,&lt;br /&gt;
	[&#039;encyclopedia&#039;] = true,&lt;br /&gt;
	[&#039;entry&#039;] = true,&lt;br /&gt;
	[&#039;entry-format&#039;] = true,&lt;br /&gt;
	[&#039;entry-url&#039;] = true,&lt;br /&gt;
	[&#039;entry-url-access&#039;] = true,&lt;br /&gt;
	[&#039;eprint&#039;] = true,															-- cite arxiv; here because allowed in cite ... as identifier&lt;br /&gt;
	[&#039;first&#039;] = true,&lt;br /&gt;
	[&#039;format&#039;] = true,&lt;br /&gt;
	[&#039;given&#039;] = true,&lt;br /&gt;
	[&#039;hdl&#039;] = true,&lt;br /&gt;
	[&#039;HDL&#039;] = true,&lt;br /&gt;
	[&#039;hdl-access&#039;] = true,&lt;br /&gt;
	[&#039;host&#039;] = true,															-- unique to certain templates?&lt;br /&gt;
	[&#039;id&#039;] = true,&lt;br /&gt;
	[&#039;ID&#039;] = true,&lt;br /&gt;
	[&#039;institution&#039;] = true,														-- constrain to cite thesis?&lt;br /&gt;
	[&#039;interviewer&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-first&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-given&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-last&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-surname&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-link&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-mask&#039;] = true,&lt;br /&gt;
	[&#039;isbn&#039;] = true,&lt;br /&gt;
	[&#039;ISBN&#039;] = true,&lt;br /&gt;
	[&#039;ismn&#039;] = true,&lt;br /&gt;
	[&#039;ISMN&#039;] = true,&lt;br /&gt;
	[&#039;issn&#039;] = true,&lt;br /&gt;
	[&#039;ISSN&#039;] = true,&lt;br /&gt;
	[&#039;issue&#039;] = true,&lt;br /&gt;
	[&#039;jfm&#039;] = true,&lt;br /&gt;
	[&#039;JFM&#039;] = true,&lt;br /&gt;
	[&#039;journal&#039;] = true,&lt;br /&gt;
	[&#039;jstor&#039;] = true,&lt;br /&gt;
	[&#039;JSTOR&#039;] = true,&lt;br /&gt;
	[&#039;jstor-access&#039;] = true,&lt;br /&gt;
	[&#039;lang&#039;] = true,&lt;br /&gt;
	[&#039;language&#039;] = true,&lt;br /&gt;
	[&#039;last&#039;] = true,&lt;br /&gt;
	[&#039;lccn&#039;] = true,&lt;br /&gt;
	[&#039;LCCN&#039;] = true,&lt;br /&gt;
	[&#039;location&#039;] = true,&lt;br /&gt;
	[&#039;magazine&#039;] = true,&lt;br /&gt;
	[&#039;medium&#039;] = true,&lt;br /&gt;
	[&#039;medrxiv&#039;] = true,															-- cite medrxiv; here because allowed in cite ... as identifier&lt;br /&gt;
	[&#039;minutes&#039;] = true,															-- constrain to cite AV media and podcast?&lt;br /&gt;
	[&#039;mode&#039;] = true,&lt;br /&gt;
	[&#039;mr&#039;] = true,&lt;br /&gt;
	[&#039;MR&#039;] = true,&lt;br /&gt;
	[&#039;name-list-style&#039;] = true,&lt;br /&gt;
	[&#039;newspaper&#039;] = true,&lt;br /&gt;
	[&#039;no-pp&#039;] = true,&lt;br /&gt;
	[&#039;no-tracking&#039;] = true,&lt;br /&gt;
	[&#039;number&#039;] = true,&lt;br /&gt;
	[&#039;oclc&#039;] = true,&lt;br /&gt;
	[&#039;OCLC&#039;] = true,&lt;br /&gt;
	[&#039;ol&#039;] = true,&lt;br /&gt;
	[&#039;OL&#039;] = true,&lt;br /&gt;
	[&#039;ol-access&#039;] = true,&lt;br /&gt;
	[&#039;orig-date&#039;] = true,&lt;br /&gt;
	[&#039;origyear&#039;] = true,&lt;br /&gt;
	[&#039;orig-year&#039;] = true,&lt;br /&gt;
	[&#039;osti&#039;] = true,&lt;br /&gt;
	[&#039;OSTI&#039;] = true,&lt;br /&gt;
	[&#039;osti-access&#039;] = true,&lt;br /&gt;
	[&#039;others&#039;] = true,&lt;br /&gt;
	[&#039;p&#039;] = true,&lt;br /&gt;
	[&#039;page&#039;] = true,&lt;br /&gt;
	[&#039;pages&#039;] = true,&lt;br /&gt;
	[&#039;periodical&#039;] = true,&lt;br /&gt;
	[&#039;place&#039;] = true,&lt;br /&gt;
	[&#039;pmc&#039;] = true,&lt;br /&gt;
	[&#039;PMC&#039;] = true,&lt;br /&gt;
	[&#039;pmc-embargo-date&#039;] = true,&lt;br /&gt;
	[&#039;pmid&#039;] = true,&lt;br /&gt;
	[&#039;PMID&#039;] = true,&lt;br /&gt;
	[&#039;postscript&#039;] = true,&lt;br /&gt;
	[&#039;pp&#039;] = true,&lt;br /&gt;
	[&#039;publication-date&#039;] = true,&lt;br /&gt;
	[&#039;publication-place&#039;] = true,&lt;br /&gt;
	[&#039;publisher&#039;] = true,&lt;br /&gt;
	[&#039;quotation&#039;] = true,&lt;br /&gt;
	[&#039;quote&#039;] = true,&lt;br /&gt;
	[&#039;quote-page&#039;] = true,&lt;br /&gt;
	[&#039;quote-pages&#039;] = true,&lt;br /&gt;
	[&#039;ref&#039;] = true,&lt;br /&gt;
	[&#039;rfc&#039;] = true,&lt;br /&gt;
	[&#039;RFC&#039;] = true,&lt;br /&gt;
	[&#039;sbn&#039;] = true,&lt;br /&gt;
	[&#039;SBN&#039;] = true,&lt;br /&gt;
	[&#039;scale&#039;] = true,&lt;br /&gt;
	[&#039;script-article&#039;] = true,&lt;br /&gt;
	[&#039;script-chapter&#039;] = true,&lt;br /&gt;
	[&#039;script-contribution&#039;] = true,&lt;br /&gt;
	[&#039;script-encyclopaedia&#039;] = true,&lt;br /&gt;
	[&#039;script-encyclopedia&#039;] = true,&lt;br /&gt;
	[&#039;script-entry&#039;] = true,&lt;br /&gt;
	[&#039;script-journal&#039;] = true,&lt;br /&gt;
	[&#039;script-magazine&#039;] = true,&lt;br /&gt;
	[&#039;script-newspaper&#039;] = true,&lt;br /&gt;
	[&#039;script-periodical&#039;] = true,&lt;br /&gt;
	[&#039;script-quote&#039;] = true,&lt;br /&gt;
	[&#039;script-section&#039;] = true,&lt;br /&gt;
	[&#039;script-title&#039;] = true,&lt;br /&gt;
	[&#039;script-website&#039;] = true,&lt;br /&gt;
	[&#039;script-work&#039;] = true,&lt;br /&gt;
	[&#039;section&#039;] = true,&lt;br /&gt;
	[&#039;section-format&#039;] = true,&lt;br /&gt;
	[&#039;section-url&#039;] = true,&lt;br /&gt;
	[&#039;section-url-access&#039;] = true,&lt;br /&gt;
	[&#039;series&#039;] = true,&lt;br /&gt;
	[&#039;ssrn&#039;] = true,															-- cite ssrn; these three here because allowed in cite ... as identifier&lt;br /&gt;
	[&#039;SSRN&#039;] = true,&lt;br /&gt;
	[&#039;ssrn-access&#039;] = true,&lt;br /&gt;
	[&#039;subject&#039;] = true,&lt;br /&gt;
	[&#039;subject-first&#039;] = true,&lt;br /&gt;
	[&#039;subject-given&#039;] = true,&lt;br /&gt;
	[&#039;subject-last&#039;] = true,&lt;br /&gt;
	[&#039;subject-link&#039;] = true,&lt;br /&gt;
	[&#039;subject-mask&#039;] = true,&lt;br /&gt;
	[&#039;subject-surname&#039;] = true,&lt;br /&gt;
	[&#039;surname&#039;] = true,&lt;br /&gt;
	[&#039;s2cid&#039;] = true,&lt;br /&gt;
	[&#039;S2CID&#039;] = true,&lt;br /&gt;
	[&#039;s2cid-access&#039;] = true,&lt;br /&gt;
	[&#039;template-doc-demo&#039;] = true,&lt;br /&gt;
	[&#039;time&#039;] = true,															-- constrain to cite av media and podcast?&lt;br /&gt;
	[&#039;time-caption&#039;] = true,													-- constrain to cite av media and podcast?&lt;br /&gt;
	[&#039;title&#039;] = true,&lt;br /&gt;
	[&#039;title-link&#039;] = true,&lt;br /&gt;
	[&#039;title-note&#039;] = true,&lt;br /&gt;
	[&#039;translator&#039;] = true,&lt;br /&gt;
	[&#039;translator-first&#039;] = true,&lt;br /&gt;
	[&#039;translator-given&#039;] = true,&lt;br /&gt;
	[&#039;translator-last&#039;] = true,	&lt;br /&gt;
	[&#039;translator-surname&#039;] = true,&lt;br /&gt;
	[&#039;translator-link&#039;] = true,&lt;br /&gt;
	[&#039;translator-mask&#039;] = true,&lt;br /&gt;
	[&#039;trans-article&#039;] = true,&lt;br /&gt;
	[&#039;trans-chapter&#039;] = true,&lt;br /&gt;
	[&#039;trans-contribution&#039;] = true,&lt;br /&gt;
	[&#039;trans-encyclopaedia&#039;] = true,&lt;br /&gt;
	[&#039;trans-encyclopedia&#039;] = true,&lt;br /&gt;
	[&#039;trans-entry&#039;] = true,&lt;br /&gt;
	[&#039;trans-journal&#039;] = true,&lt;br /&gt;
	[&#039;trans-magazine&#039;] = true,&lt;br /&gt;
	[&#039;trans-newspaper&#039;] = true,&lt;br /&gt;
	[&#039;trans-periodical&#039;] = true,&lt;br /&gt;
	[&#039;trans-quote&#039;] = true,&lt;br /&gt;
	[&#039;trans-section&#039;] = true,&lt;br /&gt;
	[&#039;trans-title&#039;] = true,&lt;br /&gt;
	[&#039;trans-website&#039;] = true,&lt;br /&gt;
	[&#039;trans-work&#039;] = true,&lt;br /&gt;
	[&#039;type&#039;] = true,&lt;br /&gt;
	[&#039;url&#039;] = true,&lt;br /&gt;
	[&#039;URL&#039;] = true,&lt;br /&gt;
	[&#039;url-access&#039;] = true,&lt;br /&gt;
	[&#039;url-status&#039;] = true,&lt;br /&gt;
	[&#039;vauthors&#039;] = true,&lt;br /&gt;
	[&#039;veditors&#039;] = true,&lt;br /&gt;
	[&#039;version&#039;] = true,&lt;br /&gt;
	[&#039;via&#039;] = true,&lt;br /&gt;
	[&#039;volume&#039;] = true,&lt;br /&gt;
	[&#039;website&#039;] = true,&lt;br /&gt;
	[&#039;work&#039;] = true,&lt;br /&gt;
	[&#039;year&#039;] = true,&lt;br /&gt;
	[&#039;zbl&#039;] = true,&lt;br /&gt;
	[&#039;ZBL&#039;] = true,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
local numbered_arguments_t = {&lt;br /&gt;
	[&#039;author#&#039;] = true,&lt;br /&gt;
	[&#039;author-first#&#039;] = true,&lt;br /&gt;
	[&#039;author#-first&#039;] = true,&lt;br /&gt;
	[&#039;author-given#&#039;] = true,&lt;br /&gt;
	[&#039;author#-given&#039;] = true,&lt;br /&gt;
	[&#039;author-last#&#039;] = true,&lt;br /&gt;
	[&#039;author#-last&#039;] = true,&lt;br /&gt;
	[&#039;author-surname#&#039;] = true,&lt;br /&gt;
	[&#039;author#-surname&#039;] = true,&lt;br /&gt;
	[&#039;author-link#&#039;] = true,&lt;br /&gt;
	[&#039;author#-link&#039;] = true,&lt;br /&gt;
	[&#039;authorlink#&#039;] = true,&lt;br /&gt;
	[&#039;author#link&#039;] = true,&lt;br /&gt;
	[&#039;author-mask#&#039;] = true,&lt;br /&gt;
	[&#039;author#-mask&#039;] = true,&lt;br /&gt;
	[&#039;contributor#&#039;] = true,&lt;br /&gt;
	[&#039;contributor-first#&#039;] = true,&lt;br /&gt;
	[&#039;contributor#-first&#039;] = true,&lt;br /&gt;
	[&#039;contributor-given#&#039;] = true,&lt;br /&gt;
	[&#039;contributor#-given&#039;] = true,&lt;br /&gt;
	[&#039;contributor-last#&#039;] = true,&lt;br /&gt;
	[&#039;contributor#-last&#039;] = true,&lt;br /&gt;
	[&#039;contributor-surname#&#039;] = true,&lt;br /&gt;
	[&#039;contributor#-surname&#039;] = true,&lt;br /&gt;
	[&#039;contributor-link#&#039;] = true,&lt;br /&gt;
	[&#039;contributor#-link&#039;] = true,&lt;br /&gt;
	[&#039;contributor-mask#&#039;] = true,&lt;br /&gt;
	[&#039;contributor#-mask&#039;] = true,&lt;br /&gt;
	[&#039;editor#&#039;] = true,&lt;br /&gt;
	[&#039;editor-first#&#039;] = true,&lt;br /&gt;
	[&#039;editor#-first&#039;] = true,&lt;br /&gt;
	[&#039;editor-given#&#039;] = true,&lt;br /&gt;
	[&#039;editor#-given&#039;] = true,&lt;br /&gt;
	[&#039;editor-last#&#039;] = true,&lt;br /&gt;
	[&#039;editor#-last&#039;] = true,&lt;br /&gt;
	[&#039;editor-surname#&#039;] = true,&lt;br /&gt;
	[&#039;editor#-surname&#039;] = true,&lt;br /&gt;
	[&#039;editor-link#&#039;] = true,&lt;br /&gt;
	[&#039;editor#-link&#039;] = true,&lt;br /&gt;
	[&#039;editor-mask#&#039;] = true,&lt;br /&gt;
	[&#039;editor#-mask&#039;] = true,&lt;br /&gt;
	[&#039;first#&#039;] = true,&lt;br /&gt;
	[&#039;given#&#039;] = true,&lt;br /&gt;
	[&#039;host#&#039;] = true,&lt;br /&gt;
	[&#039;interviewer#&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-first#&#039;] = true,&lt;br /&gt;
	[&#039;interviewer#-first&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-given#&#039;] = true,&lt;br /&gt;
	[&#039;interviewer#-given&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-last#&#039;] = true,&lt;br /&gt;
	[&#039;interviewer#-last&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-surname#&#039;] = true,&lt;br /&gt;
	[&#039;interviewer#-surname&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-link#&#039;] = true,&lt;br /&gt;
	[&#039;interviewer#-link&#039;] = true,&lt;br /&gt;
	[&#039;interviewer-mask#&#039;] = true,&lt;br /&gt;
	[&#039;interviewer#-mask&#039;] = true,&lt;br /&gt;
	[&#039;last#&#039;] = true,&lt;br /&gt;
	[&#039;subject#&#039;] = true,&lt;br /&gt;
	[&#039;subject-first#&#039;] = true,&lt;br /&gt;
	[&#039;subject#-first&#039;] = true,&lt;br /&gt;
	[&#039;subject-given#&#039;] = true,&lt;br /&gt;
	[&#039;subject#-given&#039;] = true,&lt;br /&gt;
	[&#039;subject-last#&#039;] = true,&lt;br /&gt;
	[&#039;subject#-last&#039;] = true,&lt;br /&gt;
	[&#039;subject-link#&#039;] = true,&lt;br /&gt;
	[&#039;subject#-link&#039;] = true,&lt;br /&gt;
	[&#039;subject-mask#&#039;] = true,&lt;br /&gt;
	[&#039;subject#-mask&#039;] = true,&lt;br /&gt;
	[&#039;subject-surname#&#039;] = true,&lt;br /&gt;
	[&#039;subject#-surname&#039;] = true,&lt;br /&gt;
	[&#039;surname#&#039;] = true,&lt;br /&gt;
	[&#039;translator#&#039;] = true,&lt;br /&gt;
	[&#039;translator-first#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-first&#039;] = true,&lt;br /&gt;
	[&#039;translator-given#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-given&#039;] = true,&lt;br /&gt;
	[&#039;translator-last#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-last&#039;] = true,&lt;br /&gt;
	[&#039;translator-surname#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-surname&#039;] = true,&lt;br /&gt;
	[&#039;translator-link#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-link&#039;] = true,&lt;br /&gt;
	[&#039;translator-mask#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-mask&#039;] = true,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; P R E P R I N T   S U P P O R T E D   P A R A M E T E R S &amp;gt;--------------------&lt;br /&gt;
&lt;br /&gt;
Cite arXiv, cite biorxiv, cite citeseerx, cite medrxiv, and cite ssrn are preprint templates that use the limited&lt;br /&gt;
set of parameters defined in the limited_basic_arguments and limited_numbered_arguments tables.  Those lists are&lt;br /&gt;
supplemented with a template-specific list of parameters that are required by the particular template and may be&lt;br /&gt;
exclusive to one of the preprint templates.  Some of these parameters may also be available to the general cs1|2&lt;br /&gt;
templates.&lt;br /&gt;
&lt;br /&gt;
Same conventions for true/false/tracked/nil as above.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local preprint_arguments_t = {&lt;br /&gt;
	arxiv = {&lt;br /&gt;
		[&#039;arxiv&#039;] = true,														-- cite arxiv and arxiv identifiers&lt;br /&gt;
		[&#039;class&#039;] = true,&lt;br /&gt;
		[&#039;eprint&#039;] = true,														-- cite arxiv and arxiv identifiers&lt;br /&gt;
		},&lt;br /&gt;
	biorxiv = {&lt;br /&gt;
		[&#039;biorxiv&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	citeseerx = {&lt;br /&gt;
		[&#039;citeseerx&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	medrxiv = {&lt;br /&gt;
		[&#039;medrxiv&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	ssrn = {&lt;br /&gt;
		[&#039;ssrn&#039;] = true,&lt;br /&gt;
		[&#039;SSRN&#039;] = true,&lt;br /&gt;
		[&#039;ssrn-access&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; L I M I T E D   S U P P O R T E D   P A R A M E T E R S &amp;gt;----------------------&lt;br /&gt;
&lt;br /&gt;
cite arxiv, cite biorxiv, cite citeseerx, cite medrxiv, and cite ssrn templates are preprint templates so are&lt;br /&gt;
allowed only a limited subset of parameters allowed to all other cs1|2 templates.  The limited subset is defined&lt;br /&gt;
here.&lt;br /&gt;
&lt;br /&gt;
This list of parameters also used by {{cite document}}&lt;br /&gt;
&lt;br /&gt;
Same conventions for true/false/tracked/nil as above.&lt;br /&gt;
	&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local limited_basic_arguments_t = {&lt;br /&gt;
	[&#039;at&#039;] = true,&lt;br /&gt;
	[&#039;author&#039;] = true,&lt;br /&gt;
	[&#039;author-first&#039;] = true,&lt;br /&gt;
	[&#039;author-given&#039;] = true,&lt;br /&gt;
	[&#039;author-last&#039;] = true,&lt;br /&gt;
	[&#039;author-surname&#039;] = true,&lt;br /&gt;
	[&#039;author-link&#039;] = true,&lt;br /&gt;
	[&#039;authorlink&#039;] = true,&lt;br /&gt;
	[&#039;author-mask&#039;] = true,&lt;br /&gt;
	[&#039;collaboration&#039;] = true,&lt;br /&gt;
	[&#039;date&#039;] = true,&lt;br /&gt;
	[&#039;df&#039;] = true,&lt;br /&gt;
	[&#039;display-authors&#039;] = true,&lt;br /&gt;
	[&#039;first&#039;] = true,&lt;br /&gt;
	[&#039;given&#039;] = true,&lt;br /&gt;
	[&#039;language&#039;] = true,&lt;br /&gt;
	[&#039;last&#039;] = true,&lt;br /&gt;
	[&#039;mode&#039;] = true,&lt;br /&gt;
	[&#039;name-list-style&#039;] = true,&lt;br /&gt;
	[&#039;no-tracking&#039;] = true,&lt;br /&gt;
	[&#039;p&#039;] = true,&lt;br /&gt;
	[&#039;page&#039;] = true,&lt;br /&gt;
	[&#039;pages&#039;] = true,&lt;br /&gt;
	[&#039;postscript&#039;] = true,&lt;br /&gt;
	[&#039;pp&#039;] = true,&lt;br /&gt;
	[&#039;quotation&#039;] = true,&lt;br /&gt;
	[&#039;quote&#039;] = true,&lt;br /&gt;
	[&#039;ref&#039;] = true,&lt;br /&gt;
	[&#039;surname&#039;] = true,&lt;br /&gt;
	[&#039;template-doc-demo&#039;] = true,&lt;br /&gt;
	[&#039;title&#039;] = true,&lt;br /&gt;
	[&#039;trans-title&#039;] = true,&lt;br /&gt;
	[&#039;vauthors&#039;] = true,&lt;br /&gt;
	[&#039;year&#039;] = true,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
local limited_numbered_arguments_t = {&lt;br /&gt;
	[&#039;author#&#039;] = true,&lt;br /&gt;
	[&#039;author-first#&#039;] = true,&lt;br /&gt;
	[&#039;author#-first&#039;] = true,&lt;br /&gt;
	[&#039;author-given#&#039;] = true,&lt;br /&gt;
	[&#039;author#-given&#039;] = true,&lt;br /&gt;
	[&#039;author-last#&#039;] = true,&lt;br /&gt;
	[&#039;author#-last&#039;] = true,&lt;br /&gt;
	[&#039;author-surname#&#039;] = true,&lt;br /&gt;
	[&#039;author#-surname&#039;] = true,&lt;br /&gt;
	[&#039;author-link#&#039;] = true,&lt;br /&gt;
	[&#039;author#-link&#039;] = true,&lt;br /&gt;
	[&#039;authorlink#&#039;] = true,&lt;br /&gt;
	[&#039;author#link&#039;] = true,&lt;br /&gt;
	[&#039;author-mask#&#039;] = true,&lt;br /&gt;
	[&#039;author#-mask&#039;] = true,&lt;br /&gt;
	[&#039;first#&#039;] = true,&lt;br /&gt;
	[&#039;given#&#039;] = true,&lt;br /&gt;
	[&#039;last#&#039;] = true,&lt;br /&gt;
	[&#039;surname#&#039;] = true,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; U N I Q U E _ A R G U M E N T S &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Some templates have unique parameters.  Those templates and their unique parameters are listed here. Keys in this&lt;br /&gt;
table are the template&#039;s CitationClass parameter value&lt;br /&gt;
&lt;br /&gt;
Same conventions for true/false/tracked/nil as above.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local unique_arguments_t = {&lt;br /&gt;
	[&#039;audio-visual&#039;] = {&lt;br /&gt;
		[&#039;people&#039;] = true,&lt;br /&gt;
		[&#039;transcript&#039;] = true,&lt;br /&gt;
		[&#039;transcript-format&#039;] = true,&lt;br /&gt;
		[&#039;transcript-url&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	conference = {&lt;br /&gt;
		[&#039;book-title&#039;] = true,&lt;br /&gt;
		[&#039;conference&#039;] = true,&lt;br /&gt;
		[&#039;conference-format&#039;] = true,&lt;br /&gt;
		[&#039;conference-url&#039;] = true,&lt;br /&gt;
		[&#039;event&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	episode = {&lt;br /&gt;
		[&#039;airdate&#039;] = true,&lt;br /&gt;
		[&#039;air-date&#039;] = true,&lt;br /&gt;
		[&#039;credits&#039;] = true,&lt;br /&gt;
		[&#039;episode-link&#039;] = true,												-- alias of |title-link=&lt;br /&gt;
		[&#039;network&#039;] = true,&lt;br /&gt;
		[&#039;people&#039;] = true,&lt;br /&gt;
		[&#039;season&#039;] = true,&lt;br /&gt;
		[&#039;series-link&#039;] = true,&lt;br /&gt;
		[&#039;series-no&#039;] = true,&lt;br /&gt;
		[&#039;series-number&#039;] = true,&lt;br /&gt;
		[&#039;station&#039;] = true,&lt;br /&gt;
		[&#039;transcript&#039;] = true,&lt;br /&gt;
		[&#039;transcript-format&#039;] = true,&lt;br /&gt;
		[&#039;transcript-url&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	mailinglist = {&lt;br /&gt;
		[&#039;mailing-list&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	map = {&lt;br /&gt;
		[&#039;cartography&#039;] = true,&lt;br /&gt;
		[&#039;inset&#039;] = true,&lt;br /&gt;
		[&#039;map&#039;] = true,&lt;br /&gt;
		[&#039;map-format&#039;] = true,&lt;br /&gt;
		[&#039;map-url&#039;] = true,&lt;br /&gt;
		[&#039;map-url-access&#039;] = true,&lt;br /&gt;
		[&#039;script-map&#039;] = true,&lt;br /&gt;
		[&#039;sections&#039;] = true,&lt;br /&gt;
		[&#039;sheet&#039;] = true,&lt;br /&gt;
		[&#039;sheets&#039;] = true,&lt;br /&gt;
		[&#039;trans-map&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	newsgroup = {&lt;br /&gt;
		[&#039;message-id&#039;] = true,&lt;br /&gt;
		[&#039;newsgroup&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	report = {&lt;br /&gt;
		[&#039;docket&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	serial = {&lt;br /&gt;
		[&#039;airdate&#039;] = true,&lt;br /&gt;
		[&#039;air-date&#039;] = true,&lt;br /&gt;
		[&#039;credits&#039;] = true,&lt;br /&gt;
		[&#039;episode&#039;] = true,														-- cite serial only TODO: make available to cite episode?&lt;br /&gt;
		[&#039;episode-link&#039;] = true,												-- alias of |title-link=&lt;br /&gt;
		[&#039;network&#039;] = true,&lt;br /&gt;
		[&#039;people&#039;] = true,&lt;br /&gt;
		[&#039;series-link&#039;] = true,&lt;br /&gt;
		[&#039;station&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	speech = {&lt;br /&gt;
		[&#039;conference&#039;] = true,&lt;br /&gt;
		[&#039;conference-format&#039;] = true,&lt;br /&gt;
		[&#039;conference-url&#039;] = true,&lt;br /&gt;
		[&#039;event&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	thesis = {&lt;br /&gt;
		[&#039;degree&#039;] = true,&lt;br /&gt;
		[&#039;docket&#039;] = true,&lt;br /&gt;
		},&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C I T E _ D O C U M E N T &amp;gt;----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Special case for cite document.  This template takes the limited basic and limited enumerated parameters plus&lt;br /&gt;
others that are apply only to standalone published sources that cannot be cited any other way; no url, book,&lt;br /&gt;
periodical, etc parameters; limited support for name lists and named identifiers.&lt;br /&gt;
&lt;br /&gt;
when validating parameters in {{cite document}} templates, the basic and &lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local document_arguments_t = {&lt;br /&gt;
	[&#039;bibcode&#039;] = true,&lt;br /&gt;
	[&#039;bibcode-access&#039;] = true,&lt;br /&gt;
	[&#039;doi&#039;] = true,&lt;br /&gt;
	[&#039;DOI&#039;] = true,&lt;br /&gt;
	[&#039;doi-access&#039;] = true,&lt;br /&gt;
	[&#039;doi-broken-date&#039;] = true,&lt;br /&gt;
	[&#039;hdl&#039;] = true,&lt;br /&gt;
	[&#039;HDL&#039;] = true,&lt;br /&gt;
	[&#039;hdl-access&#039;] = true,&lt;br /&gt;
	[&#039;id&#039;] = true,&lt;br /&gt;
	[&#039;ID&#039;] = true,&lt;br /&gt;
	[&#039;jfm&#039;] = true,&lt;br /&gt;
	[&#039;JFM&#039;] = true,&lt;br /&gt;
	[&#039;lang&#039;] = true,&lt;br /&gt;
	[&#039;location&#039;] = true,&lt;br /&gt;
	[&#039;mr&#039;] = true,&lt;br /&gt;
	[&#039;MR&#039;] = true,&lt;br /&gt;
	[&#039;no-pp&#039;] = true,&lt;br /&gt;
	[&#039;orig-date&#039;] = true,&lt;br /&gt;
	[&#039;origyear&#039;] = true,&lt;br /&gt;
	[&#039;orig-year&#039;] = true,&lt;br /&gt;
	[&#039;osti&#039;] = true,&lt;br /&gt;
	[&#039;OSTI&#039;] = true,&lt;br /&gt;
	[&#039;osti-access&#039;] = true,&lt;br /&gt;
	[&#039;place&#039;] = true,&lt;br /&gt;
	[&#039;publisher&#039;] = true,&lt;br /&gt;
	[&#039;quote-page&#039;] = true,&lt;br /&gt;
	[&#039;quote-pages&#039;] = true,&lt;br /&gt;
	[&#039;script-quote&#039;] = true,&lt;br /&gt;
	[&#039;script-title&#039;] = true,&lt;br /&gt;
	[&#039;title-link&#039;] = true,&lt;br /&gt;
	[&#039;translator&#039;] = true,&lt;br /&gt;
	[&#039;translator-first&#039;] = true,&lt;br /&gt;
	[&#039;translator-given&#039;] = true,&lt;br /&gt;
	[&#039;translator-last&#039;] = true,&lt;br /&gt;
	[&#039;translator-surname&#039;] = true,&lt;br /&gt;
	[&#039;translator-link&#039;] = true,&lt;br /&gt;
	[&#039;translator-mask&#039;] = true,&lt;br /&gt;
	[&#039;trans-quote&#039;] = true,&lt;br /&gt;
	[&#039;type&#039;] = true,&lt;br /&gt;
	[&#039;zbl&#039;] = true,&lt;br /&gt;
	[&#039;ZBL&#039;] = true,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
local document_numbered_arguments_t = {&lt;br /&gt;
	[&#039;translator#&#039;] = true,&lt;br /&gt;
	[&#039;translator-first#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-first&#039;] = true,&lt;br /&gt;
	[&#039;translator-given#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-given&#039;] = true,&lt;br /&gt;
	[&#039;translator-last#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-last&#039;] = true,&lt;br /&gt;
	[&#039;translator-surname#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-surname&#039;] = true,&lt;br /&gt;
	[&#039;translator-link#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-link&#039;] = true,&lt;br /&gt;
	[&#039;translator-mask#&#039;] = true,&lt;br /&gt;
	[&#039;translator#-mask&#039;] = true,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; L I S T _ C O M B I N E &amp;gt;------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
makes one table from a list of tables.  &amp;lt;lists_t&amp;gt; is a sequence of tables to be combined&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function list_combine (lists_t)&lt;br /&gt;
	local out_t = {};&lt;br /&gt;
&lt;br /&gt;
	for _, list_t in ipairs (lists_t) do										-- for each list in &amp;lt;lists_t&amp;gt;&lt;br /&gt;
		for k, v in pairs (list_t) do											-- extract each k/v pair&lt;br /&gt;
			out_t[k] = v;														-- add to &amp;lt;out_t&amp;gt;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return out_t;																-- and done&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; T E M P L A T E _ L I S T _ G E T &amp;gt;--------------------------------------------&lt;br /&gt;
&lt;br /&gt;
gets a list of the templates from table t&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function template_list_get (t)&lt;br /&gt;
	local out_t = {};															-- a table for output&lt;br /&gt;
	for k, _ in pairs (t) do													-- spin through the table and collect the keys&lt;br /&gt;
		table.insert (out_t, k)													-- add each key to the output table&lt;br /&gt;
	end&lt;br /&gt;
	return out_t;																-- and done&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X P O R T E D   T A B L E S &amp;gt;------------------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	preprint_arguments_t = preprint_arguments_t,&lt;br /&gt;
	preprint_template_list_t = template_list_get (preprint_arguments_t),		-- make a template list from preprint_arguments{} table&lt;br /&gt;
	unique_arguments_t = unique_arguments_t,&lt;br /&gt;
	unique_param_template_list_t = template_list_get (unique_arguments_t),		-- make a template list from unique_arguments{} table&lt;br /&gt;
	&lt;br /&gt;
	document_parameters_t = list_combine ({limited_basic_arguments_t, limited_numbered_arguments_t, document_arguments_t, document_numbered_arguments_t});&lt;br /&gt;
	common_parameters_t = list_combine ({basic_arguments_t, numbered_arguments_t});&lt;br /&gt;
	limited_parameters_t = list_combine ({limited_basic_arguments_t, limited_numbered_arguments_t});&lt;br /&gt;
	};&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Configuration&amp;diff=64</id>
		<title>Module:Citation/CS1/Configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Citation/CS1/Configuration&amp;diff=64"/>
		<updated>2025-08-04T17:15:15Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;local lang_obj = mw.language.getContentLanguage();								-- make a language object for the local language; used here for languages and dates    ----------------------------&amp;lt; S E T T I N G S &amp;gt;--------------------------------------------------------------  boolean settings used to control various things.  these setting located here to make them easy to find   																				-- these settings local to this module only local local_digits_from_mediawiki = false;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local lang_obj = mw.language.getContentLanguage();								-- make a language object for the local language; used here for languages and dates &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S E T T I N G S &amp;gt;--------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
boolean settings used to control various things.  these setting located here to make them easy to find&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
																				-- these settings local to this module only&lt;br /&gt;
local local_digits_from_mediawiki = false;										-- for i18n; when true, module fills date_names[&#039;local_digits&#039;] from MediaWiki; manual fill required else; always false at en.wiki&lt;br /&gt;
local local_date_names_from_mediawiki = false;									-- for i18n; when true, module fills date_names[&#039;local&#039;][&#039;long&#039;] and date_names[&#039;local&#039;][&#039;short&#039;] from MediaWiki;&lt;br /&gt;
																				-- manual translation required else; ; always false at en.wiki&lt;br /&gt;
&lt;br /&gt;
																				-- these settings exported to other modules&lt;br /&gt;
local use_identifier_redirects = true;											-- when true use redirect name for identifier label links; always true at en.wiki&lt;br /&gt;
local local_lang_cat_enable = false;											-- when true categorizes pages where |language=&amp;lt;local wiki&#039;s language&amp;gt;; always false at en.wiki&lt;br /&gt;
local date_name_auto_xlate_enable = false;										-- when true translates English month-names to the local-wiki&#039;s language month names; always false at en.wiki&lt;br /&gt;
local date_digit_auto_xlate_enable = false;										-- when true translates Western date digit to the local-wiki&#039;s language digits (date_names[&#039;local_digits&#039;]); always false at en.wiki&lt;br /&gt;
local enable_sort_keys = true;													-- when true module adds namespace sort keys to error and maintenance category links&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; U N C A T E G O R I Z E D _ N A M E S P A C E S &amp;gt;------------------------------&lt;br /&gt;
&lt;br /&gt;
List of namespaces identifiers for namespaces that will not be included in citation error categories.&lt;br /&gt;
Same as setting notracking = true by default.&lt;br /&gt;
&lt;br /&gt;
For wikis that have a current version of Module:cs1 documentation support, this #invoke will return an unordered&lt;br /&gt;
list of namespace names and their associated identifiers:&lt;br /&gt;
	{{#invoke:cs1 documentation support|uncategorized_namespace_lister|all=&amp;lt;anything&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local uncategorized_namespaces_t = {[2]=true};										-- init with user namespace id&lt;br /&gt;
for k, _ in pairs (mw.site.talkNamespaces) do									-- add all talk namespace ids&lt;br /&gt;
	uncategorized_namespaces_t[k] = true;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local uncategorized_subpages = {&#039;/[Ss]andbox&#039;, &#039;/[Tt]estcases&#039;, &#039;/[^/]*[Ll]og&#039;, &#039;/[Aa]rchive&#039;};		-- list of Lua patterns found in page names of pages we should not categorize&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
at en.wiki Greek characters are used as sort keys for certain items in a category so that those items are&lt;br /&gt;
placed at the end of a category page.  See Wikipedia:Categorization#Sort_keys.  That works well for en.wiki&lt;br /&gt;
because English is written using the Latn script.  This may not work well for other languages.  At en.wiki it&lt;br /&gt;
is desireable to place content from certain namespaces at the end of a category listing so the module adds sort&lt;br /&gt;
keys to error and maintenance category links when rendering a cs1|2 template on a page in that namespace.&lt;br /&gt;
&lt;br /&gt;
i18n: if this does not work well for your language, set &amp;lt;enable_sort_keys&amp;gt; to false.&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local name_space_sort_keys = {													-- sort keys to be used with these namespaces:&lt;br /&gt;
	[4] = &#039;ω&#039;,																	-- wikipedia; omega&lt;br /&gt;
	[10] = &#039;τ&#039;,																	-- template; tau&lt;br /&gt;
	[118] = &#039;Δ&#039;, 																-- draft; delta&lt;br /&gt;
	[&#039;other&#039;] = &#039;ο&#039;,															-- all other non-talk namespaces except main (article); omicron&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; M E S S A G E S &amp;gt;--------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Translation table&lt;br /&gt;
&lt;br /&gt;
The following contains fixed text that may be output as part of a citation.&lt;br /&gt;
This is separated from the main body to aid in future translations of this&lt;br /&gt;
module.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local messages = {&lt;br /&gt;
	[&#039;agency&#039;] = &#039;$1 $2&#039;,														-- $1 is sepc, $2 is agency&lt;br /&gt;
	[&#039;archived-dead&#039;] = &#039;Archived from $1 on $2&#039;,&lt;br /&gt;
	[&#039;archived-live&#039;] = &#039;$1 from the original on $2&#039;,&lt;br /&gt;
	[&#039;archived-unfit&#039;] = &#039;Archived from the original on &#039;,&lt;br /&gt;
	[&#039;archived&#039;] = &#039;Archived&#039;,&lt;br /&gt;
	[&#039;by&#039;] = &#039;By&#039;,																-- contributions to authored works: introduction, foreword, afterword&lt;br /&gt;
	[&#039;cartography&#039;] = &#039;Cartography by $1&#039;,&lt;br /&gt;
	[&#039;editor&#039;] = &#039;ed.&#039;,&lt;br /&gt;
	[&#039;editors&#039;] = &#039;eds.&#039;,&lt;br /&gt;
	[&#039;edition&#039;] = &#039;($1&amp;amp;nbsp;ed.)&#039;,&lt;br /&gt;
	[&#039;episode&#039;] = &#039;Episode $1&#039;,&lt;br /&gt;
	[&#039;et al&#039;] = &#039;et&amp;amp;nbsp;al.&#039;,&lt;br /&gt;
	[&#039;in&#039;] = &#039;In&#039;,																-- edited works&lt;br /&gt;
	[&#039;inactive&#039;] = &#039;inactive&#039;,&lt;br /&gt;
	[&#039;inset&#039;] = &#039;$1 inset&#039;,&lt;br /&gt;
	[&#039;interview&#039;] = &#039;Interviewed by $1&#039;,										&lt;br /&gt;
	[&#039;mismatch&#039;] = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; / &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$2=&amp;lt;/code&amp;gt; mismatch&#039;,	-- $1 is year param name; $2 is date param name&lt;br /&gt;
	[&#039;newsgroup&#039;] = &#039;[[Usenet newsgroup|Newsgroup]]:&amp;amp;nbsp;$1&#039;,&lt;br /&gt;
	[&#039;notitle&#039;] = &#039;No title&#039;,													-- for |title=(()) and (in the future) |title=none&lt;br /&gt;
	[&#039;original&#039;] = &#039;the original&#039;,&lt;br /&gt;
	[&#039;origdate&#039;] = &#039; [$1]&#039;,&lt;br /&gt;
	[&#039;published&#039;] = &#039; (published $1)&#039;,&lt;br /&gt;
	[&#039;retrieved&#039;] = &#039;Retrieved $1&#039;,&lt;br /&gt;
	[&#039;season&#039;] = &#039;Season $1&#039;,&lt;br /&gt;
	[&#039;section&#039;] = &#039;§&amp;amp;nbsp;$1&#039;,&lt;br /&gt;
	[&#039;sections&#039;] = &#039;§§&amp;amp;nbsp;$1&#039;,&lt;br /&gt;
	[&#039;series&#039;] = &#039;$1 $2&#039;,														-- $1 is sepc, $2 is series&lt;br /&gt;
	[&#039;seriesnum&#039;] = &#039;Series $1&#039;,&lt;br /&gt;
	[&#039;translated&#039;] = &#039;Translated by $1&#039;,&lt;br /&gt;
	[&#039;type&#039;] = &#039; ($1)&#039;,															-- for titletype&lt;br /&gt;
	[&#039;written&#039;] = &#039;Written at $1&#039;,&lt;br /&gt;
&lt;br /&gt;
	[&#039;vol&#039;] = &#039;$1 Vol.&amp;amp;nbsp;$2&#039;,												-- $1 is sepc; bold journal style volume is in presentation{}&lt;br /&gt;
	[&#039;vol-no&#039;] = &#039;$1 Vol.&amp;amp;nbsp;$2, no.&amp;amp;nbsp;$3&#039;,								-- sepc, volume, issue (alternatively insert $1 after $2, but then we&#039;d also have to change capitalization)&lt;br /&gt;
	[&#039;issue&#039;] = &#039;$1 No.&amp;amp;nbsp;$2&#039;,												-- $1 is sepc&lt;br /&gt;
&lt;br /&gt;
	[&#039;art&#039;] = &#039;$1 Art.&amp;amp;nbsp;$2&#039;,												-- $1 is sepc; for {{cite conference}} only&lt;br /&gt;
	[&#039;vol-art&#039;] = &#039;$1 Vol.&amp;amp;nbsp;$2, art.&amp;amp;nbsp;$3&#039;,								-- sepc, volume, article-number; for {{cite conference}} only&lt;br /&gt;
&lt;br /&gt;
	[&#039;j-vol&#039;] = &#039;$1 $2&#039;,														-- sepc, volume; bold journal volume is in presentation{}&lt;br /&gt;
	[&#039;j-issue&#039;] = &#039; ($1)&#039;,&lt;br /&gt;
	[&#039;j-article-num&#039;] = &#039; $1&#039;,													-- TODO: any punctuation here? static text?&lt;br /&gt;
&lt;br /&gt;
	[&#039;nopp&#039;] = &#039;$1 $2&#039;;															-- page(s) without prefix; $1 is sepc&lt;br /&gt;
&lt;br /&gt;
	[&#039;p-prefix&#039;] = &amp;quot;$1 p.&amp;amp;nbsp;$2&amp;quot;,												-- $1 is sepc&lt;br /&gt;
	[&#039;pp-prefix&#039;] = &amp;quot;$1 pp.&amp;amp;nbsp;$2&amp;quot;,											-- $1 is sepc&lt;br /&gt;
	[&#039;j-page(s)&#039;] = &#039;: $1&#039;,														-- same for page and pages&lt;br /&gt;
&lt;br /&gt;
	[&#039;sheet&#039;] = &#039;$1 Sheet&amp;amp;nbsp;$2&#039;,												-- $1 is sepc&lt;br /&gt;
	[&#039;sheets&#039;] = &#039;$1 Sheets&amp;amp;nbsp;$2&#039;,											-- $1 is sepc&lt;br /&gt;
	[&#039;j-sheet&#039;] = &#039;: Sheet&amp;amp;nbsp;$1&#039;,&lt;br /&gt;
	[&#039;j-sheets&#039;] = &#039;: Sheets&amp;amp;nbsp;$1&#039;,&lt;br /&gt;
	&lt;br /&gt;
	[&#039;language&#039;] = &#039;(in $1)&#039;,&lt;br /&gt;
	[&#039;via&#039;] = &amp;quot; &amp;amp;ndash; via $1&amp;quot;,&lt;br /&gt;
	[&#039;event&#039;] = &#039;Event occurs at&#039;,&lt;br /&gt;
	[&#039;minutes&#039;] = &#039;minutes in&#039;,&lt;br /&gt;
	&lt;br /&gt;
	-- Determines the location of the help page&lt;br /&gt;
	[&#039;help page link&#039;] = &#039;Help:CS1 errors&#039;,&lt;br /&gt;
	[&#039;help page label&#039;] = &#039;help&#039;,&lt;br /&gt;
	&lt;br /&gt;
	-- categories&lt;br /&gt;
	[&#039;cat wikilink&#039;] = &#039;[[Category:$1]]&#039;,										-- $1 is the category name&lt;br /&gt;
	[&#039;cat wikilink sk&#039;] = &#039;[[Category:$1|$2]]&#039;,									-- $1 is the category name; $2 is namespace sort key&lt;br /&gt;
	[&#039;:cat wikilink&#039;] = &#039;[[:Category:$1|link]]&#039;,								-- category name as maintenance message wikilink; $1 is the category name&lt;br /&gt;
&lt;br /&gt;
	-- Internal errors (should only occur if configuration is bad)&lt;br /&gt;
	[&#039;undefined_error&#039;] = &#039;Called with an undefined error condition&#039;,&lt;br /&gt;
	[&#039;unknown_ID_key&#039;] = &#039;Unrecognized ID key: &#039;,								-- an ID key in id_handlers not found in ~/Identifiers func_map{}&lt;br /&gt;
	[&#039;unknown_ID_access&#039;] = &#039;Unrecognized ID access keyword: &#039;,					-- an ID access keyword in id_handlers not found in keywords_lists[&#039;id-access&#039;]{}&lt;br /&gt;
	[&#039;unknown_argument_map&#039;] = &#039;Argument map not defined for this variable&#039;,&lt;br /&gt;
	[&#039;bare_url_no_origin&#039;] = &#039;Bare URL found but origin indicator is nil or empty&#039;,&lt;br /&gt;
	&lt;br /&gt;
	[&#039;warning_msg_e&#039;] = &#039;&amp;lt;span style=&amp;quot;color:#d33&amp;quot;&amp;gt;One or more &amp;lt;code style=&amp;quot;color: inherit; background: inherit; border: none; padding: inherit;&amp;quot;&amp;gt;&amp;amp;#123;{$1}}&amp;lt;/code&amp;gt; templates have errors&amp;lt;/span&amp;gt;; messages may be hidden ([[Help:CS1_errors#Controlling_error_message_display|help]]).&#039;;	-- $1 is template link&lt;br /&gt;
	[&#039;warning_msg_m&#039;] = &#039;&amp;lt;span style=&amp;quot;color:#3a3&amp;quot;&amp;gt;One or more &amp;lt;code style=&amp;quot;color: inherit; background: inherit; border: none; padding: inherit;&amp;quot;&amp;gt;&amp;amp;#123;{$1}}&amp;lt;/code&amp;gt; templates have maintenance messages&amp;lt;/span&amp;gt;; messages may be hidden ([[Help:CS1_errors#Controlling_error_message_display|help]]).&#039;;	-- $1 is template link&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C I T A T I O N _ C L A S S _ M A P &amp;gt;------------------------------------------&lt;br /&gt;
&lt;br /&gt;
this table maps the value assigned to |CitationClass= in the cs1|2 templates to the canonical template name when&lt;br /&gt;
the value assigned to |CitationClass= is different from the canonical template name.  |CitationClass= values are&lt;br /&gt;
used as class attributes in the &amp;lt;cite&amp;gt; tag that encloses the citation so these names may not contain spaces while&lt;br /&gt;
the canonical template name may.  These names are used in warning_msg_e and warning_msg_m to create links to the&lt;br /&gt;
template&#039;s documentation when an article is displayed in preview mode.&lt;br /&gt;
&lt;br /&gt;
Most cs1|2 template |CitationClass= values at en.wiki match their canonical template names so are not listed here.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
	local citation_class_map_t = {												-- TODO: if kept, these and all other config.CitationClass &#039;names&#039; require some sort of i18n&lt;br /&gt;
		[&#039;arxiv&#039;] = &#039;arXiv&#039;,&lt;br /&gt;
		[&#039;audio-visual&#039;] = &#039;AV media&#039;,&lt;br /&gt;
		[&#039;AV-media-notes&#039;] = &#039;AV media notes&#039;,&lt;br /&gt;
		[&#039;biorxiv&#039;] = &#039;bioRxiv&#039;,&lt;br /&gt;
		[&#039;citeseerx&#039;] = &#039;CiteSeerX&#039;,&lt;br /&gt;
		[&#039;encyclopaedia&#039;] = &#039;encyclopedia&#039;,&lt;br /&gt;
		[&#039;mailinglist&#039;] = &#039;mailing list&#039;,&lt;br /&gt;
		[&#039;medrxiv&#039;] = &#039;medRxiv&#039;,&lt;br /&gt;
		[&#039;pressrelease&#039;] = &#039;press release&#039;,&lt;br /&gt;
		[&#039;ssrn&#039;] = &#039;SSRN&#039;,&lt;br /&gt;
		[&#039;techreport&#039;] = &#039;tech report&#039;,&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; E T _ A L _ P A T T E R N S &amp;gt;--------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
This table provides Lua patterns for the phrase &amp;quot;et al&amp;quot; and variants in name text&lt;br /&gt;
(author, editor, etc.). The main module uses these to identify and emit the &#039;etal&#039; message.&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local et_al_patterns = {&lt;br /&gt;
	&amp;quot;[;,]? *[\&amp;quot;&#039;]*%f[%a][Ee][Tt]%.? *[Aa][Ll][%.;,\&amp;quot;&#039;]*$&amp;quot;,						-- variations on the &#039;et al&#039; theme&lt;br /&gt;
	&amp;quot;[;,]? *[\&amp;quot;&#039;]*%f[%a][Ee][Tt]%.? *[Aa][Ll][Ii][AaIi][Ee]?[%.;,\&amp;quot;&#039;]*$&amp;quot;,		-- variations on the &#039;et alia&#039;, &#039;et alii&#039; and &#039;et aliae&#039; themes (false positive &#039;et aliie&#039; unlikely to match)&lt;br /&gt;
	&amp;quot;[;,]? *%f[%a]and [Oo]thers&amp;quot;,												-- an alternative to et al.&lt;br /&gt;
	&amp;quot;%[%[ *[Ee][Tt]%.? *[Aa][Ll]%.? *%]%]&amp;quot;,										-- a wikilinked form&lt;br /&gt;
	&amp;quot;%(%( *[Ee][Tt]%.? *[Aa][Ll]%.? *%)%)&amp;quot;,										-- a double-bracketed form (to counter partial removal of ((...)) syntax)&lt;br /&gt;
	&amp;quot;[%(%[] *[Ee][Tt]%.? *[Aa][Ll]%.? *[%)%]]&amp;quot;,									-- a bracketed form&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; P R E S E N T A T I O N &amp;gt;------------------------&lt;br /&gt;
&lt;br /&gt;
Fixed presentation markup.  Originally part of citation_config.messages it has&lt;br /&gt;
been moved into its own, more semantically correct place.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local presentation = &lt;br /&gt;
	{&lt;br /&gt;
	-- .citation-comment class is specified at Help:CS1_errors#Controlling_error_message_display&lt;br /&gt;
	[&#039;hidden-error&#039;] = &#039;&amp;lt;span class=&amp;quot;cs1-hidden-error citation-comment&amp;quot;&amp;gt;$1&amp;lt;/span&amp;gt;&#039;,&lt;br /&gt;
	[&#039;visible-error&#039;] = &#039;&amp;lt;span class=&amp;quot;cs1-visible-error citation-comment&amp;quot;&amp;gt;$1&amp;lt;/span&amp;gt;&#039;,&lt;br /&gt;
	[&#039;hidden-maint&#039;] = &#039;&amp;lt;span class=&amp;quot;cs1-maint citation-comment&amp;quot;&amp;gt;$1&amp;lt;/span&amp;gt;&#039;,&lt;br /&gt;
	&lt;br /&gt;
	[&#039;accessdate&#039;] = &#039;&amp;lt;span class=&amp;quot;reference-accessdate&amp;quot;&amp;gt;$1$2&amp;lt;/span&amp;gt;&#039;,			-- to allow editors to hide accessdate using personal CSS&lt;br /&gt;
&lt;br /&gt;
	[&#039;bdi&#039;] = &#039;&amp;lt;bdi$1&amp;gt;$2&amp;lt;/bdi&amp;gt;&#039;,												-- bidirectional isolation used with |script-title= and the like&lt;br /&gt;
&lt;br /&gt;
	[&#039;cite&#039;] = &#039;&amp;lt;cite class=&amp;quot;$1&amp;quot;&amp;gt;$2&amp;lt;/cite&amp;gt;&#039;;									-- for use when citation does not have a namelist and |ref= not set so no id=&amp;quot;...&amp;quot; attribute&lt;br /&gt;
	[&#039;cite-id&#039;] = &#039;&amp;lt;cite id=&amp;quot;$1&amp;quot; class=&amp;quot;$2&amp;quot;&amp;gt;$3&amp;lt;/cite&amp;gt;&#039;;							-- for use when when |ref= is set or when citation has a namelist&lt;br /&gt;
&lt;br /&gt;
	[&#039;format&#039;] = &#039; &amp;lt;span class=&amp;quot;cs1-format&amp;quot;&amp;gt;($1)&amp;lt;/span&amp;gt;&#039;,						-- for |format=, |chapter-format=, etc.&lt;br /&gt;
	[&#039;interwiki&#039;] = &#039; &amp;lt;span class=&amp;quot;cs1-format&amp;quot;&amp;gt;[in $1]&amp;lt;/span&amp;gt;&#039;,					-- for interwiki-language-linked author, editor, etc&lt;br /&gt;
	[&#039;interproj&#039;] = &#039; &amp;lt;span class=&amp;quot;cs1-format&amp;quot;&amp;gt;[at $1]&amp;lt;/span&amp;gt;&#039;,					-- for interwiki-project-linked author, editor, etc (:d: and :s: supported; :w: ignored)&lt;br /&gt;
&lt;br /&gt;
	-- various access levels, for |access=, |doi-access=, |arxiv=, ...&lt;br /&gt;
	-- narrow no-break space &amp;amp;#8239; may work better than nowrap CSS. Or not? Browser support?&lt;br /&gt;
&lt;br /&gt;
	[&#039;ext-link-access-signal&#039;] = &#039;&amp;lt;span class=&amp;quot;$1&amp;quot; title=&amp;quot;$2&amp;quot;&amp;gt;$3&amp;lt;/span&amp;gt;&#039;,		-- external link with appropriate lock icon&lt;br /&gt;
		[&#039;free&#039;] = {class=&#039;id-lock-free&#039;, title=&#039;Freely accessible&#039;},			-- classes defined in Module:Citation/CS1/styles.css&lt;br /&gt;
		[&#039;registration&#039;] = {class=&#039;id-lock-registration&#039;, title=&#039;Free registration required&#039;},&lt;br /&gt;
		[&#039;limited&#039;] = {class=&#039;id-lock-limited&#039;, title=&#039;Free access subject to limited trial, subscription normally required&#039;},&lt;br /&gt;
		[&#039;subscription&#039;] = {class=&#039;id-lock-subscription&#039;, title=&#039;Paid subscription required&#039;},&lt;br /&gt;
&lt;br /&gt;
	[&#039;interwiki-icon&#039;] = &#039;&amp;lt;span class=&amp;quot;$1&amp;quot; title=&amp;quot;$2&amp;quot;&amp;gt;$3&amp;lt;/span&amp;gt;&#039;,&lt;br /&gt;
		[&#039;class-wikisource&#039;] = &#039;cs1-ws-icon&#039;,&lt;br /&gt;
&lt;br /&gt;
	[&#039;italic-title&#039;] = &amp;quot;&#039;&#039;$1&#039;&#039;&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
	[&#039;kern-left&#039;] = &#039;&amp;lt;span class=&amp;quot;cs1-kern-left&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;$1&#039;,					-- spacing to use when title contains leading single or double quote mark&lt;br /&gt;
	[&#039;kern-right&#039;] = &#039;$1&amp;lt;span class=&amp;quot;cs1-kern-right&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#039;,					-- spacing to use when title contains trailing single or double quote mark&lt;br /&gt;
&lt;br /&gt;
	[&#039;nowrap1&#039;] = &#039;&amp;lt;span class=&amp;quot;nowrap&amp;quot;&amp;gt;$1&amp;lt;/span&amp;gt;&#039;,								-- for nowrapping an item: &amp;lt;span ...&amp;gt;yyyy-mm-dd&amp;lt;/span&amp;gt;&lt;br /&gt;
	[&#039;nowrap2&#039;] = &#039;&amp;lt;span class=&amp;quot;nowrap&amp;quot;&amp;gt;$1&amp;lt;/span&amp;gt; $2&#039;,							-- for nowrapping portions of an item: &amp;lt;span ...&amp;gt;dd mmmm&amp;lt;/span&amp;gt; yyyy (note white space)&lt;br /&gt;
&lt;br /&gt;
	[&#039;ocins&#039;] = &#039;&amp;lt;span title=&amp;quot;$1&amp;quot; class=&amp;quot;Z3988&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&#039;,&lt;br /&gt;
	&lt;br /&gt;
	[&#039;parameter&#039;] = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt;&#039;,&lt;br /&gt;
	&lt;br /&gt;
	[&#039;ps_cs1&#039;] = &#039;.&#039;;															-- CS1 style postscript (terminal) character&lt;br /&gt;
	[&#039;ps_cs2&#039;] = &#039;&#039;;															-- CS2 style postscript (terminal) character (empty string)&lt;br /&gt;
&lt;br /&gt;
	[&#039;quoted-text&#039;] = &#039;&amp;lt;q&amp;gt;$1&amp;lt;/q&amp;gt;&#039;,												-- for wrapping |quote= content&lt;br /&gt;
	[&#039;quoted-title&#039;] = &#039;&amp;quot;$1&amp;quot;&#039;,&lt;br /&gt;
&lt;br /&gt;
	[&#039;sep_cs1&#039;] = &#039;.&#039;,															-- CS1 element separator&lt;br /&gt;
	[&#039;sep_cs2&#039;] = &#039;,&#039;,															-- CS2 separator&lt;br /&gt;
	[&#039;sep_nl&#039;] = &#039;;&#039;,															-- CS1|2 style name-list separator between names is a semicolon&lt;br /&gt;
	[&#039;sep_nl_and&#039;] = &#039; and &#039;,													-- used as last nl sep when |name-list-style=and and list has 2 items&lt;br /&gt;
	[&#039;sep_nl_end&#039;] = &#039;; and &#039;,													-- used as last nl sep when |name-list-style=and and list has 3+ names&lt;br /&gt;
	[&#039;sep_name&#039;] = &#039;, &#039;,														-- CS1|2 style last/first separator is &amp;lt;comma&amp;gt;&amp;lt;space&amp;gt;&lt;br /&gt;
	[&#039;sep_nl_vanc&#039;] = &#039;,&#039;,														-- Vancouver style name-list separator between authors is a comma&lt;br /&gt;
	[&#039;sep_name_vanc&#039;] = &#039; &#039;,													-- Vancouver style last/first separator is a space&lt;br /&gt;
&lt;br /&gt;
	[&#039;sep_list&#039;] = &#039;, &#039;,														-- used for |language= when list has 3+ items except for last sep which uses sep_list_end&lt;br /&gt;
	[&#039;sep_list_pair&#039;] = &#039; and &#039;,												-- used for |language= when list has 2 items&lt;br /&gt;
	[&#039;sep_list_end&#039;] = &#039;, and &#039;,												-- used as last list sep for |language= when list has 3+ items&lt;br /&gt;
	&lt;br /&gt;
	[&#039;trans-italic-title&#039;] = &amp;quot;&amp;amp;#91;&#039;&#039;$1&#039;&#039;&amp;amp;#93;&amp;quot;,&lt;br /&gt;
	[&#039;trans-quoted-title&#039;] = &amp;quot;&amp;amp;#91;$1&amp;amp;#93;&amp;quot;,									-- for |trans-title= and |trans-quote=&lt;br /&gt;
	[&#039;vol-bold&#039;] = &#039;$1 &amp;lt;b&amp;gt;$2&amp;lt;/b&amp;gt;&#039;,												-- sepc, volume; for bold journal cites; for other cites [&#039;vol&#039;] in messages{}&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
--[[--------------------------&amp;lt; A L I A S E S &amp;gt;---------------------------------&lt;br /&gt;
&lt;br /&gt;
Aliases table for commonly passed parameters.&lt;br /&gt;
&lt;br /&gt;
Parameter names on the right side in the assignments in this table must have been&lt;br /&gt;
defined in the Whitelist before they will be recognized as valid parameter names&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local aliases = {&lt;br /&gt;
	[&#039;AccessDate&#039;] = {&#039;access-date&#039;, &#039;accessdate&#039;},								-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;Agency&#039;] = &#039;agency&#039;,&lt;br /&gt;
	[&#039;ArchiveDate&#039;] = {&#039;archive-date&#039;, &#039;archivedate&#039;},							-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;ArchiveFormat&#039;] = &#039;archive-format&#039;,&lt;br /&gt;
	[&#039;ArchiveURL&#039;] = {&#039;archive-url&#039;, &#039;archiveurl&#039;},								-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;ArticleNumber&#039;] = &#039;article-number&#039;,&lt;br /&gt;
	[&#039;ASINTLD&#039;] = &#039;asin-tld&#039;,&lt;br /&gt;
	[&#039;At&#039;] = &#039;at&#039;,																-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;Authors&#039;] = {&#039;people&#039;, &#039;credits&#039;},&lt;br /&gt;
	[&#039;BookTitle&#039;] = {&#039;book-title&#039;, &#039;booktitle&#039;},&lt;br /&gt;
	[&#039;Cartography&#039;] = &#039;cartography&#039;,&lt;br /&gt;
	[&#039;Chapter&#039;] = {&#039;chapter&#039;, &#039;contribution&#039;, &#039;entry&#039;, &#039;article&#039;, &#039;section&#039;},&lt;br /&gt;
	[&#039;ChapterFormat&#039;] = {&#039;chapter-format&#039;, &#039;contribution-format&#039;, &#039;entry-format&#039;,&lt;br /&gt;
		&#039;article-format&#039;, &#039;section-format&#039;};&lt;br /&gt;
	[&#039;ChapterURL&#039;] = {&#039;chapter-url&#039;, &#039;contribution-url&#039;, &#039;entry-url&#039;, &#039;article-url&#039;, &#039;section-url&#039;},	-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;ChapterUrlAccess&#039;] = {&#039;chapter-url-access&#039;, &#039;contribution-url-access&#039;,&lt;br /&gt;
		&#039;entry-url-access&#039;, &#039;article-url-access&#039;, &#039;section-url-access&#039;},		-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;Class&#039;] = &#039;class&#039;,														-- cite arxiv and arxiv identifier&lt;br /&gt;
	[&#039;Collaboration&#039;] = &#039;collaboration&#039;,&lt;br /&gt;
	[&#039;Conference&#039;] = {&#039;conference&#039;, &#039;event&#039;},&lt;br /&gt;
	[&#039;ConferenceFormat&#039;] = &#039;conference-format&#039;,&lt;br /&gt;
	[&#039;ConferenceURL&#039;] = &#039;conference-url&#039;,										-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;Date&#039;] = {&#039;date&#039;, &#039;air-date&#039;, &#039;airdate&#039;},									-- air-date and airdate for cite episode and cite serial only&lt;br /&gt;
	[&#039;Degree&#039;] = &#039;degree&#039;,&lt;br /&gt;
	[&#039;DF&#039;] = &#039;df&#039;,&lt;br /&gt;
	[&#039;DisplayAuthors&#039;] = {&#039;display-authors&#039;, &#039;display-subjects&#039;},&lt;br /&gt;
	[&#039;DisplayContributors&#039;] = &#039;display-contributors&#039;,&lt;br /&gt;
	[&#039;DisplayEditors&#039;] = &#039;display-editors&#039;,&lt;br /&gt;
	[&#039;DisplayInterviewers&#039;] = &#039;display-interviewers&#039;,&lt;br /&gt;
	[&#039;DisplayTranslators&#039;] = &#039;display-translators&#039;,&lt;br /&gt;
	[&#039;Docket&#039;] = &#039;docket&#039;,&lt;br /&gt;
	[&#039;DoiBroken&#039;] = &#039;doi-broken-date&#039;,&lt;br /&gt;
	[&#039;Edition&#039;] = &#039;edition&#039;,&lt;br /&gt;
	[&#039;Embargo&#039;] = &#039;pmc-embargo-date&#039;,&lt;br /&gt;
	[&#039;Encyclopedia&#039;] = {&#039;encyclopedia&#039;, &#039;encyclopaedia&#039;, &#039;dictionary&#039;},			-- cite encyclopedia only&lt;br /&gt;
	[&#039;Episode&#039;] = &#039;episode&#039;,													-- cite serial only TODO: make available to cite episode?&lt;br /&gt;
	[&#039;Format&#039;] = &#039;format&#039;,&lt;br /&gt;
	[&#039;ID&#039;] = {&#039;id&#039;, &#039;ID&#039;},&lt;br /&gt;
	[&#039;Inset&#039;] = &#039;inset&#039;,&lt;br /&gt;
	[&#039;Issue&#039;] = {&#039;issue&#039;, &#039;number&#039;},&lt;br /&gt;
	[&#039;Language&#039;] = {&#039;language&#039;, &#039;lang&#039;},&lt;br /&gt;
	[&#039;MailingList&#039;] = {&#039;mailing-list&#039;, &#039;mailinglist&#039;},							-- cite mailing list only&lt;br /&gt;
	[&#039;Map&#039;] = &#039;map&#039;,															-- cite map only&lt;br /&gt;
	[&#039;MapFormat&#039;] = &#039;map-format&#039;,												-- cite map only&lt;br /&gt;
	[&#039;MapURL&#039;] = {&#039;map-url&#039;, &#039;mapurl&#039;},											-- cite map only -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;MapUrlAccess&#039;] = &#039;map-url-access&#039;,										-- cite map only -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;Minutes&#039;] = &#039;minutes&#039;,&lt;br /&gt;
	[&#039;Mode&#039;] = &#039;mode&#039;,&lt;br /&gt;
	[&#039;NameListStyle&#039;] = &#039;name-list-style&#039;,&lt;br /&gt;
	[&#039;Network&#039;] = &#039;network&#039;,&lt;br /&gt;
	[&#039;Newsgroup&#039;] = &#039;newsgroup&#039;,												-- cite newsgroup only&lt;br /&gt;
	[&#039;NoPP&#039;] = {&#039;no-pp&#039;, &#039;nopp&#039;},&lt;br /&gt;
	[&#039;NoTracking&#039;] = {&#039;no-tracking&#039;, &#039;template-doc-demo&#039;},&lt;br /&gt;
	[&#039;Number&#039;] = &#039;number&#039;,														-- this case only for cite techreport&lt;br /&gt;
	[&#039;OrigDate&#039;] = {&#039;orig-date&#039;, &#039;orig-year&#039;, &#039;origyear&#039;},&lt;br /&gt;
	[&#039;Others&#039;] = &#039;others&#039;,&lt;br /&gt;
	[&#039;Page&#039;] = {&#039;page&#039;, &#039;p&#039;},													-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;Pages&#039;] = {&#039;pages&#039;, &#039;pp&#039;},												-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;Periodical&#039;] = {&#039;journal&#039;, &#039;magazine&#039;, &#039;newspaper&#039;, &#039;periodical&#039;, &#039;website&#039;, &#039;work&#039;},&lt;br /&gt;
	[&#039;Place&#039;] = {&#039;place&#039;, &#039;location&#039;},&lt;br /&gt;
	[&#039;PostScript&#039;] = &#039;postscript&#039;,&lt;br /&gt;
	[&#039;PublicationDate&#039;] = {&#039;publication-date&#039;, &#039;publicationdate&#039;},&lt;br /&gt;
	[&#039;PublicationPlace&#039;] = {&#039;publication-place&#039;, &#039;publicationplace&#039;},&lt;br /&gt;
	[&#039;PublisherName&#039;] = {&#039;publisher&#039;, &#039;institution&#039;},&lt;br /&gt;
	[&#039;Quote&#039;] = {&#039;quote&#039;, &#039;quotation&#039;},&lt;br /&gt;
	[&#039;QuotePage&#039;] = &#039;quote-page&#039;,&lt;br /&gt;
	[&#039;QuotePages&#039;] = &#039;quote-pages&#039;,&lt;br /&gt;
	[&#039;Ref&#039;] = &#039;ref&#039;,&lt;br /&gt;
	[&#039;Scale&#039;] = &#039;scale&#039;,&lt;br /&gt;
	[&#039;ScriptChapter&#039;] = {&#039;script-chapter&#039;, &#039;script-contribution&#039;, &#039;script-entry&#039;,&lt;br /&gt;
		&#039;script-article&#039;, &#039;script-section&#039;},&lt;br /&gt;
	[&#039;ScriptEncyclopedia&#039;] = {&#039;script-encyclopedia&#039;, &#039;script-encyclopaedia&#039;},	-- cite encyclopedia only&lt;br /&gt;
	[&#039;ScriptMap&#039;] = &#039;script-map&#039;,&lt;br /&gt;
	[&#039;ScriptPeriodical&#039;] = {&#039;script-journal&#039;, &#039;script-magazine&#039;, &#039;script-newspaper&#039;,&lt;br /&gt;
		&#039;script-periodical&#039;, &#039;script-website&#039;, &#039;script-work&#039;},&lt;br /&gt;
	[&#039;ScriptQuote&#039;] = &#039;script-quote&#039;,&lt;br /&gt;
	[&#039;ScriptTitle&#039;] = &#039;script-title&#039;,											-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;Season&#039;] = &#039;season&#039;,&lt;br /&gt;
	[&#039;Sections&#039;] = &#039;sections&#039;,													-- cite map only&lt;br /&gt;
	[&#039;Series&#039;] = {&#039;series&#039;, &#039;version&#039;},&lt;br /&gt;
	[&#039;SeriesLink&#039;] = {&#039;series-link&#039;, &#039;serieslink&#039;},&lt;br /&gt;
	[&#039;SeriesNumber&#039;] = {&#039;series-number&#039;, &#039;series-no&#039;},&lt;br /&gt;
	[&#039;Sheet&#039;] = &#039;sheet&#039;,														-- cite map only&lt;br /&gt;
	[&#039;Sheets&#039;] = &#039;sheets&#039;,														-- cite map only&lt;br /&gt;
	[&#039;Station&#039;] = &#039;station&#039;,&lt;br /&gt;
	[&#039;Time&#039;] = &#039;time&#039;,&lt;br /&gt;
	[&#039;TimeCaption&#039;] = &#039;time-caption&#039;,&lt;br /&gt;
	[&#039;Title&#039;] = &#039;title&#039;,														-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;TitleLink&#039;] = {&#039;title-link&#039;, &#039;episode-link&#039;, &#039;episodelink&#039;},				-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;TitleNote&#039;] = {&#039;title-note&#039;, &#039;department&#039;},&lt;br /&gt;
	[&#039;TitleType&#039;] = {&#039;type&#039;, &#039;medium&#039;},&lt;br /&gt;
	[&#039;TransChapter&#039;] = {&#039;trans-article&#039;, &#039;trans-chapter&#039;, &#039;trans-contribution&#039;,&lt;br /&gt;
		&#039;trans-entry&#039;, &#039;trans-section&#039;},&lt;br /&gt;
	[&#039;Transcript&#039;] = &#039;transcript&#039;,&lt;br /&gt;
	[&#039;TranscriptFormat&#039;] = &#039;transcript-format&#039;,	&lt;br /&gt;
	[&#039;TranscriptURL&#039;] = &#039;transcript-url&#039;,										-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;TransEncyclopedia&#039;] = {&#039;trans-encyclopedia&#039;, &#039;trans-encyclopaedia&#039;},		-- cite encyclopedia only&lt;br /&gt;
	[&#039;TransMap&#039;] = &#039;trans-map&#039;,													-- cite map only&lt;br /&gt;
	[&#039;TransPeriodical&#039;] = {&#039;trans-journal&#039;, &#039;trans-magazine&#039;, &#039;trans-newspaper&#039;,&lt;br /&gt;
		&#039;trans-periodical&#039;, &#039;trans-website&#039;, &#039;trans-work&#039;},&lt;br /&gt;
	[&#039;TransQuote&#039;] = &#039;trans-quote&#039;,&lt;br /&gt;
	[&#039;TransTitle&#039;] = &#039;trans-title&#039;,												-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;URL&#039;] = {&#039;url&#039;, &#039;URL&#039;},													-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;UrlAccess&#039;] = &#039;url-access&#039;,												-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;UrlStatus&#039;] = &#039;url-status&#039;,												-- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;Vauthors&#039;] = &#039;vauthors&#039;,&lt;br /&gt;
	[&#039;Veditors&#039;] = &#039;veditors&#039;,&lt;br /&gt;
	[&#039;Via&#039;] = &#039;via&#039;,&lt;br /&gt;
	[&#039;Volume&#039;] = &#039;volume&#039;,&lt;br /&gt;
	[&#039;Year&#039;] = &#039;year&#039;,&lt;br /&gt;
&lt;br /&gt;
	[&#039;AuthorList-First&#039;] = {&amp;quot;first#&amp;quot;, &amp;quot;author-first#&amp;quot;, &amp;quot;author#-first&amp;quot;, &amp;quot;author-given#&amp;quot;, &amp;quot;author#-given&amp;quot;,&lt;br /&gt;
		&amp;quot;subject-first#&amp;quot;, &amp;quot;subject#-first&amp;quot;, &amp;quot;subject-given#&amp;quot;, &amp;quot;subject#-given&amp;quot;,&lt;br /&gt;
		&amp;quot;given#&amp;quot;},&lt;br /&gt;
	[&#039;AuthorList-Last&#039;] = {&amp;quot;last#&amp;quot;, &amp;quot;author-last#&amp;quot;, &amp;quot;author#-last&amp;quot;, &amp;quot;author-surname#&amp;quot;, &amp;quot;author#-surname&amp;quot;,&lt;br /&gt;
		&amp;quot;subject-last#&amp;quot;, &amp;quot;subject#-last&amp;quot;, &amp;quot;subject-surname#&amp;quot;, &amp;quot;subject#-surname&amp;quot;,&lt;br /&gt;
		&amp;quot;author#&amp;quot;, &#039;host#&#039;, &amp;quot;subject#&amp;quot;, &amp;quot;surname#&amp;quot;},&lt;br /&gt;
	[&#039;AuthorList-Link&#039;] = {&amp;quot;author-link#&amp;quot;, &amp;quot;author#-link&amp;quot;, &amp;quot;subject-link#&amp;quot;,&lt;br /&gt;
		&amp;quot;subject#-link&amp;quot;, &amp;quot;authorlink#&amp;quot;, &amp;quot;author#link&amp;quot;},&lt;br /&gt;
	[&#039;AuthorList-Mask&#039;] = {&amp;quot;author-mask#&amp;quot;, &amp;quot;author#-mask&amp;quot;, &amp;quot;subject-mask#&amp;quot;, &amp;quot;subject#-mask&amp;quot;},&lt;br /&gt;
&lt;br /&gt;
	[&#039;ContributorList-First&#039;] = {&#039;contributor-first#&#039;, &#039;contributor#-first&#039;,&lt;br /&gt;
		&#039;contributor-given#&#039;, &#039;contributor#-given&#039;},&lt;br /&gt;
	[&#039;ContributorList-Last&#039;] = {&#039;contributor-last#&#039;, &#039;contributor#-last&#039;,&lt;br /&gt;
		&#039;contributor-surname#&#039;, &#039;contributor#-surname&#039;, &#039;contributor#&#039;},&lt;br /&gt;
	[&#039;ContributorList-Link&#039;] = {&#039;contributor-link#&#039;, &#039;contributor#-link&#039;},&lt;br /&gt;
	[&#039;ContributorList-Mask&#039;] = {&#039;contributor-mask#&#039;, &#039;contributor#-mask&#039;},&lt;br /&gt;
&lt;br /&gt;
	[&#039;EditorList-First&#039;] = {&amp;quot;editor-first#&amp;quot;, &amp;quot;editor#-first&amp;quot;, &amp;quot;editor-given#&amp;quot;, &amp;quot;editor#-given&amp;quot;},&lt;br /&gt;
	[&#039;EditorList-Last&#039;] = {&amp;quot;editor-last#&amp;quot;, &amp;quot;editor#-last&amp;quot;, &amp;quot;editor-surname#&amp;quot;,&lt;br /&gt;
		&amp;quot;editor#-surname&amp;quot;, &amp;quot;editor#&amp;quot;},&lt;br /&gt;
	[&#039;EditorList-Link&#039;] = {&amp;quot;editor-link#&amp;quot;, &amp;quot;editor#-link&amp;quot;},&lt;br /&gt;
	[&#039;EditorList-Mask&#039;] = {&amp;quot;editor-mask#&amp;quot;, &amp;quot;editor#-mask&amp;quot;},&lt;br /&gt;
	&lt;br /&gt;
	[&#039;InterviewerList-First&#039;] = {&#039;interviewer-first#&#039;, &#039;interviewer#-first&#039;,&lt;br /&gt;
		&#039;interviewer-given#&#039;, &#039;interviewer#-given&#039;},&lt;br /&gt;
	[&#039;InterviewerList-Last&#039;] = {&#039;interviewer-last#&#039;, &#039;interviewer#-last&#039;,&lt;br /&gt;
		&#039;interviewer-surname#&#039;, &#039;interviewer#-surname&#039;, &#039;interviewer#&#039;},&lt;br /&gt;
	[&#039;InterviewerList-Link&#039;] = {&#039;interviewer-link#&#039;, &#039;interviewer#-link&#039;},&lt;br /&gt;
	[&#039;InterviewerList-Mask&#039;] = {&#039;interviewer-mask#&#039;, &#039;interviewer#-mask&#039;},&lt;br /&gt;
&lt;br /&gt;
	[&#039;TranslatorList-First&#039;] = {&#039;translator-first#&#039;, &#039;translator#-first&#039;,&lt;br /&gt;
		&#039;translator-given#&#039;, &#039;translator#-given&#039;},&lt;br /&gt;
	[&#039;TranslatorList-Last&#039;] = {&#039;translator-last#&#039;, &#039;translator#-last&#039;,&lt;br /&gt;
		&#039;translator-surname#&#039;, &#039;translator#-surname&#039;, &#039;translator#&#039;},&lt;br /&gt;
	[&#039;TranslatorList-Link&#039;] = {&#039;translator-link#&#039;, &#039;translator#-link&#039;},&lt;br /&gt;
	[&#039;TranslatorList-Mask&#039;] = {&#039;translator-mask#&#039;, &#039;translator#-mask&#039;},&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; P U N C T _ S K I P &amp;gt;---------------------------&lt;br /&gt;
&lt;br /&gt;
builds a table of parameter names that the extraneous terminal punctuation check should not check.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local punct_meta_params = {														-- table of aliases[] keys (meta parameters); each key has a table of parameter names for a value&lt;br /&gt;
	&#039;BookTitle&#039;, &#039;Chapter&#039;, &#039;ScriptChapter&#039;, &#039;ScriptTitle&#039;, &#039;Title&#039;, &#039;TransChapter&#039;, &#039;Transcript&#039;, &#039;TransMap&#039;,	&#039;TransTitle&#039;,	-- title-holding parameters&lt;br /&gt;
	&#039;AuthorList-Mask&#039;, &#039;ContributorList-Mask&#039;, &#039;EditorList-Mask&#039;, &#039;InterviewerList-Mask&#039;, &#039;TranslatorList-Mask&#039;,	-- name-list mask may have name separators&lt;br /&gt;
	&#039;PostScript&#039;, &#039;Quote&#039;, &#039;ScriptQuote&#039;, &#039;TransQuote&#039;, &#039;Ref&#039;,											-- miscellaneous&lt;br /&gt;
	&#039;ArchiveURL&#039;, &#039;ChapterURL&#039;, &#039;ConferenceURL&#039;, &#039;MapURL&#039;, &#039;TranscriptURL&#039;, &#039;URL&#039;,						-- URL-holding parameters&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
local url_meta_params = {														-- table of aliases[] keys (meta parameters); each key has a table of parameter names for a value&lt;br /&gt;
	&#039;ArchiveURL&#039;, &#039;ChapterURL&#039;, &#039;ConferenceURL&#039;, &#039;ID&#039;, &#039;MapURL&#039;, &#039;TranscriptURL&#039;, &#039;URL&#039;,		-- parameters allowed to hold urls&lt;br /&gt;
	&#039;Page&#039;, &#039;Pages&#039;, &#039;At&#039;, &#039;QuotePage&#039;, &#039;QuotePages&#039;,							-- insource locators allowed to hold urls&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
local function build_skip_table (skip_t, meta_params)&lt;br /&gt;
	for _, meta_param in ipairs (meta_params) do								-- for each meta parameter key&lt;br /&gt;
		local params = aliases[meta_param];										-- get the parameter or the table of parameters associated with the meta parameter name&lt;br /&gt;
		if &#039;string&#039; == type (params) then&lt;br /&gt;
			skip_t[params] = 1;													-- just a single parameter&lt;br /&gt;
		else&lt;br /&gt;
			for _, param in ipairs (params) do									-- get the parameter name&lt;br /&gt;
				skip_t[param] = 1;												-- add the parameter name to the skip table&lt;br /&gt;
				local count;&lt;br /&gt;
				param, count = param:gsub (&#039;#&#039;, &#039;&#039;);							-- remove enumerator marker from enumerated parameters&lt;br /&gt;
				if 0 ~= count then												-- if removed&lt;br /&gt;
					skip_t[param] = 1;											-- add param name without enumerator marker&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return skip_t;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local punct_skip = {};&lt;br /&gt;
local url_skip = {};&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S I N G L E - L E T T E R   S E C O N D - L E V E L   D O M A I N S &amp;gt;----------&lt;br /&gt;
&lt;br /&gt;
this is a list of tlds that are known to have single-letter second-level domain names.  This list does not include&lt;br /&gt;
ccTLDs which are accepted in is_domain_name().&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local single_letter_2nd_lvl_domains_t = {&#039;cash&#039;, &#039;company&#039;, &#039;foundation&#039;, &#039;media&#039;, &#039;org&#039;, &#039;today&#039;};&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-----------&amp;lt; S P E C I A L   C A S E   T R A N S L A T I O N S &amp;gt;------------&lt;br /&gt;
&lt;br /&gt;
This table is primarily here to support internationalization.  Translations in&lt;br /&gt;
this table are used, for example, when an error message, category name, etc.,&lt;br /&gt;
is extracted from the English alias key.  There may be other cases where&lt;br /&gt;
this translation table may be useful.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
local is_Latn = &#039;A-Za-z\195\128-\195\150\195\152-\195\182\195\184-\198\191\199\132-\201\143\225\184\128-\225\187\191&#039;;&lt;br /&gt;
local special_case_translation = {&lt;br /&gt;
	[&#039;AuthorList&#039;] = &#039;authors list&#039;,											-- used to assemble maintenance category names&lt;br /&gt;
	[&#039;ContributorList&#039;] = &#039;contributors list&#039;,									-- translation of these names plus translation of the base maintenance category names in maint_cats{} table below&lt;br /&gt;
	[&#039;EditorList&#039;] = &#039;editors list&#039;,											-- must match the names of the actual categories&lt;br /&gt;
	[&#039;InterviewerList&#039;] = &#039;interviewers list&#039;,									-- this group or translations used by name_has_ed_markup() and name_has_mult_names()&lt;br /&gt;
	[&#039;TranslatorList&#039;] = &#039;translators list&#039;,&lt;br /&gt;
	&lt;br /&gt;
																				-- Lua patterns to match pseudo-titles used by InternetArchiveBot and others as placeholder for unknown |title= value&lt;br /&gt;
	[&#039;archived_copy&#039;] = {														-- used with CS1 maint: Archive[d] copy as title&lt;br /&gt;
		[&#039;en&#039;] = &#039;^archived?%s+copy$&#039;,											-- for English; translators: keep this because templates imported from en.wiki&lt;br /&gt;
		[&#039;local&#039;] = nil,														-- translators: replace [&#039;local&#039;] = nil with lowercase translation only when bots or tools create generic titles in your language&lt;br /&gt;
		},&lt;br /&gt;
&lt;br /&gt;
																				-- Lua patterns to match generic titles; usually created by bots or reference filling tools&lt;br /&gt;
																				-- translators: replace [&#039;local&#039;] = nil with lowercase translation only when bots or tools create generic titles in your language&lt;br /&gt;
		-- generic titles and patterns in this table should be lowercase only&lt;br /&gt;
		-- leave [&#039;local&#039;] nil except when there is a matching generic title in your language&lt;br /&gt;
		-- boolean &#039;true&#039; for plain-text searches; &#039;false&#039; for pattern searches&lt;br /&gt;
&lt;br /&gt;
	[&#039;generic_titles&#039;] = {&lt;br /&gt;
		[&#039;accept&#039;] = {&lt;br /&gt;
			},&lt;br /&gt;
		[&#039;reject&#039;] = {&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^wayback%s+machine$&#039;, false},				[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;are you a robot&#039;, true},					[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;hugedomains&#039;, true},						[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^[%(%[{&amp;lt;]?no +title[&amp;gt;}%]%)]?$&#039;, false},		[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;page not found&#039;, true},						[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;subscribe to read&#039;, true},					[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^[%(%[{&amp;lt;]?unknown[&amp;gt;}%]%)]?$&#039;, false},		[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;website is for sale&#039;, true},				[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^404&#039;, false},								[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;error[ %-]404&#039;, false},						[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;internet archive wayback machine&#039;, true},	[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;log into facebook&#039;, true},					[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;login • instagram&#039;, true},					[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;redirecting...&#039;, true},						[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;usurped title&#039;, true},						[&#039;local&#039;] = nil},	-- added by a GreenC bot&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;webcite query result&#039;, true},				[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;wikiwix\&#039;s cache&#039;, true},					[&#039;local&#039;] = nil},&lt;br /&gt;
			}&lt;br /&gt;
		},&lt;br /&gt;
&lt;br /&gt;
		-- boolean &#039;true&#039; for plain-text searches, search string must be lowercase only&lt;br /&gt;
		-- boolean &#039;false&#039; for pattern searches&lt;br /&gt;
		-- leave [&#039;local&#039;] nil except when there is a matching generic name in your language&lt;br /&gt;
&lt;br /&gt;
	[&#039;generic_names&#039;] = {&lt;br /&gt;
		[&#039;accept&#039;] = {&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;%[%[[^|]*%(author%) *|[^%]]*%]%]&#039;, false},				[&#039;local&#039;] = nil},&lt;br /&gt;
			},&lt;br /&gt;
		[&#039;reject&#039;] = {&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;about us&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;%f[%a][Aa]dvisor%f[%A]&#039;, false},						[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;allmusic&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;%f[%a][Aa]uthor%f[%A]&#039;, false},							[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^[Bb]ureau$&#039;, false},									[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;business&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;cnn&#039;, true},											[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;collaborator&#039;, true},									[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^[Cc]ompany$&#039;, false},									[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;contributor&#039;, true},									[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;contact us&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;correspondent&#039;, true},									[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^[Dd]esk$&#039;, false},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;directory&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;%f[%(%[][%(%[]%s*eds?%.?%s*[%)%]]?$&#039;, false},			[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;[,%.%s]%f[e]eds?%.?$&#039;, false},							[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^eds?[%.,;]&#039;, false},									[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^[%(%[]%s*[Ee][Dd][Ss]?%.?%s*[%)%]]&#039;, false},			[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;%f[%a][Ee]dited%f[%A]&#039;, false},							[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;%f[%a][Ee]ditors?%f[%A]&#039;, false},						[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;%f[%a][Ee]mail%f[%A]&#039;, false},							[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;facebook&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;google&#039;, true},											[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^[Gg]roup$&#039;, false},									[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;home page&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^[Ii]nc%.?$&#039;, false},									[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;instagram&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;interviewer&#039;, true},									[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^[Ll]imited$&#039;, false},									[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;linkedIn&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;^[Nn]ews$&#039;, false},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;[Nn]ews[ %-]?[Rr]oom&#039;, false},							[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;pinterest&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;policy&#039;, true},											[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;privacy&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;reuters&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;translator&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;tumblr&#039;, true},											[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;twitter&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;site name&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;statement&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;submitted&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;super.?user&#039;, false},									[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;%f[&#039;..is_Latn..&#039;][Uu]ser%f[^&#039;..is_Latn..&#039;]&#039;, false},	[&#039;local&#039;] = nil},&lt;br /&gt;
			{[&#039;en&#039;] = {&#039;verfasser&#039;, true},										[&#039;local&#039;] = nil},&lt;br /&gt;
			}&lt;br /&gt;
	}&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; D A T E _ N A M E S &amp;gt;----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
This table of tables lists local language date names and fallback English date names.&lt;br /&gt;
The code in Date_validation will look first in the local table for valid date names.&lt;br /&gt;
If date names are not found in the local table, the code will look in the English table.&lt;br /&gt;
&lt;br /&gt;
Because citations can be copied to the local wiki from en.wiki, the English is&lt;br /&gt;
required when the date-name translation function date_name_xlate() is used.&lt;br /&gt;
&lt;br /&gt;
In these tables, season numbering is defined by&lt;br /&gt;
Extended Date/Time Format (EDTF) Specification (https://www.loc.gov/standards/datetime/)&lt;br /&gt;
which became part of ISO 8601 in 2019.  See &#039;§Sub-year groupings&#039;. The standard&lt;br /&gt;
defines various divisions using numbers 21-41. CS1|2 only supports generic seasons.&lt;br /&gt;
EDTF does support the distinction between north and south hemisphere seasons&lt;br /&gt;
but CS1|2 has no way to make that distinction.&lt;br /&gt;
&lt;br /&gt;
33-36 = Quarter 1, Quarter 2, Quarter 3, Quarter 4 (3 months each)&lt;br /&gt;
&lt;br /&gt;
The standard does not address &#039;named&#039; dates so, for the purposes of CS1|2,&lt;br /&gt;
Easter and Christmas are defined here as 98 and 99, which should be out of the&lt;br /&gt;
ISO 8601 (EDTF) range of uses for a while.&lt;br /&gt;
&lt;br /&gt;
local_date_names_from_mediawiki is a boolean.  When set to:&lt;br /&gt;
	true – module will fetch local month names from MediaWiki for both date_names[&#039;local&#039;][&#039;long&#039;] and date_names[&#039;local&#039;][&#039;short&#039;]; this will unconditionally overwrite manual translations&lt;br /&gt;
	false – module will *not* fetch local month names from MediaWiki&lt;br /&gt;
&lt;br /&gt;
Caveat lector:  There is no guarantee that MediaWiki will provide short month names.  At your wiki you can test&lt;br /&gt;
the results of the MediaWiki fetch in the debug console with this command (the result is alpha sorted):&lt;br /&gt;
	=mw.dumpObject (p.date_names[&#039;local&#039;])&lt;br /&gt;
&lt;br /&gt;
While the module can fetch month names from MediaWiki, it cannot fetch the quarter, season, and named date names&lt;br /&gt;
from MediaWiki.  Those must be translated manually.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local local_date_names_from_mediawiki = true;									-- when false, manual translation required for date_names[&#039;local&#039;][&#039;long&#039;] and date_names[&#039;local&#039;][&#039;short&#039;]; overwrites manual translations&lt;br /&gt;
																				-- when true, module fetches long and short month names from MediaWiki&lt;br /&gt;
local date_names = {&lt;br /&gt;
	[&#039;en&#039;] = {																	-- English&lt;br /&gt;
		[&#039;long&#039;]	= {[&#039;January&#039;] = 1, [&#039;February&#039;] = 2, [&#039;March&#039;] = 3, [&#039;April&#039;] = 4, [&#039;May&#039;] = 5, [&#039;June&#039;] = 6, [&#039;July&#039;] = 7, [&#039;August&#039;] = 8, [&#039;September&#039;] = 9, [&#039;October&#039;] = 10, [&#039;November&#039;] = 11, [&#039;December&#039;] = 12},&lt;br /&gt;
		[&#039;short&#039;]	= {[&#039;Jan&#039;] = 1, [&#039;Feb&#039;] = 2, [&#039;Mar&#039;] = 3, [&#039;Apr&#039;] = 4, [&#039;May&#039;] = 5, [&#039;Jun&#039;] = 6, [&#039;Jul&#039;] = 7, [&#039;Aug&#039;] = 8, [&#039;Sep&#039;] = 9, [&#039;Oct&#039;] = 10, [&#039;Nov&#039;] = 11, [&#039;Dec&#039;] = 12},&lt;br /&gt;
		[&#039;quarter&#039;] = {[&#039;First Quarter&#039;] = 33, [&#039;Second Quarter&#039;] = 34, [&#039;Third Quarter&#039;] = 35, [&#039;Fourth Quarter&#039;] = 36},&lt;br /&gt;
		[&#039;season&#039;]	= {[&#039;Winter&#039;] = 24, [&#039;Spring&#039;] = 21, [&#039;Summer&#039;] = 22, [&#039;Fall&#039;] = 23, [&#039;Autumn&#039;] = 23},&lt;br /&gt;
		[&#039;named&#039;]	= {[&#039;Easter&#039;] = 98, [&#039;Christmas&#039;] = 99},&lt;br /&gt;
		},&lt;br /&gt;
																				-- when local_date_names_from_mediawiki = false&lt;br /&gt;
	[&#039;local&#039;] = {																-- replace these English date names with the local language equivalents&lt;br /&gt;
		[&#039;long&#039;]	= {[&#039;January&#039;] = 1, [&#039;February&#039;] = 2, [&#039;March&#039;] = 3, [&#039;April&#039;] = 4, [&#039;May&#039;] = 5, [&#039;June&#039;] = 6, [&#039;July&#039;] = 7, [&#039;August&#039;] = 8, [&#039;September&#039;] = 9, [&#039;October&#039;] = 10, [&#039;November&#039;] = 11, [&#039;December&#039;] = 12},&lt;br /&gt;
		[&#039;short&#039;]	= {[&#039;Jan&#039;] = 1, [&#039;Feb&#039;] = 2, [&#039;Mar&#039;] = 3, [&#039;Apr&#039;] = 4, [&#039;May&#039;] = 5, [&#039;Jun&#039;] = 6, [&#039;Jul&#039;] = 7, [&#039;Aug&#039;] = 8, [&#039;Sep&#039;] = 9, [&#039;Oct&#039;] = 10, [&#039;Nov&#039;] = 11, [&#039;Dec&#039;] = 12},&lt;br /&gt;
		[&#039;quarter&#039;] = {[&#039;First Quarter&#039;] = 33, [&#039;Second Quarter&#039;] = 34, [&#039;Third Quarter&#039;] = 35, [&#039;Fourth Quarter&#039;] = 36},&lt;br /&gt;
		[&#039;season&#039;]	= {[&#039;Winter&#039;] = 24, [&#039;Spring&#039;] = 21, [&#039;Summer&#039;] = 22, [&#039;Fall&#039;] = 23, [&#039;Autumn&#039;] = 23},&lt;br /&gt;
		[&#039;named&#039;]	= {[&#039;Easter&#039;] = 98, [&#039;Christmas&#039;] = 99},&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;inv_local_long&#039;] = {},													-- used in date reformatting &amp;amp; translation; copy of date_names[&#039;local&#039;].long where k/v are inverted: [1]=&#039;&amp;lt;local name&amp;gt;&#039; etc.&lt;br /&gt;
	[&#039;inv_local_short&#039;] = {},													-- used in date reformatting &amp;amp; translation; copy of date_names[&#039;local&#039;].short where k/v are inverted: [1]=&#039;&amp;lt;local name&amp;gt;&#039; etc.&lt;br /&gt;
	[&#039;inv_local_quarter&#039;] = {},													-- used in date translation; copy of date_names[&#039;local&#039;].quarter where k/v are inverted: [1]=&#039;&amp;lt;local name&amp;gt;&#039; etc.&lt;br /&gt;
	[&#039;inv_local_season&#039;] = {},													-- used in date translation; copy of date_names[&#039;local&#039;].season where k/v are inverted: [1]=&#039;&amp;lt;local name&amp;gt;&#039; etc.&lt;br /&gt;
	[&#039;inv_local_named&#039;] = {},													-- used in date translation; copy of date_names[&#039;local&#039;].named where k/v are inverted: [1]=&#039;&amp;lt;local name&amp;gt;&#039; etc.&lt;br /&gt;
	[&#039;local_digits&#039;] = {[&#039;0&#039;] = &#039;0&#039;, [&#039;1&#039;] = &#039;1&#039;, [&#039;2&#039;] = &#039;2&#039;, [&#039;3&#039;] = &#039;3&#039;, [&#039;4&#039;] = &#039;4&#039;, [&#039;5&#039;] = &#039;5&#039;, [&#039;6&#039;] = &#039;6&#039;, [&#039;7&#039;] = &#039;7&#039;, [&#039;8&#039;] = &#039;8&#039;, [&#039;9&#039;] = &#039;9&#039;},	-- used to convert local language digits to Western 0-9&lt;br /&gt;
	[&#039;xlate_digits&#039;] = {},&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
if local_date_names_from_mediawiki then											-- if fetching local month names from MediaWiki is enabled&lt;br /&gt;
	local long_t = {};&lt;br /&gt;
	local short_t = {};&lt;br /&gt;
	for i=1, 12 do																-- loop 12x and &lt;br /&gt;
		local name = lang_obj:formatDate(&#039;F&#039;, &#039;2022-&#039; .. i .. &#039;-1&#039;);			-- get long month name for each i&lt;br /&gt;
		long_t[name] = i;														-- save it&lt;br /&gt;
		name = lang_obj:formatDate(&#039;M&#039;, &#039;2022-&#039; .. i .. &#039;-1&#039;);					-- get short month name for each i&lt;br /&gt;
		short_t[name] = i;														-- save it&lt;br /&gt;
	end&lt;br /&gt;
	date_names[&#039;local&#039;][&#039;long&#039;] = long_t;										-- write the long table – overwrites manual translation&lt;br /&gt;
	date_names[&#039;local&#039;][&#039;short&#039;] = short_t;										-- write the short table – overwrites manual translation&lt;br /&gt;
end&lt;br /&gt;
																				-- create inverted date-name tables for reformatting and/or translation&lt;br /&gt;
for _, invert_t in pairs {{&#039;long&#039;, &#039;inv_local_long&#039;}, {&#039;short&#039;, &#039;inv_local_short&#039;}, {&#039;quarter&#039;, &#039;inv_local_quarter&#039;}, {&#039;season&#039;, &#039;inv_local_season&#039;}, {&#039;named&#039;, &#039;inv_local_named&#039;}} do&lt;br /&gt;
	for name, i in pairs (date_names[&#039;local&#039;][invert_t[1]]) do					-- this table is [&#039;name&#039;] = i&lt;br /&gt;
		date_names[invert_t[2]][i] = name;										-- invert to get [i] = &#039;name&#039; for conversions from ymd&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
if local_digits_from_mediawiki then												-- if fetching local digits from MediaWiki is enabled&lt;br /&gt;
	local digits_t = {};&lt;br /&gt;
	for i=0, 9 do																-- loop 10x and &lt;br /&gt;
		digits_t [lang_obj:formatNum (i)] = tostring (i);						-- format the loop indexer as local lang table index and assign loop indexer (a string) as the value&lt;br /&gt;
	end&lt;br /&gt;
	date_names[&#039;local_digits&#039;] = digits_t;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
for ld, ed in pairs (date_names.local_digits) do								-- make a digit translation table for simple date translation from en to local language using local_digits table&lt;br /&gt;
	date_names.xlate_digits [ed] = ld;											-- en digit becomes index with local digit as the value&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local df_template_patterns = {													-- table of redirects to {{Use dmy dates}} and {{Use mdy dates}}&lt;br /&gt;
	&#039;{{ *[Uu]se +(dmy) +dates *[|}]&#039;,	-- 1159k								-- sorted by approximate transclusion count&lt;br /&gt;
	&#039;{{ *[Uu]se +(mdy) +dates *[|}]&#039;,	-- 212k&lt;br /&gt;
	&#039;{{ *[Uu]se +(MDY) +dates *[|}]&#039;,	-- 788&lt;br /&gt;
	&#039;{{ *[Uu]se +(DMY) +dates *[|}]&#039;,	-- 343&lt;br /&gt;
	&#039;{{ *([Mm]dy) *[|}]&#039;,				-- 176&lt;br /&gt;
	&#039;{{ *[Uu]se *(dmy) *[|}]&#039;,			-- 156 + 18&lt;br /&gt;
	&#039;{{ *[Uu]se *(mdy) *[|}]&#039;,			-- 149 + 11&lt;br /&gt;
	&#039;{{ *([Dd]my) *[|}]&#039;,				-- 56&lt;br /&gt;
	&#039;{{ *[Uu]se +(MDY) *[|}]&#039;,			-- 5&lt;br /&gt;
	&#039;{{ *([Dd]MY) *[|}]&#039;,				-- 3&lt;br /&gt;
	&#039;{{ *[Uu]se(mdy)dates *[|}]&#039;,		-- 1&lt;br /&gt;
	&#039;{{ *[Uu]se +(DMY) *[|}]&#039;,			-- 0&lt;br /&gt;
	&#039;{{ *([Mm]DY) *[|}]&#039;,				-- 0&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
local title_object = mw.title.getCurrentTitle();&lt;br /&gt;
local content;																	-- done this way  so that unused templates appear in unused-template-reports; self-transcluded makes them look like they are used&lt;br /&gt;
if 10 ~= title_object.namespace then											-- all namespaces except Template&lt;br /&gt;
	content = title_object:getContent() or &#039;&#039;;									-- get the content of the article or &#039;&#039;; new pages edited w/ve do not have &#039;content&#039; until saved; ve does not preview; phab:T221625&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function get_date_format ()&lt;br /&gt;
	if not content then															-- nil content when we&#039;re in template&lt;br /&gt;
		return nil;																-- auto-formatting does not work in Template space so don&#039;t set global_df&lt;br /&gt;
	end&lt;br /&gt;
	for _, pattern in ipairs (df_template_patterns) do							-- loop through the patterns looking for {{Use dmy dates}} or {{Use mdy dates}} or any of their redirects&lt;br /&gt;
		local start, _, match = content:find(pattern);							-- match is the three letters indicating desired date format&lt;br /&gt;
		if match then&lt;br /&gt;
			local use_dates_template = content:match (&#039;%b{}&#039;, start);			-- get the whole template&lt;br /&gt;
			if use_dates_template:match (&#039;| *cs1%-dates *= *[lsy][sy]?&#039;) then	-- look for |cs1-dates=publication date length access-/archive-date length&lt;br /&gt;
				return match:lower() .. &#039;-&#039; .. use_dates_template:match (&#039;| *cs1%-dates *= *([lsy][sy]?)&#039;);&lt;br /&gt;
			else&lt;br /&gt;
				return match:lower() .. &#039;-all&#039;;									-- no |cs1-dates= k/v pair; return value appropriate for use in |df=&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local global_df;																-- TODO: add this to &amp;lt;global_cs1_config_t&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-----------------&amp;lt; V O L U M E ,  I S S U E ,  P A G E S &amp;gt;------------------&lt;br /&gt;
&lt;br /&gt;
These tables hold cite class values (from the template invocation) and identify those templates that support&lt;br /&gt;
|volume=, |issue=, and |page(s)= parameters.  Cite conference and cite map require further qualification which&lt;br /&gt;
is handled in the main module.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local templates_using_volume = {&#039;citation&#039;, &#039;audio-visual&#039;, &#039;book&#039;, &#039;conference&#039;, &#039;encyclopaedia&#039;, &#039;interview&#039;, &#039;journal&#039;, &#039;magazine&#039;, &#039;map&#039;, &#039;news&#039;, &#039;report&#039;, &#039;techreport&#039;, &#039;thesis&#039;}&lt;br /&gt;
local templates_using_issue = {&#039;citation&#039;, &#039;conference&#039;, &#039;episode&#039;, &#039;interview&#039;, &#039;journal&#039;, &#039;magazine&#039;, &#039;map&#039;, &#039;news&#039;, &#039;podcast&#039;}&lt;br /&gt;
local templates_not_using_page = {&#039;audio-visual&#039;, &#039;episode&#039;, &#039;mailinglist&#039;, &#039;newsgroup&#039;, &#039;podcast&#039;, &#039;serial&#039;, &#039;sign&#039;, &#039;speech&#039;}&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
&lt;br /&gt;
These tables control when it is appropriate for {{citation}} to render |volume= and/or |issue=.  The parameter&lt;br /&gt;
names in the tables constrain {{citation}} so that its renderings match the renderings of the equivalent cs1&lt;br /&gt;
templates.  For example, {{cite web}} does not support |volume= so the equivalent {{citation |website=...}} must&lt;br /&gt;
not support |volume=.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local citation_no_volume_t = {													-- {{citation}} does not render |volume= when these parameters are used&lt;br /&gt;
	&#039;website&#039;, &#039;mailinglist&#039;, &#039;script-website&#039;,&lt;br /&gt;
	}&lt;br /&gt;
local citation_issue_t = {														-- {{citation}} may render |issue= when these parameters are used&lt;br /&gt;
	&#039;journal&#039;, &#039;magazine&#039;, &#039;newspaper&#039;, &#039;periodical&#039;, &#039;work&#039;,&lt;br /&gt;
	&#039;script-journal&#039;, &#039;script-magazine&#039;, &#039;script-newspaper&#039;, &#039;script-periodical&#039;, &#039;script-work&#039;,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
&lt;br /&gt;
Patterns for finding extra text in |volume=, |issue=, |page=, |pages=&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local vol_iss_pg_patterns = {&lt;br /&gt;
	good_ppattern = &#039;^P[^%.PpGg]&#039;,												-- OK to begin with uppercase P: P7 (page 7 of section P), but not p123 (page 123); TODO: this allows &#039;Pages&#039; which it should not&lt;br /&gt;
	bad_ppatterns = {															-- patterns for |page= and |pages=&lt;br /&gt;
		&#039;^[Pp][PpGg]?%.?[ %d]&#039;,&lt;br /&gt;
		&#039;^[Pp][Pp]?%.&amp;amp;nbsp;&#039;,													-- from {{p.}} and {{pp.}} templates&lt;br /&gt;
		&#039;^[Pp]ages?&#039;,&lt;br /&gt;
		&#039;^[Pp]gs.?&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	vi_patterns_t = {															-- combined to catch volume-like text in |issue= and issue-like text in |volume=&lt;br /&gt;
		&#039;^volumes?&#039;,															-- volume-like text&lt;br /&gt;
		&#039;^vols?[%.:=]?&#039;,&lt;br /&gt;
&lt;br /&gt;
		&#039;^issues?&#039;,																--issue-like text&lt;br /&gt;
		&#039;^iss[%.:=]?&#039;,&lt;br /&gt;
		&#039;^numbers?&#039;,&lt;br /&gt;
		&#039;^nos?%A&#039;,																-- don&#039;t match &#039;november&#039; or &#039;nostradamus&#039;&lt;br /&gt;
		&#039;^nr[%.:=]?&#039;,&lt;br /&gt;
		&#039;^n[%.:= ]&#039;,															-- might be a valid issue without separator (space char is sep char here)&lt;br /&gt;
		&#039;^n°&#039;,																	-- &#039;n&#039; with degree sign (U+00B0)&lt;br /&gt;
		&#039;^№&#039;,																	-- precomposed unicode numero character (U+2116)&lt;br /&gt;
		},&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; K E Y W O R D S &amp;gt;-------------------------------&lt;br /&gt;
&lt;br /&gt;
These tables hold keywords for those parameters that have defined sets of acceptable keywords.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
--[[-------------------&amp;lt; K E Y W O R D S   T A B L E &amp;gt;--------------------------&lt;br /&gt;
&lt;br /&gt;
this is a list of keywords; each key in the list is associated with a table of&lt;br /&gt;
synonymous keywords possibly from different languages.&lt;br /&gt;
&lt;br /&gt;
for I18N: add local-language keywords to value table; do not change the key.&lt;br /&gt;
For example, adding the German keyword &#039;ja&#039;:&lt;br /&gt;
	[&#039;affirmative&#039;] = {&#039;yes&#039;, &#039;true&#039;, &#039;y&#039;, &#039;ja&#039;},&lt;br /&gt;
&lt;br /&gt;
Because CS1|2 templates from en.wiki articles are often copied to other local wikis,&lt;br /&gt;
it is recommended that the English keywords remain in these tables.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local keywords = {&lt;br /&gt;
	[&#039;amp&#039;] = {&#039;&amp;amp;&#039;, &#039;amp&#039;, &#039;ampersand&#039;}, 										-- |name-list-style=&lt;br /&gt;
	[&#039;and&#039;] = {&#039;and&#039;, &#039;serial&#039;},												-- |name-list-style=&lt;br /&gt;
	[&#039;affirmative&#039;] = {&#039;yes&#039;, &#039;true&#039;, &#039;y&#039;},										-- |no-tracking=, |no-pp= -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;afterword&#039;] = {&#039;afterword&#039;},												-- |contribution=&lt;br /&gt;
	[&#039;bot: unknown&#039;] = {&#039;bot: unknown&#039;},										-- |url-status= -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;cs1&#039;] = {&#039;cs1&#039;},															-- |mode=&lt;br /&gt;
	[&#039;cs2&#039;] = {&#039;cs2&#039;},															-- |mode=&lt;br /&gt;
	[&#039;dead&#039;] = {&#039;dead&#039;, &#039;deviated&#039;},											-- |url-status= -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;dmy&#039;] = {&#039;dmy&#039;},															-- |df=&lt;br /&gt;
	[&#039;dmy-all&#039;] = {&#039;dmy-all&#039;},													-- |df=&lt;br /&gt;
	[&#039;foreword&#039;] = {&#039;foreword&#039;},												-- |contribution=&lt;br /&gt;
	[&#039;free&#039;] = {&#039;free&#039;},														-- |&amp;lt;id&amp;gt;-access= -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;harv&#039;] = {&#039;harv&#039;},														-- |ref=; this no longer supported; is_valid_parameter_value() called with &amp;lt;invert&amp;gt; = true&lt;br /&gt;
	[&#039;introduction&#039;] = {&#039;introduction&#039;},										-- |contribution=&lt;br /&gt;
	[&#039;limited&#039;] = {&#039;limited&#039;},													-- |url-access= -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;live&#039;] = {&#039;live&#039;},														-- |url-status= -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;mdy&#039;] = {&#039;mdy&#039;},															-- |df=&lt;br /&gt;
	[&#039;mdy-all&#039;] = {&#039;mdy-all&#039;},													-- |df=&lt;br /&gt;
	[&#039;none&#039;] = {&#039;none&#039;},														-- |postscript=, |ref=, |title=, |type= -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;off&#039;] = {&#039;off&#039;},															-- |title= (potentially also: |title-link=, |postscript=, |ref=, |type=)&lt;br /&gt;
	[&#039;preface&#039;] = {&#039;preface&#039;},													-- |contribution=&lt;br /&gt;
	[&#039;registration&#039;] = {&#039;registration&#039;},										-- |url-access= -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;subscription&#039;] = {&#039;subscription&#039;},										-- |url-access= -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;unfit&#039;] = {&#039;unfit&#039;},														-- |url-status= -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;usurped&#039;] = {&#039;usurped&#039;},													-- |url-status= -- Used by InternetArchiveBot&lt;br /&gt;
	[&#039;vanc&#039;] = {&#039;vanc&#039;},														-- |name-list-style=&lt;br /&gt;
	[&#039;ymd&#039;] = {&#039;ymd&#039;},															-- |df=&lt;br /&gt;
	[&#039;ymd-all&#039;] = {&#039;ymd-all&#039;},													-- |df=&lt;br /&gt;
	--	[&#039;yMd&#039;] = {&#039;yMd&#039;},														-- |df=; not supported at en.wiki&lt;br /&gt;
	--	[&#039;yMd-all&#039;] = {&#039;yMd-all&#039;},												-- |df=; not supported at en.wiki&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[------------------------&amp;lt; X L A T E _ K E Y W O R D S &amp;gt;---------------------&lt;br /&gt;
&lt;br /&gt;
this function builds a list, keywords_xlate{}, of the keywords found in keywords{} where the values from keywords{}&lt;br /&gt;
become the keys in keywords_xlate{} and the keys from keywords{} become the values in keywords_xlate{}:&lt;br /&gt;
	[&#039;affirmative&#039;] = {&#039;yes&#039;, &#039;true&#039;, &#039;y&#039;},		-- in keywords{}&lt;br /&gt;
becomes&lt;br /&gt;
	[&#039;yes&#039;] = &#039;affirmative&#039;,					-- in keywords_xlate{}&lt;br /&gt;
	[&#039;true&#039;] = &#039;affirmative&#039;,&lt;br /&gt;
	[&#039;y&#039;] = &#039;affirmative&#039;,&lt;br /&gt;
&lt;br /&gt;
the purpose of this function is to act as a translator between a non-English keyword and its English equivalent&lt;br /&gt;
that may be used in other modules of this suite&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function xlate_keywords ()&lt;br /&gt;
	local out_table = {};														-- output goes here&lt;br /&gt;
	for k, keywords_t in pairs (keywords) do									-- spin through the keywords table&lt;br /&gt;
		for _, keyword in ipairs (keywords_t) do								-- for each keyword&lt;br /&gt;
			out_table[keyword] = k;												-- create an entry in the output table where keyword is the key&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return out_table;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local keywords_xlate = xlate_keywords ();										-- the list of translated keywords&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[----------------&amp;lt; M A K E _ K E Y W O R D S _ L I S T &amp;gt;---------------------&lt;br /&gt;
&lt;br /&gt;
this function assembles, for parameter-value validation, the list of keywords appropriate to that parameter.&lt;br /&gt;
&lt;br /&gt;
keywords_lists{}, is a table of tables from keywords{}&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function make_keywords_list (keywords_lists)&lt;br /&gt;
	local out_table = {};														-- output goes here&lt;br /&gt;
	&lt;br /&gt;
	for _, keyword_list in ipairs (keywords_lists) do							-- spin through keywords_lists{} and get a table of keywords&lt;br /&gt;
		for _, keyword in ipairs (keyword_list) do								-- spin through keyword_list{} and add each keyword, ...&lt;br /&gt;
			table.insert (out_table, keyword);									-- ... as plain text, to the output list&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return out_table;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[----------------&amp;lt; K E Y W O R D S _ L I S T S &amp;gt;-----------------------------&lt;br /&gt;
&lt;br /&gt;
this is a list of lists of valid keywords for the various parameters in [key].&lt;br /&gt;
Generally the keys in this table are the canonical en.wiki parameter names though&lt;br /&gt;
some are contrived because of use in multiple differently named parameters:&lt;br /&gt;
[&#039;yes_true_y&#039;], [&#039;id-access&#039;].&lt;br /&gt;
&lt;br /&gt;
The function make_keywords_list() extracts the individual keywords from the&lt;br /&gt;
appropriate list in keywords{}.&lt;br /&gt;
&lt;br /&gt;
The lists in this table are used to validate the keyword assignment for the&lt;br /&gt;
parameters named in this table&#039;s keys.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local keywords_lists = {&lt;br /&gt;
	[&#039;yes_true_y&#039;] = make_keywords_list ({keywords.affirmative}),&lt;br /&gt;
	[&#039;contribution&#039;] = make_keywords_list ({keywords.afterword, keywords.foreword, keywords.introduction, keywords.preface}),&lt;br /&gt;
	[&#039;df&#039;] = make_keywords_list ({keywords.dmy, keywords[&#039;dmy-all&#039;], keywords.mdy, keywords[&#039;mdy-all&#039;], keywords.ymd, keywords[&#039;ymd-all&#039;]}),&lt;br /&gt;
	--	[&#039;df&#039;] = make_keywords_list ({keywords.dmy, keywords[&#039;dmy-all&#039;], keywords.mdy, keywords[&#039;mdy-all&#039;], keywords.ymd, keywords[&#039;ymd-all&#039;], keywords.yMd, keywords[&#039;yMd-all&#039;]}),	-- not supported at en.wiki&lt;br /&gt;
	[&#039;mode&#039;] = make_keywords_list ({keywords.cs1, keywords.cs2}),&lt;br /&gt;
	[&#039;name-list-style&#039;] = make_keywords_list ({keywords.amp, keywords[&#039;and&#039;], keywords.vanc}),&lt;br /&gt;
	[&#039;ref&#039;] = make_keywords_list ({keywords.harv}),								-- inverted check; |ref=harv no longer supported&lt;br /&gt;
	[&#039;url-access&#039;] = make_keywords_list ({keywords.subscription, keywords.limited, keywords.registration}),&lt;br /&gt;
	[&#039;url-status&#039;] = make_keywords_list ({keywords.dead, keywords.live, keywords.unfit, keywords.usurped, keywords[&#039;bot: unknown&#039;]}),&lt;br /&gt;
	[&#039;id-access&#039;] = make_keywords_list ({keywords.free}),&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C S 1 _ C O N F I G _ G E T &amp;gt;--------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
fetch and validate values from {{cs1 config}} template to fill &amp;lt;global_cs1_config_t&amp;gt;&lt;br /&gt;
&lt;br /&gt;
no error messages; when errors are detected, the parameter value from {{cs1 config}} is blanked.&lt;br /&gt;
&lt;br /&gt;
Supports all parameters and aliases associated with the metaparameters: DisplayAuthors, DisplayContributors,&lt;br /&gt;
DisplayEditors, DisplayInterviewers, DisplayTranslators, NameListStyle, and Mode.  The DisplayWhatever metaparameters&lt;br /&gt;
accept numeric values only (|display-authors=etal and the like is not supported).&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local global_cs1_config_t = {};													-- TODO: add value returned from get_date_format() to this table?&lt;br /&gt;
&lt;br /&gt;
local function get_cs1_config ()&lt;br /&gt;
	if not content then															-- nil content when we&#039;re in template&lt;br /&gt;
		return nil;																-- auto-formatting does not work in Template space so don&#039;t set global_df&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local start = content:find(&#039;{{ *[Cc][Ss]1 config *[|}]&#039;);					-- &amp;lt;start&amp;gt; is offset into &amp;lt;content&amp;gt; when {{cs1 config}} found; nil else&lt;br /&gt;
	if start then&lt;br /&gt;
		local cs1_config_template = content:match (&#039;%b{}&#039;, start);				-- get the whole template&lt;br /&gt;
&lt;br /&gt;
		if not cs1_config_template then&lt;br /&gt;
			return nil;&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		local params_t = mw.text.split (cs1_config_template:gsub (&#039;^{{%s*&#039;, &#039;&#039;):gsub (&#039;%s*}}$&#039;, &#039;&#039;), &#039;%s*|%s*&#039;);	-- remove &#039;{{&#039; and &#039;}}&#039;; make a sequence of parameter/value pairs (split on the pipe)&lt;br /&gt;
		table.remove (params_t, 1);												-- remove the template name because it isn&#039;t a parameter/value pair&lt;br /&gt;
&lt;br /&gt;
		local config_meta_params_t = {&#039;DisplayAuthors&#039;, &#039;DisplayContributors&#039;, &#039;DisplayEditors&#039;, &#039;DisplayInterviewers&#039;, &#039;DisplayTranslators&#039;, &#039;NameListStyle&#039;, &#039;Mode&#039;};&lt;br /&gt;
		local meta_param_map_t = {};											-- list of accepted parameter names usable in {{cs1 config}} goes here&lt;br /&gt;
		&lt;br /&gt;
		for _, meta_param in ipairs (config_meta_params_t) do					-- for i18n using &amp;lt;config_meta_params_t&amp;gt;, map template parameter names to their metaparameter equivalents&lt;br /&gt;
			if &#039;table&#039; == type (aliases[meta_param]) then						-- if &amp;lt;meta_param&amp;gt; is a sequence, &lt;br /&gt;
				for _, param in ipairs (aliases[meta_param]) do					-- extract its contents&lt;br /&gt;
					meta_param_map_t[param] = meta_param;						-- and add to &amp;lt;meta_param_map_t&amp;gt;&lt;br /&gt;
				end&lt;br /&gt;
			else&lt;br /&gt;
				meta_param_map_t[aliases[meta_param]] = meta_param;				-- not a sequence so just add the parameter to &amp;lt;meta_param_map_t&amp;gt;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		local keywords_t = {};													-- map valid keywords to their associate metaparameter; reverse form of &amp;lt;keyword_lists[key] for these metaparameters&lt;br /&gt;
		for _, metaparam_t in ipairs ({{&#039;NameListStyle&#039;, &#039;name-list-style&#039;}, {&#039;Mode&#039;, &#039;mode&#039;}}) do	-- only these metaparameter / keywords_lists key pairs&lt;br /&gt;
			for _, keyword in ipairs (keywords_lists[metaparam_t[2]]) do		-- spin through the list of keywords&lt;br /&gt;
				keywords_t[keyword] = metaparam_t[1];							-- add [keyword] = metaparameter to the map&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		for _, param in ipairs (params_t) do									-- spin through the {{cs1 config}} parameters and fill &amp;lt;global_cs1_config_t&amp;gt;&lt;br /&gt;
			local k, v = param:match (&#039;([^=]-)%s*=%s*(.+)&#039;);					-- &amp;lt;k&amp;gt; is the parameter name; &amp;lt;v&amp;gt; is parameter&#039;s assigned value&lt;br /&gt;
			if k then&lt;br /&gt;
				if k:find (&#039;^display&#039;) then										-- if &amp;lt;k&amp;gt; is one of the |display-&amp;lt;namelist&amp;gt;= parameters&lt;br /&gt;
					if v:match (&#039;%d+&#039;) then										-- the assigned value must be digits; doesn&#039;t accept &#039;etal&#039;&lt;br /&gt;
						global_cs1_config_t[meta_param_map_t[k]]=v;				-- add the display param and its value to globals table&lt;br /&gt;
					end&lt;br /&gt;
				else&lt;br /&gt;
					if keywords_t[v] == meta_param_map_t[k] then				-- keywords_t[v] returns nil or the metaparam name; these must be the same&lt;br /&gt;
						global_cs1_config_t[meta_param_map_t[k]]=v;				-- add the parameter and its value to globals table&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
get_cs1_config ();																-- fill &amp;lt;global_cs1_config_t&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[---------------------&amp;lt; S T R I P M A R K E R S &amp;gt;----------------------------&lt;br /&gt;
&lt;br /&gt;
Common pattern definition location for stripmarkers so that we don&#039;t have to go&lt;br /&gt;
hunting for them if (when) MediaWiki changes their form.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local stripmarkers = {&lt;br /&gt;
	[&#039;any&#039;] = &#039;\127[^\127]*UNIQ%-%-(%a+)%-[%a%d]+%-QINU[^\127]*\127&#039;,			-- capture returns name of stripmarker&lt;br /&gt;
	[&#039;math&#039;] = &#039;\127[^\127]*UNIQ%-%-math%-[%a%d]+%-QINU[^\127]*\127&#039;			-- math stripmarkers used in coins_cleanup() and coins_replace_math_stripmarker()&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[------------&amp;lt; I N V I S I B L E _ C H A R A C T E R S &amp;gt;---------------------&lt;br /&gt;
&lt;br /&gt;
This table holds non-printing or invisible characters indexed either by name or&lt;br /&gt;
by Unicode group. Values are decimal representations of UTF-8 codes.  The table&lt;br /&gt;
is organized as a table of tables because the Lua pairs keyword returns table&lt;br /&gt;
data in an arbitrary order.  Here, we want to process the table from top to bottom&lt;br /&gt;
because the entries at the top of the table are also found in the ranges specified&lt;br /&gt;
by the entries at the bottom of the table.&lt;br /&gt;
&lt;br /&gt;
Also here is a pattern that recognizes stripmarkers that begin and end with the&lt;br /&gt;
delete characters.  The nowiki stripmarker is not an error but some others are&lt;br /&gt;
because the parameter values that include them become part of the template&#039;s&lt;br /&gt;
metadata before stripmarker replacement.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local invisible_defs = {&lt;br /&gt;
	del = &#039;\127&#039;,																-- used to distinguish between stripmarker and del char&lt;br /&gt;
	zwj = &#039;\226\128\141&#039;,														-- used with capture because zwj may be allowed&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
local invisible_chars = {&lt;br /&gt;
	{&#039;replacement&#039;, &#039;\239\191\189&#039;},											-- U+FFFD, EF BF BD&lt;br /&gt;
	{&#039;zero width joiner&#039;, &#039;(&#039;.. invisible_defs.zwj .. &#039;)&#039;},						-- U+200D, E2 80 8D; capture because zwj may be allowed&lt;br /&gt;
	{&#039;zero width space&#039;, &#039;\226\128\139&#039;},										-- U+200B, E2 80 8B&lt;br /&gt;
	{&#039;hair space&#039;, &#039;\226\128\138&#039;},												-- U+200A, E2 80 8A&lt;br /&gt;
	{&#039;soft hyphen&#039;, &#039;\194\173&#039;},												-- U+00AD, C2 AD&lt;br /&gt;
	{&#039;horizontal tab&#039;, &#039;\009&#039;},													-- U+0009 (HT), 09&lt;br /&gt;
	{&#039;line feed&#039;, &#039;\010&#039;},														-- U+000A (LF), 0A&lt;br /&gt;
	{&#039;no-break space&#039;, &#039;\194\160&#039;},												-- U+00A0 (NBSP), C2 A0&lt;br /&gt;
	{&#039;carriage return&#039;, &#039;\013&#039;},												-- U+000D (CR), 0D&lt;br /&gt;
	{&#039;stripmarker&#039;, stripmarkers.any},											-- stripmarker; may or may not be an error; capture returns the stripmaker type&lt;br /&gt;
	{&#039;delete&#039;, &#039;(&#039;.. invisible_defs.del .. &#039;)&#039;},								-- U+007F (DEL), 7F; must be done after stripmarker test; capture to distinguish isolated del chars not part of stripmarker&lt;br /&gt;
	{&#039;C0 control&#039;, &#039;[\000-\008\011\012\014-\031]&#039;},								-- U+0000–U+001F (NULL–US), 00–1F (except HT, LF, CR (09, 0A, 0D))&lt;br /&gt;
	{&#039;C1 control&#039;, &#039;[\194\128-\194\159]&#039;},										-- U+0080–U+009F (XXX–APC), C2 80 – C2 9F&lt;br /&gt;
	--	{&#039;Specials&#039;, &#039;[\239\191\185-\239\191\191]&#039;},								-- U+FFF9-U+FFFF, EF BF B9 – EF BF BF&lt;br /&gt;
	--	{&#039;Private use area&#039;, &#039;[\238\128\128-\239\163\191]&#039;},						-- U+E000–U+F8FF, EE 80 80 – EF A3 BF&lt;br /&gt;
	--	{&#039;Supplementary Private Use Area-A&#039;, &#039;[\243\176\128\128-\243\191\191\189]&#039;},	-- U+F0000–U+FFFFD, F3 B0 80 80 – F3 BF BF BD&lt;br /&gt;
	--	{&#039;Supplementary Private Use Area-B&#039;, &#039;[\244\128\128\128-\244\143\191\189]&#039;},	-- U+100000–U+10FFFD, F4 80 80 80 – F4 8F BF BD&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
&lt;br /&gt;
Indic script makes use of zero width joiner as a character modifier so zwj&lt;br /&gt;
characters must be left in.  This pattern covers all of the unicode characters&lt;br /&gt;
for these languages:&lt;br /&gt;
	Devanagari					0900–097F – https://unicode.org/charts/PDF/U0900.pdf&lt;br /&gt;
		Devanagari extended		A8E0–A8FF – https://unicode.org/charts/PDF/UA8E0.pdf&lt;br /&gt;
	Bengali						0980–09FF – https://unicode.org/charts/PDF/U0980.pdf&lt;br /&gt;
	Gurmukhi					0A00–0A7F – https://unicode.org/charts/PDF/U0A00.pdf&lt;br /&gt;
	Gujarati					0A80–0AFF – https://unicode.org/charts/PDF/U0A80.pdf&lt;br /&gt;
	Oriya						0B00–0B7F – https://unicode.org/charts/PDF/U0B00.pdf&lt;br /&gt;
	Tamil						0B80–0BFF – https://unicode.org/charts/PDF/U0B80.pdf&lt;br /&gt;
	Telugu						0C00–0C7F – https://unicode.org/charts/PDF/U0C00.pdf&lt;br /&gt;
	Kannada						0C80–0CFF – https://unicode.org/charts/PDF/U0C80.pdf&lt;br /&gt;
	Malayalam					0D00–0D7F – https://unicode.org/charts/PDF/U0D00.pdf&lt;br /&gt;
plus the not-necessarily Indic scripts for Sinhala and Burmese:&lt;br /&gt;
	Sinhala						0D80-0DFF - https://unicode.org/charts/PDF/U0D80.pdf&lt;br /&gt;
	Myanmar						1000-109F - https://unicode.org/charts/PDF/U1000.pdf&lt;br /&gt;
		Myanmar extended A		AA60-AA7F - https://unicode.org/charts/PDF/UAA60.pdf&lt;br /&gt;
		Myanmar extended B		A9E0-A9FF - https://unicode.org/charts/PDF/UA9E0.pdf&lt;br /&gt;
the pattern is used by has_invisible_chars() and coins_cleanup()&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local indic_script = &#039;[\224\164\128-\224\181\191\224\163\160-\224\183\191\225\128\128-\225\130\159\234\167\160-\234\167\191\234\169\160-\234\169\191]&#039;;&lt;br /&gt;
&lt;br /&gt;
-- list of emoji that use a zwj character (U+200D) to combine with another emoji&lt;br /&gt;
-- from: https://unicode.org/Public/emoji/16.0/emoji-zwj-sequences.txt; version: 16.0; 2024-08-14&lt;br /&gt;
-- table created by: [[:en:Module:Make emoji zwj table]]&lt;br /&gt;
local emoji_t = {																-- indexes are decimal forms of the hex values in U+xxxx&lt;br /&gt;
	[8596] = true,																-- U+2194 ↔ left right arrow&lt;br /&gt;
	[8597] = true,																-- U+2195 ↕ up down arrow&lt;br /&gt;
	[9760] = true,																-- U+2620 ☠ skull and crossbones&lt;br /&gt;
	[9792] = true,																-- U+2640 ♀ female sign&lt;br /&gt;
	[9794] = true,																-- U+2642 ♂ male sign&lt;br /&gt;
	[9877] = true,																-- U+2695 ⚕ staff of aesculapius&lt;br /&gt;
	[9878] = true,																-- U+2696 ⚖ scales&lt;br /&gt;
	[9895] = true,																-- U+26A7 ⚧ male with stroke and male and female sign&lt;br /&gt;
	[9992] = true,																-- U+2708 ✈ airplane&lt;br /&gt;
	[10052] = true,																-- U+2744 ❄ snowflake&lt;br /&gt;
	[10084] = true,																-- U+2764 ❤ heavy black heart&lt;br /&gt;
	[10145] = true,																-- U+27A1 ➡ black rightwards arrow&lt;br /&gt;
	[11035] = true,																-- U+2B1B ⬛ black large square&lt;br /&gt;
	[127752] = true,															-- U+1F308 🌈 rainbow&lt;br /&gt;
	[127787] = true,															-- U+1F32B 🌫 fog&lt;br /&gt;
	[127806] = true,															-- U+1F33E 🌾 ear of rice&lt;br /&gt;
	[127859] = true,															-- U+1F373 🍳 cooking&lt;br /&gt;
	[127868] = true,															-- U+1F37C 🍼 baby bottle&lt;br /&gt;
	[127876] = true,															-- U+1F384 🎄 christmas tree&lt;br /&gt;
	[127891] = true,															-- U+1F393 🎓 graduation cap&lt;br /&gt;
	[127908] = true,															-- U+1F3A4 🎤 microphone&lt;br /&gt;
	[127912] = true,															-- U+1F3A8 🎨 artist palette&lt;br /&gt;
	[127979] = true,															-- U+1F3EB 🏫 school&lt;br /&gt;
	[127981] = true,															-- U+1F3ED 🏭 factory&lt;br /&gt;
	[128102] = true,															-- U+1F466 👦 boy&lt;br /&gt;
	[128103] = true,															-- U+1F467 👧 girl&lt;br /&gt;
	[128104] = true,															-- U+1F468 👨 man&lt;br /&gt;
	[128105] = true,															-- U+1F469 👩 woman&lt;br /&gt;
	[128139] = true,															-- U+1F48B 💋 kiss mark&lt;br /&gt;
	[128165] = true,															-- U+1F4A5 💥 collision symbol&lt;br /&gt;
	[128168] = true,															-- U+1F4A8 💨 dash symbol&lt;br /&gt;
	[128171] = true,															-- U+1F4AB 💫 dizzy symbol&lt;br /&gt;
	[128187] = true,															-- U+1F4BB 💻 personal computer&lt;br /&gt;
	[128188] = true,															-- U+1F4BC 💼 brief case&lt;br /&gt;
	[128293] = true,															-- U+1F525 🔥 fire&lt;br /&gt;
	[128295] = true,															-- U+1F527 🔧 wrench&lt;br /&gt;
	[128300] = true,															-- U+1F52C 🔬 microscope&lt;br /&gt;
	[128488] = true,															-- U+1F5E8 🗨 left speech bubble&lt;br /&gt;
	[128640] = true,															-- U+1F680 🚀 rocket&lt;br /&gt;
	[128658] = true,															-- U+1F692 🚒 fire engine&lt;br /&gt;
	[129001] = true,															-- U+1F7E9 🟩 large green square&lt;br /&gt;
	[129003] = true,															-- U+1F7EB 🟫 large brown square&lt;br /&gt;
	[129309] = true,															-- U+1F91D 🤝 handshake&lt;br /&gt;
	[129455] = true,															-- U+1F9AF 🦯 probing cane&lt;br /&gt;
	[129456] = true,															-- U+1F9B0 🦰 emoji component red hair&lt;br /&gt;
	[129457] = true,															-- U+1F9B1 🦱 emoji component curly hair&lt;br /&gt;
	[129458] = true,															-- U+1F9B2 🦲 emoji component bald&lt;br /&gt;
	[129459] = true,															-- U+1F9B3 🦳 emoji component white hair&lt;br /&gt;
	[129466] = true,															-- U+1F9BA 🦺 safety vest&lt;br /&gt;
	[129468] = true,															-- U+1F9BC 🦼 motorized wheelchair&lt;br /&gt;
	[129469] = true,															-- U+1F9BD 🦽 manual wheelchair&lt;br /&gt;
	[129489] = true,															-- U+1F9D1 🧑 adult&lt;br /&gt;
	[129490] = true,															-- U+1F9D2 🧒 child&lt;br /&gt;
	[129657] = true,															-- U+1FA79 🩹 adhesive bandage&lt;br /&gt;
	[129778] = true,															-- U+1FAF2 🫲 leftwards hand&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[----------------------&amp;lt; L A N G U A G E   S U P P O R T &amp;gt;-------------------&lt;br /&gt;
&lt;br /&gt;
These tables and constants support various language-specific functionality.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
--local this_wiki_code = mw.getContentLanguage():getCode();						-- get this wiki&#039;s language code&lt;br /&gt;
local this_wiki_code = lang_obj:getCode();										-- get this wiki&#039;s language code&lt;br /&gt;
if string.match (mw.site.server, &#039;wikidata&#039;) then&lt;br /&gt;
		this_wiki_code = mw.getCurrentFrame():callParserFunction(&#039;int&#039;, {&#039;lang&#039;}); -- on Wikidata so use interface language setting instead&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
local mw_languages_by_tag_t = mw.language.fetchLanguageNames (this_wiki_code, &#039;all&#039;);	-- get a table of language tag/name pairs known to Wikimedia; used for interwiki tests&lt;br /&gt;
local mw_languages_by_name_t = {};&lt;br /&gt;
	for k, v in pairs (mw_languages_by_tag_t) do								-- build a &#039;reversed&#039; table name/tag language pairs know to MediaWiki; used for |language=&lt;br /&gt;
		v = mw.ustring.lower (v);												-- lowercase for tag fetch; get name&#039;s proper case from mw_languages_by_tag_t[&amp;lt;tag&amp;gt;]&lt;br /&gt;
		if mw_languages_by_name_t[v] then										-- when name already in the table&lt;br /&gt;
			if 2 == #k or 3 == #k then											-- if tag does not have subtags&lt;br /&gt;
				mw_languages_by_name_t[v] = k;									-- prefer the shortest tag for this name&lt;br /&gt;
			end&lt;br /&gt;
		else																	-- here when name not in the table&lt;br /&gt;
			mw_languages_by_name_t[v] = k;										-- so add name and matching tag&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
local inter_wiki_map = {};														-- map of interwiki prefixes that are language-code prefixes&lt;br /&gt;
	for k, v in pairs (mw.site.interwikiMap (&#039;local&#039;)) do						-- spin through the base interwiki map (limited to local)&lt;br /&gt;
		if mw_languages_by_tag_t[v[&amp;quot;prefix&amp;quot;]] then								-- if the prefix matches a known language tag&lt;br /&gt;
			inter_wiki_map[v[&amp;quot;prefix&amp;quot;]] = true;									-- add it to our local map&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------&amp;lt; S C R I P T _ L A N G _ C O D E S &amp;gt;-------------------&lt;br /&gt;
&lt;br /&gt;
This table is used to hold ISO 639-1 two-character and ISO 639-3 three-character&lt;br /&gt;
language codes that apply only to |script-title= and |script-chapter=&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local script_lang_codes = {&lt;br /&gt;
	&#039;ab&#039;, &#039;am&#039;, &#039;ar&#039;, &#039;az&#039;, &#039;be&#039;, &#039;bg&#039;, &#039;bn&#039;, &#039;bo&#039;, &#039;bs&#039;, &#039;ce&#039;, &#039;chr&#039;, &#039;dv&#039;, &#039;dz&#039;,&lt;br /&gt;
	&#039;el&#039;, &#039;fa&#039;, &#039;grc&#039;, &#039;gu&#039;, &#039;he&#039;, &#039;hi&#039;, &#039;hy&#039;, &#039;ja&#039;, &#039;ka&#039;, &#039;kk&#039;, &#039;km&#039;, &#039;kn&#039;, &#039;ko&#039;,&lt;br /&gt;
	&#039;ku&#039;, &#039;ky&#039;, &#039;lo&#039;, &#039;mk&#039;, &#039;ml&#039;, &#039;mn&#039;, &#039;mni&#039;, &#039;mr&#039;, &#039;my&#039;, &#039;ne&#039;, &#039;or&#039;, &#039;ota&#039;,&lt;br /&gt;
	&#039;pa&#039;, &#039;ps&#039;, &#039;ru&#039;, &#039;sd&#039;, &#039;si&#039;, &#039;sr&#039;, &#039;syc&#039;, &#039;ta&#039;, &#039;te&#039;, &#039;tg&#039;, &#039;th&#039;, &#039;ti&#039;, &#039;tt&#039;,&lt;br /&gt;
	&#039;ug&#039;, &#039;uk&#039;, &#039;ur&#039;, &#039;uz&#039;, &#039;yi&#039;, &#039;yue&#039;, &#039;zh&#039;, &#039;zgh&#039;&lt;br /&gt;
	};&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[---------------&amp;lt; L A N G U A G E   R E M A P P I N G &amp;gt;----------------------&lt;br /&gt;
&lt;br /&gt;
These tables hold language information that is different (correct) from MediaWiki&#039;s definitions&lt;br /&gt;
&lt;br /&gt;
For each [&#039;&amp;lt;tag&amp;gt;&#039;] = &#039;language name&#039; in lang_code_remap{} there must be a matching [&#039;language name&#039;] = {&#039;language name&#039;, &#039;&amp;lt;tag&amp;gt;&#039;} in lang_name_remap{}&lt;br /&gt;
&lt;br /&gt;
lang_tag_remap{}:&lt;br /&gt;
	key is always lowercase ISO 639-1, -2, -3 language tag or a valid lowercase IETF language tag&lt;br /&gt;
	value is properly spelled and capitalized language name associated with &amp;lt;tag&amp;gt;&lt;br /&gt;
	only one language name per &amp;lt;tag&amp;gt;;&lt;br /&gt;
	key/value pair must have matching entry in lang_name_remap{}&lt;br /&gt;
&lt;br /&gt;
lang_name_remap{}:&lt;br /&gt;
	key is always lowercase language name&lt;br /&gt;
	value is a table the holds correctly spelled and capitalized language name [1] and associated tag [2] (tag must match a tag key in lang_tag_remap{})&lt;br /&gt;
	may have multiple keys referring to a common preferred name and tag; For example:&lt;br /&gt;
		[&#039;kolsch&#039;] and [&#039;kölsch&#039;] both refer to &#039;Kölsch&#039; and &#039;ksh&#039;&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local lang_tag_remap = {														-- used for |language= and |script-title= / |script-chapter=&lt;br /&gt;
	[&#039;als&#039;] = &#039;Tosk Albanian&#039;,													-- MediaWiki returns Alemannisch &lt;br /&gt;
	[&#039;bh&#039;] = &#039;Bihari&#039;,															-- MediaWiki uses &#039;bh&#039; as a subdomain name for Bhojpuri Wikipedia: bh.wikipedia.org&lt;br /&gt;
	[&#039;bla&#039;] = &#039;Blackfoot&#039;,														-- MediaWiki/IANA/ISO 639: Siksika; use en.wiki preferred name&lt;br /&gt;
	[&#039;bn&#039;] = &#039;Bengali&#039;,															-- MediaWiki returns Bangla&lt;br /&gt;
	[&#039;ca-valencia&#039;] = &#039;Valencian&#039;,												-- IETF variant of Catalan&lt;br /&gt;
	[&#039;fkv&#039;] = &#039;Kven&#039;,															-- MediaWiki returns Kvensk&lt;br /&gt;
	[&#039;gsw&#039;] = &#039;Swiss German&#039;,&lt;br /&gt;
	[&#039;ilo&#039;] = &#039;Ilocano&#039;,														-- MediaWiki/IANA/ISO 639: Iloko; use en.wiki preferred name&lt;br /&gt;
	[&#039;ksh&#039;] = &#039;Kölsch&#039;,															-- MediaWiki: Colognian; use IANA/ISO 639 preferred name&lt;br /&gt;
	[&#039;ksh-x-colog&#039;] = &#039;Colognian&#039;,												-- override MediaWiki ksh; no IANA/ISO 639 code for Colognian; IETF private code created at Module:Lang/data&lt;br /&gt;
	[&#039;mis-x-ripuar&#039;] = &#039;Ripuarian&#039;,												-- override MediaWiki ksh; no IANA/ISO 639 code for Ripuarian; IETF private code created at Module:Lang/data&lt;br /&gt;
	[&#039;nan-tw&#039;] = &#039;Taiwanese Hokkien&#039;,											-- make room for MediaWiki/IANA/ISO 639 nan: Min Nan Chinese and support en.wiki preferred name&lt;br /&gt;
	[&#039;sr-ec&#039;] = &#039;Serbian (Cyrillic script)&#039;,									-- MediaWiki returns српски (ћирилица)&lt;br /&gt;
	[&#039;sr-el&#039;] = &#039;Serbian (Latin script)&#039;,										-- MediaWiki returns srpski (latinica)&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
local lang_name_remap = {														-- used for |language=; names require proper capitalization; tags must be lowercase&lt;br /&gt;
	[&#039;alemannic&#039;] = {&#039;Swiss German&#039;, &#039;gsw&#039;},									-- ISO 639-2, -3 alternate for Swiss German; MediaWiki mediawiki returns Alemannic for gsw; en.wiki preferred name&lt;br /&gt;
	[&#039;alemannisch&#039;] = {&#039;Swiss German&#039;, &#039;gsw&#039;},									-- not an ISO or IANA language name; MediaWiki uses &#039;als&#039; as a subdomain name for Alemannic Wikipedia: als.wikipedia.org&lt;br /&gt;
	[&#039;bangla&#039;] = {&#039;Bengali&#039;, &#039;bn&#039;},												-- MediaWiki returns Bangla (the endonym) but we want Bengali (the exonym); here we remap&lt;br /&gt;
	[&#039;bengali&#039;] = {&#039;Bengali&#039;, &#039;bn&#039;},											-- MediaWiki doesn&#039;t use exonym so here we provide correct language name and 639-1 code&lt;br /&gt;
	[&#039;bhojpuri&#039;] = {&#039;Bhojpuri&#039;, &#039;bho&#039;},											-- MediaWiki uses &#039;bh&#039; as a subdomain name for Bhojpuri Wikipedia: bh.wikipedia.org&lt;br /&gt;
	[&#039;bihari&#039;] = {&#039;Bihari&#039;, &#039;bh&#039;},												-- MediaWiki replaces &#039;Bihari&#039; with &#039;Bhojpuri&#039; so &#039;Bihari&#039; cannot be found&lt;br /&gt;
	[&#039;blackfoot&#039;] = {&#039;Blackfoot&#039;, &#039;bla&#039;},										-- MediaWiki/IANA/ISO 639: Siksika; use en.wiki preferred name&lt;br /&gt;
	[&#039;colognian&#039;] = {&#039;Colognian&#039;, &#039;ksh-x-colog&#039;},								-- MediaWiki preferred name for ksh&lt;br /&gt;
	[&#039;ilocano&#039;] = {&#039;Ilocano&#039;, &#039;ilo&#039;},											-- MediaWiki/IANA/ISO 639: Iloko; use en.wiki preferred name&lt;br /&gt;
	[&#039;kolsch&#039;] = {&#039;Kölsch&#039;, &#039;ksh&#039;},												-- use IANA/ISO 639 preferred name (use non-diacritical o instead of umlaut ö)&lt;br /&gt;
	[&#039;kölsch&#039;] = {&#039;Kölsch&#039;, &#039;ksh&#039;},												-- use IANA/ISO 639 preferred name&lt;br /&gt;
	[&#039;kven&#039;] = {&#039;Kven&#039;, &#039;fkv&#039;},													-- Unicode CLDR have decided not to support English language name for these two...&lt;br /&gt;
	[&#039;kvensk&#039;] = {&#039;Kven&#039;, &#039;fkv&#039;},												-- ...they say to refer to IANA registry for English names&lt;br /&gt;
	[&#039;ripuarian&#039;] = {&#039;Ripuarian&#039;, &#039;mis-x-ripuar&#039;},								-- group of dialects; no code in MediaWiki or in IANA/ISO 639&lt;br /&gt;
	[&#039;serbian (cyrillic script)&#039;] = {&#039;Serbian (Cyrillic script)&#039;, &#039;sr-cyrl&#039;},	-- special case to get correct tag when |language=sr-ec&lt;br /&gt;
	[&#039;serbian (latin script)&#039;] = {&#039;Serbian (Latin script)&#039;, &#039;sr-latn&#039;},			-- special case to get correct tag when |language=sr-el&lt;br /&gt;
	[&#039;swiss german&#039;] = {&#039;Swiss German&#039;, &#039;gsw&#039;},&lt;br /&gt;
	[&#039;taiwanese hokkien&#039;] = {&#039;Taiwanese Hokkien&#039;, &#039;nan-tw&#039;},					-- make room for MediaWiki/IANA/ISO 639 nan: Min Nan Chinese &lt;br /&gt;
	[&#039;tosk albanian&#039;] = {&#039;Tosk Albanian&#039;, &#039;als&#039;},								-- MediaWiki replaces &#039;Tosk Albanian&#039; with &#039;Alemannisch&#039; so &#039;Tosk Albanian&#039; cannot be found&lt;br /&gt;
	[&#039;valencian&#039;] = {&#039;Valencian&#039;, &#039;ca-valencia&#039;},								-- variant of Catalan; categorizes as Valencian&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[---------------&amp;lt; P R O P E R T I E S _ C A T E G O R I E S &amp;gt;----------------&lt;br /&gt;
&lt;br /&gt;
Properties categories. These are used for investigating qualities of citations.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local prop_cats = {&lt;br /&gt;
	[&#039;foreign-lang-source&#039;] = &#039;CS1 $1-language sources ($2)&#039;,					-- |language= categories; $1 is foreign-language name, $2 is ISO639-1 code&lt;br /&gt;
	[&#039;foreign-lang-source-2&#039;] = &#039;CS1 foreign language sources (ISO 639-2)|$1&#039;,	-- |language= category; a cat for ISO639-2 languages; $1 is the ISO 639-2 code used as a sort key&lt;br /&gt;
	[&#039;interproj-linked-name&#039;] = &#039;CS1 interproject-linked names|$1&#039;,				-- any author, editor, etc that has an interproject link; $1 is interproject tag used as a sort key&lt;br /&gt;
	[&#039;interwiki-linked-name&#039;] = &#039;CS1 interwiki-linked names|$1&#039;,				-- any author, editor, etc that has an interwiki link; $1 is interwiki tag used as a sort key; yeilds to interproject&lt;br /&gt;
	[&#039;local-lang-source&#039;] = &#039;CS1 $1-language sources ($2)&#039;,						-- |language= categories; $1 is local-language name, $2 is ISO639-1 code; not emitted when local_lang_cat_enable is false&lt;br /&gt;
	[&#039;location-test&#039;] = &#039;CS1 location test&#039;,&lt;br /&gt;
	[&#039;long-vol&#039;] = &#039;CS1: long volume value&#039;,									-- probably temporary cat to identify scope of |volume= values longer than 4 characters&lt;br /&gt;
	[&#039;script&#039;] = &#039;CS1 uses $1-language script ($2)&#039;,							-- |script-title=xx: has matching category; $1 is language name, $2 is language tag&lt;br /&gt;
	[&#039;tracked-param&#039;] = &#039;CS1 tracked parameter: $1&#039;,							-- $1 is base (enumerators removed) parameter name&lt;br /&gt;
	[&#039;unfit&#039;] = &#039;CS1: unfit URL&#039;,												-- |url-status=unfit or |url-status=usurped; used to be a maint cat&lt;br /&gt;
	[&#039;vanc-accept&#039;] = &#039;CS1:Vancouver names with accept markup&#039;,					-- for |vauthors=/|veditors= with accept-as-written markup&lt;br /&gt;
	[&#039;year-range-abbreviated&#039;] = &#039;CS1: abbreviated year range&#039;,					-- probably temporary cat to identify scope of |date=, |year= values using YYYY–YY form&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-------------------&amp;lt; T I T L E _ T Y P E S &amp;gt;--------------------------------&lt;br /&gt;
&lt;br /&gt;
Here we map a template&#039;s CitationClass to TitleType (default values for |type= parameter)&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local title_types = {&lt;br /&gt;
	[&#039;AV-media-notes&#039;] = &#039;Media notes&#039;,&lt;br /&gt;
	[&#039;document&#039;] = &#039;Document&#039;,&lt;br /&gt;
	[&#039;interview&#039;] = &#039;Interview&#039;,&lt;br /&gt;
	[&#039;mailinglist&#039;] = &#039;Mailing list&#039;,&lt;br /&gt;
	[&#039;map&#039;] = &#039;Map&#039;,&lt;br /&gt;
	[&#039;podcast&#039;] = &#039;Podcast&#039;,&lt;br /&gt;
	[&#039;pressrelease&#039;] = &#039;Press release&#039;,&lt;br /&gt;
	[&#039;report&#039;] = &#039;Report&#039;,&lt;br /&gt;
	[&#039;speech&#039;] = &#039;Speech&#039;,&lt;br /&gt;
	[&#039;techreport&#039;] = &#039;Technical report&#039;,&lt;br /&gt;
	[&#039;thesis&#039;] = &#039;Thesis&#039;,&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; B U I L D _ K N O W N _ F R E E _ D O I _ R E G I S T R A N T S _ T A B L E &amp;gt;--&lt;br /&gt;
&lt;br /&gt;
build a table of doi registrants known to be free-to-read  In a doi, the registrant ID is the series of digits&lt;br /&gt;
between the &#039;10.&#039; and the first &#039;/&#039;: in doi 10.1100/sommat, 1100 is the registrant ID&lt;br /&gt;
&lt;br /&gt;
see §3.2.2 DOI prefix of the Doi Handbook p. 43&lt;br /&gt;
https://www.doi.org/doi-handbook/DOI_Handbook_Final.pdf#page=43&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function build_free_doi_registrants_table()&lt;br /&gt;
	local registrants_t = {};&lt;br /&gt;
	for _, v in ipairs ({&lt;br /&gt;
		&#039;1045&#039;, &#039;1074&#039;, &#039;1096&#039;, &#039;1100&#039;, &#039;1155&#039;, &#039;1186&#039;, &#039;1194&#039;, &#039;1371&#039;, &#039;1629&#039;, &#039;1989&#039;, &#039;1999&#039;, &#039;2147&#039;, &#039;2196&#039;, &#039;3285&#039;, &#039;3389&#039;, &#039;3390&#039;,&lt;br /&gt;
		&#039;3748&#039;, &#039;3814&#039;, &#039;3847&#039;, &#039;3897&#039;, &#039;4061&#039;, &#039;4089&#039;, &#039;4103&#039;, &#039;4172&#039;, &#039;4175&#039;, &#039;4230&#039;, &#039;4236&#039;, &#039;4239&#039;, &#039;4240&#039;, &#039;4249&#039;, &#039;4251&#039;,&lt;br /&gt;
		&#039;4252&#039;, &#039;4253&#039;, &#039;4254&#039;, &#039;4291&#039;, &#039;4292&#039;, &#039;4329&#039;, &#039;4330&#039;, &#039;4331&#039;, &#039;5194&#039;, &#039;5210&#039;, &#039;5306&#039;, &#039;5312&#039;, &#039;5313&#039;, &#039;5314&#039;,&lt;br /&gt;
		&#039;5315&#039;, &#039;5316&#039;, &#039;5317&#039;, &#039;5318&#039;, &#039;5319&#039;, &#039;5320&#039;, &#039;5321&#039;, &#039;5334&#039;, &#039;5402&#039;, &#039;5409&#039;, &#039;5410&#039;, &#039;5411&#039;, &#039;5412&#039;,&lt;br /&gt;
		&#039;5492&#039;, &#039;5493&#039;, &#039;5494&#039;, &#039;5495&#039;, &#039;5496&#039;, &#039;5497&#039;, &#039;5498&#039;, &#039;5499&#039;, &#039;5500&#039;, &#039;5501&#039;, &#039;5527&#039;, &#039;5528&#039;, &#039;5662&#039;,&lt;br /&gt;
		&#039;6064&#039;, &#039;6219&#039;, &#039;7167&#039;, &#039;7217&#039;, &#039;7287&#039;, &#039;7482&#039;, &#039;7490&#039;, &#039;7554&#039;, &#039;7717&#039;, &#039;7759&#039;, &#039;7766&#039;, &#039;11131&#039;, &#039;11569&#039;, &#039;11647&#039;,&lt;br /&gt;
		&#039;11648&#039;, &#039;12688&#039;, &#039;12703&#039;, &#039;12715&#039;, &#039;12942&#039;, &#039;12998&#039;, &#039;13105&#039;, &#039;14256&#039;, &#039;14293&#039;, &#039;14303&#039;, &#039;15215&#039;, &#039;15347&#039;, &#039;15412&#039;, &#039;15560&#039;, &#039;16995&#039;,&lt;br /&gt;
		&#039;17645&#039;, &#039;18637&#039;, &#039;19080&#039;, &#039;19173&#039;, &#039;20944&#039;, &#039;21037&#039;, &#039;21468&#039;, &#039;21767&#039;, &#039;22261&#039;, &#039;22323&#039;, &#039;22459&#039;, &#039;24105&#039;, &#039;24196&#039;, &#039;24966&#039;,&lt;br /&gt;
		&#039;26775&#039;, &#039;30845&#039;, &#039;32545&#039;, &#039;35711&#039;, &#039;35712&#039;, &#039;35713&#039;, &#039;35995&#039;, &#039;36648&#039;, &#039;37126&#039;, &#039;37532&#039;, &#039;37871&#039;, &#039;47128&#039;,&lt;br /&gt;
		&#039;47622&#039;, &#039;47959&#039;, &#039;52437&#039;, &#039;52975&#039;, &#039;53288&#039;, &#039;54081&#039;, &#039;54947&#039;, &#039;55667&#039;, &#039;55914&#039;, &#039;57009&#039;, &#039;58647&#039;, &#039;59081&#039;,&lt;br /&gt;
		}) do&lt;br /&gt;
			registrants_t[v] = true;											-- build a k/v table of known free-to-read doi registrants&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return registrants_t;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local extended_registrants_t = {												-- known free registrants identifiable by the doi suffix incipit&lt;br /&gt;
	[&#039;1002&#039;] = {&#039;aelm&#039;, &#039;leap&#039;},												-- Advanced Electronic Materials, Learned Publishing&lt;br /&gt;
	[&#039;1016&#039;] = {&#039;j.heliyon&#039;, &#039;j.nlp&#039;, &#039;j.proche&#039;},								-- Heliyon, Natural Language Processing, Procedia Chemistry&lt;br /&gt;
	[&#039;1017&#039;] = {&#039;nlp&#039;},															-- Natural Language Processing Journal&lt;br /&gt;
	[&#039;1046&#039;] = {&#039;j.1365-8711&#039;, &#039;j.1365-246x&#039;},									-- MNRAS, GJI&lt;br /&gt;
	[&#039;1093&#039;] = {&#039;mnras&#039;, &#039;mnrasl&#039;, &#039;gji&#039;, &#039;rasti&#039;},								-- MNRAS, MNRAS Letters, GJI, RASTI&lt;br /&gt;
	[&#039;1099&#039;] = {&#039;acmi&#039;, &#039;mic&#039;, &#039;00221287&#039;, &#039;mgen&#039;},                             -- Access Microbiology, Microbiology, Journal of General Microbiology, Microbial Genomics&lt;br /&gt;
	[&#039;1111&#039;] = {&#039;j.1365-2966&#039;, &#039;j.1745-3933&#039;, &#039;j.1365-246X&#039;},					-- MNRAS, MNRAS Letters, GJI&lt;br /&gt;
	[&#039;1210&#039;] = {&#039;jendso&#039;,&#039;jcemcr&#039;},												-- Journal of the Endocrine Society, JCEM Case Reports&lt;br /&gt;
	[&#039;4171&#039;] = {&#039;dm&#039;,&#039;mag&#039;},												    -- Documenta Mathematica, EMS Magazine&lt;br /&gt;
	[&#039;14231&#039;] = {&#039;ag&#039;},															-- Algebraic Geometry&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[===================&amp;lt;&amp;lt; E R R O R   M E S S A G I N G &amp;gt;&amp;gt;======================&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
--[[----------&amp;lt; E R R O R   M E S S A G E   S U P P L I M E N T S &amp;gt;-------------&lt;br /&gt;
&lt;br /&gt;
I18N for those messages that are supplemented with additional specific text that&lt;br /&gt;
describes the reason for the error&lt;br /&gt;
&lt;br /&gt;
TODO: merge this with special_case_translations{}?&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local err_msg_supl = {&lt;br /&gt;
	[&#039;char&#039;] = &#039;invalid character&#039;,												-- |isbn=, |sbn=&lt;br /&gt;
	[&#039;check&#039;] = &#039;checksum&#039;,														-- |isbn=, |sbn=&lt;br /&gt;
	[&#039;flag&#039;] = &#039;flag&#039;,															-- |archive-url=&lt;br /&gt;
	[&#039;form&#039;] = &#039;invalid form&#039;,													-- |isbn=, |sbn=&lt;br /&gt;
	[&#039;group&#039;] = &#039;invalid group id&#039;,												-- |isbn=&lt;br /&gt;
	[&#039;initials&#039;] = &#039;initials&#039;,													-- Vancouver&lt;br /&gt;
	[&#039;invalid language code&#039;] = &#039;invalid language code&#039;,						-- |script-&amp;lt;param&amp;gt;=&lt;br /&gt;
	[&#039;journal&#039;] = &#039;journal&#039;,													-- |bibcode=&lt;br /&gt;
	[&#039;length&#039;] = &#039;length&#039;,														-- |isbn=, |bibcode=, |sbn=&lt;br /&gt;
	[&#039;liveweb&#039;] = &#039;liveweb&#039;,													-- |archive-url=&lt;br /&gt;
	[&#039;missing comma&#039;] = &#039;missing comma&#039;,										-- Vancouver&lt;br /&gt;
	[&#039;missing prefix&#039;] = &#039;missing prefix&#039;,										-- |script-&amp;lt;param&amp;gt;=&lt;br /&gt;
	[&#039;missing title part&#039;] = &#039;missing title part&#039;,								-- |script-&amp;lt;param&amp;gt;=&lt;br /&gt;
	[&#039;name&#039;] = &#039;name&#039;,															-- Vancouver&lt;br /&gt;
	[&#039;non-Latin char&#039;] = &#039;non-Latin character&#039;,									-- Vancouver&lt;br /&gt;
	[&#039;path&#039;] = &#039;path&#039;,															-- |archive-url=&lt;br /&gt;
	[&#039;prefix&#039;] = &#039;invalid prefix&#039;,												-- |isbn=&lt;br /&gt;
	[&#039;punctuation&#039;] = &#039;punctuation&#039;,											-- Vancouver&lt;br /&gt;
	[&#039;save&#039;] = &#039;save command&#039;,													-- |archive-url=&lt;br /&gt;
	[&#039;suffix&#039;] = &#039;suffix&#039;,														-- Vancouver&lt;br /&gt;
	[&#039;timestamp&#039;] = &#039;timestamp&#039;,												-- |archive-url=&lt;br /&gt;
	[&#039;unknown language code&#039;] = &#039;unknown language code&#039;,						-- |script-&amp;lt;param&amp;gt;=&lt;br /&gt;
	[&#039;value&#039;] = &#039;value&#039;,														-- |bibcode=&lt;br /&gt;
	[&#039;year&#039;] = &#039;year&#039;,															-- |bibcode=&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------&amp;lt; E R R O R _ C O N D I T I O N S &amp;gt;---------------------------&lt;br /&gt;
&lt;br /&gt;
Error condition table.  This table has two sections: errors at the top, maintenance&lt;br /&gt;
at the bottom.  Maint &#039;messaging&#039; does not have a &#039;message&#039; (message=nil)&lt;br /&gt;
&lt;br /&gt;
The following contains a list of IDs for various error conditions defined in the&lt;br /&gt;
code.  For each ID, we specify a text message to display, an error category to&lt;br /&gt;
include, and whether the error message should be wrapped as a hidden comment.&lt;br /&gt;
&lt;br /&gt;
Anchor changes require identical changes to matching anchor in Help:CS1 errors&lt;br /&gt;
&lt;br /&gt;
TODO: rename error_conditions{} to something more generic; create separate error&lt;br /&gt;
and maint tables inside that?&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local error_conditions = {&lt;br /&gt;
	err_accessdate_missing_url = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;access-date=&amp;lt;/code&amp;gt; requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;url=&amp;lt;/code&amp;gt;&#039;,&lt;br /&gt;
		anchor = &#039;accessdate_missing_url&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: access-date without URL&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
 		},&lt;br /&gt;
	err_apostrophe_markup = {&lt;br /&gt;
		message = &#039;Italic or bold markup not allowed in: &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt;&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;apostrophe_markup&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: markup&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
 		},&lt;br /&gt;
	err_archive_date_missing_url = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;archive-date=&amp;lt;/code&amp;gt; requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;archive-url=&amp;lt;/code&amp;gt;&#039;,&lt;br /&gt;
		anchor = &#039;archive_date_missing_url&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: archive-url&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_archive_date_url_ts_mismatch = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;archive-date=&amp;lt;/code&amp;gt; / &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;archive-url=&amp;lt;/code&amp;gt; timestamp mismatch; $1 suggested&#039;,&lt;br /&gt;
		anchor = &#039;archive_date_url_ts_mismatch&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: archive-url&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_archive_missing_date = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;archive-url=&amp;lt;/code&amp;gt; requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;archive-date=&amp;lt;/code&amp;gt;&#039;,&lt;br /&gt;
		anchor = &#039;archive_missing_date&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: archive-url&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_archive_missing_url = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;archive-url=&amp;lt;/code&amp;gt; requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;url=&amp;lt;/code&amp;gt;&#039;,&lt;br /&gt;
		anchor = &#039;archive_missing_url&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: archive-url&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_archive_url = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;archive-url=&amp;lt;/code&amp;gt; is malformed: $1&#039;,	-- $1 is error message detail&lt;br /&gt;
		anchor = &#039;archive_url&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: archive-url&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_arxiv_missing = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;arxiv=&amp;lt;/code&amp;gt; required&#039;,&lt;br /&gt;
		anchor = &#039;arxiv_missing&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: arXiv&#039;,											-- same as bad arxiv&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_asintld_missing_asin = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;asin=&amp;lt;/code&amp;gt;&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;asintld_missing_asin&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: ASIN TLD&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_arxiv = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;arxiv=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_arxiv&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: arXiv&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_asin = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;asin=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_asin&#039;,&lt;br /&gt;
		category =&#039;CS1 errors: ASIN&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_asin_tld = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;asin-tld=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_asin_tld&#039;,&lt;br /&gt;
		category =&#039;CS1 errors: ASIN TLD&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_bibcode = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;bibcode=&amp;lt;/code&amp;gt; $1&#039;,		-- $1 is error message detail&lt;br /&gt;
		anchor = &#039;bad_bibcode&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: bibcode&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_biorxiv = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;biorxiv=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_biorxiv&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: bioRxiv&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_citeseerx = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;citeseerx=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_citeseerx&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: citeseerx&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_date = {&lt;br /&gt;
		message = &#039;Check date values in: $1&#039;,									-- $1 is a parameter name list&lt;br /&gt;
		anchor = &#039;bad_date&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: dates&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_doi = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;doi=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_doi&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: DOI&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_hdl = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;hdl=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_hdl&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: HDL&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_isbn = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;isbn=&amp;lt;/code&amp;gt; value: $1&#039;,	-- $1 is error message detail&lt;br /&gt;
		anchor = &#039;bad_isbn&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: ISBN&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_ismn = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;ismn=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_ismn&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: ISMN&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_issn = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1issn=&amp;lt;/code&amp;gt; value&#039;,	-- $1 is &#039;e&#039; or &#039;&#039; for eissn or issn&lt;br /&gt;
		anchor = &#039;bad_issn&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: ISSN&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_jfm = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;jfm=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_jfm&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: JFM&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_jstor = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;jstor=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_jstor&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: JSTOR&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_lccn = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;lccn=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_lccn&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: LCCN&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_medrxiv = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;medrxiv=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_medrxiv&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: medRxiv&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_mr = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;mr=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_mr&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: MR&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_oclc = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;oclc=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_oclc&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: OCLC&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_ol = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;ol=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_ol&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: OL&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_osti = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;osti=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_osti&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: OSTI&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_paramlink = {														-- for |title-link=, |author/editor/translator-link=, |series-link=, |episode-link=&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; value&#039;,		-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;bad_paramlink&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: parameter link&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_pmc = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;pmc=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_pmc&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: PMC&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_pmid = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;pmid=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_pmid&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: PMID&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_rfc = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;rfc=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_rfc&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: RFC&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_s2cid = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;s2cid=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_s2cid&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: S2CID&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_sbn = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;sbn=&amp;lt;/code&amp;gt; value: $1&#039;,	-- $1 is error message detail&lt;br /&gt;
		anchor = &#039;bad_sbn&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: SBN&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_ssrn = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;ssrn=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_ssrn&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: SSRN&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_url = {&lt;br /&gt;
		message = &#039;Check $1 value&#039;,												-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;bad_url&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: URL&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_usenet_id = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;message-id=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_message_id&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: message-id&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bad_zbl = {&lt;br /&gt;
		message = &#039;Check &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;zbl=&amp;lt;/code&amp;gt; value&#039;,&lt;br /&gt;
		anchor = &#039;bad_zbl&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: Zbl&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_bare_url_missing_title = {&lt;br /&gt;
		message = &#039;$1 missing title&#039;,											-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;bare_url_missing_title&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: bare URL&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_biorxiv_missing = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;biorxiv=&amp;lt;/code&amp;gt; required&#039;,&lt;br /&gt;
		anchor = &#039;biorxiv_missing&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: bioRxiv&#039;,										-- same as bad bioRxiv&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_chapter_ignored = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; ignored&#039;,			-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;chapter_ignored&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: chapter ignored&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_citation_missing_title = {&lt;br /&gt;
		message = &#039;Missing or empty &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt;&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;citation_missing_title&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: missing title&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_citeseerx_missing = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;citeseerx=&amp;lt;/code&amp;gt; required&#039;,&lt;br /&gt;
		anchor = &#039;citeseerx_missing&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: citeseerx&#039;,										-- same as bad citeseerx&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_cite_web_url = {														-- this error applies to cite web and to cite podcast&lt;br /&gt;
		message = &#039;Missing or empty &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;url=&amp;lt;/code&amp;gt;&#039;,&lt;br /&gt;
		anchor = &#039;cite_web_url&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: requires URL&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_class_ignored = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;class=&amp;lt;/code&amp;gt; ignored&#039;,&lt;br /&gt;
		anchor = &#039;class_ignored&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: class&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_contributor_ignored = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;contributor=&amp;lt;/code&amp;gt; ignored&#039;,&lt;br /&gt;
		anchor = &#039;contributor_ignored&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: contributor&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_contributor_missing_required_param = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;contributor=&amp;lt;/code&amp;gt; requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt;&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;contributor_missing_required_param&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: contributor&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_deprecated_params = {&lt;br /&gt;
		message = &#039;Cite uses deprecated parameter &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt;&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;deprecated_params&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: deprecated parameters&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_disp_name = {&lt;br /&gt;
		message = &#039;Invalid &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=$2&amp;lt;/code&amp;gt;&#039;,			-- $1 is parameter name; $2 is the assigned value&lt;br /&gt;
		anchor = &#039;disp_name&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: display-names&#039;,&lt;br /&gt;
		hidden = false,&lt;br /&gt;
		},&lt;br /&gt;
	err_doibroken_missing_doi = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;doi=&amp;lt;/code&amp;gt;&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;doibroken_missing_doi&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: DOI&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_embargo_missing_pmc = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;pmc=&amp;lt;/code&amp;gt;&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;embargo_missing_pmc&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: PMC embargo&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_empty_citation = {&lt;br /&gt;
		message = &#039;Empty citation&#039;,&lt;br /&gt;
		anchor = &#039;empty_citation&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: empty citation&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_etal = {&lt;br /&gt;
		message = &#039;Explicit use of et al. in: &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt;&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;explicit_et_al&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: explicit use of et al.&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_extra_text_edition = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;edition=&amp;lt;/code&amp;gt; has extra text&#039;,&lt;br /&gt;
		anchor = &#039;extra_text_edition&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: extra text: edition&#039;,&lt;br /&gt;
		hidden = false,&lt;br /&gt;
		},&lt;br /&gt;
	err_extra_text_issue = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; has extra text&#039;,		-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;extra_text_issue&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: extra text: issue&#039;,&lt;br /&gt;
		hidden = false,&lt;br /&gt;
		},&lt;br /&gt;
	err_extra_text_pages = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; has extra text&#039;,		-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;extra_text_pages&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: extra text: pages&#039;,&lt;br /&gt;
		hidden = false,&lt;br /&gt;
		},&lt;br /&gt;
	err_extra_text_volume = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; has extra text&#039;,		-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;extra_text_volume&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: extra text: volume&#039;,&lt;br /&gt;
		hidden = false,&lt;br /&gt;
		},&lt;br /&gt;
	err_first_missing_last = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; missing &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$2=&amp;lt;/code&amp;gt;&#039;,	-- $1 is first alias, $2 is matching last alias&lt;br /&gt;
		anchor = &#039;first_missing_last&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: missing name&#039;,									-- author, contributor, editor, interviewer, translator&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_format_missing_url = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$2=&amp;lt;/code&amp;gt;&#039;,	-- $1 is format parameter $2 is url parameter&lt;br /&gt;
		anchor = &#039;format_missing_url&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: format without URL&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_generic_name = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; has generic name&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;generic_name&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: generic name&#039;,&lt;br /&gt;
		hidden = false,&lt;br /&gt;
		},&lt;br /&gt;
	err_generic_title = {&lt;br /&gt;
		message = &#039;Cite uses generic title&#039;,&lt;br /&gt;
		anchor = &#039;generic_title&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: generic title&#039;,&lt;br /&gt;
		hidden = false,&lt;br /&gt;
		},&lt;br /&gt;
	err_invalid_isbn_date = {&lt;br /&gt;
		message = &#039;ISBN / Date incompatibility&#039;,&lt;br /&gt;
		anchor = &#039;invalid_isbn_date&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: ISBN date&#039;,&lt;br /&gt;
		hidden = true&lt;br /&gt;
		},&lt;br /&gt;
	err_invalid_param_val = {&lt;br /&gt;
		message = &#039;Invalid &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=$2&amp;lt;/code&amp;gt;&#039;,			-- $1 is parameter name $2 is parameter value&lt;br /&gt;
		anchor = &#039;invalid_param_val&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: invalid parameter value&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_invisible_char = {&lt;br /&gt;
		message = &#039;$1 in $2 at position $3&#039;,									-- $1 is invisible char $2 is parameter name $3 is position number&lt;br /&gt;
		anchor = &#039;invisible_char&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: invisible characters&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_medrxiv_missing = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;medrxiv=&amp;lt;/code&amp;gt; required&#039;,&lt;br /&gt;
		anchor = &#039;medrxiv_missing&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: medRxiv&#039;,										-- same as bad medRxiv&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_missing_name = {&lt;br /&gt;
		message = &#039;Missing &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1$2=&amp;lt;/code&amp;gt;&#039;,			-- $1 is modified NameList; $2 is enumerator&lt;br /&gt;
		anchor = &#039;missing_name&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: missing name&#039;,									-- author, contributor, editor, interviewer, translator&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_missing_periodical = {&lt;br /&gt;
		message = &#039;Cite $1 requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$2=&amp;lt;/code&amp;gt;&#039;,	-- $1 is cs1 template name; $2 is canonical periodical parameter name for cite $1&lt;br /&gt;
		anchor = &#039;missing_periodical&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: missing periodical&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_missing_pipe = {&lt;br /&gt;
		message = &#039;Missing pipe in: &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt;&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;missing_pipe&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: missing pipe&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_missing_publisher = {&lt;br /&gt;
		message = &#039;Cite $1 requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$2=&amp;lt;/code&amp;gt;&#039;,	-- $1 is cs1 template name; $2 is canonical publisher parameter name for cite $1&lt;br /&gt;
		anchor = &#039;missing_publisher&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: missing publisher&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_numeric_names = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; has numeric name&#039;,	-- $1 is parameter name&#039;,&lt;br /&gt;
		anchor = &#039;numeric_names&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: numeric name&#039;,&lt;br /&gt;
		hidden = false,&lt;br /&gt;
		},&lt;br /&gt;
	err_param_access_requires_param = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1-access=&amp;lt;/code&amp;gt; requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt;&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;param_access_requires_param&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: param-access&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_param_has_ext_link = {&lt;br /&gt;
		message = &#039;External link in &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;$1&amp;lt;/code&amp;gt;&#039;,			-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;param_has_ext_link&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: external links&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_param_has_twl_url = {&lt;br /&gt;
		message = &#039;Wikipedia Library link in &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;$1&amp;lt;/code&amp;gt;&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;param_has_twl_url&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: URL&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_parameter_ignored = {&lt;br /&gt;
		message = &#039;Unknown parameter &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; ignored&#039;,	-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;parameter_ignored&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: unsupported parameter&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_parameter_ignored_suggest = {&lt;br /&gt;
		message = &#039;Unknown parameter &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; ignored (&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$2=&amp;lt;/code&amp;gt; suggested)&#039;,	-- $1 is unknown parameter $2 is suggested parameter name&lt;br /&gt;
		anchor = &#039;parameter_ignored_suggest&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: unsupported parameter&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_periodical_ignored = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; ignored&#039;,			-- $1 is parameter name&lt;br /&gt;
		anchor = &#039;periodical_ignored&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: periodical ignored&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_redundant_parameters = {&lt;br /&gt;
		message = &#039;More than one of $1 specified&#039;,								-- $1 is error message detail&lt;br /&gt;
		anchor = &#039;redundant_parameters&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: redundant parameter&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_script_parameter = {&lt;br /&gt;
		message = &#039;Invalid &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt;: $2&#039;,		-- $1 is parameter name $2 is script language code or error detail&lt;br /&gt;
		anchor = &#039;script_parameter&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: script parameters&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_ssrn_missing = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;ssrn=&amp;lt;/code&amp;gt; required&#039;,&lt;br /&gt;
		anchor = &#039;ssrn_missing&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: SSRN&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_text_ignored = {&lt;br /&gt;
		message = &#039;Text &amp;quot;$1&amp;quot; ignored&#039;,											-- $1 is ignored text&lt;br /&gt;
		anchor = &#039;text_ignored&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: unrecognized parameter&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_trans_missing_title = {&lt;br /&gt;
		message = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;trans-$1=&amp;lt;/code&amp;gt; requires &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;$1=&amp;lt;/code&amp;gt; or &amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;&amp;amp;#124;script-$1=&amp;lt;/code&amp;gt;&#039;,	-- $1 is base parameter name&lt;br /&gt;
		anchor = &#039;trans_missing_title&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: translated title&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_param_unknown_empty = {&lt;br /&gt;
		message = &#039;Cite has empty unknown parameter$1: $2&#039;,						-- $1 is &#039;s&#039; or empty space; $2 is emty unknown param list&lt;br /&gt;
		anchor = &#039;param_unknown_empty&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: empty unknown parameters&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_vancouver = {&lt;br /&gt;
		message = &#039;Vancouver style error: $1 in name $2&#039;,						-- $1 is error detail, $2 is the nth name&lt;br /&gt;
		anchor = &#039;vancouver&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: Vancouver style&#039;,&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
	err_wikilink_in_url = {&lt;br /&gt;
		message = &#039;URL–wikilink conflict&#039;,										-- uses ndash&lt;br /&gt;
		anchor = &#039;wikilink_in_url&#039;,&lt;br /&gt;
		category = &#039;CS1 errors: URL–wikilink conflict&#039;,							-- uses ndash&lt;br /&gt;
		hidden = false&lt;br /&gt;
		},&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; M A I N T &amp;gt;-------------------------------------&lt;br /&gt;
&lt;br /&gt;
maint messages do not have a message (message = nil); otherwise the structure&lt;br /&gt;
is the same as error messages&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
	maint_archived_copy = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;archived_copy&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: archived copy as title&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_bibcode = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;bibcode&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: bibcode&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_location_no_publisher = {												-- cite book, conference, encyclopedia; citation as book cite or encyclopedia cite&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;location_no_publisher&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: location missing publisher&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_bot_unknown = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;bot:_unknown&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: bot: original URL status unknown&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_date_auto_xlated = {													-- date auto-translation not supported by en.wiki&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;date_auto_xlated&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: date auto-translated&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_date_format = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;date_format&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: date format&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_date_year = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;date_year&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: date and year&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_doi_ignore = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;doi_ignore&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: ignored DOI errors&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_doi_inactive = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;doi_inactive&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: DOI inactive&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_doi_inactive_dated = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;doi_inactive_dated&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: DOI inactive as of $2$3$1&#039;,						-- $1 is year, $2 is month-name or empty string, $3 is space or empty string&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_doi_unflagged_free = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;doi_unflagged_free&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: unflagged free DOI&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_extra_punct = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;extra_punct&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: extra punctuation&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_id_limit_load_fail = {												-- applies to all cs1|2 templates on a page; &lt;br /&gt;
		message = nil,															-- maint message (category link) never emitted&lt;br /&gt;
		anchor = &#039;id_limit_load_fail&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: ID limit load fail&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_isbn_ignore = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;ignore_isbn_err&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: ignored ISBN errors&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_issn_ignore = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;ignore_issn&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: ignored ISSN errors&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_jfm_format = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;jfm_format&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: JFM format&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_location = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;location&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: location&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_mr_format = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;mr_format&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: MR format&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_mult_names = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;mult_names&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: multiple names: $1&#039;,								-- $1 is &#039;&amp;lt;name&amp;gt;s list&#039;; gets value from special_case_translation table&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_numeric_names = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;numeric_names&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: numeric names: $1&#039;,								-- $1 is &#039;&amp;lt;name&amp;gt;s list&#039;; gets value from special_case_translation table&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_others = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;others&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: others&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_others_avm = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;others_avm&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: others in cite AV media (notes)&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_overridden_setting = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;overridden&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: overridden setting&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_pmc_embargo = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;embargo&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: PMC embargo expired&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_pmc_format = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;pmc_format&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: PMC format&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_postscript = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;postscript&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: postscript&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
	},&lt;br /&gt;
	maint_publisher_location = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;publisher_location&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: publisher location&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
	},&lt;br /&gt;
	maint_ref_duplicates_default = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;ref_default&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: ref duplicates default&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
	},&lt;br /&gt;
	maint_unknown_lang = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;unknown_lang&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: unrecognized language&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_untitled = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;untitled&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: untitled periodical&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_url_status = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;url_status&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: url-status&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_year= {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;year&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: year&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	maint_zbl = {&lt;br /&gt;
		message = nil,&lt;br /&gt;
		anchor = &#039;zbl&#039;,&lt;br /&gt;
		category = &#039;CS1 maint: Zbl&#039;,&lt;br /&gt;
		hidden = true,&lt;br /&gt;
		},&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I D _ L I M I T S _ D A T A _ T &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
fetch id limits for certain identifiers from c:Data:CS1/Identifier limits.tab.  This source is a json tabular &lt;br /&gt;
data file maintained at wikipedia commons.  Convert the json format to a table of k/v pairs.&lt;br /&gt;
&lt;br /&gt;
The values from &amp;lt;id_limits_data_t&amp;gt; are used to set handle.id_limit.&lt;br /&gt;
&lt;br /&gt;
From 2025-02-21, MediaWiki is broken.  Use this link to edit the tablular data file:&lt;br /&gt;
	https://commons.wikimedia.org/w/index.php?title=Data:CS1/Identifier_limits.tab&amp;amp;action=edit&lt;br /&gt;
See Phab:T389105&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local id_limits_data_t = {};&lt;br /&gt;
&lt;br /&gt;
local use_commons_data = true;													-- set to false if your wiki does not have access to mediawiki commons; then,&lt;br /&gt;
if false == use_commons_data then												-- update this table from https://commons.wikimedia.org/wiki/Data:CS1/Identifier_limits.tab; last update: 2025-02-21&lt;br /&gt;
	id_limits_data_t = {[&#039;OCLC&#039;] = 10450000000, [&#039;OSTI&#039;] = 23010000, [&#039;PMC&#039;] = 11900000, [&#039;PMID&#039;] = 40400000, [&#039;RFC&#039;] = 9300, [&#039;SSRN&#039;] = 5200000, [&#039;S2CID&#039;] = 276000000};	-- this table must be maintained locally&lt;br /&gt;
&lt;br /&gt;
else																			-- here for wikis that do have access to mediawiki commons&lt;br /&gt;
	local load_fail_limit = 99999999999;										-- very high number to avoid error messages on load failure&lt;br /&gt;
	id_limits_data_t = {[&#039;OCLC&#039;] = load_fail_limit, [&#039;OSTI&#039;] = load_fail_limit, [&#039;PMC&#039;] = load_fail_limit, [&#039;PMID&#039;] = load_fail_limit, [&#039;RFC&#039;] = load_fail_limit, [&#039;SSRN&#039;] = load_fail_limit, [&#039;S2CID&#039;] = load_fail_limit};&lt;br /&gt;
&lt;br /&gt;
	local id_limits_data_load_fail = false;										-- flag; assume that we will be successful when loading json id limit tabular data&lt;br /&gt;
	&lt;br /&gt;
	local tab_data_t = mw.ext.data.get (&#039;CS1/Identifier limits.tab&#039;).data;		-- attempt to load the json limit data from commons into &amp;lt;tab_data_t&amp;gt;&lt;br /&gt;
	if false == tab_data_t then													-- undocumented &#039;feature&#039;: mw.ext.data.get() sometimes returns false&lt;br /&gt;
		id_limits_data_load_fail = true;										-- set the flag so that Module:Citation/CS1 can create an unannotated maint category&lt;br /&gt;
	else&lt;br /&gt;
		for _, limit_t in ipairs (tab_data_t) do								-- overwrite default &amp;lt;load_fail_limit&amp;gt; values&lt;br /&gt;
			id_limits_data_t[limit_t[1]] = limit_t[2];							-- &amp;lt;limit[1]&amp;gt; is identifier; &amp;lt;limit[2]&amp;gt; is upper limit for that identifier&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I D _ H A N D L E R S &amp;gt;--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
The following contains a list of values for various defined identifiers.  For each&lt;br /&gt;
identifier we specify a variety of information necessary to properly render the&lt;br /&gt;
identifier in the citation.&lt;br /&gt;
&lt;br /&gt;
	parameters: a list of parameter aliases for this identifier; first in the list is the canonical form&lt;br /&gt;
	link: Wikipedia article name&lt;br /&gt;
	redirect: a local redirect to a local Wikipedia article name;  at en.wiki, &#039;ISBN (identifier)&#039; is a redirect to &#039;International Standard Book Number&#039;&lt;br /&gt;
	q: Wikidata q number for the identifier&lt;br /&gt;
	label: the label preceding the identifier; label is linked to a Wikipedia article (in this order):&lt;br /&gt;
		redirect from id_handlers[&#039;&amp;lt;id&amp;gt;&#039;].redirect when use_identifier_redirects is true&lt;br /&gt;
		Wikidata-supplied article name for the local wiki from id_handlers[&#039;&amp;lt;id&amp;gt;&#039;].q&lt;br /&gt;
		local article name from id_handlers[&#039;&amp;lt;id&amp;gt;&#039;].link&lt;br /&gt;
	prefix: the first part of a URL that will be concatenated with a second part which usually contains the identifier&lt;br /&gt;
	suffix: optional third part to be added after the identifier&lt;br /&gt;
	encode: true if URI should be percent-encoded; otherwise false&lt;br /&gt;
	COinS: identifier link or keyword for use in COinS:&lt;br /&gt;
		for identifiers registered at info-uri.info use: info:.... where &#039;...&#039; is the appropriate identifier label &lt;br /&gt;
		for identifiers that have COinS keywords, use the keyword: rft.isbn, rft.issn, rft.eissn&lt;br /&gt;
		for |asin= and |ol=, which require assembly, use the keyword: url&lt;br /&gt;
		for others make a URL using the value in prefix/suffix and #label, use the keyword: pre (not checked; any text other than &#039;info&#039;, &#039;rft&#039;, or &#039;url&#039; works here)&lt;br /&gt;
		set to nil to leave the identifier out of the COinS&lt;br /&gt;
	separator: character or text between label and the identifier in the rendered citation&lt;br /&gt;
	id_limit: for those identifiers with established limits, this property holds the upper limit&lt;br /&gt;
	access: use this parameter to set the access level for all instances of this identifier.&lt;br /&gt;
		the value must be a valid access level for an identifier (see [&#039;id-access&#039;] in this file).&lt;br /&gt;
	custom_access: to enable custom access level for an identifier, set this parameter&lt;br /&gt;
		to the parameter that should control it (normally &#039;id-access&#039;)&lt;br /&gt;
		&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local id_handlers = {&lt;br /&gt;
	[&#039;ARXIV&#039;] = {&lt;br /&gt;
		parameters = {&#039;arxiv&#039;, &#039;eprint&#039;},&lt;br /&gt;
		link = &#039;arXiv&#039;,&lt;br /&gt;
		redirect = &#039;arXiv (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q118398&#039;,&lt;br /&gt;
		label = &#039;arXiv&#039;,&lt;br /&gt;
		prefix = &#039;https://arxiv.org/abs/&#039;,&lt;br /&gt;
		encode = false,&lt;br /&gt;
		COinS = &#039;info:arxiv&#039;,&lt;br /&gt;
		separator = &#039;:&#039;,&lt;br /&gt;
		access = &#039;free&#039;,														-- free to read&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;ASIN&#039;] = {&lt;br /&gt;
		parameters = { &#039;asin&#039;, &#039;ASIN&#039; },&lt;br /&gt;
		link = &#039;Amazon Standard Identification Number&#039;,&lt;br /&gt;
		redirect = &#039;ASIN (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q1753278&#039;,&lt;br /&gt;
		label = &#039;ASIN&#039;,&lt;br /&gt;
		prefix = &#039;https://www.amazon.&#039;,&lt;br /&gt;
		COinS = &#039;url&#039;,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		encode = false;&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;BIBCODE&#039;] = {&lt;br /&gt;
		parameters = {&#039;bibcode&#039;},&lt;br /&gt;
		link = &#039;Bibcode&#039;,&lt;br /&gt;
		redirect = &#039;Bibcode (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q25754&#039;,&lt;br /&gt;
		label = &#039;Bibcode&#039;,&lt;br /&gt;
		prefix = &#039;https://ui.adsabs.harvard.edu/abs/&#039;,&lt;br /&gt;
		encode = false,&lt;br /&gt;
		COinS = &#039;info:bibcode&#039;,&lt;br /&gt;
		separator = &#039;:&#039;,&lt;br /&gt;
		custom_access = &#039;bibcode-access&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;BIORXIV&#039;] = {&lt;br /&gt;
		parameters = {&#039;biorxiv&#039;},&lt;br /&gt;
		link = &#039;bioRxiv&#039;,&lt;br /&gt;
		redirect = &#039;bioRxiv (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q19835482&#039;,&lt;br /&gt;
		label = &#039;bioRxiv&#039;,&lt;br /&gt;
		prefix = &#039;https://doi.org/&#039;,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		access = &#039;free&#039;,														-- free to read&lt;br /&gt;
		encode = true,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;CITESEERX&#039;] = {&lt;br /&gt;
		parameters = {&#039;citeseerx&#039;},&lt;br /&gt;
		link = &#039;CiteSeerX&#039;,&lt;br /&gt;
		redirect = &#039;CiteSeerX (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q2715061&#039;,&lt;br /&gt;
		label = &#039;CiteSeerX&#039;,&lt;br /&gt;
		prefix = &#039;https://citeseerx.ist.psu.edu/viewdoc/summary?doi=&#039;,&lt;br /&gt;
		COinS =  &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		access = &#039;free&#039;,														-- free to read&lt;br /&gt;
		encode = true,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;DOI&#039;] = {																	-- Used by InternetArchiveBot&lt;br /&gt;
		parameters = { &#039;doi&#039;, &#039;DOI&#039;},&lt;br /&gt;
		link = &#039;Digital object identifier&#039;,&lt;br /&gt;
		redirect = &#039;doi (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q25670&#039;,&lt;br /&gt;
		label = &#039;doi&#039;,&lt;br /&gt;
		prefix = &#039;https://doi.org/&#039;,&lt;br /&gt;
		COinS = &#039;info:doi&#039;,&lt;br /&gt;
		separator = &#039;:&#039;,&lt;br /&gt;
		encode = true,&lt;br /&gt;
		custom_access = &#039;doi-access&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;EISSN&#039;] = {&lt;br /&gt;
		parameters = {&#039;eissn&#039;, &#039;EISSN&#039;},&lt;br /&gt;
		link = &#039;International Standard Serial Number#Electronic ISSN&#039;,&lt;br /&gt;
		redirect = &#039;eISSN (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q46339674&#039;,&lt;br /&gt;
		label = &#039;eISSN&#039;,&lt;br /&gt;
		prefix = &#039;https://search.worldcat.org/issn/&#039;,&lt;br /&gt;
		COinS = &#039;rft.eissn&#039;,&lt;br /&gt;
		encode = false,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;HDL&#039;] = {&lt;br /&gt;
		parameters = { &#039;hdl&#039;, &#039;HDL&#039; },&lt;br /&gt;
		link = &#039;Handle System&#039;,&lt;br /&gt;
		redirect = &#039;hdl (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q3126718&#039;,&lt;br /&gt;
		label = &#039;hdl&#039;,&lt;br /&gt;
		prefix = &#039;https://hdl.handle.net/&#039;,&lt;br /&gt;
		COinS = &#039;info:hdl&#039;,&lt;br /&gt;
		separator = &#039;:&#039;,&lt;br /&gt;
		encode = true,&lt;br /&gt;
		custom_access = &#039;hdl-access&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;ISBN&#039;] = {																-- Used by InternetArchiveBot&lt;br /&gt;
		parameters = {&#039;isbn&#039;, &#039;ISBN&#039;},&lt;br /&gt;
		link = &#039;International Standard Book Number&#039;,&lt;br /&gt;
		redirect = &#039;ISBN (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q33057&#039;,&lt;br /&gt;
		label = &#039;ISBN&#039;,&lt;br /&gt;
		prefix = &#039;Special:BookSources/&#039;,&lt;br /&gt;
		COinS = &#039;rft.isbn&#039;,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;ISMN&#039;] = {&lt;br /&gt;
		parameters = {&#039;ismn&#039;, &#039;ISMN&#039;},&lt;br /&gt;
		link = &#039;International Standard Music Number&#039;,&lt;br /&gt;
		redirect = &#039;ISMN (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q1666938&#039;,&lt;br /&gt;
		label = &#039;ISMN&#039;,&lt;br /&gt;
		prefix = &#039;&#039;,															-- not currently used;&lt;br /&gt;
		COinS = nil,															-- nil because we can&#039;t use pre or rft or info:&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;ISSN&#039;] = {&lt;br /&gt;
		parameters = {&#039;issn&#039;, &#039;ISSN&#039;},&lt;br /&gt;
		link = &#039;International Standard Serial Number&#039;,&lt;br /&gt;
		redirect = &#039;ISSN (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q131276&#039;,&lt;br /&gt;
		label = &#039;ISSN&#039;,&lt;br /&gt;
		prefix = &#039;https://search.worldcat.org/issn/&#039;,&lt;br /&gt;
		COinS = &#039;rft.issn&#039;,&lt;br /&gt;
		encode = false,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;JFM&#039;] = {&lt;br /&gt;
		parameters = {&#039;jfm&#039;, &#039;JFM&#039;},&lt;br /&gt;
		link = &#039;Jahrbuch über die Fortschritte der Mathematik&#039;,&lt;br /&gt;
		redirect = &#039;JFM (identifier)&#039;,&lt;br /&gt;
		q = &#039;&#039;,&lt;br /&gt;
		label = &#039;JFM&#039;,&lt;br /&gt;
		prefix = &#039;https://zbmath.org/?format=complete&amp;amp;q=an:&#039;,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		encode = true,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;JSTOR&#039;] = {&lt;br /&gt;
		parameters = {&#039;jstor&#039;, &#039;JSTOR&#039;},&lt;br /&gt;
		link = &#039;JSTOR&#039;,&lt;br /&gt;
		redirect = &#039;JSTOR (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q1420342&#039;,&lt;br /&gt;
		label = &#039;JSTOR&#039;,&lt;br /&gt;
		prefix = &#039;https://www.jstor.org/stable/&#039;,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		encode = false,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		custom_access = &#039;jstor-access&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;LCCN&#039;] = {&lt;br /&gt;
		parameters = {&#039;lccn&#039;, &#039;LCCN&#039;},&lt;br /&gt;
		link = &#039;Library of Congress Control Number&#039;,&lt;br /&gt;
		redirect = &#039;LCCN (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q620946&#039;,&lt;br /&gt;
		label = &#039;LCCN&#039;,&lt;br /&gt;
		prefix = &#039;https://lccn.loc.gov/&#039;,&lt;br /&gt;
		COinS = &#039;info:lccn&#039;,&lt;br /&gt;
		encode = false,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;MEDRXIV&#039;] = {&lt;br /&gt;
		parameters = {&#039;medrxiv&#039;},&lt;br /&gt;
		link = &#039;medRxiv&#039;,&lt;br /&gt;
		redirect = &#039;medRxiv (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q58465838&#039;,&lt;br /&gt;
		label = &#039;medRxiv&#039;,&lt;br /&gt;
		prefix = &#039;https://www.medrxiv.org/content/&#039;,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		access = &#039;free&#039;,														-- free to read&lt;br /&gt;
		encode = false,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;MR&#039;] = {&lt;br /&gt;
		parameters = {&#039;mr&#039;, &#039;MR&#039;},&lt;br /&gt;
		link = &#039;Mathematical Reviews&#039;,&lt;br /&gt;
		redirect = &#039;MR (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q211172&#039;,&lt;br /&gt;
		label = &#039;MR&#039;,&lt;br /&gt;
		prefix = &#039;https://mathscinet.ams.org/mathscinet-getitem?mr=&#039;,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		encode = true,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;OCLC&#039;] = {&lt;br /&gt;
		parameters = {&#039;oclc&#039;, &#039;OCLC&#039;},&lt;br /&gt;
		link = &#039;OCLC&#039;,&lt;br /&gt;
		redirect = &#039;OCLC (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q190593&#039;,&lt;br /&gt;
		label = &#039;OCLC&#039;,&lt;br /&gt;
		prefix = &#039;https://search.worldcat.org/oclc/&#039;,&lt;br /&gt;
		COinS = &#039;info:oclcnum&#039;,&lt;br /&gt;
		encode = true,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		id_limit = id_limits_data_t.OCLC or 0,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;OL&#039;] = {&lt;br /&gt;
		parameters = { &#039;ol&#039;, &#039;OL&#039; },&lt;br /&gt;
		link = &#039;Open Library&#039;,&lt;br /&gt;
		redirect = &#039;OL (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q1201876&#039;,&lt;br /&gt;
		label = &#039;OL&#039;,&lt;br /&gt;
		prefix = &#039;https://openlibrary.org/&#039;,&lt;br /&gt;
		COinS = &#039;url&#039;,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		encode = true,&lt;br /&gt;
		custom_access = &#039;ol-access&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;OSTI&#039;] = {&lt;br /&gt;
		parameters = {&#039;osti&#039;, &#039;OSTI&#039;},&lt;br /&gt;
		link = &#039;Office of Scientific and Technical Information&#039;,&lt;br /&gt;
		redirect = &#039;OSTI (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q2015776&#039;,&lt;br /&gt;
		label = &#039;OSTI&#039;,&lt;br /&gt;
		prefix = &#039;https://www.osti.gov/biblio/&#039;,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		encode = true,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		id_limit = id_limits_data_t.OSTI or 0,&lt;br /&gt;
		custom_access = &#039;osti-access&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;PMC&#039;] = {&lt;br /&gt;
		parameters = {&#039;pmc&#039;, &#039;PMC&#039;},&lt;br /&gt;
		link = &#039;PubMed Central&#039;,&lt;br /&gt;
		redirect = &#039;PMC (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q229883&#039;,&lt;br /&gt;
		label = &#039;PMC&#039;,&lt;br /&gt;
		prefix = &#039;https://www.ncbi.nlm.nih.gov/pmc/articles/PMC&#039;,&lt;br /&gt;
		suffix = &#039;&#039;,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		encode = true,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		id_limit = id_limits_data_t.PMC or 0,&lt;br /&gt;
		access = &#039;free&#039;,														-- free to read&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;PMID&#039;] = {&lt;br /&gt;
		parameters = {&#039;pmid&#039;, &#039;PMID&#039;},&lt;br /&gt;
		link = &#039;PubMed Identifier&#039;,&lt;br /&gt;
		redirect = &#039;PMID (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q2082879&#039;,&lt;br /&gt;
		label = &#039;PMID&#039;,&lt;br /&gt;
		prefix = &#039;https://pubmed.ncbi.nlm.nih.gov/&#039;,&lt;br /&gt;
		COinS = &#039;info:pmid&#039;,&lt;br /&gt;
		encode = false,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		id_limit = id_limits_data_t.PMID or 0,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;RFC&#039;] = {&lt;br /&gt;
		parameters = {&#039;rfc&#039;, &#039;RFC&#039;},&lt;br /&gt;
		link = &#039;Request for Comments&#039;,&lt;br /&gt;
		redirect = &#039;RFC (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q212971&#039;,&lt;br /&gt;
		label = &#039;RFC&#039;,&lt;br /&gt;
		prefix = &#039;https://tools.ietf.org/html/rfc&#039;,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		encode = false,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		id_limit = id_limits_data_t.RFC or 0,&lt;br /&gt;
		access = &#039;free&#039;,														-- free to read&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;SBN&#039;] = {&lt;br /&gt;
		parameters = {&#039;sbn&#039;, &#039;SBN&#039;},&lt;br /&gt;
		link = &#039;Standard Book Number&#039;,											-- redirect to International_Standard_Book_Number#History&lt;br /&gt;
		redirect = &#039;SBN (identifier)&#039;,&lt;br /&gt;
		label = &#039;SBN&#039;,&lt;br /&gt;
		prefix = &#039;Special:BookSources/0-&#039;,										-- prefix has leading zero necessary to make 9-digit sbn a 10-digit isbn&lt;br /&gt;
		COinS = nil,															-- nil because we can&#039;t use pre or rft or info:&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;SSRN&#039;] = {&lt;br /&gt;
		parameters = {&#039;ssrn&#039;, &#039;SSRN&#039;},&lt;br /&gt;
		link = &#039;Social Science Research Network&#039;,&lt;br /&gt;
		redirect = &#039;SSRN (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q7550801&#039;,&lt;br /&gt;
		label = &#039;SSRN&#039;,&lt;br /&gt;
		prefix = &#039;https://papers.ssrn.com/sol3/papers.cfm?abstract_id=&#039;,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		encode = true,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		id_limit = id_limits_data_t.SSRN or 0,&lt;br /&gt;
		custom_access = &#039;ssrn-access&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;S2CID&#039;] = {&lt;br /&gt;
		parameters = {&#039;s2cid&#039;, &#039;S2CID&#039;},&lt;br /&gt;
		link = &#039;Semantic Scholar&#039;,&lt;br /&gt;
		redirect = &#039;S2CID (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q22908627&#039;,&lt;br /&gt;
		label = &#039;S2CID&#039;,&lt;br /&gt;
		prefix = &#039;https://api.semanticscholar.org/CorpusID:&#039;,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		encode = false,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		id_limit = id_limits_data_t.S2CID or 0,&lt;br /&gt;
		custom_access = &#039;s2cid-access&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;USENETID&#039;] = {&lt;br /&gt;
		parameters = {&#039;message-id&#039;},&lt;br /&gt;
		link = &#039;Usenet&#039;,&lt;br /&gt;
		redirect = &#039;Usenet (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q193162&#039;,&lt;br /&gt;
		label = &#039;Usenet:&#039;,&lt;br /&gt;
		prefix = &#039;news:&#039;,&lt;br /&gt;
		encode = false,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	[&#039;ZBL&#039;] = {&lt;br /&gt;
		parameters = {&#039;zbl&#039;, &#039;ZBL&#039; },&lt;br /&gt;
		link = &#039;Zentralblatt MATH&#039;,&lt;br /&gt;
		redirect = &#039;Zbl (identifier)&#039;,&lt;br /&gt;
		q = &#039;Q190269&#039;,&lt;br /&gt;
		label = &#039;Zbl&#039;,&lt;br /&gt;
		prefix = &#039;https://zbmath.org/?format=complete&amp;amp;q=an:&#039;,&lt;br /&gt;
		COinS = &#039;pre&#039;,															-- use prefix value&lt;br /&gt;
		encode = true,&lt;br /&gt;
		separator = &#039;&amp;amp;nbsp;&#039;,&lt;br /&gt;
		},&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X P O R T S &amp;gt;---------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
return 	{&lt;br /&gt;
	use_identifier_redirects = use_identifier_redirects,						-- booleans defined in the settings at the top of this module&lt;br /&gt;
	local_lang_cat_enable = local_lang_cat_enable,&lt;br /&gt;
	date_name_auto_xlate_enable = date_name_auto_xlate_enable,&lt;br /&gt;
	date_digit_auto_xlate_enable = date_digit_auto_xlate_enable,&lt;br /&gt;
	enable_sort_keys = enable_sort_keys,&lt;br /&gt;
	&lt;br /&gt;
																				-- tables and variables created when this module is loaded&lt;br /&gt;
	global_df = get_date_format (),												-- this line can be replaced with &amp;quot;global_df = &#039;dmy-all&#039;,&amp;quot; to have all dates auto translated to dmy format.&lt;br /&gt;
	global_cs1_config_t = global_cs1_config_t,									-- global settings from {{cs1 config}}&lt;br /&gt;
	punct_skip = build_skip_table (punct_skip, punct_meta_params),&lt;br /&gt;
	url_skip = build_skip_table (url_skip, url_meta_params),&lt;br /&gt;
	known_free_doi_registrants_t = build_free_doi_registrants_table(),&lt;br /&gt;
	id_limits_data_load_fail = id_limits_data_load_fail,						-- true when commons tabular identifier-limit data fails to load&lt;br /&gt;
&lt;br /&gt;
	name_space_sort_keys = name_space_sort_keys,&lt;br /&gt;
	aliases = aliases,&lt;br /&gt;
	special_case_translation = special_case_translation,&lt;br /&gt;
	date_names = date_names,&lt;br /&gt;
	err_msg_supl = err_msg_supl,&lt;br /&gt;
	error_conditions = error_conditions,&lt;br /&gt;
	editor_markup_patterns = editor_markup_patterns,&lt;br /&gt;
	et_al_patterns = et_al_patterns,&lt;br /&gt;
	extended_registrants_t = extended_registrants_t,&lt;br /&gt;
	id_handlers = id_handlers,&lt;br /&gt;
	keywords_lists = keywords_lists,&lt;br /&gt;
	keywords_xlate = keywords_xlate,&lt;br /&gt;
	stripmarkers = stripmarkers,&lt;br /&gt;
	invisible_chars = invisible_chars,&lt;br /&gt;
	invisible_defs = invisible_defs,&lt;br /&gt;
	indic_script = indic_script,&lt;br /&gt;
	emoji_t = emoji_t,&lt;br /&gt;
	maint_cats = maint_cats,&lt;br /&gt;
	messages = messages,&lt;br /&gt;
	presentation = presentation,&lt;br /&gt;
	prop_cats = prop_cats,&lt;br /&gt;
	script_lang_codes = script_lang_codes,&lt;br /&gt;
	lang_tag_remap = lang_tag_remap,&lt;br /&gt;
	lang_name_remap = lang_name_remap,&lt;br /&gt;
	this_wiki_code = this_wiki_code,&lt;br /&gt;
	title_types = title_types,&lt;br /&gt;
	uncategorized_namespaces = uncategorized_namespaces_t,&lt;br /&gt;
	uncategorized_subpages = uncategorized_subpages,&lt;br /&gt;
	templates_using_volume = templates_using_volume,&lt;br /&gt;
	templates_using_issue = templates_using_issue,&lt;br /&gt;
	templates_not_using_page = templates_not_using_page,&lt;br /&gt;
	vol_iss_pg_patterns = vol_iss_pg_patterns,&lt;br /&gt;
	single_letter_2nd_lvl_domains_t = single_letter_2nd_lvl_domains_t,&lt;br /&gt;
	&lt;br /&gt;
	inter_wiki_map = inter_wiki_map,&lt;br /&gt;
	mw_languages_by_tag_t = mw_languages_by_tag_t,&lt;br /&gt;
	mw_languages_by_name_t = mw_languages_by_name_t,&lt;br /&gt;
	citation_class_map_t = citation_class_map_t,&lt;br /&gt;
&lt;br /&gt;
	citation_issue_t = citation_issue_t,&lt;br /&gt;
	citation_no_volume_t = citation_no_volume_t,&lt;br /&gt;
	}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Module:Citation/CS1&amp;diff=63</id>
		<title>Module:Citation/CS1</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Module:Citation/CS1&amp;diff=63"/>
		<updated>2025-08-04T17:14:01Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;require (&amp;#039;strict&amp;#039;);  ----------------------------&amp;lt; F O R W A R D   D E C L A R A T I O N S &amp;gt;--------------------------------------  each of these counts against the Lua upvalue limit    local validation;																-- functions in Module:Citation/CS1/Date_validation  local utilities;																-- functions in Module:Citation/CS1/Utilities local z = {};																	-- table of tables in Module:Citation/CS1/Utilities  local identifiers;																-- f...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;require (&#039;strict&#039;);&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; F O R W A R D   D E C L A R A T I O N S &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
each of these counts against the Lua upvalue limit&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local validation;																-- functions in Module:Citation/CS1/Date_validation&lt;br /&gt;
&lt;br /&gt;
local utilities;																-- functions in Module:Citation/CS1/Utilities&lt;br /&gt;
local z = {};																	-- table of tables in Module:Citation/CS1/Utilities&lt;br /&gt;
&lt;br /&gt;
local identifiers;																-- functions and tables in Module:Citation/CS1/Identifiers&lt;br /&gt;
local metadata;																	-- functions in Module:Citation/CS1/COinS&lt;br /&gt;
local cfg = {};																	-- table of configuration tables that are defined in Module:Citation/CS1/Configuration&lt;br /&gt;
local whitelist = {};															-- table of tables listing valid template parameter names; defined in Module:Citation/CS1/Whitelist&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[------------------&amp;lt; P A G E   S C O P E   V A R I A B L E S &amp;gt;---------------&lt;br /&gt;
&lt;br /&gt;
declare variables here that have page-wide scope that are not brought in from&lt;br /&gt;
other modules; that are created here and used here&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local added_deprecated_cat;														-- Boolean flag so that the category is added only once&lt;br /&gt;
local added_vanc_errs;															-- Boolean flag so we only emit one Vancouver error / category&lt;br /&gt;
local added_generic_name_errs;													-- Boolean flag so we only emit one generic name error / category and stop testing names once an error is encountered&lt;br /&gt;
local added_numeric_name_errs;													-- Boolean flag so we only emit one numeric name error / category and stop testing names once an error is encountered&lt;br /&gt;
local added_numeric_name_maint;													-- Boolean flag so we only emit one numeric name maint category and stop testing names once a category has been emitted&lt;br /&gt;
local is_preview_mode;															-- true when article is in preview mode; false when using &#039;Preview page with this template&#039; (previewing the module)&lt;br /&gt;
local is_sandbox;																-- true when using sandbox modules to render citation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; F I R S T _ S E T &amp;gt;------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Locates and returns the first set value in a table of values where the order established in the table,&lt;br /&gt;
left-to-right (or top-to-bottom), is the order in which the values are evaluated.  Returns nil if none are set.&lt;br /&gt;
&lt;br /&gt;
This version replaces the original &#039;for _, val in pairs do&#039; and a similar version that used ipairs.  With the pairs&lt;br /&gt;
version the order of evaluation could not be guaranteed.  With the ipairs version, a nil value would terminate&lt;br /&gt;
the for-loop before it reached the actual end of the list.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function first_set (list, count)&lt;br /&gt;
	local i = 1;&lt;br /&gt;
	while i &amp;lt;= count do															-- loop through all items in list&lt;br /&gt;
		if utilities.is_set( list[i] ) then&lt;br /&gt;
			return list[i];														-- return the first set list member&lt;br /&gt;
		end&lt;br /&gt;
		i = i + 1;																-- point to next&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; A D D _ V A N C _ E R R O R &amp;gt;----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Adds a single Vancouver system error message to the template&#039;s output regardless of how many error actually exist.&lt;br /&gt;
To prevent duplication, added_vanc_errs is nil until an error message is emitted.&lt;br /&gt;
&lt;br /&gt;
added_vanc_errs is a Boolean declared in page scope variables above&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function add_vanc_error (source, position)&lt;br /&gt;
	if added_vanc_errs then return end&lt;br /&gt;
		&lt;br /&gt;
	added_vanc_errs = true;														-- note that we&#039;ve added this category&lt;br /&gt;
	utilities.set_message (&#039;err_vancouver&#039;, {source, position});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ S C H E M E &amp;gt;------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
does this thing that purports to be a URI scheme seem to be a valid scheme?  The scheme is checked to see if it&lt;br /&gt;
is in agreement with http://tools.ietf.org/html/std66#section-3.1 which says:&lt;br /&gt;
	Scheme names consist of a sequence of characters beginning with a&lt;br /&gt;
   letter and followed by any combination of letters, digits, plus&lt;br /&gt;
   (&amp;quot;+&amp;quot;), period (&amp;quot;.&amp;quot;), or hyphen (&amp;quot;-&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
returns true if it does, else false&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_scheme (scheme)&lt;br /&gt;
	return scheme and scheme:match (&#039;^%a[%a%d%+%.%-]*:&#039;);						-- true if scheme is set and matches the pattern&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; I S _ D O M A I N _ N A M E &amp;gt;--------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Does this thing that purports to be a domain name seem to be a valid domain name?&lt;br /&gt;
&lt;br /&gt;
Syntax defined here: http://tools.ietf.org/html/rfc1034#section-3.5&lt;br /&gt;
BNF defined here: https://tools.ietf.org/html/rfc4234&lt;br /&gt;
Single character names are generally reserved; see https://tools.ietf.org/html/draft-ietf-dnsind-iana-dns-01#page-15;&lt;br /&gt;
	see also [[Single-letter second-level domain]]&lt;br /&gt;
list of TLDs: https://www.iana.org/domains/root/db&lt;br /&gt;
&lt;br /&gt;
RFC 952 (modified by RFC 1123) requires the first and last character of a hostname to be a letter or a digit.  Between&lt;br /&gt;
the first and last characters the name may use letters, digits, and the hyphen.&lt;br /&gt;
&lt;br /&gt;
Also allowed are IPv4 addresses. IPv6 not supported&lt;br /&gt;
&lt;br /&gt;
domain is expected to be stripped of any path so that the last character in the last character of the TLD.  tld&lt;br /&gt;
is two or more alpha characters.  Any preceding &#039;//&#039; (from splitting a URL with a scheme) will be stripped&lt;br /&gt;
here.  Perhaps not necessary but retained in case it is necessary for IPv4 dot decimal.&lt;br /&gt;
&lt;br /&gt;
There are several tests:&lt;br /&gt;
	the first character of the whole domain name including subdomains must be a letter or a digit&lt;br /&gt;
	internationalized domain name (ASCII characters with .xn-- ASCII Compatible Encoding (ACE) prefix xn-- in the TLD) see https://tools.ietf.org/html/rfc3490&lt;br /&gt;
	single-letter/digit second-level domains in the .org, .cash, and .today TLDs&lt;br /&gt;
	q, x, and z SL domains in the .com TLD&lt;br /&gt;
	i and q SL domains in the .net TLD&lt;br /&gt;
	single-letter SL domains in the ccTLDs (where the ccTLD is two letters)&lt;br /&gt;
	two-character SL domains in gTLDs (where the gTLD is two or more letters)&lt;br /&gt;
	three-plus-character SL domains in gTLDs (where the gTLD is two or more letters)&lt;br /&gt;
	IPv4 dot-decimal address format; TLD not allowed&lt;br /&gt;
&lt;br /&gt;
returns true if domain appears to be a proper name and TLD or IPv4 address, else false&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function is_domain_name (domain)&lt;br /&gt;
	if not domain then&lt;br /&gt;
		return false;															-- if not set, abandon&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	domain = domain:gsub (&#039;^//&#039;, &#039;&#039;);											-- strip &#039;//&#039; from domain name if present; done here so we only have to do it once&lt;br /&gt;
	&lt;br /&gt;
	if not domain:match (&#039;^[%w]&#039;) then											-- first character must be letter or digit&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if domain:match (&#039;^%a+:&#039;) then												-- hack to detect things that look like s:Page:Title where Page: is namespace at Wikisource&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local patterns = {															-- patterns that look like URLs&lt;br /&gt;
		&#039;%f[%w][%w][%w%-]+[%w]%.%a%a+$&#039;,										-- three or more character hostname.hostname or hostname.tld&lt;br /&gt;
		&#039;%f[%w][%w][%w%-]+[%w]%.xn%-%-[%w]+$&#039;,									-- internationalized domain name with ACE prefix&lt;br /&gt;
		&#039;%f[%a][qxz]%.com$&#039;,													-- assigned one character .com hostname (x.com times out 2015-12-10)&lt;br /&gt;
		&#039;%f[%a][iq]%.net$&#039;,														-- assigned one character .net hostname (q.net registered but not active 2015-12-10)&lt;br /&gt;
		&#039;%f[%w][%w]%.%a%a$&#039;,													-- one character hostname and ccTLD (2 chars)&lt;br /&gt;
		&#039;%f[%w][%w][%w]%.%a%a+$&#039;,												-- two character hostname and TLD&lt;br /&gt;
		&#039;^%d%d?%d?%.%d%d?%d?%.%d%d?%d?%.%d%d?%d?&#039;,								-- IPv4 address&lt;br /&gt;
		&#039;[%a%d]+%:?&#039;                                                            -- IPv6 address&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
	for _, pattern in ipairs (patterns) do										-- loop through the patterns list&lt;br /&gt;
		if domain:match (pattern) then&lt;br /&gt;
			return true;														-- if a match then we think that this thing that purports to be a URL is a URL&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	for _, d in ipairs (cfg.single_letter_2nd_lvl_domains_t) do					-- look for single letter second level domain names for these top level domains&lt;br /&gt;
		if domain:match (&#039;%f[%w][%w]%.&#039; .. d) then&lt;br /&gt;
			return true&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return false;																-- no matches, we don&#039;t know what this thing is&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ U R L &amp;gt;------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
returns true if the scheme and domain parts of a URL appear to be a valid URL; else false.&lt;br /&gt;
&lt;br /&gt;
This function is the last step in the validation process.  This function is separate because there are cases that&lt;br /&gt;
are not covered by split_url(), for example is_parameter_ext_wikilink() which is looking for bracketted external&lt;br /&gt;
wikilinks.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_url (scheme, domain)&lt;br /&gt;
	if utilities.is_set (scheme) then											-- if scheme is set check it and domain&lt;br /&gt;
		return is_scheme (scheme) and is_domain_name (domain);&lt;br /&gt;
	else&lt;br /&gt;
		return is_domain_name (domain);											-- scheme not set when URL is protocol-relative&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S P L I T _ U R L &amp;gt;------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Split a URL into a scheme, authority indicator, and domain.&lt;br /&gt;
&lt;br /&gt;
First remove Fully Qualified Domain Name terminator (a dot following TLD) (if any) and any path(/), query(?) or fragment(#).&lt;br /&gt;
&lt;br /&gt;
If protocol-relative URL, return nil scheme and domain else return nil for both scheme and domain.&lt;br /&gt;
&lt;br /&gt;
When not protocol-relative, get scheme, authority indicator, and domain.  If there is an authority indicator (one&lt;br /&gt;
or more &#039;/&#039; characters immediately following the scheme&#039;s colon), make sure that there are only 2.&lt;br /&gt;
&lt;br /&gt;
Any URL that does not have news: scheme must have authority indicator (//).  TODO: are there other common schemes&lt;br /&gt;
like news: that don&#039;t use authority indicator?&lt;br /&gt;
&lt;br /&gt;
Strip off any port and path;&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function split_url (url_str)&lt;br /&gt;
	local scheme, authority, domain;&lt;br /&gt;
	&lt;br /&gt;
	url_str = url_str:gsub (&#039;([%a%d])%.?[/%?#].*$&#039;, &#039;%1&#039;);						-- strip FQDN terminator and path(/), query(?), fragment (#) (the capture prevents false replacement of &#039;//&#039;)&lt;br /&gt;
&lt;br /&gt;
	if url_str:match (&#039;^//%S*&#039;) then											-- if there is what appears to be a protocol-relative URL&lt;br /&gt;
		domain = url_str:match (&#039;^//(%S*)&#039;)&lt;br /&gt;
	elseif url_str:match (&#039;%S-:/*%S+&#039;) then										-- if there is what appears to be a scheme, optional authority indicator, and domain name&lt;br /&gt;
		scheme, authority, domain = url_str:match (&#039;(%S-:)(/*)(%S+)&#039;);			-- extract the scheme, authority indicator, and domain portions&lt;br /&gt;
		if utilities.is_set (authority) then&lt;br /&gt;
			authority = authority:gsub (&#039;//&#039;, &#039;&#039;, 1);							-- replace place 1 pair of &#039;/&#039; with nothing;&lt;br /&gt;
			if utilities.is_set(authority) then									-- if anything left (1 or 3+ &#039;/&#039; where authority should be) then&lt;br /&gt;
				return scheme;													-- return scheme only making domain nil which will cause an error message&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			if not scheme:match (&#039;^news:&#039;) then									-- except for news:..., MediaWiki won&#039;t link URLs that do not have authority indicator; TODO: a better way to do this test?&lt;br /&gt;
				return scheme;													-- return scheme only making domain nil which will cause an error message&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		domain = domain:gsub (&#039;(%a):%d+&#039;, &#039;%1&#039;);								-- strip port number if present&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return scheme, domain;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; L I N K _ P A R A M _ O K &amp;gt;---------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
checks the content of |title-link=, |series-link=, |author-link=, etc. for properly formatted content: no wikilinks, no URLs&lt;br /&gt;
&lt;br /&gt;
Link parameters are to hold the title of a Wikipedia article, so none of the WP:TITLESPECIALCHARACTERS are allowed:&lt;br /&gt;
	# &amp;lt; &amp;gt; [ ] | { } _&lt;br /&gt;
except the underscore which is used as a space in wiki URLs and # which is used for section links&lt;br /&gt;
&lt;br /&gt;
returns false when the value contains any of these characters.&lt;br /&gt;
&lt;br /&gt;
When there are no illegal characters, this function returns TRUE if value DOES NOT appear to be a valid URL (the&lt;br /&gt;
|&amp;lt;param&amp;gt;-link= parameter is ok); else false when value appears to be a valid URL (the |&amp;lt;param&amp;gt;-link= parameter is NOT ok).&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function link_param_ok (value)&lt;br /&gt;
	local scheme, domain;&lt;br /&gt;
	if value:find (&#039;[&amp;lt;&amp;gt;%[%]|{}]&#039;) then                                          -- if any prohibited characters&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	scheme, domain = split_url (value);											-- get scheme or nil and domain or nil from URL; &lt;br /&gt;
	return not is_url (scheme, domain);											-- return true if value DOES NOT appear to be a valid URL&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; L I N K _ T I T L E _ O K &amp;gt;---------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Use link_param_ok() to validate |&amp;lt;param&amp;gt;-link= value and its matching |&amp;lt;title&amp;gt;= value.&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;title&amp;gt;= may be wiki-linked but not when |&amp;lt;param&amp;gt;-link= has a value.  This function emits an error message when&lt;br /&gt;
that condition exists&lt;br /&gt;
&lt;br /&gt;
check &amp;lt;link&amp;gt; for inter-language interwiki-link prefix.  prefix must be a MediaWiki-recognized language&lt;br /&gt;
code and must begin with a colon.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function link_title_ok (link, lorig, title, torig)&lt;br /&gt;
	local orig;&lt;br /&gt;
	if utilities.is_set (link) then 											-- don&#039;t bother if &amp;lt;param&amp;gt;-link doesn&#039;t have a value&lt;br /&gt;
		if not link_param_ok (link) then										-- check |&amp;lt;param&amp;gt;-link= markup&lt;br /&gt;
			orig = lorig;														-- identify the failing link parameter&lt;br /&gt;
		elseif title:find (&#039;%[%[&#039;) then											-- check |title= for wikilink markup&lt;br /&gt;
			orig = torig;														-- identify the failing |title= parameter&lt;br /&gt;
		elseif link:match (&#039;^%a+:&#039;) then										-- if the link is what looks like an interwiki&lt;br /&gt;
			local prefix = link:match (&#039;^(%a+):&#039;):lower();						-- get the interwiki prefix&lt;br /&gt;
&lt;br /&gt;
			if cfg.inter_wiki_map[prefix] then									-- if prefix is in the map, must have preceding colon&lt;br /&gt;
				orig = lorig;													-- flag as error&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (orig) then&lt;br /&gt;
		link = &#039;&#039;;																-- unset&lt;br /&gt;
		utilities.set_message (&#039;err_bad_paramlink&#039;, orig);						-- URL or wikilink in |title= with |title-link=;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return link;																-- link if ok, empty string else&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C H E C K _ U R L &amp;gt;------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Determines whether a URL string appears to be valid.&lt;br /&gt;
&lt;br /&gt;
First we test for space characters.  If any are found, return false.  Then split the URL into scheme and domain&lt;br /&gt;
portions, or for protocol-relative (//example.com) URLs, just the domain.  Use is_url() to validate the two&lt;br /&gt;
portions of the URL.  If both are valid, or for protocol-relative if domain is valid, return true, else false.&lt;br /&gt;
&lt;br /&gt;
Because it is different from a standard URL, and because this module used external_link() to make external links&lt;br /&gt;
that work for standard and news: links, we validate newsgroup names here.  The specification for a newsgroup name&lt;br /&gt;
is at https://tools.ietf.org/html/rfc5536#section-3.1.4&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function check_url( url_str )&lt;br /&gt;
	if nil == url_str:match (&amp;quot;^%S+$&amp;quot;) then										-- if there are any spaces in |url=value it can&#039;t be a proper URL&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
	local scheme, domain;&lt;br /&gt;
&lt;br /&gt;
	scheme, domain = split_url (url_str);										-- get scheme or nil and domain or nil from URL;&lt;br /&gt;
	&lt;br /&gt;
	if &#039;news:&#039; == scheme then													-- special case for newsgroups&lt;br /&gt;
		return domain:match(&#039;^[%a%d%+%-_]+%.[%a%d%+%-_%.]*[%a%d%+%-_]$&#039;);&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return is_url (scheme, domain);												-- return true if value appears to be a valid URL&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; I S _ P A R A M E T E R _ E X T _ W I K I L I N K &amp;gt;----------------------------&lt;br /&gt;
&lt;br /&gt;
Return true if a parameter value has a string that begins and ends with square brackets [ and ] and the first&lt;br /&gt;
non-space characters following the opening bracket appear to be a URL.  The test will also find external wikilinks&lt;br /&gt;
that use protocol-relative URLs. Also finds bare URLs.&lt;br /&gt;
&lt;br /&gt;
The frontier pattern prevents a match on interwiki-links which are similar to scheme:path URLs.  The tests that&lt;br /&gt;
find bracketed URLs are required because the parameters that call this test (currently |title=, |chapter=, |work=,&lt;br /&gt;
and |publisher=) may have wikilinks and there are articles or redirects like &#039;//Hus&#039; so, while uncommon, |title=[[//Hus]]&lt;br /&gt;
is possible as might be [[en://Hus]].&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function is_parameter_ext_wikilink (value)&lt;br /&gt;
local scheme, domain;&lt;br /&gt;
&lt;br /&gt;
	if value:match (&#039;%f[%[]%[%a%S*:%S+.*%]&#039;) then								-- if ext. wikilink with scheme and domain: [xxxx://yyyyy.zzz]&lt;br /&gt;
		scheme, domain = split_url (value:match (&#039;%f[%[]%[(%a%S*:%S+).*%]&#039;));&lt;br /&gt;
	elseif value:match (&#039;%f[%[]%[//%S+.*%]&#039;) then								-- if protocol-relative ext. wikilink: [//yyyyy.zzz]&lt;br /&gt;
		scheme, domain = split_url (value:match (&#039;%f[%[]%[(//%S+).*%]&#039;));&lt;br /&gt;
	elseif value:match (&#039;%a%S*:%S+&#039;) then										-- if bare URL with scheme; may have leading or trailing plain text&lt;br /&gt;
		scheme, domain = split_url (value:match (&#039;(%a%S*:%S+)&#039;));&lt;br /&gt;
	elseif value:match (&#039;^//%S+&#039;) or value:match (&#039;%s//%S+&#039;) then				-- if protocol-relative bare URL: //yyyyy.zzz; authority indicator (//) must be be preceded nothing or by whitespace&lt;br /&gt;
		scheme, domain = split_url (value:match (&#039;(//%S+)&#039;));					-- what is left should be the domain&lt;br /&gt;
	else&lt;br /&gt;
		return false;															-- didn&#039;t find anything that is obviously a URL&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return is_url (scheme, domain);												-- return true if value appears to be a valid URL&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-------------------------&amp;lt; C H E C K _ F O R _ U R L &amp;gt;-----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
loop through a list of parameters and their values.  Look at the value and if it has an external link, emit an error message.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function check_for_url (parameter_list, error_list)&lt;br /&gt;
	for k, v in pairs (parameter_list) do										-- for each parameter in the list&lt;br /&gt;
		if is_parameter_ext_wikilink (v) then									-- look at the value; if there is a URL add an error message&lt;br /&gt;
			table.insert (error_list, utilities.wrap_style (&#039;parameter&#039;, k));&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S A F E _ F O R _ U R L &amp;gt;------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Escape sequences for content that will be used for URL descriptions&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function safe_for_url( str )&lt;br /&gt;
	if str:match( &amp;quot;%[%[.-%]%]&amp;quot; ) ~= nil then &lt;br /&gt;
		utilities.set_message (&#039;err_wikilink_in_url&#039;, {});&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return str:gsub( &#039;[%[%]\n]&#039;, {	&lt;br /&gt;
		[&#039;[&#039;] = &#039;&amp;amp;#91;&#039;,&lt;br /&gt;
		[&#039;]&#039;] = &#039;&amp;amp;#93;&#039;,&lt;br /&gt;
		[&#039;\n&#039;] = &#039; &#039; } );&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X T E R N A L _ L I N K &amp;gt;----------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Format an external link with error checking&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function external_link (URL, label, source, access)&lt;br /&gt;
	local err_msg = &#039;&#039;;&lt;br /&gt;
	local domain;&lt;br /&gt;
	local path;&lt;br /&gt;
	local base_url;&lt;br /&gt;
&lt;br /&gt;
	if not utilities.is_set (label) then&lt;br /&gt;
		label = URL;&lt;br /&gt;
		if utilities.is_set (source) then&lt;br /&gt;
			utilities.set_message (&#039;err_bare_url_missing_title&#039;, {utilities.wrap_style (&#039;parameter&#039;, source)});&lt;br /&gt;
		else&lt;br /&gt;
			error (cfg.messages[&amp;quot;bare_url_no_origin&amp;quot;]);							-- programmer error; valid parameter name does not have matching meta-parameter&lt;br /&gt;
		end			&lt;br /&gt;
	end&lt;br /&gt;
	if not check_url (URL) then&lt;br /&gt;
		utilities.set_message (&#039;err_bad_url&#039;, {utilities.wrap_style (&#039;parameter&#039;, source)});&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	domain, path = URL:match (&#039;^([/%.%-%+:%a%d]+)([/%?#].*)$&#039;);					-- split the URL into scheme plus domain and path&lt;br /&gt;
	if path then																-- if there is a path portion&lt;br /&gt;
		path = path:gsub (&#039;[%[%]]&#039;, {[&#039;[&#039;] = &#039;%5b&#039;, [&#039;]&#039;] = &#039;%5d&#039;});			-- replace &#039;[&#039; and &#039;]&#039; with their percent-encoded values&lt;br /&gt;
		URL = table.concat ({domain, path});									-- and reassemble&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	base_url = table.concat ({ &amp;quot;[&amp;quot;, URL, &amp;quot; &amp;quot;, safe_for_url (label), &amp;quot;]&amp;quot; });		-- assemble a wiki-markup URL&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (access) then											-- access level (subscription, registration, limited)&lt;br /&gt;
		base_url = utilities.substitute (cfg.presentation[&#039;ext-link-access-signal&#039;], {cfg.presentation[access].class, cfg.presentation[access].title, base_url});	-- add the appropriate icon&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return base_url;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; D E P R E C A T E D _ P A R A M E T E R &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
Categorize and emit an error message when the citation contains one or more deprecated parameters.  The function includes the&lt;br /&gt;
offending parameter name to the error message.  Only one error message is emitted regardless of the number of deprecated&lt;br /&gt;
parameters in the citation.&lt;br /&gt;
&lt;br /&gt;
added_deprecated_cat is a Boolean declared in page scope variables above&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function deprecated_parameter(name)&lt;br /&gt;
	if not added_deprecated_cat then&lt;br /&gt;
		added_deprecated_cat = true;											-- note that we&#039;ve added this category&lt;br /&gt;
		utilities.set_message (&#039;err_deprecated_params&#039;, {name});				-- add error message&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; K E R N _ Q U O T E S &amp;gt;--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Apply kerning to open the space between the quote mark provided by the module and a leading or trailing quote&lt;br /&gt;
mark contained in a |title= or |chapter= parameter&#039;s value.&lt;br /&gt;
&lt;br /&gt;
This function will positive kern either single or double quotes:&lt;br /&gt;
	&amp;quot;&#039;Unkerned title with leading and trailing single quote marks&#039;&amp;quot;&lt;br /&gt;
	&amp;quot; &#039;Kerned title with leading and trailing single quote marks&#039; &amp;quot; (in real life the kerning isn&#039;t as wide as this example)&lt;br /&gt;
Double single quotes (italic or bold wiki-markup) are not kerned.&lt;br /&gt;
&lt;br /&gt;
Replaces Unicode quote marks in plain text or in the label portion of a [[L|D]] style wikilink with typewriter&lt;br /&gt;
quote marks regardless of the need for kerning.  Unicode quote marks are not replaced in simple [[D]] wikilinks.&lt;br /&gt;
&lt;br /&gt;
Call this function for chapter titles, for website titles, etc.; not for book titles.&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function kern_quotes (str)&lt;br /&gt;
	local cap = &#039;&#039;;&lt;br /&gt;
	local wl_type, label, link;&lt;br /&gt;
&lt;br /&gt;
	wl_type, label, link = utilities.is_wikilink (str);							-- wl_type is: 0, no wl (text in label variable); 1, [[D]]; 2, [[L|D]]&lt;br /&gt;
	&lt;br /&gt;
	if 1 == wl_type then														-- [[D]] simple wikilink with or without quote marks&lt;br /&gt;
		if mw.ustring.match (str, &#039;%[%[[\&amp;quot;“”\&#039;‘’].+[\&amp;quot;“”\&#039;‘’]%]%]&#039;) then		-- leading and trailing quote marks&lt;br /&gt;
			str = utilities.substitute (cfg.presentation[&#039;kern-left&#039;], str);&lt;br /&gt;
			str = utilities.substitute (cfg.presentation[&#039;kern-right&#039;], str);&lt;br /&gt;
		elseif mw.ustring.match (str, &#039;%[%[[\&amp;quot;“”\&#039;‘’].+%]%]&#039;)	then			-- leading quote marks&lt;br /&gt;
			str = utilities.substitute (cfg.presentation[&#039;kern-left&#039;], str);&lt;br /&gt;
		elseif mw.ustring.match (str, &#039;%[%[.+[\&amp;quot;“”\&#039;‘’]%]%]&#039;) then				-- trailing quote marks&lt;br /&gt;
			str = utilities.substitute (cfg.presentation[&#039;kern-right&#039;], str);&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	else																		-- plain text or [[L|D]]; text in label variable&lt;br /&gt;
		label = mw.ustring.gsub (label, &#039;[“”]&#039;, &#039;\&amp;quot;&#039;);							-- replace “” (U+201C &amp;amp; U+201D) with &amp;quot; (typewriter double quote mark)&lt;br /&gt;
		label = mw.ustring.gsub (label, &#039;[‘’]&#039;, &#039;\&#039;&#039;);							-- replace ‘’ (U+2018 &amp;amp; U+2019) with &#039; (typewriter single quote mark)&lt;br /&gt;
&lt;br /&gt;
		cap = mw.ustring.match (label, &amp;quot;^([\&amp;quot;\&#039;][^\&#039;].+)&amp;quot;);						-- match leading double or single quote but not doubled single quotes (italic markup)&lt;br /&gt;
		if utilities.is_set (cap) then&lt;br /&gt;
			label = utilities.substitute (cfg.presentation[&#039;kern-left&#039;], cap);&lt;br /&gt;
		end&lt;br /&gt;
	&lt;br /&gt;
		cap = mw.ustring.match (label, &amp;quot;^(.+[^\&#039;][\&amp;quot;\&#039;])$&amp;quot;)						-- match trailing double or single quote but not doubled single quotes (italic markup)&lt;br /&gt;
		if utilities.is_set (cap) then&lt;br /&gt;
			label = utilities.substitute (cfg.presentation[&#039;kern-right&#039;], cap);&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		if 2 == wl_type then&lt;br /&gt;
			str = utilities.make_wikilink (link, label);						-- reassemble the wikilink&lt;br /&gt;
		else&lt;br /&gt;
			str = label;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return str;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; F O R M A T _ S C R I P T _ V A L U E &amp;gt;----------------------------------------&lt;br /&gt;
&lt;br /&gt;
|script-title= holds title parameters that are not written in Latin-based scripts: Chinese, Japanese, Arabic, Hebrew, etc. These scripts should&lt;br /&gt;
not be italicized and may be written right-to-left.  The value supplied by |script-title= is concatenated onto Title after Title has been wrapped&lt;br /&gt;
in italic markup.&lt;br /&gt;
&lt;br /&gt;
Regardless of language, all values provided by |script-title= are wrapped in &amp;lt;bdi&amp;gt;...&amp;lt;/bdi&amp;gt; tags to isolate RTL languages from the English left to right.&lt;br /&gt;
&lt;br /&gt;
|script-title= provides a unique feature.  The value in |script-title= may be prefixed with a two-character ISO 639-1 language code and a colon:&lt;br /&gt;
	|script-title=ja:*** *** (where * represents a Japanese character)&lt;br /&gt;
Spaces between the two-character code and the colon and the colon and the first script character are allowed:&lt;br /&gt;
	|script-title=ja : *** ***&lt;br /&gt;
	|script-title=ja: *** ***&lt;br /&gt;
	|script-title=ja :*** ***&lt;br /&gt;
Spaces preceding the prefix are allowed: |script-title = ja:*** ***&lt;br /&gt;
&lt;br /&gt;
The prefix is checked for validity.  If it is a valid ISO 639-1 language code, the lang attribute (lang=&amp;quot;ja&amp;quot;) is added to the &amp;lt;bdi&amp;gt; tag so that browsers can&lt;br /&gt;
know the language the tag contains.  This may help the browser render the script more correctly.  If the prefix is invalid, the lang attribute&lt;br /&gt;
is not added.  At this time there is no error message for this condition.&lt;br /&gt;
&lt;br /&gt;
Supports |script-title=, |script-chapter=, |script-&amp;lt;periodical&amp;gt;=&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function format_script_value (script_value, script_param)&lt;br /&gt;
	local lang=&#039;&#039;;																-- initialize to empty string&lt;br /&gt;
	local name;&lt;br /&gt;
	if script_value:match(&#039;^%l%l%l?%s*:&#039;) then									-- if first 3 or 4 non-space characters are script language prefix&lt;br /&gt;
		lang = script_value:match(&#039;^(%l%l%l?)%s*:%s*%S.*&#039;);						-- get the language prefix or nil if there is no script&lt;br /&gt;
		if not utilities.is_set (lang) then&lt;br /&gt;
			utilities.set_message (&#039;err_script_parameter&#039;, {script_param, cfg.err_msg_supl[&#039;missing title part&#039;]});		-- prefix without &#039;title&#039;; add error message&lt;br /&gt;
			return &#039;&#039;;															-- script_value was just the prefix so return empty string&lt;br /&gt;
		end&lt;br /&gt;
																				-- if we get this far we have prefix and script&lt;br /&gt;
		name = cfg.lang_tag_remap[lang] or mw.language.fetchLanguageName( lang, cfg.this_wiki_code );	-- get language name so that we can use it to categorize&lt;br /&gt;
		if utilities.is_set (name) then											-- is prefix a proper ISO 639-1 language code?&lt;br /&gt;
			script_value = script_value:gsub (&#039;^%l+%s*:%s*&#039;, &#039;&#039;);				-- strip prefix from script&lt;br /&gt;
																				-- is prefix one of these language codes?&lt;br /&gt;
			if utilities.in_array (lang, cfg.script_lang_codes) then&lt;br /&gt;
				utilities.add_prop_cat (&#039;script&#039;, {name, lang})&lt;br /&gt;
			else&lt;br /&gt;
				utilities.set_message (&#039;err_script_parameter&#039;, {script_param, cfg.err_msg_supl[&#039;unknown language code&#039;]});	-- unknown script-language; add error message&lt;br /&gt;
			end&lt;br /&gt;
			lang = &#039; lang=&amp;quot;&#039; .. lang .. &#039;&amp;quot; &#039;;									-- convert prefix into a lang attribute&lt;br /&gt;
		else&lt;br /&gt;
			utilities.set_message (&#039;err_script_parameter&#039;, {script_param, cfg.err_msg_supl[&#039;invalid language code&#039;]});		-- invalid language code; add error message&lt;br /&gt;
			lang = &#039;&#039;;															-- invalid so set lang to empty string&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		utilities.set_message (&#039;err_script_parameter&#039;, {script_param, cfg.err_msg_supl[&#039;missing prefix&#039;]});				-- no language code prefix; add error message&lt;br /&gt;
	end&lt;br /&gt;
	script_value = utilities.substitute (cfg.presentation[&#039;bdi&#039;], {lang, script_value});	-- isolate in case script is RTL&lt;br /&gt;
&lt;br /&gt;
	return script_value;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S C R I P T _ C O N C A T E N A T E &amp;gt;------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Initially for |title= and |script-title=, this function concatenates those two parameter values after the script&lt;br /&gt;
value has been wrapped in &amp;lt;bdi&amp;gt; tags.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function script_concatenate (title, script, script_param)&lt;br /&gt;
	if utilities.is_set (script) then&lt;br /&gt;
		script = format_script_value (script, script_param);					-- &amp;lt;bdi&amp;gt; tags, lang attribute, categorization, etc.; returns empty string on error&lt;br /&gt;
		if utilities.is_set (script) then&lt;br /&gt;
			title = title .. &#039; &#039; .. script;										-- concatenate title and script title&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return title;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; W R A P _ M S G &amp;gt;--------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Applies additional message text to various parameter values. Supplied string is wrapped using a message_list&lt;br /&gt;
configuration taking one argument.  Supports lower case text for {{citation}} templates.  Additional text taken&lt;br /&gt;
from citation_config.messages - the reason this function is similar to but separate from wrap_style().&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function wrap_msg (key, str, lower)&lt;br /&gt;
	if not utilities.is_set ( str ) then&lt;br /&gt;
		return &amp;quot;&amp;quot;;&lt;br /&gt;
	end&lt;br /&gt;
	if true == lower then&lt;br /&gt;
		local msg;&lt;br /&gt;
		msg = cfg.messages[key]:lower();										-- set the message to lower case before &lt;br /&gt;
		return utilities.substitute ( msg, str );								-- including template text&lt;br /&gt;
	else&lt;br /&gt;
		return utilities.substitute ( cfg.messages[key], str );&lt;br /&gt;
	end		&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[----------------&amp;lt; W I K I S O U R C E _ U R L _ M A K E &amp;gt;-------------------&lt;br /&gt;
&lt;br /&gt;
Makes a Wikisource URL from Wikisource interwiki-link.  Returns the URL and appropriate&lt;br /&gt;
label; nil else.&lt;br /&gt;
&lt;br /&gt;
str is the value assigned to |chapter= (or aliases) or |title= or |title-link=&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function wikisource_url_make (str)&lt;br /&gt;
	local wl_type, D, L;&lt;br /&gt;
	local ws_url, ws_label;&lt;br /&gt;
	local wikisource_prefix = table.concat ({&#039;https://&#039;, cfg.this_wiki_code, &#039;.wikisource.org/wiki/&#039;});&lt;br /&gt;
&lt;br /&gt;
	wl_type, D, L = utilities.is_wikilink (str);								-- wl_type is 0 (not a wikilink), 1 (simple wikilink), 2 (complex wikilink)&lt;br /&gt;
&lt;br /&gt;
	if 0 == wl_type then														-- not a wikilink; might be from |title-link=&lt;br /&gt;
		str = D:match (&#039;^[Ww]ikisource:(.+)&#039;) or D:match (&#039;^[Ss]:(.+)&#039;);		-- article title from interwiki link with long-form or short-form namespace&lt;br /&gt;
		if utilities.is_set (str) then&lt;br /&gt;
			ws_url = table.concat ({											-- build a Wikisource URL&lt;br /&gt;
				wikisource_prefix,												-- prefix&lt;br /&gt;
				str,															-- article title&lt;br /&gt;
				});&lt;br /&gt;
			ws_label = str;														-- label for the URL&lt;br /&gt;
		end&lt;br /&gt;
	elseif 1 == wl_type then													-- simple wikilink: [[Wikisource:ws article]]&lt;br /&gt;
		str = D:match (&#039;^[Ww]ikisource:(.+)&#039;) or D:match (&#039;^[Ss]:(.+)&#039;);		-- article title from interwiki link with long-form or short-form namespace&lt;br /&gt;
		if utilities.is_set (str) then&lt;br /&gt;
			ws_url = table.concat ({											-- build a Wikisource URL&lt;br /&gt;
				wikisource_prefix,												-- prefix&lt;br /&gt;
				str,															-- article title&lt;br /&gt;
				});&lt;br /&gt;
			ws_label = str;														-- label for the URL&lt;br /&gt;
		end&lt;br /&gt;
	elseif 2 == wl_type then													-- non-so-simple wikilink: [[Wikisource:ws article|displayed text]] ([[L|D]])&lt;br /&gt;
		str = L:match (&#039;^[Ww]ikisource:(.+)&#039;) or L:match (&#039;^[Ss]:(.+)&#039;);		-- article title from interwiki link with long-form or short-form namespace&lt;br /&gt;
		if utilities.is_set (str) then&lt;br /&gt;
			ws_label = D;														-- get ws article name from display portion of interwiki link&lt;br /&gt;
			ws_url = table.concat ({											-- build a Wikisource URL&lt;br /&gt;
				wikisource_prefix,												-- prefix&lt;br /&gt;
				str,															-- article title without namespace from link portion of wikilink&lt;br /&gt;
				});&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if ws_url then&lt;br /&gt;
		ws_url = mw.uri.encode (ws_url, &#039;WIKI&#039;);								-- make a usable URL&lt;br /&gt;
		ws_url = ws_url:gsub (&#039;%%23&#039;, &#039;#&#039;);										-- undo percent-encoding of fragment marker&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return ws_url, ws_label, L or D;											-- return proper URL or nil and a label or nil&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[----------------&amp;lt; F O R M A T _ P E R I O D I C A L &amp;gt;-----------------------&lt;br /&gt;
&lt;br /&gt;
Format the three periodical parameters: |script-&amp;lt;periodical&amp;gt;=, |&amp;lt;periodical&amp;gt;=,&lt;br /&gt;
and |trans-&amp;lt;periodical&amp;gt;= into a single Periodical meta-parameter.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function format_periodical (script_periodical, script_periodical_source, periodical, trans_periodical)&lt;br /&gt;
&lt;br /&gt;
	if not utilities.is_set (periodical) then&lt;br /&gt;
		periodical = &#039;&#039;;														-- to be safe for concatenation&lt;br /&gt;
	else&lt;br /&gt;
		periodical = utilities.wrap_style (&#039;italic-title&#039;, periodical);			-- style &lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	periodical = script_concatenate (periodical, script_periodical, script_periodical_source);	-- &amp;lt;bdi&amp;gt; tags, lang attribute, categorization, etc.; must be done after title is wrapped&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (trans_periodical) then&lt;br /&gt;
		trans_periodical = utilities.wrap_style (&#039;trans-italic-title&#039;, trans_periodical);&lt;br /&gt;
		if utilities.is_set (periodical) then&lt;br /&gt;
			periodical = periodical .. &#039; &#039; .. trans_periodical;&lt;br /&gt;
		else																	-- here when trans-periodical without periodical or script-periodical&lt;br /&gt;
			periodical = trans_periodical;&lt;br /&gt;
			utilities.set_message (&#039;err_trans_missing_title&#039;, {&#039;periodical&#039;});&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return periodical;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[------------------&amp;lt; F O R M A T _ C H A P T E R _ T I T L E &amp;gt;---------------&lt;br /&gt;
&lt;br /&gt;
Format the four chapter parameters: |script-chapter=, |chapter=, |trans-chapter=,&lt;br /&gt;
and |chapter-url= into a single chapter meta- parameter (chapter_url_source used&lt;br /&gt;
for error messages).&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function format_chapter_title (script_chapter, script_chapter_source, chapter, chapter_source, trans_chapter, trans_chapter_source, chapter_url, chapter_url_source, no_quotes, access)&lt;br /&gt;
	local ws_url, ws_label, L = wikisource_url_make (chapter);					-- make a wikisource URL and label from a wikisource interwiki link&lt;br /&gt;
	if ws_url then&lt;br /&gt;
		ws_label = ws_label:gsub (&#039;_&#039;, &#039; &#039;);									-- replace underscore separators with space characters&lt;br /&gt;
		chapter = ws_label;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if not utilities.is_set (chapter) then&lt;br /&gt;
		chapter = &#039;&#039;;															-- to be safe for concatenation&lt;br /&gt;
	else&lt;br /&gt;
		if false == no_quotes then&lt;br /&gt;
			chapter = kern_quotes (chapter);									-- if necessary, separate chapter title&#039;s leading and trailing quote marks from module provided quote marks&lt;br /&gt;
			chapter = utilities.wrap_style (&#039;quoted-title&#039;, chapter);&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	chapter = script_concatenate (chapter, script_chapter, script_chapter_source);	-- &amp;lt;bdi&amp;gt; tags, lang attribute, categorization, etc.; must be done after title is wrapped&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (chapter_url) then&lt;br /&gt;
		chapter = external_link (chapter_url, chapter, chapter_url_source, access);	-- adds bare_url_missing_title error if appropriate&lt;br /&gt;
	elseif ws_url then&lt;br /&gt;
		chapter = external_link (ws_url, chapter .. &#039;&amp;amp;nbsp;&#039;, &#039;ws link in chapter&#039;);	-- adds bare_url_missing_title error if appropriate; space char to move icon away from chap text; TODO: better way to do this?&lt;br /&gt;
		chapter = utilities.substitute (cfg.presentation[&#039;interwiki-icon&#039;], {cfg.presentation[&#039;class-wikisource&#039;], L, chapter});				&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (trans_chapter) then&lt;br /&gt;
		trans_chapter = utilities.wrap_style (&#039;trans-quoted-title&#039;, trans_chapter);&lt;br /&gt;
		if utilities.is_set (chapter) then&lt;br /&gt;
			chapter = chapter .. &#039; &#039; .. trans_chapter;&lt;br /&gt;
		else																	-- here when trans_chapter without chapter or script-chapter&lt;br /&gt;
			chapter = trans_chapter;&lt;br /&gt;
			chapter_source = trans_chapter_source:match (&#039;trans%-?(.+)&#039;);		-- when no chapter, get matching name from trans-&amp;lt;param&amp;gt;&lt;br /&gt;
			utilities.set_message (&#039;err_trans_missing_title&#039;, {chapter_source});&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return chapter;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[----------------&amp;lt; H A S _ I N V I S I B L E _ C H A R S &amp;gt;-------------------&lt;br /&gt;
&lt;br /&gt;
This function searches a parameter&#039;s value for non-printable or invisible characters.&lt;br /&gt;
The search stops at the first match.&lt;br /&gt;
&lt;br /&gt;
This function will detect the visible replacement character when it is part of the Wikisource.&lt;br /&gt;
&lt;br /&gt;
Detects but ignores nowiki and math stripmarkers.  Also detects other named stripmarkers&lt;br /&gt;
(gallery, math, pre, ref) and identifies them with a slightly different error message.&lt;br /&gt;
See also coins_cleanup().&lt;br /&gt;
&lt;br /&gt;
Output of this function is an error message that identifies the character or the&lt;br /&gt;
Unicode group, or the stripmarker that was detected along with its position (or,&lt;br /&gt;
for multi-byte characters, the position of its first byte) in the parameter value.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function has_invisible_chars (param, v)&lt;br /&gt;
	local position = &#039;&#039;;														-- position of invisible char or starting position of stripmarker&lt;br /&gt;
	local capture;																-- used by stripmarker detection to hold name of the stripmarker&lt;br /&gt;
	local stripmarker;															-- boolean set true when a stripmarker is found&lt;br /&gt;
&lt;br /&gt;
	capture = string.match (v, &#039;[%w%p ]*&#039;);										-- test for values that are simple ASCII text and bypass other tests if true&lt;br /&gt;
	if capture == v then														-- if same there are no Unicode characters&lt;br /&gt;
		return;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	for _, invisible_char in ipairs (cfg.invisible_chars) do&lt;br /&gt;
		local char_name = invisible_char[1];									-- the character or group name&lt;br /&gt;
		local pattern = invisible_char[2];										-- the pattern used to find it&lt;br /&gt;
		position, _, capture = mw.ustring.find (v, pattern);					-- see if the parameter value contains characters that match the pattern&lt;br /&gt;
		&lt;br /&gt;
		if position and (cfg.invisible_defs.zwj == capture) then				-- if we found a zero-width joiner character&lt;br /&gt;
			if mw.ustring.find (v, cfg.indic_script) then						-- it&#039;s ok if one of the Indic scripts&lt;br /&gt;
				position = nil;													-- unset position&lt;br /&gt;
			elseif cfg.emoji_t[mw.ustring.codepoint (v, position+1)] then			-- is zwj followed by a character listed in emoji{}?&lt;br /&gt;
				position = nil;													-- unset position&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		if position then&lt;br /&gt;
			if &#039;nowiki&#039; == capture or &#039;math&#039; == capture or						-- nowiki and math stripmarkers (not an error condition)&lt;br /&gt;
				(&#039;templatestyles&#039; == capture and utilities.in_array (param, {&#039;id&#039;, &#039;quote&#039;})) then	-- templatestyles stripmarker allowed in these parameters&lt;br /&gt;
					stripmarker = true;											-- set a flag&lt;br /&gt;
			elseif true == stripmarker and cfg.invisible_defs.del == capture then	-- because stripmakers begin and end with the delete char, assume that we&#039;ve found one end of a stripmarker&lt;br /&gt;
				position = nil;													-- unset&lt;br /&gt;
			else&lt;br /&gt;
				local err_msg;&lt;br /&gt;
				if capture and not (cfg.invisible_defs.del == capture or cfg.invisible_defs.zwj == capture) then&lt;br /&gt;
					err_msg = capture .. &#039; &#039; .. char_name;&lt;br /&gt;
				else&lt;br /&gt;
					err_msg = char_name .. &#039; &#039; .. &#039;character&#039;;&lt;br /&gt;
				end&lt;br /&gt;
&lt;br /&gt;
				utilities.set_message (&#039;err_invisible_char&#039;, {err_msg, utilities.wrap_style (&#039;parameter&#039;, param), position});	-- add error message&lt;br /&gt;
				return;															-- and done with this parameter&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-------------------&amp;lt; A R G U M E N T _ W R A P P E R &amp;gt;----------------------&lt;br /&gt;
&lt;br /&gt;
Argument wrapper.  This function provides support for argument mapping defined&lt;br /&gt;
in the configuration file so that multiple names can be transparently aliased to&lt;br /&gt;
single internal variable.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function argument_wrapper ( args )&lt;br /&gt;
	local origin = {};&lt;br /&gt;
	&lt;br /&gt;
	return setmetatable({&lt;br /&gt;
		ORIGIN = function ( self, k )&lt;br /&gt;
			local dummy = self[k];												-- force the variable to be loaded.&lt;br /&gt;
			return origin[k];&lt;br /&gt;
		end&lt;br /&gt;
	},&lt;br /&gt;
	{&lt;br /&gt;
		__index = function ( tbl, k )&lt;br /&gt;
			if origin[k] ~= nil then&lt;br /&gt;
				return nil;&lt;br /&gt;
			end&lt;br /&gt;
			&lt;br /&gt;
			local args, list, v = args, cfg.aliases[k];&lt;br /&gt;
			&lt;br /&gt;
			if type( list ) == &#039;table&#039; then&lt;br /&gt;
				v, origin[k] = utilities.select_one ( args, list, &#039;err_redundant_parameters&#039; );&lt;br /&gt;
				if origin[k] == nil then&lt;br /&gt;
					origin[k] = &#039;&#039;;												-- Empty string, not nil&lt;br /&gt;
				end&lt;br /&gt;
			elseif list ~= nil then&lt;br /&gt;
				v, origin[k] = args[list], list;&lt;br /&gt;
			else&lt;br /&gt;
				-- maybe let through instead of raising an error?&lt;br /&gt;
				-- v, origin[k] = args[k], k;&lt;br /&gt;
				error( cfg.messages[&#039;unknown_argument_map&#039;] .. &#039;: &#039; .. k);&lt;br /&gt;
			end&lt;br /&gt;
			&lt;br /&gt;
			-- Empty strings, not nil;&lt;br /&gt;
			if v == nil then&lt;br /&gt;
				v = &#039;&#039;;&lt;br /&gt;
				origin[k] = &#039;&#039;;&lt;br /&gt;
			end&lt;br /&gt;
			&lt;br /&gt;
			tbl = rawset( tbl, k, v );&lt;br /&gt;
			return v;&lt;br /&gt;
		end,&lt;br /&gt;
	});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; N O W R A P _ D A T E &amp;gt;-------------------------&lt;br /&gt;
&lt;br /&gt;
When date is YYYY-MM-DD format wrap in nowrap span: &amp;lt;span ...&amp;gt;YYYY-MM-DD&amp;lt;/span&amp;gt;.&lt;br /&gt;
When date is DD MMMM YYYY or is MMMM DD, YYYY then wrap in nowrap span:&lt;br /&gt;
&amp;lt;span ...&amp;gt;DD MMMM&amp;lt;/span&amp;gt; YYYY or &amp;lt;span ...&amp;gt;MMMM DD,&amp;lt;/span&amp;gt; YYYY&lt;br /&gt;
&lt;br /&gt;
DOES NOT yet support MMMM YYYY or any of the date ranges.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function nowrap_date (date)&lt;br /&gt;
	local cap = &#039;&#039;;&lt;br /&gt;
	local cap2 = &#039;&#039;;&lt;br /&gt;
&lt;br /&gt;
	if date:match(&amp;quot;^%d%d%d%d%-%d%d%-%d%d$&amp;quot;) then&lt;br /&gt;
		date = utilities.substitute (cfg.presentation[&#039;nowrap1&#039;], date);&lt;br /&gt;
	&lt;br /&gt;
	elseif date:match(&amp;quot;^%a+%s*%d%d?,%s+%d%d%d%d$&amp;quot;) or date:match (&amp;quot;^%d%d?%s*%a+%s+%d%d%d%d$&amp;quot;) then&lt;br /&gt;
		cap, cap2 = string.match (date, &amp;quot;^(.*)%s+(%d%d%d%d)$&amp;quot;);&lt;br /&gt;
		date = utilities.substitute (cfg.presentation[&#039;nowrap2&#039;], {cap, cap2});&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return date;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S E T _ T I T L E T Y P E &amp;gt;---------------------&lt;br /&gt;
&lt;br /&gt;
This function sets default title types (equivalent to the citation including&lt;br /&gt;
|type=&amp;lt;default value&amp;gt;) for those templates that have defaults. Also handles the&lt;br /&gt;
special case where it is desirable to omit the title type from the rendered citation&lt;br /&gt;
(|type=none).&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function set_titletype (cite_class, title_type)&lt;br /&gt;
	if utilities.is_set (title_type) then&lt;br /&gt;
		if &#039;none&#039; == cfg.keywords_xlate[title_type] then&lt;br /&gt;
			title_type = &#039;&#039;;													-- if |type=none then type parameter not displayed&lt;br /&gt;
		end&lt;br /&gt;
		return title_type;														-- if |type= has been set to any other value use that value&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return cfg.title_types [cite_class] or &#039;&#039;;									-- set template&#039;s default title type; else empty string for concatenation&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S A F E _ J O I N &amp;gt;-----------------------------&lt;br /&gt;
&lt;br /&gt;
Joins a sequence of strings together while checking for duplicate separation characters.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function safe_join( tbl, duplicate_char )&lt;br /&gt;
	local f = {};																-- create a function table appropriate to type of &#039;duplicate character&#039;&lt;br /&gt;
		if 1 == #duplicate_char then											-- for single byte ASCII characters use the string library functions&lt;br /&gt;
			f.gsub = string.gsub&lt;br /&gt;
			f.match = string.match&lt;br /&gt;
			f.sub = string.sub&lt;br /&gt;
		else																	-- for multi-byte characters use the ustring library functions&lt;br /&gt;
			f.gsub = mw.ustring.gsub&lt;br /&gt;
			f.match = mw.ustring.match&lt;br /&gt;
			f.sub = mw.ustring.sub&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	local str = &#039;&#039;;																-- the output string&lt;br /&gt;
	local comp = &#039;&#039;;															-- what does &#039;comp&#039; mean?&lt;br /&gt;
	local end_chr = &#039;&#039;;&lt;br /&gt;
	local trim;&lt;br /&gt;
	for _, value in ipairs( tbl ) do&lt;br /&gt;
		if value == nil then value = &#039;&#039;; end&lt;br /&gt;
		&lt;br /&gt;
		if str == &#039;&#039; then														-- if output string is empty&lt;br /&gt;
			str = value;														-- assign value to it (first time through the loop)&lt;br /&gt;
		elseif value ~= &#039;&#039; then&lt;br /&gt;
			if value:sub(1, 1) == &#039;&amp;lt;&#039; then										-- special case of values enclosed in spans and other markup.&lt;br /&gt;
				comp = value:gsub( &amp;quot;%b&amp;lt;&amp;gt;&amp;quot;, &amp;quot;&amp;quot; );								-- remove HTML markup (&amp;lt;span&amp;gt;string&amp;lt;/span&amp;gt; -&amp;gt; string)&lt;br /&gt;
			else&lt;br /&gt;
				comp = value;&lt;br /&gt;
			end&lt;br /&gt;
																				-- typically duplicate_char is sepc&lt;br /&gt;
			if f.sub(comp, 1, 1) == duplicate_char then							-- is first character same as duplicate_char? why test first character?&lt;br /&gt;
																				--   Because individual string segments often (always?) begin with terminal punct for the&lt;br /&gt;
																				--   preceding segment: &#039;First element&#039; .. &#039;sepc next element&#039; .. etc.?&lt;br /&gt;
				trim = false;&lt;br /&gt;
				end_chr = f.sub(str, -1, -1);									-- get the last character of the output string&lt;br /&gt;
				-- str = str .. &amp;quot;&amp;lt;HERE(enchr=&amp;quot; .. end_chr .. &amp;quot;)&amp;quot;				-- debug stuff?&lt;br /&gt;
				if end_chr == duplicate_char then								-- if same as separator&lt;br /&gt;
					str = f.sub(str, 1, -2);									-- remove it&lt;br /&gt;
				elseif end_chr == &amp;quot;&#039;&amp;quot; then										-- if it might be wiki-markup&lt;br /&gt;
					if f.sub(str, -3, -1) == duplicate_char .. &amp;quot;&#039;&#039;&amp;quot; then		-- if last three chars of str are sepc&#039;&#039; &lt;br /&gt;
						str = f.sub(str, 1, -4) .. &amp;quot;&#039;&#039;&amp;quot;;						-- remove them and add back &#039;&#039;&lt;br /&gt;
					elseif  f.sub(str, -5, -1) == duplicate_char .. &amp;quot;]]&#039;&#039;&amp;quot; then	-- if last five chars of str are sepc]]&#039;&#039; &lt;br /&gt;
						trim = true;											-- why? why do this and next differently from previous?&lt;br /&gt;
					elseif f.sub(str, -4, -1) == duplicate_char .. &amp;quot;]&#039;&#039;&amp;quot; then	-- if last four chars of str are sepc]&#039;&#039; &lt;br /&gt;
						trim = true;											-- same question&lt;br /&gt;
					end&lt;br /&gt;
				elseif end_chr == &amp;quot;]&amp;quot; then										-- if it might be wiki-markup&lt;br /&gt;
					if f.sub(str, -3, -1) == duplicate_char .. &amp;quot;]]&amp;quot; then		-- if last three chars of str are sepc]] wikilink &lt;br /&gt;
						trim = true;&lt;br /&gt;
					elseif f.sub(str, -3, -1) == duplicate_char .. &#039;&amp;quot;]&#039; then	-- if last three chars of str are sepc&amp;quot;] quoted external link &lt;br /&gt;
						trim = true;&lt;br /&gt;
					elseif  f.sub(str, -2, -1) == duplicate_char .. &amp;quot;]&amp;quot; then	-- if last two chars of str are sepc] external link&lt;br /&gt;
						trim = true;&lt;br /&gt;
					elseif f.sub(str, -4, -1) == duplicate_char .. &amp;quot;&#039;&#039;]&amp;quot; then	-- normal case when |url=something &amp;amp; |title=Title.&lt;br /&gt;
						trim = true;&lt;br /&gt;
					end&lt;br /&gt;
				elseif end_chr == &amp;quot; &amp;quot; then										-- if last char of output string is a space&lt;br /&gt;
					if f.sub(str, -2, -1) == duplicate_char .. &amp;quot; &amp;quot; then			-- if last two chars of str are &amp;lt;sepc&amp;gt;&amp;lt;space&amp;gt;&lt;br /&gt;
						str = f.sub(str, 1, -3);								-- remove them both&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
&lt;br /&gt;
				if trim then&lt;br /&gt;
					if value ~= comp then 										-- value does not equal comp when value contains HTML markup&lt;br /&gt;
						local dup2 = duplicate_char;&lt;br /&gt;
						if f.match(dup2, &amp;quot;%A&amp;quot; ) then dup2 = &amp;quot;%&amp;quot; .. dup2; end	-- if duplicate_char not a letter then escape it&lt;br /&gt;
						&lt;br /&gt;
						value = f.gsub(value, &amp;quot;(%b&amp;lt;&amp;gt;)&amp;quot; .. dup2, &amp;quot;%1&amp;quot;, 1 )		-- remove duplicate_char if it follows HTML markup&lt;br /&gt;
					else&lt;br /&gt;
						value = f.sub(value, 2, -1 );							-- remove duplicate_char when it is first character&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			str = str .. value; 												-- add it to the output string&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return str;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ S U F F I X &amp;gt;-----------------------------&lt;br /&gt;
&lt;br /&gt;
returns true if suffix is properly formed Jr, Sr, or ordinal in the range 1–9.&lt;br /&gt;
Puncutation not allowed.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_suffix (suffix)&lt;br /&gt;
	if utilities.in_array (suffix, {&#039;Jr&#039;, &#039;Sr&#039;, &#039;Jnr&#039;, &#039;Snr&#039;, &#039;1st&#039;, &#039;2nd&#039;, &#039;3rd&#039;}) or suffix:match (&#039;^%dth$&#039;) then&lt;br /&gt;
		return true;&lt;br /&gt;
	end&lt;br /&gt;
	return false;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------&amp;lt; I S _ G O O D _ V A N C _ N A M E &amp;gt;-------------------&lt;br /&gt;
&lt;br /&gt;
For Vancouver style, author/editor names are supposed to be rendered in Latin&lt;br /&gt;
(read ASCII) characters.  When a name uses characters that contain diacritical&lt;br /&gt;
marks, those characters are to be converted to the corresponding Latin&lt;br /&gt;
character. When a name is written using a non-Latin alphabet or logogram, that&lt;br /&gt;
name is to be transliterated into Latin characters. The module doesn&#039;t do this&lt;br /&gt;
so editors may/must.&lt;br /&gt;
&lt;br /&gt;
This test allows |first= and |last= names to contain any of the letters defined&lt;br /&gt;
in the four Unicode Latin character sets&lt;br /&gt;
	[http://www.unicode.org/charts/PDF/U0000.pdf C0 Controls and Basic Latin] 0041–005A, 0061–007A&lt;br /&gt;
	[http://www.unicode.org/charts/PDF/U0080.pdf C1 Controls and Latin-1 Supplement] 00C0–00D6, 00D8–00F6, 00F8–00FF&lt;br /&gt;
	[http://www.unicode.org/charts/PDF/U0100.pdf Latin Extended-A] 0100–017F&lt;br /&gt;
	[http://www.unicode.org/charts/PDF/U0180.pdf Latin Extended-B] 0180–01BF, 01C4–024F&lt;br /&gt;
&lt;br /&gt;
|lastn= also allowed to contain hyphens, spaces, and apostrophes.&lt;br /&gt;
	(http://www.ncbi.nlm.nih.gov/books/NBK7271/box/A35029/)&lt;br /&gt;
|firstn= also allowed to contain hyphens, spaces, apostrophes, and periods&lt;br /&gt;
&lt;br /&gt;
This original test:&lt;br /&gt;
	if nil == mw.ustring.find (last, &amp;quot;^[A-Za-zÀ-ÖØ-öø-ƿǄ-ɏ%-%s%&#039;]*$&amp;quot;)&lt;br /&gt;
	or nil == mw.ustring.find (first, &amp;quot;^[A-Za-zÀ-ÖØ-öø-ƿǄ-ɏ%-%s%&#039;%.]+[2-6%a]*$&amp;quot;) then&lt;br /&gt;
was written outside of the code editor and pasted here because the code editor&lt;br /&gt;
gets confused between character insertion point and cursor position. The test has&lt;br /&gt;
been rewritten to use decimal character escape sequence for the individual bytes&lt;br /&gt;
of the Unicode characters so that it is not necessary to use an external editor&lt;br /&gt;
to maintain this code.&lt;br /&gt;
&lt;br /&gt;
	\195\128-\195\150 – À-Ö (U+00C0–U+00D6 – C0 controls)&lt;br /&gt;
	\195\152-\195\182 – Ø-ö (U+00D8-U+00F6 – C0 controls)&lt;br /&gt;
	\195\184-\198\191 – ø-ƿ (U+00F8-U+01BF – C0 controls, Latin extended A &amp;amp; B)&lt;br /&gt;
	\199\132-\201\143 – Ǆ-ɏ (U+01C4-U+024F – Latin extended B)&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_good_vanc_name (last, first, suffix, position)&lt;br /&gt;
	if not suffix then&lt;br /&gt;
		if first:find (&#039;[,%s]&#039;) then											-- when there is a space or comma, might be first name/initials + generational suffix&lt;br /&gt;
			first = first:match (&#039;(.-)[,%s]+&#039;);									-- get name/initials&lt;br /&gt;
			suffix = first:match (&#039;[,%s]+(.+)$&#039;);								-- get generational suffix&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if utilities.is_set (suffix) then&lt;br /&gt;
		if not is_suffix (suffix) then&lt;br /&gt;
			add_vanc_error (cfg.err_msg_supl.suffix, position);&lt;br /&gt;
			return false;														-- not a name with an appropriate suffix&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if nil == mw.ustring.find (last, &amp;quot;^[A-Za-z\195\128-\195\150\195\152-\195\182\195\184-\198\191\199\132-\201\143\225\184\128-\225\187\191%-%s%&#039;]*$&amp;quot;) or&lt;br /&gt;
		nil == mw.ustring.find (first, &amp;quot;^[A-Za-z\195\128-\195\150\195\152-\195\182\195\184-\198\191\199\132-\201\143\225\184\128-\225\187\191%-%s%&#039;%.]*$&amp;quot;) then&lt;br /&gt;
			add_vanc_error (cfg.err_msg_supl[&#039;non-Latin char&#039;], position);&lt;br /&gt;
			return false;														-- not a string of Latin characters; Vancouver requires Romanization&lt;br /&gt;
	end;&lt;br /&gt;
	return true;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; R E D U C E _ T O _ I N I T I A L S &amp;gt;------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Attempts to convert names to initials in support of |name-list-style=vanc.  &lt;br /&gt;
&lt;br /&gt;
Names in |firstn= may be separated by spaces or hyphens, or for initials, a period.&lt;br /&gt;
See http://www.ncbi.nlm.nih.gov/books/NBK7271/box/A35062/.&lt;br /&gt;
&lt;br /&gt;
Vancouver style requires family rank designations (Jr, II, III, etc.) to be rendered&lt;br /&gt;
as Jr, 2nd, 3rd, etc.  See http://www.ncbi.nlm.nih.gov/books/NBK7271/box/A35085/.&lt;br /&gt;
This code only accepts and understands generational suffix in the Vancouver format&lt;br /&gt;
because Roman numerals look like, and can be mistaken for, initials.&lt;br /&gt;
&lt;br /&gt;
This function uses ustring functions because firstname initials may be any of the&lt;br /&gt;
Unicode Latin characters accepted by is_good_vanc_name ().&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function reduce_to_initials (first, position)&lt;br /&gt;
	if first:find (&#039;,&#039;, 1, true) then&lt;br /&gt;
		return first;															-- commas not allowed; abandon&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local name, suffix = mw.ustring.match (first, &amp;quot;^(%u+) ([%dJS][%drndth]+)$&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
	if not name then															-- if not initials and a suffix&lt;br /&gt;
		name = mw.ustring.match (first, &amp;quot;^(%u+)$&amp;quot;);								-- is it just initials?&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if name then																-- if first is initials with or without suffix&lt;br /&gt;
		if 3 &amp;gt; mw.ustring.len (name) then										-- if one or two initials&lt;br /&gt;
			if suffix then														-- if there is a suffix&lt;br /&gt;
				if is_suffix (suffix) then										-- is it legitimate?&lt;br /&gt;
					return first;												-- one or two initials and a valid suffix so nothing to do&lt;br /&gt;
				else&lt;br /&gt;
					add_vanc_error (cfg.err_msg_supl.suffix, position);			-- one or two initials with invalid suffix so error message&lt;br /&gt;
					return first;												-- and return first unmolested&lt;br /&gt;
				end&lt;br /&gt;
			else&lt;br /&gt;
				return first;													-- one or two initials without suffix; nothing to do&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end																			-- if here then name has 3 or more uppercase letters so treat them as a word&lt;br /&gt;
&lt;br /&gt;
	local initials_t, names_t = {}, {};											-- tables to hold name parts and initials&lt;br /&gt;
	local i = 1;																-- counter for number of initials&lt;br /&gt;
&lt;br /&gt;
	names_t = mw.text.split (first, &#039;[%s%-]+&#039;);									-- split into a sequence of names and possible suffix&lt;br /&gt;
&lt;br /&gt;
	while names_t[i] do															-- loop through the sequence&lt;br /&gt;
		if 1 &amp;lt; i and names_t[i]:match (&#039;[%dJS][%drndth]+%.?$&#039;) then				-- if not the first name, and looks like a suffix (may have trailing dot)&lt;br /&gt;
			names_t[i] = names_t[i]:gsub (&#039;%.&#039;, &#039;&#039;);							-- remove terminal dot if present&lt;br /&gt;
			if is_suffix (names_t[i]) then										-- if a legitimate suffix&lt;br /&gt;
				table.insert (initials_t, &#039; &#039; .. names_t[i]);					-- add a separator space, insert at end of initials sequence&lt;br /&gt;
				break;															-- and done because suffix must fall at the end of a name&lt;br /&gt;
			end																	-- no error message if not a suffix; possibly because of Romanization&lt;br /&gt;
		end&lt;br /&gt;
		if 3 &amp;gt; i then&lt;br /&gt;
			table.insert (initials_t, mw.ustring.sub (names_t[i], 1, 1));		-- insert the initial at end of initials sequence&lt;br /&gt;
		end&lt;br /&gt;
		i = i + 1;																-- bump the counter&lt;br /&gt;
	end&lt;br /&gt;
			&lt;br /&gt;
	return table.concat (initials_t);											-- Vancouver format does not include spaces.&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I N T E R W I K I _ P R E F I X E N _ G E T &amp;gt;----------------------------------&lt;br /&gt;
&lt;br /&gt;
extract interwiki prefixen from &amp;lt;value&amp;gt;.  Returns two one or two values:&lt;br /&gt;
	false – no prefixen&lt;br /&gt;
	nil – prefix exists but not recognized&lt;br /&gt;
	project prefix, language prefix – when value has either of:&lt;br /&gt;
		:&amp;lt;project&amp;gt;:&amp;lt;language&amp;gt;:&amp;lt;article&amp;gt;&lt;br /&gt;
		:&amp;lt;language&amp;gt;:&amp;lt;project&amp;gt;:&amp;lt;article&amp;gt;&lt;br /&gt;
	project prefix, nil – when &amp;lt;value&amp;gt; has only a known single-letter prefix&lt;br /&gt;
	nil, language prefix – when &amp;lt;value&amp;gt; has only a known language prefix&lt;br /&gt;
&lt;br /&gt;
accepts single-letter project prefixen: &#039;d&#039; (wikidata), &#039;s&#039; (wikisource), and &#039;w&#039; (wikipedia) prefixes; at this&lt;br /&gt;
writing, the other single-letter prefixen (b (wikibook), c (commons), m (meta), n (wikinews), q (wikiquote), and&lt;br /&gt;
v (wikiversity)) are not supported.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function interwiki_prefixen_get (value, is_link)&lt;br /&gt;
	if not value:find (&#039;:%l+:&#039;) then											-- if no prefix&lt;br /&gt;
		return false;															-- abandon; boolean here to distinguish from nil fail returns later&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local prefix_patterns_linked_t = {											-- sequence of valid interwiki and inter project prefixen&lt;br /&gt;
		&#039;^%[%[:([dsw]):(%l%l+):&#039;,												-- wikilinked; project and language prefixes&lt;br /&gt;
		&#039;^%[%[:(%l%l+):([dsw]):&#039;,												-- wikilinked; language and project prefixes&lt;br /&gt;
		&#039;^%[%[:([dsw]):&#039;,														-- wikilinked; project prefix&lt;br /&gt;
		&#039;^%[%[:(%l%l+):&#039;,														-- wikilinked; language prefix&lt;br /&gt;
		}&lt;br /&gt;
		&lt;br /&gt;
	local prefix_patterns_unlinked_t = {										-- sequence of valid interwiki and inter project prefixen&lt;br /&gt;
		&#039;^:([dsw]):(%l%l+):&#039;,													-- project and language prefixes&lt;br /&gt;
		&#039;^:(%l%l+):([dsw]):&#039;,													-- language and project prefixes&lt;br /&gt;
		&#039;^:([dsw]):&#039;,															-- project prefix&lt;br /&gt;
		&#039;^:(%l%l+):&#039;,															-- language prefix&lt;br /&gt;
		}&lt;br /&gt;
	&lt;br /&gt;
	local cap1, cap2;&lt;br /&gt;
	for _, pattern in ipairs ((is_link and prefix_patterns_linked_t) or prefix_patterns_unlinked_t) do&lt;br /&gt;
		cap1, cap2 = value:match (pattern);&lt;br /&gt;
		if cap1 then&lt;br /&gt;
			break;																-- found a match so stop looking&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if cap1 and cap2 then														-- when both then :project:language: or :language:project: (both forms allowed)&lt;br /&gt;
		if 1 == #cap1 then														-- length == 1 then :project:language:&lt;br /&gt;
			if cfg.inter_wiki_map[cap2] then									-- is language prefix in the interwiki map?&lt;br /&gt;
				return cap1, cap2;												-- return interwiki project and interwiki language&lt;br /&gt;
			end&lt;br /&gt;
		else																	-- here when :language:project:&lt;br /&gt;
			if cfg.inter_wiki_map[cap1] then									-- is language prefix in the interwiki map?&lt;br /&gt;
				return cap2, cap1;												-- return interwiki project and interwiki language&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		return nil;																-- unknown interwiki language&lt;br /&gt;
	elseif not (cap1 or cap2) then												-- both are nil?&lt;br /&gt;
		return nil;																-- we got something that looks like a project prefix but isn&#039;t; return fail&lt;br /&gt;
	elseif 1 == #cap1 then														-- here when one capture&lt;br /&gt;
		return cap1, nil;														-- length is 1 so return project, nil language&lt;br /&gt;
	else																		-- here when one capture and its length it more than 1&lt;br /&gt;
		if cfg.inter_wiki_map[cap1] then										-- is language prefix in the interwiki map?&lt;br /&gt;
			return nil, cap1;													-- return nil project, language&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; L I S T _ P E O P L E &amp;gt;--------------------------&lt;br /&gt;
&lt;br /&gt;
Formats a list of people (authors, contributors, editors, interviewers, translators) &lt;br /&gt;
&lt;br /&gt;
names in the list will be linked when&lt;br /&gt;
	|&amp;lt;name&amp;gt;-link= has a value&lt;br /&gt;
	|&amp;lt;name&amp;gt;-mask- does NOT have a value; masked names are presumed to have been&lt;br /&gt;
		rendered previously so should have been linked there&lt;br /&gt;
&lt;br /&gt;
when |&amp;lt;name&amp;gt;-mask=0, the associated name is not rendered&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function list_people (control, people, etal)&lt;br /&gt;
	local sep;&lt;br /&gt;
	local namesep;&lt;br /&gt;
	local format = control.format;&lt;br /&gt;
	local maximum = control.maximum;&lt;br /&gt;
	local name_list = {};&lt;br /&gt;
&lt;br /&gt;
	if &#039;vanc&#039; == format then													-- Vancouver-like name styling?&lt;br /&gt;
		sep = cfg.presentation[&#039;sep_nl_vanc&#039;];									-- name-list separator between names is a comma&lt;br /&gt;
		namesep = cfg.presentation[&#039;sep_name_vanc&#039;];							-- last/first separator is a space&lt;br /&gt;
	else&lt;br /&gt;
		sep = cfg.presentation[&#039;sep_nl&#039;];										-- name-list separator between names is a semicolon&lt;br /&gt;
		namesep = cfg.presentation[&#039;sep_name&#039;];									-- last/first separator is &amp;lt;comma&amp;gt;&amp;lt;space&amp;gt;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if sep:sub (-1, -1) ~= &amp;quot; &amp;quot; then sep = sep .. &amp;quot; &amp;quot; end&lt;br /&gt;
	if utilities.is_set (maximum) and maximum &amp;lt; 1 then return &amp;quot;&amp;quot;, 0; end		-- returned 0 is for EditorCount; not used for other names&lt;br /&gt;
	&lt;br /&gt;
	for i, person in ipairs (people) do&lt;br /&gt;
		if utilities.is_set (person.last) then&lt;br /&gt;
			local mask = person.mask;&lt;br /&gt;
			local one;&lt;br /&gt;
			local sep_one = sep;&lt;br /&gt;
&lt;br /&gt;
			if utilities.is_set (maximum) and i &amp;gt; maximum then&lt;br /&gt;
				etal = true;&lt;br /&gt;
				break;&lt;br /&gt;
			end&lt;br /&gt;
			&lt;br /&gt;
			if mask then&lt;br /&gt;
				local n = tonumber (mask);										-- convert to a number if it can be converted; nil else&lt;br /&gt;
				if n then&lt;br /&gt;
					one = 0 ~= n and string.rep(&amp;quot;&amp;amp;mdash;&amp;quot;, n) or nil;			-- make a string of (n &amp;gt; 0) mdashes, nil else, to replace name&lt;br /&gt;
					person.link = nil;											-- don&#039;t create link to name if name is replaces with mdash string or has been set nil&lt;br /&gt;
				else&lt;br /&gt;
					one = mask;													-- replace name with mask text (must include name-list separator)&lt;br /&gt;
					sep_one = &amp;quot; &amp;quot;;												-- modify name-list separator&lt;br /&gt;
				end&lt;br /&gt;
			else&lt;br /&gt;
				one = person.last;												-- get surname&lt;br /&gt;
				local first = person.first										-- get given name&lt;br /&gt;
				if utilities.is_set (first) then&lt;br /&gt;
					if (&amp;quot;vanc&amp;quot; == format) then									-- if Vancouver format&lt;br /&gt;
						one = one:gsub (&#039;%.&#039;, &#039;&#039;);								-- remove periods from surnames (http://www.ncbi.nlm.nih.gov/books/NBK7271/box/A35029/)&lt;br /&gt;
						if not person.corporate and is_good_vanc_name (one, first, nil, i) then		-- and name is all Latin characters; corporate authors not tested&lt;br /&gt;
							first = reduce_to_initials (first, i);				-- attempt to convert first name(s) to initials&lt;br /&gt;
						end&lt;br /&gt;
					end&lt;br /&gt;
					one = one .. namesep .. first;&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			if utilities.is_set (person.link) then&lt;br /&gt;
				one = utilities.make_wikilink (person.link, one);				-- link author/editor&lt;br /&gt;
			end&lt;br /&gt;
&lt;br /&gt;
			if one then															-- if &amp;lt;one&amp;gt; has a value (name, mdash replacement, or mask text replacement)&lt;br /&gt;
				local proj, tag = interwiki_prefixen_get (one, true);			-- get the interwiki prefixen if present&lt;br /&gt;
				if &#039;w&#039; == proj and (&#039;Wikipedia&#039; == mw.site.namespaces.Project[&#039;name&#039;]) then&lt;br /&gt;
					proj = nil;													-- for stuff like :w:de:&amp;lt;article&amp;gt;, :w is unnecessary TODO: maint cat?&lt;br /&gt;
				end&lt;br /&gt;
				if proj then&lt;br /&gt;
					local proj_name = ({[&#039;d&#039;] = &#039;Wikidata&#039;, [&#039;s&#039;] = &#039;Wikisource&#039;, [&#039;w&#039;] = &#039;Wikipedia&#039;})[proj];	-- :w (wikipedia) for linking from a non-wikipedia project&lt;br /&gt;
					if proj_name then &lt;br /&gt;
						one = one .. utilities.wrap_style (&#039;interproj&#039;, proj_name);	-- add resized leading space, brackets, static text, language name&lt;br /&gt;
						utilities.add_prop_cat (&#039;interproj-linked-name&#039;, proj);	-- categorize it; &amp;lt;proj&amp;gt; is sort key&lt;br /&gt;
						tag = nil;												-- unset; don&#039;t do both project and language&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
				if tag == cfg.this_wiki_code then&lt;br /&gt;
					tag = nil;													-- stuff like :en:&amp;lt;article&amp;gt; at en.wiki is pointless TODO: maint cat?&lt;br /&gt;
				end&lt;br /&gt;
				if tag then&lt;br /&gt;
					local lang = cfg.lang_tag_remap[tag] or cfg.mw_languages_by_tag_t[tag];&lt;br /&gt;
					if lang then												-- error messaging done in extract_names() where we know parameter names&lt;br /&gt;
						one = one .. utilities.wrap_style (&#039;interwiki&#039;, lang);	-- add resized leading space, brackets, static text, language name&lt;br /&gt;
						utilities.add_prop_cat (&#039;interwiki-linked-name&#039;, tag);	-- categorize it; &amp;lt;tag&amp;gt; is sort key&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
&lt;br /&gt;
				table.insert (name_list, one);									-- add it to the list of names&lt;br /&gt;
				table.insert (name_list, sep_one);								-- add the proper name-list separator&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local count = #name_list / 2;												-- (number of names + number of separators) divided by 2&lt;br /&gt;
	if 0 &amp;lt; count then &lt;br /&gt;
		if 1 &amp;lt; count and not etal then&lt;br /&gt;
			if &#039;amp&#039; == format then&lt;br /&gt;
				name_list[#name_list-2] = &amp;quot; &amp;amp; &amp;quot;;								-- replace last separator with ampersand text&lt;br /&gt;
			elseif &#039;and&#039; == format then&lt;br /&gt;
				if 2 == count then&lt;br /&gt;
					name_list[#name_list-2] = cfg.presentation.sep_nl_and;		-- replace last separator with &#039;and&#039; text&lt;br /&gt;
				else&lt;br /&gt;
					name_list[#name_list-2] = cfg.presentation.sep_nl_end;		-- replace last separator with &#039;(sep) and&#039; text&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		name_list[#name_list] = nil;											-- erase the last separator&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local result = table.concat (name_list);									-- construct list&lt;br /&gt;
	if etal and utilities.is_set (result) then									-- etal may be set by |display-authors=etal but we might not have a last-first list&lt;br /&gt;
		result = result .. sep .. cfg.messages[&#039;et al&#039;];						-- we&#039;ve got a last-first list and etal so add et al.&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return result, count;														-- return name-list string and count of number of names (count used for editor names only)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------&amp;lt; M A K E _ C I T E R E F _ I D &amp;gt;-----------------------&lt;br /&gt;
&lt;br /&gt;
Generates a CITEREF anchor ID if we have at least one name or a date.  Otherwise&lt;br /&gt;
returns an empty string.&lt;br /&gt;
&lt;br /&gt;
namelist is one of the contributor-, author-, or editor-name lists chosen in that&lt;br /&gt;
order.  year is Year or anchor_year.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function make_citeref_id (namelist, year)&lt;br /&gt;
	local names={};							-- a table for the one to four names and year&lt;br /&gt;
	for i,v in ipairs (namelist) do			-- loop through the list and take up to the first four last names&lt;br /&gt;
		names[i] = v.last&lt;br /&gt;
		if i == 4 then break end			-- if four then done&lt;br /&gt;
	end&lt;br /&gt;
	table.insert (names, year);				-- add the year at the end&lt;br /&gt;
	local id = table.concat(names);			-- concatenate names and year for CITEREF id&lt;br /&gt;
	if utilities.is_set (id) then			-- if concatenation is not an empty string&lt;br /&gt;
		return &amp;quot;CITEREF&amp;quot; .. id;				-- add the CITEREF portion&lt;br /&gt;
	else&lt;br /&gt;
		return &#039;&#039;;							-- return an empty string; no reason to include CITEREF id in this citation&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C I T E _ C L A S S _A T T R I B U T E _M A K E &amp;gt;------------------------------&lt;br /&gt;
&lt;br /&gt;
construct &amp;lt;cite&amp;gt; tag class attribute for this citation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cite_class&amp;gt; – config.CitationClass from calling template&lt;br /&gt;
&amp;lt;mode&amp;gt; – value from |mode= parameter&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function cite_class_attribute_make (cite_class, mode)&lt;br /&gt;
	local class_t = {};&lt;br /&gt;
	table.insert (class_t, &#039;citation&#039;);											-- required for blue highlight&lt;br /&gt;
	if &#039;citation&#039; ~= cite_class then&lt;br /&gt;
		table.insert (class_t, cite_class);										-- identify this template for user css&lt;br /&gt;
		table.insert (class_t, utilities.is_set (mode) and mode or &#039;cs1&#039;);		-- identify the citation style for user css or javascript&lt;br /&gt;
	else&lt;br /&gt;
		table.insert (class_t, utilities.is_set (mode) and mode or &#039;cs2&#039;);		-- identify the citation style for user css or javascript&lt;br /&gt;
	end&lt;br /&gt;
	for _, prop_key in ipairs (z.prop_keys_t) do&lt;br /&gt;
		table.insert (class_t, prop_key);										-- identify various properties for user css or javascript&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return table.concat (class_t, &#039; &#039;);											-- make a big string and done&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[---------------------&amp;lt; N A M E _ H A S _ E T A L &amp;gt;--------------------------&lt;br /&gt;
&lt;br /&gt;
Evaluates the content of name parameters (author, editor, etc.) for variations on&lt;br /&gt;
the theme of et al.  If found, the et al. is removed, a flag is set to true and&lt;br /&gt;
the function returns the modified name and the flag.&lt;br /&gt;
&lt;br /&gt;
This function never sets the flag to false but returns its previous state because&lt;br /&gt;
it may have been set by previous passes through this function or by the associated&lt;br /&gt;
|display-&amp;lt;names&amp;gt;=etal parameter&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function name_has_etal (name, etal, nocat, param)&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (name) then												-- name can be nil in which case just return&lt;br /&gt;
		local patterns = cfg.et_al_patterns; 									-- get patterns from configuration&lt;br /&gt;
		&lt;br /&gt;
		for _, pattern in ipairs (patterns) do									-- loop through all of the patterns&lt;br /&gt;
			if name:match (pattern) then										-- if this &#039;et al&#039; pattern is found in name&lt;br /&gt;
				name = name:gsub (pattern, &#039;&#039;);									-- remove the offending text&lt;br /&gt;
				etal = true;													-- set flag (may have been set previously here or by |display-&amp;lt;names&amp;gt;=etal)&lt;br /&gt;
				if not nocat then												-- no categorization for |vauthors=&lt;br /&gt;
					utilities.set_message (&#039;err_etal&#039;, {param});				-- and set an error if not added&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return name, etal;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[---------------------&amp;lt; N A M E _ I S _ N U M E R I C &amp;gt;----------------------&lt;br /&gt;
&lt;br /&gt;
Add an error message and category when &amp;lt;name&amp;gt; parameter value does not contain letters.  &lt;br /&gt;
&lt;br /&gt;
Add a maintenance category when &amp;lt;name&amp;gt; parameter value has numeric characters mixed with characters that are &lt;br /&gt;
not numeric characters; could be letters and/or punctuation characters.&lt;br /&gt;
&lt;br /&gt;
This function will only emit one error and one maint message for the current template.  Does not emit both error&lt;br /&gt;
and maint messages/categories for the same parameter value.&lt;br /&gt;
&lt;br /&gt;
returns nothing&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function name_is_numeric (name, name_alias, list_name)&lt;br /&gt;
	local patterns = {&lt;br /&gt;
		&#039;^%D+%d&#039;,																-- &amp;lt;name&amp;gt; must have digits preceded by other characters&lt;br /&gt;
		&#039;^%D*%d+%D+&#039;,															-- &amp;lt;name&amp;gt; must have digits followed by other characters&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
	if not added_numeric_name_errs and mw.ustring.match (name, &#039;^[%A]+$&#039;) then	-- if we have not already set an error message and &amp;lt;name&amp;gt; does not have any alpha characters&lt;br /&gt;
		utilities.set_message (&#039;err_numeric_names&#039;, name_alias);				-- add an error message&lt;br /&gt;
		added_numeric_name_errs = true;											-- set the flag so we emit only one error message&lt;br /&gt;
		return;																	-- when here no point in further testing; abandon&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if not added_numeric_name_maint then										-- if we have already set a maint message&lt;br /&gt;
		for _, pattern in ipairs (patterns) do									-- spin through list of patterns&lt;br /&gt;
			if mw.ustring.match (name, pattern) then							-- digits preceded or followed by anything but digits; %D+ includes punctuation&lt;br /&gt;
				utilities.set_message (&#039;maint_numeric_names&#039;, cfg.special_case_translation [list_name]);	-- add a maint cat for this template&lt;br /&gt;
				added_numeric_name_maint = true;								-- set the flag so we emit only one maint message&lt;br /&gt;
				return;															-- when here no point in further testing; abandon&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-----------------&amp;lt; N A M E _ H A S _ M U L T _ N A M E S &amp;gt;------------------&lt;br /&gt;
&lt;br /&gt;
Evaluates the content of last/surname (authors etc.) parameters for multiple names.&lt;br /&gt;
Multiple names are indicated if there is more than one comma or any &amp;quot;unescaped&amp;quot;&lt;br /&gt;
semicolons. Escaped semicolons are ones used as part of selected HTML entities.&lt;br /&gt;
If the condition is met, the function adds the multiple name maintenance category.&lt;br /&gt;
&lt;br /&gt;
Same test for first except that commas should not appear in given names (MOS:JR says&lt;br /&gt;
that the generational suffix does not take a separator character).  Titles, degrees,&lt;br /&gt;
postnominals, affiliations, all normally comma separated don&#039;t belong in a citation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;name&amp;gt; – name parameter value&lt;br /&gt;
&amp;lt;list_name&amp;gt; – AuthorList, EditorList, etc&lt;br /&gt;
&amp;lt;limit&amp;gt; – number of allowed commas; 1 (default) for surnames; 0 for given names&lt;br /&gt;
&lt;br /&gt;
returns nothing&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function name_has_mult_names (name, list_name, limit)&lt;br /&gt;
	local _, commas, semicolons, nbsps;&lt;br /&gt;
	limit = limit and limit or 1;&lt;br /&gt;
	if utilities.is_set (name) then&lt;br /&gt;
		_, commas = name:gsub (&#039;,&#039;, &#039;&#039;);										-- count the number of commas&lt;br /&gt;
		_, semicolons = name:gsub (&#039;;&#039;, &#039;&#039;);									-- count the number of semicolons&lt;br /&gt;
		-- nbsps probably should be its own separate count rather than merged in&lt;br /&gt;
		-- some way with semicolons because Lua patterns do not support the&lt;br /&gt;
		-- grouping operator that regex does, which means there is no way to add&lt;br /&gt;
		-- more entities to escape except by adding more counts with the new&lt;br /&gt;
		-- entities&lt;br /&gt;
		_, nbsps = name:gsub (&#039;&amp;amp;nbsp;&#039;,&#039;&#039;);										-- count nbsps&lt;br /&gt;
		&lt;br /&gt;
		-- There is exactly 1 semicolon per &amp;amp;nbsp; entity, so subtract nbsps&lt;br /&gt;
		-- from semicolons to &#039;escape&#039; them. If additional entities are added,&lt;br /&gt;
		-- they also can be subtracted.&lt;br /&gt;
		if limit &amp;lt; commas or 0 &amp;lt; (semicolons - nbsps) then&lt;br /&gt;
			utilities.set_message (&#039;maint_mult_names&#039;, cfg.special_case_translation [list_name]);	-- add a maint message&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; I S _ G E N E R I C &amp;gt;----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Compares values assigned to various parameters according to the string provided as &amp;lt;item&amp;gt; in the function call.&lt;br /&gt;
&amp;lt;item&amp;gt; can have on of two values:&lt;br /&gt;
	&#039;generic_names&#039; – for name-holding parameters: |last=, |first=, |editor-last=, etc&lt;br /&gt;
	&#039;generic_titles&#039; – for |title=&lt;br /&gt;
&lt;br /&gt;
There are two types of generic tests.  The &#039;accept&#039; tests look for a pattern that should not be rejected by the&lt;br /&gt;
&#039;reject&#039; test.  For example,&lt;br /&gt;
	|author=[[John Smith (author)|Smith, John]]&lt;br /&gt;
would be rejected by the &#039;author&#039; reject test.  But piped wikilinks with &#039;author&#039; disambiguation should not be&lt;br /&gt;
rejected so the &#039;accept&#039; test prevents that from happening.  Accept tests are always performed before reject&lt;br /&gt;
tests.&lt;br /&gt;
&lt;br /&gt;
Each of the &#039;accept&#039; and &#039;reject&#039; sequence tables hold tables for en.wiki ([&#039;en&#039;]) and local.wiki ([&#039;local&#039;])&lt;br /&gt;
that each can hold a test sequence table  The sequence table holds, at index [1], a test pattern, and, at index&lt;br /&gt;
[2], a boolean control value.  The control value tells string.find() or mw.ustring.find() to do plain-text search (true)&lt;br /&gt;
or a pattern search (false).  The intent of all this complexity is to make these searches as fast as possible so&lt;br /&gt;
that we don&#039;t run out of processing time on very large articles.&lt;br /&gt;
&lt;br /&gt;
Returns&lt;br /&gt;
	true when a reject test finds the pattern or string&lt;br /&gt;
	false when an accept test finds the pattern or string&lt;br /&gt;
	nil else&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function is_generic (item, value, wiki)&lt;br /&gt;
	local test_val;&lt;br /&gt;
	local str_lower = {															-- use string.lower() for en.wiki ([&#039;en&#039;]) and use mw.ustring.lower() or local.wiki ([&#039;local&#039;])&lt;br /&gt;
		[&#039;en&#039;] = string.lower,&lt;br /&gt;
		[&#039;local&#039;] = mw.ustring.lower,&lt;br /&gt;
		}&lt;br /&gt;
	local str_find = {															-- use string.find() for en.wiki ([&#039;en&#039;]) and use mw.ustring.find() or local.wiki ([&#039;local&#039;])&lt;br /&gt;
		[&#039;en&#039;] = string.find,&lt;br /&gt;
		[&#039;local&#039;] = mw.ustring.find,&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
	local function test (val, test_t, wiki)										-- local function to do the testing; &amp;lt;wiki&amp;gt; selects lower() and find() functions&lt;br /&gt;
		val = test_t[2] and str_lower[wiki](value) or val;						-- when &amp;lt;test_t[2]&amp;gt; set to &#039;true&#039;, plaintext search using lowercase value&lt;br /&gt;
		return str_find[wiki] (val, test_t[1], 1, test_t[2]);					-- return nil when not found or matched&lt;br /&gt;
	end&lt;br /&gt;
		&lt;br /&gt;
	local test_types_t = {&#039;accept&#039;, &#039;reject&#039;};									-- test accept patterns first, then reject patterns&lt;br /&gt;
	local wikis_t = {&#039;en&#039;, &#039;local&#039;};											-- do tests for each of these keys; en.wiki first, local.wiki second&lt;br /&gt;
&lt;br /&gt;
	for _, test_type in ipairs (test_types_t) do								-- for each test type&lt;br /&gt;
		for _, generic_value in pairs (cfg.special_case_translation[item][test_type]) do	-- spin through the list of generic value fragments to accept or reject&lt;br /&gt;
			for _, wiki in ipairs (wikis_t) do&lt;br /&gt;
				if generic_value[wiki] then&lt;br /&gt;
					if test (value, generic_value[wiki], wiki) then				-- go do the test&lt;br /&gt;
						return (&#039;reject&#039; == test_type);							-- param value rejected, return true; false else&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; N A M E _ I S _ G E N E R I C &amp;gt;------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
calls is_generic() to determine if &amp;lt;name&amp;gt; is a &#039;generic name&#039; listed in cfg.generic_names; &amp;lt;name_alias&amp;gt; is the&lt;br /&gt;
parameter name used in error messaging&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function name_is_generic (name, name_alias)&lt;br /&gt;
	if not added_generic_name_errs  and is_generic (&#039;generic_names&#039;, name) then&lt;br /&gt;
		utilities.set_message (&#039;err_generic_name&#039;, name_alias);					-- set an error message&lt;br /&gt;
		added_generic_name_errs = true;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; N A M E _ C H E C K S &amp;gt;--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
This function calls various name checking functions used to validate the content of the various name-holding parameters.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function name_checks (last, first, list_name, last_alias, first_alias)&lt;br /&gt;
	local accept_name;&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (last) then&lt;br /&gt;
		last, accept_name = utilities.has_accept_as_written (last);				-- remove accept-this-as-written markup when it wraps all of &amp;lt;last&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		if not accept_name then													-- &amp;lt;last&amp;gt; not wrapped in accept-as-written markup&lt;br /&gt;
			name_has_mult_names (last, list_name);								-- check for multiple names in the parameter&lt;br /&gt;
			name_is_numeric (last, last_alias, list_name);						-- check for names that have no letters or are a mix of digits and other characters&lt;br /&gt;
			name_is_generic (last, last_alias);									-- check for names found in the generic names list&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (first) then&lt;br /&gt;
		first, accept_name = utilities.has_accept_as_written (first);			-- remove accept-this-as-written markup when it wraps all of &amp;lt;first&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		if not accept_name then													-- &amp;lt;first&amp;gt; not wrapped in accept-as-written markup&lt;br /&gt;
			name_has_mult_names (first, list_name, 0);							-- check for multiple names in the parameter; 0 is number of allowed commas in a given name&lt;br /&gt;
			name_is_numeric (first, first_alias, list_name);					-- check for names that have no letters or are a mix of digits and other characters&lt;br /&gt;
			name_is_generic (first, first_alias);								-- check for names found in the generic names list&lt;br /&gt;
		end&lt;br /&gt;
		local wl_type, D = utilities.is_wikilink (first);&lt;br /&gt;
		if 0 ~= wl_type then&lt;br /&gt;
			first = D;&lt;br /&gt;
			utilities.set_message (&#039;err_bad_paramlink&#039;, first_alias);&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return last, first;															-- done&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[----------------------&amp;lt; E X T R A C T _ N A M E S &amp;gt;-------------------------&lt;br /&gt;
&lt;br /&gt;
Gets name list from the input arguments&lt;br /&gt;
&lt;br /&gt;
Searches through args in sequential order to find |lastn= and |firstn= parameters&lt;br /&gt;
(or their aliases), and their matching link and mask parameters. Stops searching&lt;br /&gt;
when both |lastn= and |firstn= are not found in args after two sequential attempts:&lt;br /&gt;
found |last1=, |last2=, and |last3= but doesn&#039;t find |last4= and |last5= then the&lt;br /&gt;
search is done.&lt;br /&gt;
&lt;br /&gt;
This function emits an error message when there is a |firstn= without a matching&lt;br /&gt;
|lastn=.  When there are &#039;holes&#039; in the list of last names, |last1= and |last3=&lt;br /&gt;
are present but |last2= is missing, an error message is emitted. |lastn= is not&lt;br /&gt;
required to have a matching |firstn=.&lt;br /&gt;
&lt;br /&gt;
When an author or editor parameter contains some form of &#039;et al.&#039;, the &#039;et al.&#039;&lt;br /&gt;
is stripped from the parameter and a flag (etal) returned that will cause list_people()&lt;br /&gt;
to add the static &#039;et al.&#039; text from Module:Citation/CS1/Configuration.  This keeps&lt;br /&gt;
&#039;et al.&#039; out of the template&#039;s metadata.  When this occurs, an error is emitted.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function extract_names(args, list_name)&lt;br /&gt;
	local names = {};															-- table of names&lt;br /&gt;
	local last;																	-- individual name components&lt;br /&gt;
	local first;&lt;br /&gt;
	local link;&lt;br /&gt;
	local mask;&lt;br /&gt;
	local i = 1;																-- loop counter/indexer&lt;br /&gt;
	local n = 1;																-- output table indexer&lt;br /&gt;
	local count = 0;															-- used to count the number of times we haven&#039;t found a |last= (or alias for authors, |editor-last or alias for editors)&lt;br /&gt;
	local etal = false;															-- return value set to true when we find some form of et al. in an author parameter&lt;br /&gt;
&lt;br /&gt;
	local last_alias, first_alias, link_alias;									-- selected parameter aliases used in error messaging&lt;br /&gt;
	while true do&lt;br /&gt;
		last, last_alias = utilities.select_one ( args, cfg.aliases[list_name .. &#039;-Last&#039;], &#039;err_redundant_parameters&#039;, i );		-- search through args for name components beginning at 1&lt;br /&gt;
		first, first_alias = utilities.select_one ( args, cfg.aliases[list_name .. &#039;-First&#039;], &#039;err_redundant_parameters&#039;, i );&lt;br /&gt;
		link, link_alias = utilities.select_one ( args, cfg.aliases[list_name .. &#039;-Link&#039;], &#039;err_redundant_parameters&#039;, i );&lt;br /&gt;
		mask = utilities.select_one ( args, cfg.aliases[list_name .. &#039;-Mask&#039;], &#039;err_redundant_parameters&#039;, i );&lt;br /&gt;
	&lt;br /&gt;
		if last then															-- error check |lastn= alias for unknown interwiki link prefix; done here because this is where we have the parameter name&lt;br /&gt;
			local project, language = interwiki_prefixen_get (last, true);		-- true because we expect interwiki links in |lastn= to be wikilinked&lt;br /&gt;
			if nil == project and nil == language then							-- when both are nil&lt;br /&gt;
				utilities.set_message (&#039;err_bad_paramlink&#039;, last_alias);		-- not known, emit an error message	-- TODO: err_bad_interwiki?&lt;br /&gt;
				last = utilities.remove_wiki_link (last);						-- remove wikilink markup; show display value only&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		if link then															-- error check |linkn= alias for unknown interwiki link prefix&lt;br /&gt;
			local project, language = interwiki_prefixen_get (link, false);		-- false because wiki links in |author-linkn= is an error&lt;br /&gt;
			if nil == project and nil == language then							-- when both are nil&lt;br /&gt;
				utilities.set_message (&#039;err_bad_paramlink&#039;, link_alias);		-- not known, emit an error message	-- TODO: err_bad_interwiki?&lt;br /&gt;
				link = nil;														-- unset so we don&#039;t link&lt;br /&gt;
				link_alias = nil;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		last, etal = name_has_etal (last, etal, false, last_alias);				-- find and remove variations on et al.&lt;br /&gt;
		first, etal = name_has_etal (first, etal, false, first_alias);			-- find and remove variations on et al.&lt;br /&gt;
		last, first = name_checks (last, first, list_name, last_alias, first_alias);						-- multiple names, extraneous annotation, etc. checks&lt;br /&gt;
&lt;br /&gt;
		if first and not last then												-- if there is a firstn without a matching lastn&lt;br /&gt;
			local alias = first_alias:find (&#039;given&#039;, 1, true) and &#039;given&#039; or &#039;first&#039;;	-- get first or given form of the alias&lt;br /&gt;
			utilities.set_message (&#039;err_first_missing_last&#039;, {&lt;br /&gt;
				first_alias,													-- param name of alias missing its mate&lt;br /&gt;
				first_alias:gsub (alias, {[&#039;first&#039;] = &#039;last&#039;, [&#039;given&#039;] = &#039;surname&#039;}),	-- make param name appropriate to the alias form&lt;br /&gt;
				});																-- add this error message&lt;br /&gt;
		elseif not first and not last then										-- if both firstn and lastn aren&#039;t found, are we done?&lt;br /&gt;
			count = count + 1;													-- number of times we haven&#039;t found last and first&lt;br /&gt;
			if 2 &amp;lt;= count then													-- two missing names and we give up&lt;br /&gt;
				break;															-- normal exit or there is a two-name hole in the list; can&#039;t tell which&lt;br /&gt;
			end&lt;br /&gt;
		else																	-- we have last with or without a first&lt;br /&gt;
			local result;&lt;br /&gt;
			link = link_title_ok (link, link_alias, last, last_alias);			-- check for improper wiki-markup&lt;br /&gt;
&lt;br /&gt;
			if first then&lt;br /&gt;
				link = link_title_ok (link, link_alias, first, first_alias);	-- check for improper wiki-markup&lt;br /&gt;
			end&lt;br /&gt;
&lt;br /&gt;
			names[n] = {last = last, first = first, link = link, mask = mask, corporate = false};	-- add this name to our names list (corporate for |vauthors= only)&lt;br /&gt;
			n = n + 1;															-- point to next location in the names table&lt;br /&gt;
			if 1 == count then													-- if the previous name was missing&lt;br /&gt;
				utilities.set_message (&#039;err_missing_name&#039;, {list_name:match (&amp;quot;(%w+)List&amp;quot;):lower(), i - 1});	-- add this error message&lt;br /&gt;
			end&lt;br /&gt;
			count = 0;															-- reset the counter, we&#039;re looking for two consecutive missing names&lt;br /&gt;
		end&lt;br /&gt;
		i = i + 1;																-- point to next args location&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return names, etal;															-- all done, return our list of names and the etal flag&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; N A M E _ T A G _ G E T &amp;gt;------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
attempt to decode |language=&amp;lt;lang_param&amp;gt; and return language name and matching tag; nil else.&lt;br /&gt;
&lt;br /&gt;
This function looks for:&lt;br /&gt;
	&amp;lt;lang_param&amp;gt; as a tag in cfg.lang_tag_remap{}&lt;br /&gt;
	&amp;lt;lang_param&amp;gt; as a name in cfg.lang_name_remap{}&lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;lang_param&amp;gt; as a name in cfg.mw_languages_by_name_t&lt;br /&gt;
	&amp;lt;lang_param&amp;gt; as a tag in cfg.mw_languages_by_tag_t&lt;br /&gt;
when those fail, presume that &amp;lt;lang_param&amp;gt; is an IETF-like tag that MediaWiki does not recognize.  Strip all&lt;br /&gt;
script, region, variant, whatever subtags from &amp;lt;lang_param&amp;gt; to leave just a two or three character language tag&lt;br /&gt;
and look for the new &amp;lt;lang_param&amp;gt; in cfg.mw_languages_by_tag_t{}&lt;br /&gt;
&lt;br /&gt;
on success, returns name (in properly capitalized form) and matching tag (in lowercase); on failure returns nil&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function name_tag_get (lang_param)&lt;br /&gt;
	local lang_param_lc = mw.ustring.lower (lang_param);						-- use lowercase as an index into the various tables&lt;br /&gt;
	local name;&lt;br /&gt;
	local tag;&lt;br /&gt;
&lt;br /&gt;
	name = cfg.lang_tag_remap[lang_param_lc];									-- assume &amp;lt;lang_param_lc&amp;gt; is a tag; attempt to get remapped language name &lt;br /&gt;
	if name then																-- when &amp;lt;name&amp;gt;, &amp;lt;lang_param&amp;gt; is a tag for a remapped language name&lt;br /&gt;
		if cfg.lang_name_remap[name:lower()][2] ~= lang_param_lc then&lt;br /&gt;
			utilities.set_message (&#039;maint_unknown_lang&#039;);						-- add maint category if not already added&lt;br /&gt;
			return name, cfg.lang_name_remap[name:lower()][2];					-- so return name and tag from lang_name_remap[name]; special case to xlate sr-ec and sr-el to sr-cyrl and sr-latn&lt;br /&gt;
		end&lt;br /&gt;
		return name, lang_param_lc;												-- so return &amp;lt;name&amp;gt; from remap and &amp;lt;lang_param_lc&amp;gt;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	tag = lang_param_lc:match (&#039;^(%a%a%a?)%-.*&#039;);								-- still assuming that &amp;lt;lang_param_lc&amp;gt; is a tag; strip script, region, variant subtags&lt;br /&gt;
	name = cfg.lang_tag_remap[tag];												-- attempt to get remapped language name with language subtag only&lt;br /&gt;
	if name then																-- when &amp;lt;name&amp;gt;, &amp;lt;tag&amp;gt; is a tag for a remapped language name&lt;br /&gt;
		return name, tag;														-- so return &amp;lt;name&amp;gt; from remap and &amp;lt;tag&amp;gt;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if cfg.lang_name_remap[lang_param_lc] then									-- not a remapped tag, assume &amp;lt;lang_param_lc&amp;gt; is a name; attempt to get remapped language tag &lt;br /&gt;
		return cfg.lang_name_remap[lang_param_lc][1], cfg.lang_name_remap[lang_param_lc][2];	-- for this &amp;lt;lang_param_lc&amp;gt;, return a (possibly) new name and appropriate tag&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	name = cfg.mw_languages_by_tag_t[lang_param_lc];							-- assume that &amp;lt;lang_param_lc&amp;gt; is a tag; attempt to get its matching language name&lt;br /&gt;
	&lt;br /&gt;
	if name then&lt;br /&gt;
		return name, lang_param_lc;												-- &amp;lt;lang_param_lc&amp;gt; is a tag so return it and &amp;lt;name&amp;gt;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	tag = cfg.mw_languages_by_name_t[lang_param_lc];							-- assume that &amp;lt;lang_param_lc&amp;gt; is a language name; attempt to get its matching tag&lt;br /&gt;
	&lt;br /&gt;
	if tag then&lt;br /&gt;
		return cfg.mw_languages_by_tag_t[tag], tag;								-- &amp;lt;lang_param_lc&amp;gt; is a name so return the name from the table and &amp;lt;tag&amp;gt;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	tag = lang_param_lc:match (&#039;^(%a%a%a?)%-.*&#039;);								-- is &amp;lt;lang_param_lc&amp;gt; an IETF-like tag that MediaWiki doesn&#039;t recognize? &amp;lt;tag&amp;gt; gets the language subtag; nil else&lt;br /&gt;
&lt;br /&gt;
	if tag then&lt;br /&gt;
		name = cfg.mw_languages_by_tag_t[tag];									-- attempt to get a language name using the shortened &amp;lt;tag&amp;gt;&lt;br /&gt;
		if name then&lt;br /&gt;
			return name, tag;													-- &amp;lt;lang_param_lc&amp;gt; is an unrecognized IETF-like tag so return &amp;lt;name&amp;gt; and language subtag&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-------------------&amp;lt; L A N G U A G E _ P A R A M E T E R &amp;gt;------------------&lt;br /&gt;
&lt;br /&gt;
Gets language name from a provided two- or three-character ISO 639 code.  If a code&lt;br /&gt;
is recognized by MediaWiki, use the returned name; if not, then use the value that&lt;br /&gt;
was provided with the language parameter.&lt;br /&gt;
&lt;br /&gt;
When |language= contains a recognized language (either code or name), the page is&lt;br /&gt;
assigned to the category for that code: Category:Norwegian-language sources (no).&lt;br /&gt;
For valid three-character code languages, the page is assigned to the single category&lt;br /&gt;
for &#039;639-2&#039; codes: Category:CS1 ISO 639-2 language sources.&lt;br /&gt;
&lt;br /&gt;
Languages that are the same as the local wiki are not categorized.  MediaWiki does&lt;br /&gt;
not recognize three-character equivalents of two-character codes: code &#039;ar&#039; is&lt;br /&gt;
recognized but code &#039;ara&#039; is not.&lt;br /&gt;
&lt;br /&gt;
This function supports multiple languages in the form |language=nb, French, th&lt;br /&gt;
where the language names or codes are separated from each other by commas with&lt;br /&gt;
optional space characters.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function language_parameter (lang)&lt;br /&gt;
	local tag;																	-- some form of IETF-like language tag; language subtag with optional region, sript, vatiant, etc subtags&lt;br /&gt;
	local lang_subtag;															-- ve populates |language= with mostly unecessary region subtags the MediaWiki does not recognize; this is the base language subtag&lt;br /&gt;
	local name;																	-- the language name&lt;br /&gt;
	local language_list = {};													-- table of language names to be rendered&lt;br /&gt;
	local names_t = {};															-- table made from the value assigned to |language=&lt;br /&gt;
&lt;br /&gt;
	local this_wiki_name = mw.language.fetchLanguageName (cfg.this_wiki_code, cfg.this_wiki_code);	-- get this wiki&#039;s language name&lt;br /&gt;
&lt;br /&gt;
	names_t = mw.text.split (lang, &#039;%s*,%s*&#039;);									-- names should be a comma separated list&lt;br /&gt;
&lt;br /&gt;
	for _, lang in ipairs (names_t) do											-- reuse lang here because we don&#039;t yet know if lang is a language name or a language tag&lt;br /&gt;
		name, tag = name_tag_get (lang);										-- attempt to get name/tag pair for &amp;lt;lang&amp;gt;; &amp;lt;name&amp;gt; has proper capitalization; &amp;lt;tag&amp;gt; is lowercase&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (tag) then&lt;br /&gt;
			lang_subtag = tag:gsub (&#039;^(%a%a%a?)%-.*&#039;, &#039;%1&#039;);					-- for categorization, strip any IETF-like tags from language tag&lt;br /&gt;
&lt;br /&gt;
			if cfg.this_wiki_code ~= lang_subtag then							-- when the language is not the same as this wiki&#039;s language&lt;br /&gt;
				if 2 == lang_subtag:len() then									-- and is a two-character tag&lt;br /&gt;
					utilities.add_prop_cat (&#039;foreign-lang-source&#039;, {name, tag}, lang_subtag);		-- categorize it; tag appended to allow for multiple language categorization&lt;br /&gt;
				else															-- or is a recognized language (but has a three-character tag)&lt;br /&gt;
					utilities.add_prop_cat (&#039;foreign-lang-source-2&#039;, {lang_subtag}, lang_subtag);			-- categorize it differently TODO: support multiple three-character tag categories per cs1|2 template?&lt;br /&gt;
				end&lt;br /&gt;
			elseif cfg.local_lang_cat_enable then								-- when the language and this wiki&#039;s language are the same and categorization is enabled&lt;br /&gt;
				utilities.add_prop_cat (&#039;local-lang-source&#039;, {name, lang_subtag});		-- categorize it&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			name = lang;														-- return whatever &amp;lt;lang&amp;gt; has so that we show something&lt;br /&gt;
			utilities.set_message (&#039;maint_unknown_lang&#039;);						-- add maint category if not already added&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		table.insert (language_list, name);&lt;br /&gt;
		name = &#039;&#039;;																-- so we can reuse it&lt;br /&gt;
	end&lt;br /&gt;
 &lt;br /&gt;
	name = utilities.make_sep_list (#language_list, language_list);&lt;br /&gt;
	if (1 == #language_list) and (lang_subtag == cfg.this_wiki_code) then		-- when only one language, find lang name in this wiki lang name; for |language=en-us, &#039;English&#039; in &#039;American English&#039;&lt;br /&gt;
		return &#039;&#039;;																-- if one language and that language is this wiki&#039;s return an empty string (no annotation)&lt;br /&gt;
	end&lt;br /&gt;
	return (&amp;quot; &amp;quot; .. wrap_msg (&#039;language&#039;, name));								-- otherwise wrap with &#039;(in ...)&#039;&lt;br /&gt;
	--[[ TODO: should only return blank or name rather than full list&lt;br /&gt;
	so we can clean up the bunched parenthetical elements Language, Type, Format&lt;br /&gt;
	]]&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-----------------------&amp;lt; S E T _ C S _ S T Y L E &amp;gt;--------------------------&lt;br /&gt;
&lt;br /&gt;
Gets the default CS style configuration for the given mode.&lt;br /&gt;
Returns default separator and either postscript as passed in or the default.&lt;br /&gt;
In CS1, the default postscript and separator are &#039;.&#039;.&lt;br /&gt;
In CS2, the default postscript is the empty string and the default separator is &#039;,&#039;.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function set_cs_style (postscript, mode)&lt;br /&gt;
	if utilities.is_set(postscript) then&lt;br /&gt;
		-- emit a maintenance message if user postscript is the default cs1 postscript&lt;br /&gt;
		-- we catch the opposite case for cs2 in set_style&lt;br /&gt;
		if mode == &#039;cs1&#039; and postscript == cfg.presentation[&#039;ps_&#039; .. mode] then&lt;br /&gt;
			utilities.set_message (&#039;maint_postscript&#039;);&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		postscript = cfg.presentation[&#039;ps_&#039; .. mode];&lt;br /&gt;
	end&lt;br /&gt;
	return cfg.presentation[&#039;sep_&#039; .. mode], postscript;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S E T _ S T Y L E &amp;gt;-----------------------------&lt;br /&gt;
&lt;br /&gt;
Sets the separator and postscript styles. Checks the |mode= first and the&lt;br /&gt;
#invoke CitationClass second. Removes the postscript if postscript == none.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function set_style (mode, postscript, cite_class)&lt;br /&gt;
	local sep;&lt;br /&gt;
	if &#039;cs2&#039; == mode then&lt;br /&gt;
		sep, postscript = set_cs_style (postscript, &#039;cs2&#039;);&lt;br /&gt;
	elseif &#039;cs1&#039; == mode then&lt;br /&gt;
		sep, postscript = set_cs_style (postscript, &#039;cs1&#039;);&lt;br /&gt;
	elseif &#039;citation&#039; == cite_class	then&lt;br /&gt;
		sep, postscript = set_cs_style (postscript, &#039;cs2&#039;);&lt;br /&gt;
	else&lt;br /&gt;
		sep, postscript = set_cs_style (postscript, &#039;cs1&#039;);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if cfg.keywords_xlate[postscript:lower()] == &#039;none&#039; then&lt;br /&gt;
		-- emit a maintenance message if user postscript is the default cs2 postscript&lt;br /&gt;
		-- we catch the opposite case for cs1 in set_cs_style&lt;br /&gt;
		if &#039;cs2&#039; == mode or (&#039;cs1&#039; ~= mode and &#039;citation&#039; == cite_class) then	-- {{citation |title=Title |mode=cs1 |postscript=none}} should not emit maint message&lt;br /&gt;
			utilities.set_message (&#039;maint_postscript&#039;);&lt;br /&gt;
		end&lt;br /&gt;
		postscript = &#039;&#039;;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return sep, postscript&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; I S _ P D F &amp;gt;-----------------------------------&lt;br /&gt;
&lt;br /&gt;
Determines if a URL has the file extension that is one of the PDF file extensions&lt;br /&gt;
used by [[MediaWiki:Common.css]] when applying the PDF icon to external links.&lt;br /&gt;
&lt;br /&gt;
returns true if file extension is one of the recognized extensions, else false&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function is_pdf (url)&lt;br /&gt;
	return url:match (&#039;%.pdf$&#039;) or url:match (&#039;%.PDF$&#039;) or&lt;br /&gt;
		url:match (&#039;%.pdf[%?#]&#039;) or url:match (&#039;%.PDF[%?#]&#039;) or&lt;br /&gt;
		url:match (&#039;%.PDF&amp;amp;#035&#039;) or url:match (&#039;%.pdf&amp;amp;#035&#039;);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S T Y L E _ F O R M A T &amp;gt;-----------------------&lt;br /&gt;
&lt;br /&gt;
Applies CSS style to |format=, |chapter-format=, etc.  Also emits an error message&lt;br /&gt;
if the format parameter does not have a matching URL parameter.  If the format parameter&lt;br /&gt;
is not set and the URL contains a file extension that is recognized as a PDF document&lt;br /&gt;
by MediaWiki&#039;s commons.css, this code will set the format parameter to (PDF) with&lt;br /&gt;
the appropriate styling.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function style_format (format, url, fmt_param, url_param)&lt;br /&gt;
	if utilities.is_set (format) then&lt;br /&gt;
		format = utilities.wrap_style (&#039;format&#039;, format);						-- add leading space, parentheses, resize&lt;br /&gt;
		if not utilities.is_set (url) then&lt;br /&gt;
			utilities.set_message (&#039;err_format_missing_url&#039;, {fmt_param, url_param});	-- add an error message&lt;br /&gt;
		end&lt;br /&gt;
	elseif is_pdf (url) then													-- format is not set so if URL is a PDF file then&lt;br /&gt;
		format = utilities.wrap_style (&#039;format&#039;, &#039;PDF&#039;);						-- set format to PDF&lt;br /&gt;
	else&lt;br /&gt;
		format = &#039;&#039;;															-- empty string for concatenation&lt;br /&gt;
	end&lt;br /&gt;
	return format;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[---------------------&amp;lt; G E T _ D I S P L A Y _ N A M E S &amp;gt;------------------&lt;br /&gt;
&lt;br /&gt;
Returns a number that defines the number of names displayed for author and editor&lt;br /&gt;
name lists and a Boolean flag to indicate when et al. should be appended to the name list.&lt;br /&gt;
&lt;br /&gt;
When the value assigned to |display-xxxxors= is a number greater than or equal to zero,&lt;br /&gt;
return the number and the previous state of the &#039;etal&#039; flag (false by default&lt;br /&gt;
but may have been set to true if the name list contains some variant of the text &#039;et al.&#039;).&lt;br /&gt;
&lt;br /&gt;
When the value assigned to |display-xxxxors= is the keyword &#039;etal&#039;, return a number&lt;br /&gt;
that is one greater than the number of authors in the list and set the &#039;etal&#039; flag true.&lt;br /&gt;
This will cause the list_people() to display all of the names in the name list followed by &#039;et al.&#039;&lt;br /&gt;
&lt;br /&gt;
In all other cases, returns nil and the previous state of the &#039;etal&#039; flag.&lt;br /&gt;
&lt;br /&gt;
inputs:&lt;br /&gt;
	max: A[&#039;DisplayAuthors&#039;] or A[&#039;DisplayEditors&#039;], etc; a number or some flavor of etal&lt;br /&gt;
	count: #a or #e&lt;br /&gt;
	list_name: &#039;authors&#039; or &#039;editors&#039;&lt;br /&gt;
	etal: author_etal or editor_etal&lt;br /&gt;
&lt;br /&gt;
This function sets an error message when |display-xxxxors= value greater than or equal to number of names but&lt;br /&gt;
not when &amp;lt;max&amp;gt; comes from {{cs1 config}} global settings.  When using global settings, &amp;lt;param&amp;gt; is set to the&lt;br /&gt;
keyword &#039;cs1 config&#039; which is used to supress the normal error.  Error is suppressed because it is to be expected&lt;br /&gt;
that some citations in an article will have the same or fewer names that the limit specified in {{cs1 config}}.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function get_display_names (max, count, list_name, etal, param)&lt;br /&gt;
	if utilities.is_set (max) then&lt;br /&gt;
		if &#039;etal&#039; == max:lower():gsub(&amp;quot;[ &#039;%.]&amp;quot;, &#039;&#039;) then						-- the :gsub() portion makes &#039;etal&#039; from a variety of &#039;et al.&#039; spellings and stylings&lt;br /&gt;
			max = count + 1;													-- number of authors + 1 so display all author name plus et al.&lt;br /&gt;
			etal = true;														-- overrides value set by extract_names()&lt;br /&gt;
		elseif max:match (&#039;^%d+$&#039;) then											-- if is a string of numbers&lt;br /&gt;
			max = tonumber (max);												-- make it a number&lt;br /&gt;
			if (max &amp;gt;= count) and (&#039;cs1 config&#039; ~= param) then					-- error when local |display-xxxxors= value greater than or equal to number of names; not an error when using global setting&lt;br /&gt;
				utilities.set_message (&#039;err_disp_name&#039;, {param, max});			-- add error message&lt;br /&gt;
				max = nil;&lt;br /&gt;
			end&lt;br /&gt;
		else																	-- not a valid keyword or number&lt;br /&gt;
			utilities.set_message (&#039;err_disp_name&#039;, {param, max});				-- add error message&lt;br /&gt;
			max = nil;															-- unset; as if |display-xxxxors= had not been set&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return max, etal;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[----------&amp;lt; E X T R A _ T E X T _ I N _ P A G E _ C H E C K &amp;gt;---------------&lt;br /&gt;
&lt;br /&gt;
Adds error if |page=, |pages=, |quote-page=, |quote-pages= has what appears to be&lt;br /&gt;
some form of p. or pp. abbreviation in the first characters of the parameter content.&lt;br /&gt;
&lt;br /&gt;
check page for extraneous p, p., pp, pp., pg, pg. at start of parameter value:&lt;br /&gt;
	good pattern: &#039;^P[^%.P%l]&#039; matches when page begins PX or P# but not Px&lt;br /&gt;
		      where x and X are letters and # is a digit&lt;br /&gt;
	bad pattern:  &#039;^[Pp][PpGg]&#039; matches when page begins pp, pP, Pp, PP, pg, pG, Pg, PG&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function extra_text_in_page_check (val, name)&lt;br /&gt;
	if not val:match (cfg.vol_iss_pg_patterns.good_ppattern) then&lt;br /&gt;
		for _, pattern in ipairs (cfg.vol_iss_pg_patterns.bad_ppatterns) do		-- spin through the selected sequence table of patterns&lt;br /&gt;
			if val:match (pattern) then											-- when a match, error so&lt;br /&gt;
				utilities.set_message (&#039;err_extra_text_pages&#039;, name);	 		-- add error message&lt;br /&gt;
				return;															-- and done&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end		&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X T R A _ T E X T _ I N _ V O L _ I S S _ C H E C K &amp;gt;------------------------&lt;br /&gt;
&lt;br /&gt;
Adds error if |volume= or |issue= has what appears to be some form of redundant &#039;type&#039; indicator.  Applies to&lt;br /&gt;
both; this function looks for issue text in both |issue= and |volume= and looks for volume-like text in |voluem=&lt;br /&gt;
and |issue=.&lt;br /&gt;
&lt;br /&gt;
For |volume=:&lt;br /&gt;
	&#039;V.&#039;, or &#039;Vol.&#039; (with or without the dot) abbreviations or &#039;Volume&#039; in the first characters of the parameter&lt;br /&gt;
	content (all case insensitive). &#039;V&#039; and &#039;v&#039; (without the dot) are presumed to be roman numerals so&lt;br /&gt;
	are allowed.&lt;br /&gt;
&lt;br /&gt;
For |issue=:&lt;br /&gt;
	&#039;No.&#039;, &#039;I.&#039;, &#039;Iss.&#039; (with or without the dot) abbreviations, or &#039;Issue&#039; in the first characters of the&lt;br /&gt;
	parameter content (all case insensitive); numero styling: &#039;n°&#039; with degree sign U+00B0, and № precomposed&lt;br /&gt;
	numero sign U+2116.&lt;br /&gt;
	&lt;br /&gt;
Single character values (&#039;v&#039;, &#039;i&#039;, &#039;n&#039;) allowed when not followed by separator character (&#039;.&#039;, &#039;:&#039;, &#039;=&#039;, or&lt;br /&gt;
whitespace character) – param values are trimmed of whitespace by MediaWiki before delivered to the module.&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;val&amp;gt; is |volume= or |issue= parameter value&lt;br /&gt;
&amp;lt;name&amp;gt; is |volume= or |issue= parameter name for error message&lt;br /&gt;
&amp;lt;selector&amp;gt; is &#039;v&#039; for |volume=, &#039;i&#039; for |issue=&lt;br /&gt;
&lt;br /&gt;
sets error message on failure; returns nothing&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function extra_text_in_vol_iss_check (val, name, selector)&lt;br /&gt;
	if not utilities.is_set (val) then&lt;br /&gt;
		return;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local handler = &#039;v&#039; == selector and &#039;err_extra_text_volume&#039; or &#039;err_extra_text_issue&#039;;&lt;br /&gt;
	val = val:lower();															-- force parameter value to lower case&lt;br /&gt;
&lt;br /&gt;
	for _, pattern in ipairs (cfg.vol_iss_pg_patterns.vi_patterns_t) do			-- spin through the sequence table of patterns&lt;br /&gt;
		if val:match (pattern) then												-- when a match, error so&lt;br /&gt;
			utilities.set_message (handler, name);								-- add error message&lt;br /&gt;
			return;																-- and done&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; G E T _ V _ N A M E _ T A B L E &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
split apart a |vauthors= or |veditors= parameter.  This function allows for corporate names, wrapped in doubled&lt;br /&gt;
parentheses to also have commas; in the old version of the code, the doubled parentheses were included in the&lt;br /&gt;
rendered citation and in the metadata.  Individual author names may be wikilinked&lt;br /&gt;
&lt;br /&gt;
	|vauthors=Jones AB, [[E. B. White|White EB]], ((Black, Brown, and Co.))&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function get_v_name_table (vparam, output_table, output_link_table)&lt;br /&gt;
	local _, accept = utilities.has_accept_as_written (vparam);&lt;br /&gt;
	if accept then&lt;br /&gt;
		utilities.add_prop_cat (&#039;vanc-accept&#039;);									-- add properties category&lt;br /&gt;
	end&lt;br /&gt;
	local name_table = mw.text.split(vparam, &amp;quot;%s*,%s*&amp;quot;);						-- names are separated by commas&lt;br /&gt;
	local wl_type, label, link;													-- wl_type not used here; just a placeholder&lt;br /&gt;
	&lt;br /&gt;
	local i = 1;&lt;br /&gt;
	&lt;br /&gt;
	while name_table[i] do&lt;br /&gt;
		if name_table[i]:match (&#039;^%(%(.*[^%)][^%)]$&#039;) then						-- first segment of corporate with one or more commas; this segment has the opening doubled parentheses&lt;br /&gt;
			local name = name_table[i];&lt;br /&gt;
			i = i + 1;															-- bump indexer to next segment&lt;br /&gt;
			while name_table[i] do&lt;br /&gt;
				name = name .. &#039;, &#039; .. name_table[i];							-- concatenate with previous segments&lt;br /&gt;
				if name_table[i]:match (&#039;^.*%)%)$&#039;) then						-- if this table member has the closing doubled parentheses&lt;br /&gt;
					break;														-- and done reassembling so&lt;br /&gt;
				end&lt;br /&gt;
				i = i + 1;														-- bump indexer&lt;br /&gt;
			end&lt;br /&gt;
			table.insert (output_table, name);									-- and add corporate name to the output table&lt;br /&gt;
			table.insert (output_link_table, &#039;&#039;);								-- no wikilink&lt;br /&gt;
		else&lt;br /&gt;
			wl_type, label, link = utilities.is_wikilink (name_table[i]);		-- wl_type is: 0, no wl (text in label variable); 1, [[D]]; 2, [[L|D]]&lt;br /&gt;
			table.insert (output_table, label);									-- add this name&lt;br /&gt;
			if 1 == wl_type then&lt;br /&gt;
				table.insert (output_link_table, label);						-- simple wikilink [[D]]&lt;br /&gt;
			else&lt;br /&gt;
				table.insert (output_link_table, link);							-- no wikilink or [[L|D]]; add this link if there is one, else empty string&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		i = i + 1;&lt;br /&gt;
	end	&lt;br /&gt;
	return output_table;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; P A R S E _ V A U T H O R S _ V E D I T O R S &amp;gt;--------------------------------&lt;br /&gt;
&lt;br /&gt;
This function extracts author / editor names from |vauthors= or |veditors= and finds matching |xxxxor-maskn= and&lt;br /&gt;
|xxxxor-linkn= in args.  It then returns a table of assembled names just as extract_names() does.&lt;br /&gt;
&lt;br /&gt;
Author / editor names in |vauthors= or |veditors= must be in Vancouver system style. Corporate or institutional names&lt;br /&gt;
may sometimes be required and because such names will often fail the is_good_vanc_name() and other format compliance&lt;br /&gt;
tests, are wrapped in doubled parentheses ((corporate name)) to suppress the format tests.&lt;br /&gt;
&lt;br /&gt;
Supports generational suffixes Jr, 2nd, 3rd, 4th–6th.&lt;br /&gt;
&lt;br /&gt;
This function sets the Vancouver error when a required comma is missing and when there is a space between an author&#039;s initials.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function parse_vauthors_veditors (args, vparam, list_name)&lt;br /&gt;
	local names = {};															-- table of names assembled from |vauthors=, |author-maskn=, |author-linkn=&lt;br /&gt;
	local v_name_table = {};&lt;br /&gt;
	local v_link_table = {};													-- when name is wikilinked, targets go in this table&lt;br /&gt;
	local etal = false;															-- return value set to true when we find some form of et al. vauthors parameter&lt;br /&gt;
	local last, first, link, mask, suffix;&lt;br /&gt;
	local corporate = false;&lt;br /&gt;
&lt;br /&gt;
	vparam, etal = name_has_etal (vparam, etal, true);							-- find and remove variations on et al. do not categorize (do it here because et al. might have a period)&lt;br /&gt;
	v_name_table = get_v_name_table (vparam, v_name_table, v_link_table);		-- names are separated by commas&lt;br /&gt;
&lt;br /&gt;
	for i, v_name in ipairs(v_name_table) do&lt;br /&gt;
		first = &#039;&#039;;																-- set to empty string for concatenation and because it may have been set for previous author/editor&lt;br /&gt;
		local accept_name;&lt;br /&gt;
		v_name, accept_name = utilities.has_accept_as_written (v_name);			-- remove accept-this-as-written markup when it wraps all of &amp;lt;v_name&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		if accept_name then&lt;br /&gt;
			last = v_name;&lt;br /&gt;
			corporate = true;													-- flag used in list_people()&lt;br /&gt;
		elseif string.find(v_name, &amp;quot;%s&amp;quot;) then&lt;br /&gt;
			if v_name:find(&#039;[;%.]&#039;) then										-- look for commonly occurring punctuation characters; &lt;br /&gt;
				add_vanc_error (cfg.err_msg_supl.punctuation, i);&lt;br /&gt;
			end&lt;br /&gt;
			local lastfirstTable = {}&lt;br /&gt;
			lastfirstTable = mw.text.split(v_name, &amp;quot;%s+&amp;quot;)&lt;br /&gt;
			first = table.remove(lastfirstTable);								-- removes and returns value of last element in table which should be initials or generational suffix&lt;br /&gt;
&lt;br /&gt;
			if not mw.ustring.match (first, &#039;^%u+$&#039;) then						-- mw.ustring here so that later we will catch non-Latin characters&lt;br /&gt;
				suffix = first;													-- not initials so assume that whatever we got is a generational suffix&lt;br /&gt;
				first = table.remove(lastfirstTable);							-- get what should be the initials from the table&lt;br /&gt;
			end&lt;br /&gt;
			last = table.concat(lastfirstTable, &#039; &#039;)							-- returns a string that is the concatenation of all other names that are not initials and generational suffix&lt;br /&gt;
			if not utilities.is_set (last) then&lt;br /&gt;
				first = &#039;&#039;;														-- unset&lt;br /&gt;
				last = v_name;													-- last empty because something wrong with first&lt;br /&gt;
				add_vanc_error (cfg.err_msg_supl.name, i);&lt;br /&gt;
			end&lt;br /&gt;
			if mw.ustring.match (last, &#039;%a+%s+%u+%s+%a+&#039;) then&lt;br /&gt;
				add_vanc_error (cfg.err_msg_supl[&#039;missing comma&#039;], i);			-- matches last II last; the case when a comma is missing&lt;br /&gt;
			end&lt;br /&gt;
			if mw.ustring.match (v_name, &#039; %u %u$&#039;) then						-- this test is in the wrong place TODO: move or replace with a more appropriate test&lt;br /&gt;
				add_vanc_error (cfg.err_msg_supl.initials, i);					-- matches a space between two initials&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			last = v_name;														-- last name or single corporate name?  Doesn&#039;t support multiword corporate names? do we need this?&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		if utilities.is_set (first) then&lt;br /&gt;
			if not mw.ustring.match (first, &amp;quot;^%u?%u$&amp;quot;) then						-- first shall contain one or two upper-case letters, nothing else&lt;br /&gt;
				add_vanc_error (cfg.err_msg_supl.initials, i);					-- too many initials; mixed case initials (which may be ok Romanization); hyphenated initials&lt;br /&gt;
			end&lt;br /&gt;
			is_good_vanc_name (last, first, suffix, i);							-- check first and last before restoring the suffix which may have a non-Latin digit&lt;br /&gt;
			if utilities.is_set (suffix) then&lt;br /&gt;
				first = first .. &#039; &#039; .. suffix;									-- if there was a suffix concatenate with the initials&lt;br /&gt;
				suffix = &#039;&#039;;													-- unset so we don&#039;t add this suffix to all subsequent names&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			if not corporate then&lt;br /&gt;
				is_good_vanc_name (last, &#039;&#039;, nil, i);&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		link = utilities.select_one ( args, cfg.aliases[list_name .. &#039;-Link&#039;], &#039;err_redundant_parameters&#039;, i ) or v_link_table[i];&lt;br /&gt;
		mask = utilities.select_one ( args, cfg.aliases[list_name .. &#039;-Mask&#039;], &#039;err_redundant_parameters&#039;, i );&lt;br /&gt;
		names[i] = {last = last, first = first, link = link, mask = mask, corporate = corporate};		-- add this assembled name to our names list&lt;br /&gt;
	end&lt;br /&gt;
	return names, etal;															-- all done, return our list of names&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S E L E C T _ A U T H O R _ E D I T O R _ S O U R C E &amp;gt;------------------------&lt;br /&gt;
&lt;br /&gt;
Select one of |authors=, |authorn= / |lastn / firstn=, or |vauthors= as the source of the author name list or&lt;br /&gt;
select one of |editorn= / editor-lastn= / |editor-firstn= or |veditors= as the source of the editor name list.&lt;br /&gt;
&lt;br /&gt;
Only one of these appropriate three will be used.  The hierarchy is: |authorn= (and aliases) highest and |authors= lowest;&lt;br /&gt;
|editorn= (and aliases) highest and |veditors= lowest (support for |editors= withdrawn)&lt;br /&gt;
&lt;br /&gt;
When looking for |authorn= / |editorn= parameters, test |xxxxor1= and |xxxxor2= (and all of their aliases); stops after the second&lt;br /&gt;
test which mimicks the test used in extract_names() when looking for a hole in the author name list.  There may be a better&lt;br /&gt;
way to do this, I just haven&#039;t discovered what that way is.&lt;br /&gt;
&lt;br /&gt;
Emits an error message when more than one xxxxor name source is provided.&lt;br /&gt;
&lt;br /&gt;
In this function, vxxxxors = vauthors or veditors; xxxxors = authors as appropriate.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function select_author_editor_source (vxxxxors, xxxxors, args, list_name)&lt;br /&gt;
	local lastfirst = false;&lt;br /&gt;
	if utilities.select_one ( args, cfg.aliases[list_name .. &#039;-Last&#039;], &#039;none&#039;, 1 ) or		-- do this twice in case we have a |first1= without a |last1=; this ...&lt;br /&gt;
		utilities.select_one ( args, cfg.aliases[list_name .. &#039;-First&#039;], &#039;none&#039;, 1 ) or		-- ... also catches the case where |first= is used with |vauthors=&lt;br /&gt;
		utilities.select_one ( args, cfg.aliases[list_name .. &#039;-Last&#039;], &#039;none&#039;, 2 ) or&lt;br /&gt;
		utilities.select_one ( args, cfg.aliases[list_name .. &#039;-First&#039;], &#039;none&#039;, 2 ) then&lt;br /&gt;
			lastfirst = true;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if (utilities.is_set (vxxxxors) and true == lastfirst) or					-- these are the three error conditions&lt;br /&gt;
		(utilities.is_set (vxxxxors) and utilities.is_set (xxxxors)) or&lt;br /&gt;
		(true == lastfirst and utilities.is_set (xxxxors)) then&lt;br /&gt;
			local err_name;&lt;br /&gt;
			if &#039;AuthorList&#039; == list_name then									-- figure out which name should be used in error message&lt;br /&gt;
				err_name = &#039;author&#039;;&lt;br /&gt;
			else&lt;br /&gt;
				err_name = &#039;editor&#039;;&lt;br /&gt;
			end&lt;br /&gt;
			utilities.set_message (&#039;err_redundant_parameters&#039;, err_name .. &#039;-name-list parameters&#039;);	-- add error message&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if true == lastfirst then return 1 end;										-- return a number indicating which author name source to use&lt;br /&gt;
	if utilities.is_set (vxxxxors) then return 2 end;&lt;br /&gt;
	if utilities.is_set (xxxxors) then return 3 end;&lt;br /&gt;
	return 1;																	-- no authors so return 1; this allows missing author name test to run in case there is a first without last &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ V A L I D _ P A R A M E T E R _ V A L U E &amp;gt;------------------------------&lt;br /&gt;
&lt;br /&gt;
This function is used to validate a parameter&#039;s assigned value for those parameters that have only a limited number&lt;br /&gt;
of allowable values (yes, y, true, live, dead, etc.).  When the parameter value has not been assigned a value (missing&lt;br /&gt;
or empty in the source template) the function returns the value specified by ret_val.  If the parameter value is one&lt;br /&gt;
of the list of allowed values returns the translated value; else, emits an error message and returns the value&lt;br /&gt;
specified by ret_val.&lt;br /&gt;
&lt;br /&gt;
TODO: explain &amp;lt;invert&amp;gt;&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_valid_parameter_value (value, name, possible, ret_val, invert)&lt;br /&gt;
	if not utilities.is_set (value) then&lt;br /&gt;
		return ret_val;															-- an empty parameter is ok&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if (not invert and utilities.in_array (value, possible)) then				-- normal; &amp;lt;value&amp;gt; is in &amp;lt;possible&amp;gt; table&lt;br /&gt;
		return cfg.keywords_xlate[value];										-- return translation of parameter keyword&lt;br /&gt;
	elseif invert and not utilities.in_array (value, possible) then				-- invert; &amp;lt;value&amp;gt; is not in &amp;lt;possible&amp;gt; table&lt;br /&gt;
		return value;															-- return &amp;lt;value&amp;gt; as it is&lt;br /&gt;
	else&lt;br /&gt;
		utilities.set_message (&#039;err_invalid_param_val&#039;, {name, value});			-- not an allowed value so add error message&lt;br /&gt;
		return ret_val;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; T E R M I N A T E _ N A M E _ L I S T &amp;gt;----------------------------------------&lt;br /&gt;
&lt;br /&gt;
This function terminates a name list (author, contributor, editor) with a separator character (sepc) and a space&lt;br /&gt;
when the last character is not a sepc character or when the last three characters are not sepc followed by two&lt;br /&gt;
closing square brackets (close of a wikilink).  When either of these is true, the name_list is terminated with a&lt;br /&gt;
single space character.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function terminate_name_list (name_list, sepc)&lt;br /&gt;
	if (string.sub (name_list, -3, -1) == sepc .. &#039;. &#039;) then					-- if already properly terminated&lt;br /&gt;
		return name_list;														-- just return the name list&lt;br /&gt;
	elseif (string.sub (name_list, -1, -1) == sepc) or (string.sub (name_list, -3, -1) == sepc .. &#039;]]&#039;) then	-- if last name in list ends with sepc char&lt;br /&gt;
		return name_list .. &amp;quot; &amp;quot;;												-- don&#039;t add another&lt;br /&gt;
	else&lt;br /&gt;
		return name_list .. sepc .. &#039; &#039;;										-- otherwise terminate the name list&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-------------------------&amp;lt; F O R M A T _ V O L U M E _ I S S U E &amp;gt;-----------------------------------------&lt;br /&gt;
&lt;br /&gt;
returns the concatenation of the formatted volume and issue (or journal article number) parameters as a single&lt;br /&gt;
string; or formatted volume or formatted issue, or an empty string if neither are set.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
	&lt;br /&gt;
local function format_volume_issue (volume, issue, article, cite_class, origin, sepc, lower)&lt;br /&gt;
	if not utilities.is_set (volume) and not utilities.is_set (issue) and not utilities.is_set (article) then&lt;br /&gt;
		return &#039;&#039;;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- same condition as in format_pages_sheets()&lt;br /&gt;
	local is_journal = &#039;journal&#039; == cite_class or (utilities.in_array (cite_class, {&#039;citation&#039;, &#039;map&#039;, &#039;interview&#039;}) and &#039;journal&#039; == origin);&lt;br /&gt;
&lt;br /&gt;
	local is_numeric_vol = volume and (volume:match (&#039;^[MDCLXVI]+$&#039;) or volume:match (&#039;^%d+$&#039;));	-- is only uppercase roman numerals or only digits?&lt;br /&gt;
	local is_long_vol = volume and (4 &amp;lt; mw.ustring.len(volume));				-- is |volume= value longer than 4 characters?&lt;br /&gt;
	&lt;br /&gt;
	if volume and (not is_numeric_vol and is_long_vol) then						-- when not all digits or Roman numerals, is |volume= longer than 4 characters?&lt;br /&gt;
		utilities.add_prop_cat (&#039;long-vol&#039;);									-- yes, add properties cat&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if is_journal then															-- journal-style formatting&lt;br /&gt;
		local vol = &#039;&#039;;&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (volume) then&lt;br /&gt;
			if is_numeric_vol then												-- |volume= value all digits or all uppercase Roman numerals?&lt;br /&gt;
				vol = utilities.substitute (cfg.presentation[&#039;vol-bold&#039;], {sepc, volume});	-- render in bold face&lt;br /&gt;
			elseif is_long_vol then												-- not all digits or Roman numerals; longer than 4 characters?&lt;br /&gt;
				vol = utilities.substitute (cfg.messages[&#039;j-vol&#039;], {sepc, utilities.hyphen_to_dash (volume)});	-- not bold&lt;br /&gt;
			else																-- four or fewer characters&lt;br /&gt;
				vol = utilities.substitute (cfg.presentation[&#039;vol-bold&#039;], {sepc, utilities.hyphen_to_dash (volume)});	-- bold&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		vol = vol .. (utilities.is_set (issue) and utilities.substitute (cfg.messages[&#039;j-issue&#039;], issue) or &#039;&#039;)&lt;br /&gt;
		vol = vol .. (utilities.is_set (article) and utilities.substitute (cfg.messages[&#039;j-article-num&#039;], article) or &#039;&#039;)&lt;br /&gt;
		return vol;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if &#039;podcast&#039; == cite_class and utilities.is_set (issue) then&lt;br /&gt;
		return wrap_msg (&#039;issue&#039;, {sepc, issue}, lower);&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if &#039;conference&#039; == cite_class and utilities.is_set (article) then			-- |article-number= supported only in journal and conference cites&lt;br /&gt;
		if utilities.is_set (volume) and utilities.is_set (article) then		-- both volume and article number&lt;br /&gt;
			return wrap_msg (&#039;vol-art&#039;, {sepc, utilities.hyphen_to_dash (volume), article}, lower);&lt;br /&gt;
		elseif utilities.is_set (article) then									-- article number alone; when volume alone, handled below&lt;br /&gt;
			return wrap_msg (&#039;art&#039;, {sepc, article}, lower);&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- all other types of citation&lt;br /&gt;
	if utilities.is_set (volume) and utilities.is_set (issue) then&lt;br /&gt;
		return wrap_msg (&#039;vol-no&#039;, {sepc, utilities.hyphen_to_dash (volume), issue}, lower);&lt;br /&gt;
	elseif utilities.is_set (volume) then&lt;br /&gt;
		return wrap_msg (&#039;vol&#039;, {sepc, utilities.hyphen_to_dash (volume)}, lower);&lt;br /&gt;
	else&lt;br /&gt;
		return wrap_msg (&#039;issue&#039;, {sepc, issue}, lower);&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-------------------------&amp;lt; F O R M A T _ P A G E S _ S H E E T S &amp;gt;-----------------------------------------&lt;br /&gt;
&lt;br /&gt;
adds static text to one of |page(s)= or |sheet(s)= values and returns it with all of the others set to empty strings.&lt;br /&gt;
The return order is:&lt;br /&gt;
	page, pages, sheet, sheets&lt;br /&gt;
&lt;br /&gt;
Singular has priority over plural when both are provided.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function format_pages_sheets (page, pages, sheet, sheets, cite_class, origin, sepc, nopp, lower)&lt;br /&gt;
	if &#039;map&#039; == cite_class then													-- only cite map supports sheet(s) as in-source locators&lt;br /&gt;
		if utilities.is_set (sheet) then&lt;br /&gt;
			if &#039;journal&#039; == origin then&lt;br /&gt;
				return &#039;&#039;, &#039;&#039;, wrap_msg (&#039;j-sheet&#039;, sheet, lower), &#039;&#039;;&lt;br /&gt;
			else&lt;br /&gt;
				return &#039;&#039;, &#039;&#039;, wrap_msg (&#039;sheet&#039;, {sepc, sheet}, lower), &#039;&#039;;&lt;br /&gt;
			end&lt;br /&gt;
		elseif utilities.is_set (sheets) then&lt;br /&gt;
			if &#039;journal&#039; == origin then&lt;br /&gt;
				return &#039;&#039;, &#039;&#039;, &#039;&#039;, wrap_msg (&#039;j-sheets&#039;, sheets, lower);&lt;br /&gt;
			else&lt;br /&gt;
				return &#039;&#039;, &#039;&#039;, &#039;&#039;, wrap_msg (&#039;sheets&#039;, {sepc, sheets}, lower);&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local is_journal = &#039;journal&#039; == cite_class or (utilities.in_array (cite_class, {&#039;citation&#039;, &#039;map&#039;, &#039;interview&#039;}) and &#039;journal&#039; == origin);&lt;br /&gt;
	&lt;br /&gt;
	if utilities.is_set (page) then&lt;br /&gt;
		if is_journal then&lt;br /&gt;
			return utilities.substitute (cfg.messages[&#039;j-page(s)&#039;], page), &#039;&#039;, &#039;&#039;, &#039;&#039;;&lt;br /&gt;
		elseif not nopp then&lt;br /&gt;
			return utilities.substitute (cfg.messages[&#039;p-prefix&#039;], {sepc, page}), &#039;&#039;, &#039;&#039;, &#039;&#039;;&lt;br /&gt;
		else&lt;br /&gt;
			return utilities.substitute (cfg.messages[&#039;nopp&#039;], {sepc, page}), &#039;&#039;, &#039;&#039;, &#039;&#039;;&lt;br /&gt;
		end&lt;br /&gt;
	elseif utilities.is_set (pages) then&lt;br /&gt;
		if is_journal then&lt;br /&gt;
			return utilities.substitute (cfg.messages[&#039;j-page(s)&#039;], pages), &#039;&#039;, &#039;&#039;, &#039;&#039;;&lt;br /&gt;
		elseif tonumber(pages) ~= nil and not nopp then							-- if pages is only digits, assume a single page number&lt;br /&gt;
			return &#039;&#039;, utilities.substitute (cfg.messages[&#039;p-prefix&#039;], {sepc, pages}), &#039;&#039;, &#039;&#039;;&lt;br /&gt;
		elseif not nopp then&lt;br /&gt;
			return &#039;&#039;, utilities.substitute (cfg.messages[&#039;pp-prefix&#039;], {sepc, pages}), &#039;&#039;, &#039;&#039;;&lt;br /&gt;
		else&lt;br /&gt;
			return &#039;&#039;, utilities.substitute (cfg.messages[&#039;nopp&#039;], {sepc, pages}), &#039;&#039;, &#039;&#039;;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return &#039;&#039;, &#039;&#039;, &#039;&#039;, &#039;&#039;;														-- return empty strings&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I N S O U R C E _ L O C _ G E T &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
returns one of the in-source locators: page, pages, or at. &lt;br /&gt;
&lt;br /&gt;
If any of these are interwiki links to Wikisource, returns the label portion of the interwiki-link as plain text&lt;br /&gt;
for use in COinS.  This COinS thing is done because here we convert an interwiki-link to an external link and&lt;br /&gt;
add an icon span around that; get_coins_pages() doesn&#039;t know about the span.  TODO: should it?  &lt;br /&gt;
&lt;br /&gt;
TODO: add support for sheet and sheets?; streamline;&lt;br /&gt;
&lt;br /&gt;
TODO: make it so that this function returns only one of the three as the single in-source (the return value assigned&lt;br /&gt;
to a new name)?&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function insource_loc_get (page, page_orig, pages, pages_orig, at)&lt;br /&gt;
	local ws_url, ws_label, coins_pages, L;										-- for Wikisource interwiki-links; TODO: this corrupts page metadata (span remains in place after cleanup; fix there?)&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (page) then&lt;br /&gt;
		if utilities.is_set (pages) or utilities.is_set (at) then&lt;br /&gt;
			pages = &#039;&#039;;															-- unset the others&lt;br /&gt;
			at = &#039;&#039;;&lt;br /&gt;
		end&lt;br /&gt;
		extra_text_in_page_check (page, page_orig);								-- emit error message when |page= value begins with what looks like p., pp., etc.&lt;br /&gt;
&lt;br /&gt;
		ws_url, ws_label, L = wikisource_url_make (page);						-- make ws URL from |page= interwiki link; link portion L becomes tooltip label&lt;br /&gt;
		if ws_url then&lt;br /&gt;
			page = external_link (ws_url, ws_label .. &#039;&amp;amp;nbsp;&#039;, &#039;ws link in page&#039;);	-- space char after label to move icon away from in-source text; TODO: a better way to do this?&lt;br /&gt;
			page = utilities.substitute (cfg.presentation[&#039;interwiki-icon&#039;], {cfg.presentation[&#039;class-wikisource&#039;], L, page});&lt;br /&gt;
			coins_pages = ws_label;&lt;br /&gt;
		end&lt;br /&gt;
	elseif utilities.is_set (pages) then&lt;br /&gt;
		if utilities.is_set (at) then&lt;br /&gt;
			at = &#039;&#039;;															-- unset&lt;br /&gt;
		end&lt;br /&gt;
		extra_text_in_page_check (pages, pages_orig);							-- emit error message when |page= value begins with what looks like p., pp., etc.&lt;br /&gt;
&lt;br /&gt;
		ws_url, ws_label, L = wikisource_url_make (pages);						-- make ws URL from |pages= interwiki link; link portion L becomes tooltip label&lt;br /&gt;
		if ws_url then&lt;br /&gt;
			pages = external_link (ws_url, ws_label .. &#039;&amp;amp;nbsp;&#039;, &#039;ws link in pages&#039;);	-- space char after label to move icon away from in-source text; TODO: a better way to do this?&lt;br /&gt;
			pages = utilities.substitute (cfg.presentation[&#039;interwiki-icon&#039;], {cfg.presentation[&#039;class-wikisource&#039;], L, pages});&lt;br /&gt;
			coins_pages = ws_label;&lt;br /&gt;
		end&lt;br /&gt;
	elseif utilities.is_set (at) then&lt;br /&gt;
		ws_url, ws_label, L = wikisource_url_make (at);							-- make ws URL from |at= interwiki link; link portion L becomes tooltip label&lt;br /&gt;
		if ws_url then&lt;br /&gt;
			at = external_link (ws_url, ws_label .. &#039;&amp;amp;nbsp;&#039;, &#039;ws link in at&#039;);	-- space char after label to move icon away from in-source text; TODO: a better way to do this?&lt;br /&gt;
			at = utilities.substitute (cfg.presentation[&#039;interwiki-icon&#039;], {cfg.presentation[&#039;class-wikisource&#039;], L, at});&lt;br /&gt;
			coins_pages = ws_label;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return page, pages, at, coins_pages;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ U N I Q U E _ A R C H I V E _ U R L &amp;gt;------------------------------------&lt;br /&gt;
&lt;br /&gt;
add error message when |archive-url= value is same as |url= or chapter-url= (or alias...) value&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_unique_archive_url (archive, url, c_url, source, date)&lt;br /&gt;
	if utilities.is_set (archive) then&lt;br /&gt;
		if archive == url or archive == c_url then&lt;br /&gt;
			utilities.set_message (&#039;err_bad_url&#039;, {utilities.wrap_style (&#039;parameter&#039;, source)});	-- add error message&lt;br /&gt;
			return &#039;&#039;, &#039;&#039;;														-- unset |archive-url= and |archive-date= because same as |url= or |chapter-url=&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return archive, date;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; A R C H I V E _ U R L _ C H E C K &amp;gt;--------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Check archive.org URLs to make sure they at least look like they are pointing at valid archives and not to the &lt;br /&gt;
save snapshot URL or to calendar pages.  When the archive URL is &#039;https://web.archive.org/save/&#039; (or http://...)&lt;br /&gt;
archive.org saves a snapshot of the target page in the URL.  That is something that Wikipedia should not allow&lt;br /&gt;
unwitting readers to do.&lt;br /&gt;
&lt;br /&gt;
When the archive.org URL does not have a complete timestamp, archive.org chooses a snapshot according to its own&lt;br /&gt;
algorithm or provides a calendar &#039;search&#039; result.  [[WP:ELNO]] discourages links to search results.&lt;br /&gt;
&lt;br /&gt;
This function looks at the value assigned to |archive-url= and returns empty strings for |archive-url= and&lt;br /&gt;
|archive-date= and an error message when:&lt;br /&gt;
	|archive-url= holds an archive.org save command URL&lt;br /&gt;
	|archive-url= is an archive.org URL that does not have a complete timestamp (YYYYMMDDhhmmss 14 digits) in the&lt;br /&gt;
		correct place&lt;br /&gt;
otherwise returns |archive-url= and |archive-date=&lt;br /&gt;
&lt;br /&gt;
There are two mostly compatible archive.org URLs:&lt;br /&gt;
	//web.archive.org/&amp;lt;timestamp&amp;gt;...		-- the old form&lt;br /&gt;
	//web.archive.org/web/&amp;lt;timestamp&amp;gt;...	-- the new form&lt;br /&gt;
&lt;br /&gt;
The old form does not support or map to the new form when it contains a display flag.  There are four identified flags&lt;br /&gt;
(&#039;id_&#039;, &#039;js_&#039;, &#039;cs_&#039;, &#039;im_&#039;) but since archive.org ignores others following the same form (two letters and an underscore)&lt;br /&gt;
we don&#039;t check for these specific flags but we do check the form.&lt;br /&gt;
&lt;br /&gt;
This function supports a preview mode.  When the article is rendered in preview mode, this function may return a modified&lt;br /&gt;
archive URL:&lt;br /&gt;
	for save command errors, return undated wildcard (/*/)&lt;br /&gt;
	for timestamp errors when the timestamp has a wildcard, return the URL unmodified&lt;br /&gt;
	for timestamp errors when the timestamp does not have a wildcard, return with timestamp limited to six digits plus wildcard (/yyyymm*/)&lt;br /&gt;
&lt;br /&gt;
A secondary function is to return an archive-url timestamp from those urls that have them (archive.org and&lt;br /&gt;
archive.today).  The timestamp is used by validation.archive_date_check() to see if the value in |archive-date=&lt;br /&gt;
matches the timestamp in the archive url.&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function archive_url_check (url, date)&lt;br /&gt;
	local err_msg = &#039;&#039;;															-- start with the error message empty&lt;br /&gt;
	local path, timestamp, flag;												-- portions of the archive.org URL&lt;br /&gt;
	&lt;br /&gt;
	timestamp = url:match (&#039;//archive.today/(%d%d%d%d%d%d%d%d%d%d%d%d%d%d)/&#039;) or	-- get timestamp from archive.today urls&lt;br /&gt;
		url:match (&#039;//archive.today/(%d%d%d%d%.%d%d%.%d%d%-%d%d%d%d%d%d)/&#039;);		-- this timestamp needs cleanup&lt;br /&gt;
	if timestamp then															-- if this was an archive.today url ...&lt;br /&gt;
		return url, date, timestamp:gsub (&#039;[%.%-]&#039;, &#039;&#039;);						-- return ArchiveURL, ArchiveDate, and timestamp (dots and dashes removed) from |archive-url=, and done&lt;br /&gt;
	end&lt;br /&gt;
																				-- here for archive.org urls&lt;br /&gt;
	if (not url:match(&#039;//web%.archive%.org/&#039;)) and (not url:match(&#039;//liveweb%.archive%.org/&#039;)) then		-- also deprecated liveweb Wayback machine URL&lt;br /&gt;
		return url, date;														-- not an archive.org archive, return ArchiveURL and ArchiveDate&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if url:match(&#039;//web%.archive%.org/save/&#039;) then								-- if a save command URL, we don&#039;t want to allow saving of the target page &lt;br /&gt;
		err_msg = cfg.err_msg_supl.save;&lt;br /&gt;
		url = url:gsub (&#039;(//web%.archive%.org)/save/&#039;, &#039;%1/*/&#039;, 1);				-- for preview mode: modify ArchiveURL&lt;br /&gt;
	elseif url:match(&#039;//liveweb%.archive%.org/&#039;) then&lt;br /&gt;
		err_msg = cfg.err_msg_supl.liveweb;&lt;br /&gt;
	else&lt;br /&gt;
		path, timestamp, flag = url:match(&#039;//web%.archive%.org/([^%d]*)(%d+)([^/]*)/&#039;);	-- split out some of the URL parts for evaluation&lt;br /&gt;
		if not path then														-- malformed in some way; pattern did not match&lt;br /&gt;
			err_msg = cfg.err_msg_supl.timestamp;&lt;br /&gt;
		elseif 14 ~= timestamp:len() then										-- path and flag optional, must have 14-digit timestamp here&lt;br /&gt;
			err_msg = cfg.err_msg_supl.timestamp;&lt;br /&gt;
			if &#039;*&#039; ~= flag then&lt;br /&gt;
				local replacement = timestamp:match (&#039;^%d%d%d%d%d%d&#039;) or timestamp:match (&#039;^%d%d%d%d&#039;);	-- get the first 6 (YYYYMM) or first 4 digits (YYYY)&lt;br /&gt;
				if replacement then												-- nil if there aren&#039;t at least 4 digits (year)&lt;br /&gt;
					replacement = replacement .. string.rep (&#039;0&#039;, 14 - replacement:len());	-- year or yearmo (4 or 6 digits) zero-fill to make 14-digit timestamp&lt;br /&gt;
					url=url:gsub (&#039;(//web%.archive%.org/[^%d]*)%d[^/]*&#039;, &#039;%1&#039; .. replacement .. &#039;*&#039;, 1)	-- for preview, modify ts to 14 digits plus splat for calendar display&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		elseif utilities.is_set (path) and &#039;web/&#039; ~= path then					-- older archive URLs do not have the extra &#039;web/&#039; path element&lt;br /&gt;
			err_msg = cfg.err_msg_supl.path;&lt;br /&gt;
		elseif utilities.is_set (flag) and not utilities.is_set (path) then		-- flag not allowed with the old form URL (without the &#039;web/&#039; path element)&lt;br /&gt;
			err_msg = cfg.err_msg_supl.flag;&lt;br /&gt;
		elseif utilities.is_set (flag) and not flag:match (&#039;%a%a_&#039;) then		-- flag if present must be two alpha characters and underscore (requires &#039;web/&#039; path element)&lt;br /&gt;
			err_msg = cfg.err_msg_supl.flag;&lt;br /&gt;
		else&lt;br /&gt;
			return url, date, timestamp;										-- return ArchiveURL, ArchiveDate, and timestamp from |archive-url=&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
																				-- if here, something not right so&lt;br /&gt;
	utilities.set_message (&#039;err_archive_url&#039;, {err_msg});						-- add error message and&lt;br /&gt;
&lt;br /&gt;
	if is_preview_mode then&lt;br /&gt;
		return url, date, timestamp;											-- preview mode so return ArchiveURL, ArchiveDate, and timestamp from |archive-url=&lt;br /&gt;
	else&lt;br /&gt;
		return &#039;&#039;, &#039;&#039;;															-- return empty strings for ArchiveURL and ArchiveDate&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; P L A C E _ C H E C K &amp;gt;--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
check |place=, |publication-place=, |location= to see if these params include digits.  This function added because&lt;br /&gt;
many editors misuse location to specify the in-source location (|page(s)= and |at= are supposed to do that)&lt;br /&gt;
&lt;br /&gt;
returns the original parameter value without modification; added maint cat when parameter value contains digits&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function place_check (param_val)&lt;br /&gt;
	if not utilities.is_set (param_val) then									-- parameter empty or omitted&lt;br /&gt;
		return param_val;														-- return that empty state&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if mw.ustring.find (param_val, &#039;%d&#039;) then									-- not empty, are there digits in the parameter value&lt;br /&gt;
		utilities.set_message (&#039;maint_location&#039;);								-- yep, add maint cat&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return param_val;															-- and done&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; I S _ A R C H I V E D _ C O P Y &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
compares |title= to &#039;Archived copy&#039; (placeholder added by bots that can&#039;t find proper title); if matches, return true; nil else&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function is_archived_copy (title)&lt;br /&gt;
	title = mw.ustring.lower(title);											-- switch title to lower case&lt;br /&gt;
	if title:find (cfg.special_case_translation.archived_copy.en) then			-- if title is &#039;Archived copy&#039;&lt;br /&gt;
		return true;&lt;br /&gt;
	elseif cfg.special_case_translation.archived_copy[&#039;local&#039;] then&lt;br /&gt;
		if mw.ustring.find (title, cfg.special_case_translation.archived_copy[&#039;local&#039;]) then	-- mw.ustring() because might not be Latin script&lt;br /&gt;
			return true;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; D I S P L A Y _ N A M E S _ S E L E C T &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
for any of the |display-authors=, |display-editors=, etc parameters, select either the local or global setting.&lt;br /&gt;
When both are present, look at &amp;lt;local_display_names&amp;gt; value.  When the value is some sort of &#039;et al.&#039;string,&lt;br /&gt;
special handling is required.&lt;br /&gt;
&lt;br /&gt;
When {{cs1 config}} has |display-&amp;lt;namelist&amp;gt;= AND this template has |display-&amp;lt;namelist&amp;gt;=etal AND:&lt;br /&gt;
	the number of names specified by &amp;lt;number_of_names&amp;gt; is:&lt;br /&gt;
		greater than the number specified in the global |display-&amp;lt;namelist&amp;gt;= parameter (&amp;lt;global_display_names&amp;gt;)&lt;br /&gt;
			use global |display-&amp;lt;namelist&amp;gt;= parameter value&lt;br /&gt;
			set overridden maint category&lt;br /&gt;
		less than or equal to the number specified in the global |display-&amp;lt;namelist&amp;gt;=  parameter&lt;br /&gt;
			use local |display-&amp;lt;namelist&amp;gt;= parameter value&lt;br /&gt;
&lt;br /&gt;
The purpose of this function is to prevent categorizing a template that has fewer names than the global setting&lt;br /&gt;
to keep the etal annotation specified by &amp;lt;local_display_names&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function display_names_select (global_display_names, local_display_names, param_name, number_of_names, test)&lt;br /&gt;
	if global_display_names and utilities.is_set (local_display_names) then		-- when both&lt;br /&gt;
		if &#039;etal&#039; == local_display_names:lower():gsub(&amp;quot;[ &#039;%.]&amp;quot;, &#039;&#039;) then		-- the :gsub() portion makes &#039;etal&#039; from a variety of &#039;et al.&#039; spellings and stylings&lt;br /&gt;
			number_of_names = tonumber (number_of_names);						-- convert these to numbers for comparison&lt;br /&gt;
			local global_display_names_num = tonumber (global_display_names);	-- &amp;lt;global_display_names&amp;gt; not set when parameter value is not digits&lt;br /&gt;
&lt;br /&gt;
			if number_of_names &amp;gt; global_display_names_num then					-- template has more names than global config allows to be displayed?&lt;br /&gt;
				utilities.set_message (&#039;maint_overridden_setting&#039;);				-- set a maint message because global is overriding local |display-&amp;lt;namelist&amp;gt;=etal&lt;br /&gt;
				return global_display_names, &#039;cs1 config&#039;;						-- return global with spoof parameter name (for get_display_names())&lt;br /&gt;
			else&lt;br /&gt;
				return local_display_names, param_name;							-- return local because fewer names so let &amp;lt;local_display_names&amp;gt; control&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
																				-- here when &amp;lt;global_display_names&amp;gt; and &amp;lt;local_display_names&amp;gt; both numbers; &amp;lt;global_display_names&amp;gt; controls&lt;br /&gt;
		utilities.set_message (&#039;maint_overridden_setting&#039;);						-- set a maint message&lt;br /&gt;
		return global_display_names, &#039;cs1 config&#039;;								-- return global with spoof parameter name (for get_display_names())&lt;br /&gt;
	end&lt;br /&gt;
																				-- here when only one of &amp;lt;global_display_names&amp;gt; or &amp;lt;local_display_names&amp;gt; set&lt;br /&gt;
	if global_display_names then&lt;br /&gt;
		return global_display_names, &#039;cs1 config&#039;;								-- return global with spoof parameter name (for get_display_names())&lt;br /&gt;
	else&lt;br /&gt;
		return local_display_names, param_name;									-- return local&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; M O D E _ S E T &amp;gt;--------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
fetch global mode setting from {{cs1 config}} (if present) or from |mode= (if present); global setting overrides&lt;br /&gt;
local |mode= parameter value.  When both are present, emit maintenance message&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function mode_set (Mode, Mode_origin)&lt;br /&gt;
	local mode;&lt;br /&gt;
	if cfg.global_cs1_config_t[&#039;Mode&#039;] then										-- global setting in {{cs1 config}}; nil when empty or assigned value invalid&lt;br /&gt;
		mode = is_valid_parameter_value (cfg.global_cs1_config_t[&#039;Mode&#039;], &#039;cs1 config: mode&#039;, cfg.keywords_lists[&#039;mode&#039;], &#039;&#039;);	-- error messaging &#039;param&#039; here is a hoax&lt;br /&gt;
	else&lt;br /&gt;
		mode = is_valid_parameter_value (Mode, Mode_origin, cfg.keywords_lists[&#039;mode&#039;], &#039;&#039;);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if cfg.global_cs1_config_t[&#039;Mode&#039;] and utilities.is_set (Mode) then			-- when template has |mode=&amp;lt;something&amp;gt; which global setting has overridden&lt;br /&gt;
		utilities.set_message (&#039;maint_overridden_setting&#039;);						-- set a maint message&lt;br /&gt;
	end&lt;br /&gt;
	return mode;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; Q U O T E _ M A K E &amp;gt;----------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
create quotation from |quote=, |trans-quote=, and/or script-quote= with or without |quote-page= or |quote-pages=&lt;br /&gt;
&lt;br /&gt;
when any of those three quote parameters are set, this function unsets &amp;lt;PostScript&amp;gt;.  When none of those parameters&lt;br /&gt;
are set, |quote-page= and |quote-pages= are unset to nil so that they are not included in the template&#039;s metadata&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function quote_make (quote, trans_quote, script_quote, quote_page, quote_pages, nopp, sepc, postscript)&lt;br /&gt;
	if utilities.is_set (quote) or utilities.is_set (trans_quote) or utilities.is_set (script_quote) then&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (quote) then&lt;br /&gt;
			if quote:sub(1, 1) == &#039;&amp;quot;&#039; and quote:sub(-1, -1) == &#039;&amp;quot;&#039; then			-- if first and last characters of quote are quote marks&lt;br /&gt;
				quote = quote:sub(2, -2);										-- strip them off&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		quote = kern_quotes (quote);											-- kern if needed&lt;br /&gt;
		quote = utilities.wrap_style (&#039;quoted-text&#039;, quote );					-- wrap in &amp;lt;q&amp;gt;...&amp;lt;/q&amp;gt; tags&lt;br /&gt;
	&lt;br /&gt;
		if utilities.is_set (script_quote) then&lt;br /&gt;
			quote = script_concatenate (quote, script_quote, &#039;script-quote&#039;);	-- &amp;lt;bdi&amp;gt; tags, lang attribute, categorization, etc.; must be done after quote is wrapped&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (trans_quote) then&lt;br /&gt;
			if trans_quote:sub(1, 1) == &#039;&amp;quot;&#039; and trans_quote:sub(-1, -1) == &#039;&amp;quot;&#039; then -- if first and last characters of |trans-quote are quote marks&lt;br /&gt;
				trans_quote = trans_quote:sub(2, -2); -- strip them off&lt;br /&gt;
			end&lt;br /&gt;
			quote = quote .. &amp;quot; &amp;quot; .. utilities.wrap_style (&#039;trans-quoted-title&#039;, trans_quote );&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (quote_page) or utilities.is_set (quote_pages) then	-- add page prefix&lt;br /&gt;
			local quote_prefix = &#039;&#039;;&lt;br /&gt;
			if utilities.is_set (quote_page) then&lt;br /&gt;
				extra_text_in_page_check (quote_page, &#039;quote-page&#039;);			-- add to maint cat if |quote-page= value begins with what looks like p., pp., etc.&lt;br /&gt;
				if not nopp then&lt;br /&gt;
					quote_prefix = utilities.substitute (cfg.messages[&#039;p-prefix&#039;], {sepc, quote_page}), &#039;&#039;, &#039;&#039;, &#039;&#039;;&lt;br /&gt;
				else&lt;br /&gt;
					quote_prefix = utilities.substitute (cfg.messages[&#039;nopp&#039;], {sepc, quote_page}), &#039;&#039;, &#039;&#039;, &#039;&#039;;&lt;br /&gt;
				end&lt;br /&gt;
			elseif utilities.is_set (quote_pages) then&lt;br /&gt;
				extra_text_in_page_check (quote_pages, &#039;quote-pages&#039;);			-- add to maint cat if |quote-pages= value begins with what looks like p., pp., etc.&lt;br /&gt;
				if tonumber(quote_pages) ~= nil and not nopp then				-- if only digits, assume single page&lt;br /&gt;
					quote_prefix = utilities.substitute (cfg.messages[&#039;p-prefix&#039;], {sepc, quote_pages}), &#039;&#039;, &#039;&#039;;&lt;br /&gt;
				elseif not nopp then&lt;br /&gt;
					quote_prefix = utilities.substitute (cfg.messages[&#039;pp-prefix&#039;], {sepc, quote_pages}), &#039;&#039;, &#039;&#039;;&lt;br /&gt;
				else&lt;br /&gt;
					quote_prefix = utilities.substitute (cfg.messages[&#039;nopp&#039;], {sepc, quote_pages}), &#039;&#039;, &#039;&#039;;&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
                        &lt;br /&gt;
			quote = quote_prefix .. &amp;quot;: &amp;quot; .. quote;&lt;br /&gt;
		else&lt;br /&gt;
			quote = sepc .. &amp;quot; &amp;quot; .. quote;&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		postscript = &amp;quot;&amp;quot;;														-- cs1|2 does not supply terminal punctuation when |quote= is set&lt;br /&gt;
	&lt;br /&gt;
	elseif utilities.is_set (quote_page) or utilities.is_set (quote_pages) then&lt;br /&gt;
		quote_page = nil;														-- unset; these require |quote=; TODO: error message?&lt;br /&gt;
		quote_pages = nil;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return quote, quote_page, quote_pages, postscript;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C H E C K _ P U B L I S H E R _ N A M E &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
look for variations of &#039;&amp;lt;text&amp;gt;: &amp;lt;text&amp;gt;&#039; that might be &#039;&amp;lt;location&amp;gt;: &amp;lt;publisher&amp;gt;&#039; in |publisher= parameter value.&lt;br /&gt;
when found, emit a maintenance message; return nil else&lt;br /&gt;
&lt;br /&gt;
&amp;lt;publisher&amp;gt; is the value assigned to |publisher= or |institution=&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function check_publisher_name (publisher)&lt;br /&gt;
	local patterns_t = {&lt;br /&gt;
		&#039;^[%w%s]+%s*:%s*[%w%s]+$&#039;,												-- plain text &amp;lt;location&amp;gt;: &amp;lt;publisher&amp;gt;&lt;br /&gt;
		&#039;^%[+[%w%s:|]+%]+%s*:%s*[%w%s]+$&#039;,										-- partially wikilinked [[&amp;lt;location&amp;gt;]]: &amp;lt;publisher&amp;gt;&lt;br /&gt;
		&#039;^[%w%s]+%s*:%s*%[+[%w%s:|]+%]+$&#039;,										-- partially wikilinked &amp;lt;location&amp;gt;: [[&amp;lt;publisher&amp;gt;]]&lt;br /&gt;
		&#039;^%[+[%w%s:|]+%]+%s*:%s*%[+[%w%s:|]+%]+$&#039;,								-- wikilinked [[&amp;lt;location&amp;gt;]]: [[&amp;lt;publisher&amp;gt;]]&lt;br /&gt;
		}&lt;br /&gt;
	&lt;br /&gt;
	for _, pattern in ipairs (patterns_t) do									-- spin through the patterns_t sequence&lt;br /&gt;
		if mw.ustring.match (publisher, pattern) then							-- does this pattern match?&lt;br /&gt;
			utilities.set_message (&#039;maint_publisher_location&#039;);					-- set a maint message&lt;br /&gt;
			return;																-- and done&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C I T A T I O N 0 &amp;gt;------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
This is the main function doing the majority of the citation formatting.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function citation0( config, args )&lt;br /&gt;
	--[[ &lt;br /&gt;
	Load Input Parameters&lt;br /&gt;
	The argument_wrapper facilitates the mapping of multiple aliases to single internal variable.&lt;br /&gt;
	]]&lt;br /&gt;
	local A = argument_wrapper ( args );&lt;br /&gt;
	local i &lt;br /&gt;
&lt;br /&gt;
	-- Pick out the relevant fields from the arguments.  Different citation templates&lt;br /&gt;
	-- define different field names for the same underlying things.	&lt;br /&gt;
&lt;br /&gt;
	local author_etal;&lt;br /&gt;
	local a	= {};																-- authors list from |lastn= / |firstn= pairs or |vauthors=&lt;br /&gt;
	local Authors;&lt;br /&gt;
	local NameListStyle;&lt;br /&gt;
		if cfg.global_cs1_config_t[&#039;NameListStyle&#039;] then						-- global setting in {{cs1 config}} overrides local |name-list-style= parameter value; nil when empty or assigned value invalid&lt;br /&gt;
			NameListStyle = is_valid_parameter_value (cfg.global_cs1_config_t[&#039;NameListStyle&#039;], &#039;cs1 config: name-list-style&#039;, cfg.keywords_lists[&#039;name-list-style&#039;], &#039;&#039;);	-- error messaging &#039;param&#039; here is a hoax&lt;br /&gt;
		else&lt;br /&gt;
			NameListStyle = is_valid_parameter_value (A[&#039;NameListStyle&#039;], A:ORIGIN(&#039;NameListStyle&#039;), cfg.keywords_lists[&#039;name-list-style&#039;], &#039;&#039;);&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if cfg.global_cs1_config_t[&#039;NameListStyle&#039;] and utilities.is_set (A[&#039;NameListStyle&#039;]) then	-- when template has |name-list-style=&amp;lt;something&amp;gt; which global setting has overridden&lt;br /&gt;
			utilities.set_message (&#039;maint_overridden_setting&#039;);					-- set a maint message&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	local Collaboration = A[&#039;Collaboration&#039;];&lt;br /&gt;
&lt;br /&gt;
	do																			-- to limit scope of selected&lt;br /&gt;
		local selected = select_author_editor_source (A[&#039;Vauthors&#039;], A[&#039;Authors&#039;], args, &#039;AuthorList&#039;);&lt;br /&gt;
		if 1 == selected then&lt;br /&gt;
			a, author_etal = extract_names (args, &#039;AuthorList&#039;);				-- fetch author list from |authorn= / |lastn= / |firstn=, |author-linkn=, and |author-maskn=&lt;br /&gt;
		elseif 2 == selected then&lt;br /&gt;
			NameListStyle = &#039;vanc&#039;;												-- override whatever |name-list-style= might be&lt;br /&gt;
			a, author_etal = parse_vauthors_veditors (args, A[&#039;Vauthors&#039;], &#039;AuthorList&#039;);	-- fetch author list from |vauthors=, |author-linkn=, and |author-maskn=&lt;br /&gt;
		elseif 3 == selected then&lt;br /&gt;
			Authors = A[&#039;Authors&#039;];												-- use content of |people= or |credits=; |authors= is deprecated; TODO: constrain |people= and |credits= to cite av media, episode, serial?&lt;br /&gt;
		end&lt;br /&gt;
		if utilities.is_set (Collaboration) then&lt;br /&gt;
			author_etal = true;													-- so that |display-authors=etal not required&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local editor_etal;&lt;br /&gt;
	local e	= {};																-- editors list from |editor-lastn= / |editor-firstn= pairs or |veditors=&lt;br /&gt;
&lt;br /&gt;
	do																			-- to limit scope of selected&lt;br /&gt;
		local selected = select_author_editor_source (A[&#039;Veditors&#039;], nil, args, &#039;EditorList&#039;);	-- support for |editors= withdrawn&lt;br /&gt;
		if 1 == selected then&lt;br /&gt;
			e, editor_etal = extract_names (args, &#039;EditorList&#039;);				-- fetch editor list from |editorn= / |editor-lastn= / |editor-firstn=, |editor-linkn=, and |editor-maskn=&lt;br /&gt;
		elseif 2 == selected then&lt;br /&gt;
			NameListStyle = &#039;vanc&#039;;												-- override whatever |name-list-style= might be&lt;br /&gt;
			e, editor_etal = parse_vauthors_veditors (args, args.veditors, &#039;EditorList&#039;);	-- fetch editor list from |veditors=, |editor-linkn=, and |editor-maskn=&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
							&lt;br /&gt;
	local Chapter = A[&#039;Chapter&#039;];												-- done here so that we have access to |contribution= from |chapter= aliases&lt;br /&gt;
	local Chapter_origin = A:ORIGIN (&#039;Chapter&#039;);&lt;br /&gt;
	local Contribution;															-- because contribution is required for contributor(s)&lt;br /&gt;
		if &#039;contribution&#039; == Chapter_origin then&lt;br /&gt;
			Contribution = Chapter;												-- get the name of the contribution&lt;br /&gt;
		end&lt;br /&gt;
	local c = {};																-- contributors list from |contributor-lastn= / contributor-firstn= pairs&lt;br /&gt;
	&lt;br /&gt;
	if utilities.in_array (config.CitationClass, {&amp;quot;book&amp;quot;, &amp;quot;citation&amp;quot;}) and not utilities.is_set (A[&#039;Periodical&#039;]) then	-- |contributor= and |contribution= only supported in book cites&lt;br /&gt;
		c = extract_names (args, &#039;ContributorList&#039;);							-- fetch contributor list from |contributorn= / |contributor-lastn=, -firstn=, -linkn=, -maskn=&lt;br /&gt;
		&lt;br /&gt;
		if 0 &amp;lt; #c then&lt;br /&gt;
			if not utilities.is_set (Contribution) then							-- |contributor= requires |contribution=&lt;br /&gt;
				utilities.set_message (&#039;err_contributor_missing_required_param&#039;, &#039;contribution&#039;);	-- add missing contribution error message&lt;br /&gt;
				c = {};															-- blank the contributors&#039; table; it is used as a flag later&lt;br /&gt;
			end&lt;br /&gt;
			if 0 == #a then														-- |contributor= requires |author=&lt;br /&gt;
				utilities.set_message (&#039;err_contributor_missing_required_param&#039;, &#039;author&#039;);	-- add missing author error message&lt;br /&gt;
				c = {};															-- blank the contributors&#039; table; it is used as a flag later&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	else																		-- if not a book cite&lt;br /&gt;
		if utilities.select_one (args, cfg.aliases[&#039;ContributorList-Last&#039;], &#039;err_redundant_parameters&#039;, 1 ) then	-- are there contributor name list parameters?&lt;br /&gt;
			utilities.set_message (&#039;err_contributor_ignored&#039;);					-- add contributor ignored error message&lt;br /&gt;
		end&lt;br /&gt;
		Contribution = nil;														-- unset&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local Title = A[&#039;Title&#039;];&lt;br /&gt;
	local TitleLink = A[&#039;TitleLink&#039;];&lt;br /&gt;
&lt;br /&gt;
	local auto_select = &#039;&#039;;														-- default is auto&lt;br /&gt;
	local accept_link;&lt;br /&gt;
	TitleLink, accept_link = utilities.has_accept_as_written (TitleLink, true);	-- test for accept-this-as-written markup&lt;br /&gt;
	if (not accept_link) and utilities.in_array (TitleLink, {&#039;none&#039;, &#039;pmc&#039;, &#039;doi&#039;}) then -- check for special keywords&lt;br /&gt;
		auto_select = TitleLink;												-- remember selection for later&lt;br /&gt;
		TitleLink = &#039;&#039;;															-- treat as if |title-link= would have been empty&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	TitleLink = link_title_ok (TitleLink, A:ORIGIN (&#039;TitleLink&#039;), Title, &#039;title&#039;);	-- check for wiki-markup in |title-link= or wiki-markup in |title= when |title-link= is set&lt;br /&gt;
&lt;br /&gt;
	local Section = &#039;&#039;;															-- {{cite map}} only; preset to empty string for concatenation if not used&lt;br /&gt;
	if &#039;map&#039; == config.CitationClass and &#039;section&#039; == Chapter_origin then&lt;br /&gt;
		Section = A[&#039;Chapter&#039;];													-- get |section= from |chapter= alias list; |chapter= and the other aliases not supported in {{cite map}}&lt;br /&gt;
		Chapter = &#039;&#039;;															-- unset for now; will be reset later from |map= if present&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local Periodical = A[&#039;Periodical&#039;];&lt;br /&gt;
	local Periodical_origin = A:ORIGIN(&#039;Periodical&#039;);&lt;br /&gt;
	local ScriptPeriodical = A[&#039;ScriptPeriodical&#039;];&lt;br /&gt;
	local ScriptPeriodical_origin = A:ORIGIN(&#039;ScriptPeriodical&#039;);&lt;br /&gt;
	local TransPeriodical =  A[&#039;TransPeriodical&#039;];&lt;br /&gt;
	local TransPeriodical_origin =  A:ORIGIN (&#039;TransPeriodical&#039;);&lt;br /&gt;
	&lt;br /&gt;
	if (utilities.in_array (config.CitationClass, {&#039;book&#039;, &#039;encyclopaedia&#039;}) and (utilities.is_set (Periodical) or utilities.is_set (ScriptPeriodical) or utilities.is_set (TransPeriodical))) then&lt;br /&gt;
		local param;&lt;br /&gt;
		if utilities.is_set (Periodical) then									-- get a parameter name from one of these periodical related meta-parameters&lt;br /&gt;
			Periodical = &#039;&#039;;													-- unset because not valid {{cite book}} or {{cite encyclopedia}} parameters &lt;br /&gt;
			param = Periodical_origin											-- get parameter name for error messaging&lt;br /&gt;
		elseif utilities.is_set (TransPeriodical) then&lt;br /&gt;
			TransPeriodical = &#039;&#039;;												-- unset because not valid {{cite book}} or {{cite encyclopedia}} parameters &lt;br /&gt;
			param = TransPeriodical_origin;										-- get parameter name for error messaging&lt;br /&gt;
		elseif utilities.is_set (ScriptPeriodical) then&lt;br /&gt;
			ScriptPeriodical = &#039;&#039;;												-- unset because not valid {{cite book}} or {{cite encyclopedia}} parameters &lt;br /&gt;
			param = ScriptPeriodical_origin;									-- get parameter name for error messaging&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (param) then										-- if we found one&lt;br /&gt;
			utilities.set_message (&#039;err_periodical_ignored&#039;, {param});			-- emit an error message&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (Periodical) then&lt;br /&gt;
		local i;&lt;br /&gt;
		Periodical, i = utilities.strip_apostrophe_markup (Periodical);			-- strip apostrophe markup so that metadata isn&#039;t contaminated &lt;br /&gt;
		if i then																-- non-zero when markup was stripped so emit an error message&lt;br /&gt;
			utilities.set_message (&#039;err_apostrophe_markup&#039;, {Periodical_origin});&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if &#039;mailinglist&#039; == config.CitationClass then								-- special case for {{cite mailing list}}&lt;br /&gt;
		if utilities.is_set (Periodical) and utilities.is_set (A [&#039;MailingList&#039;]) then	-- both set emit an error TODO: make a function for this and similar?&lt;br /&gt;
			utilities.set_message (&#039;err_redundant_parameters&#039;, {utilities.wrap_style (&#039;parameter&#039;, Periodical_origin) .. cfg.presentation[&#039;sep_list_pair&#039;] .. utilities.wrap_style (&#039;parameter&#039;, &#039;mailinglist&#039;)});&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		Periodical = A [&#039;MailingList&#039;];											-- error or no, set Periodical to |mailinglist= value because this template is {{cite mailing list}}&lt;br /&gt;
		Periodical_origin = A:ORIGIN(&#039;MailingList&#039;);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- web and news not tested for now because of &lt;br /&gt;
	-- Wikipedia:Administrators%27_noticeboard#Is_there_a_semi-automated_tool_that_could_fix_these_annoying_&amp;quot;Cite_Web&amp;quot;_errors?&lt;br /&gt;
	if not (utilities.is_set (Periodical) or utilities.is_set (ScriptPeriodical)) then	-- &#039;periodical&#039; templates require periodical parameter&lt;br /&gt;
	--	local p = {[&#039;journal&#039;] = &#039;journal&#039;, [&#039;magazine&#039;] = &#039;magazine&#039;, [&#039;news&#039;] = &#039;newspaper&#039;, [&#039;web&#039;] = &#039;website&#039;};	-- for error message&lt;br /&gt;
		local p = {[&#039;journal&#039;] = &#039;journal&#039;, [&#039;magazine&#039;] = &#039;magazine&#039;};			-- for error message&lt;br /&gt;
		if p[config.CitationClass]  then&lt;br /&gt;
			utilities.set_message (&#039;err_missing_periodical&#039;, {config.CitationClass, p[config.CitationClass]});&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local Volume;&lt;br /&gt;
	if &#039;citation&#039; == config.CitationClass then&lt;br /&gt;
		if utilities.is_set (Periodical) then&lt;br /&gt;
			if not utilities.in_array (Periodical_origin, cfg.citation_no_volume_t) then	-- {{citation}} does not render |volume= when these parameters are used&lt;br /&gt;
				Volume = A[&#039;Volume&#039;];											-- but does for all other &#039;periodicals&#039;&lt;br /&gt;
			end&lt;br /&gt;
		elseif utilities.is_set (ScriptPeriodical) then&lt;br /&gt;
			if &#039;script-website&#039; ~= ScriptPeriodical_origin then					-- {{citation}} does not render volume for |script-website=&lt;br /&gt;
				Volume = A[&#039;Volume&#039;];											-- but does for all other &#039;periodicals&#039;&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			Volume = A[&#039;Volume&#039;];												-- and does for non-&#039;periodical&#039; cites&lt;br /&gt;
		end&lt;br /&gt;
	elseif utilities.in_array (config.CitationClass, cfg.templates_using_volume) then	-- render |volume= for cs1 according to the configuration settings&lt;br /&gt;
		Volume = A[&#039;Volume&#039;];&lt;br /&gt;
	end	&lt;br /&gt;
	extra_text_in_vol_iss_check (Volume, A:ORIGIN (&#039;Volume&#039;), &#039;v&#039;);	&lt;br /&gt;
&lt;br /&gt;
	local Issue;&lt;br /&gt;
	if &#039;citation&#039; == config.CitationClass then&lt;br /&gt;
		if utilities.is_set (Periodical) and utilities.in_array (Periodical_origin, cfg.citation_issue_t) then	-- {{citation}} may render |issue= when these parameters are used&lt;br /&gt;
			Issue = utilities.hyphen_to_dash (A[&#039;Issue&#039;]);&lt;br /&gt;
		end&lt;br /&gt;
	elseif utilities.in_array (config.CitationClass, cfg.templates_using_issue) then	-- conference &amp;amp; map books do not support issue; {{citation}} listed here because included in settings table&lt;br /&gt;
		if not (utilities.in_array (config.CitationClass, {&#039;conference&#039;, &#039;map&#039;, &#039;citation&#039;}) and not (utilities.is_set (Periodical) or utilities.is_set (ScriptPeriodical))) then&lt;br /&gt;
			Issue = utilities.hyphen_to_dash (A[&#039;Issue&#039;]);&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local ArticleNumber;&lt;br /&gt;
&lt;br /&gt;
	if utilities.in_array (config.CitationClass, {&#039;journal&#039;, &#039;conference&#039;}) or (&#039;citation&#039; == config.CitationClass and utilities.is_set (Periodical) and &#039;journal&#039; == Periodical_origin) then&lt;br /&gt;
		ArticleNumber = A[&#039;ArticleNumber&#039;];&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	extra_text_in_vol_iss_check (Issue, A:ORIGIN (&#039;Issue&#039;), &#039;i&#039;);	&lt;br /&gt;
&lt;br /&gt;
	local Page;&lt;br /&gt;
	local Pages;&lt;br /&gt;
	local At;&lt;br /&gt;
	local QuotePage;&lt;br /&gt;
	local QuotePages;&lt;br /&gt;
	if not utilities.in_array (config.CitationClass, cfg.templates_not_using_page) then		-- TODO: rewrite to emit ignored parameter error message?&lt;br /&gt;
		Page = A[&#039;Page&#039;];&lt;br /&gt;
		Pages = utilities.hyphen_to_dash (A[&#039;Pages&#039;]);	&lt;br /&gt;
		At = A[&#039;At&#039;];&lt;br /&gt;
		QuotePage = A[&#039;QuotePage&#039;];&lt;br /&gt;
		QuotePages = utilities.hyphen_to_dash (A[&#039;QuotePages&#039;]);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local NoPP = is_valid_parameter_value (A[&#039;NoPP&#039;], A:ORIGIN(&#039;NoPP&#039;), cfg.keywords_lists[&#039;yes_true_y&#039;], nil);&lt;br /&gt;
&lt;br /&gt;
	local Mode = mode_set (A[&#039;Mode&#039;], A:ORIGIN(&#039;Mode&#039;));&lt;br /&gt;
&lt;br /&gt;
	-- separator character and postscript&lt;br /&gt;
	local sepc, PostScript = set_style (Mode:lower(), A[&#039;PostScript&#039;], config.CitationClass);&lt;br /&gt;
	local Quote;&lt;br /&gt;
	Quote, QuotePage, QuotePages, PostScript = quote_make (A[&#039;Quote&#039;], A[&#039;TransQuote&#039;], A[&#039;ScriptQuote&#039;], QuotePage, QuotePages, NoPP, sepc, PostScript);&lt;br /&gt;
&lt;br /&gt;
	local Edition = A[&#039;Edition&#039;];&lt;br /&gt;
	local PublicationPlace = place_check (A[&#039;PublicationPlace&#039;], A:ORIGIN(&#039;PublicationPlace&#039;));&lt;br /&gt;
	local Place = place_check (A[&#039;Place&#039;], A:ORIGIN(&#039;Place&#039;));&lt;br /&gt;
	&lt;br /&gt;
	local PublisherName = A[&#039;PublisherName&#039;];&lt;br /&gt;
	local PublisherName_origin = A:ORIGIN(&#039;PublisherName&#039;);&lt;br /&gt;
	if utilities.is_set (PublisherName) and (cfg.keywords_xlate[&#039;none&#039;] ~= PublisherName) then&lt;br /&gt;
		local i = 0;&lt;br /&gt;
		PublisherName, i = utilities.strip_apostrophe_markup (PublisherName);	-- strip apostrophe markup so that metadata isn&#039;t contaminated; publisher is never italicized&lt;br /&gt;
		if i and (0 &amp;lt; i) then													-- non-zero when markup was stripped so emit an error message&lt;br /&gt;
			utilities.set_message (&#039;err_apostrophe_markup&#039;, {PublisherName_origin});&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if (&#039;document&#039; == config.CitationClass) and not utilities.is_set (PublisherName) then&lt;br /&gt;
		utilities.set_message (&#039;err_missing_publisher&#039;, {config.CitationClass, &#039;publisher&#039;});&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local Newsgroup = A[&#039;Newsgroup&#039;];											-- TODO: strip apostrophe markup?&lt;br /&gt;
	local Newsgroup_origin = A:ORIGIN(&#039;Newsgroup&#039;);	&lt;br /&gt;
&lt;br /&gt;
	if &#039;newsgroup&#039; == config.CitationClass then&lt;br /&gt;
		if utilities.is_set (PublisherName) and (cfg.keywords_xlate[&#039;none&#039;] ~= PublisherName) then	-- general use parameter |publisher= not allowed in cite newsgroup&lt;br /&gt;
			utilities.set_message (&#039;err_parameter_ignored&#039;, {PublisherName_origin});&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		PublisherName = nil;													-- ensure that this parameter is unset for the time being; will be used again after COinS&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if &#039;book&#039; == config.CitationClass or &#039;encyclopaedia&#039; == config.CitationClass or (&#039;citation&#039; == config.CitationClass and not utilities.is_set (Periodical)) then&lt;br /&gt;
		local accept;&lt;br /&gt;
		PublisherName, accept = utilities.has_accept_as_written (PublisherName);	-- check for and remove accept-as-written markup from |publisher= wrapped&lt;br /&gt;
		if not accept then														-- when no accept-as-written markup&lt;br /&gt;
			check_publisher_name (PublisherName);								-- emit maint message when |publisher= might be prefixed with publisher&#039;s location&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local URL = A[&#039;URL&#039;];														-- TODO: better way to do this for URL, ChapterURL, and MapURL?&lt;br /&gt;
	local UrlAccess = is_valid_parameter_value (A[&#039;UrlAccess&#039;], A:ORIGIN(&#039;UrlAccess&#039;), cfg.keywords_lists[&#039;url-access&#039;], nil);&lt;br /&gt;
	&lt;br /&gt;
	if not utilities.is_set (URL) and utilities.is_set (UrlAccess) then&lt;br /&gt;
		UrlAccess = nil;&lt;br /&gt;
		utilities.set_message (&#039;err_param_access_requires_param&#039;, &#039;url&#039;);&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local ChapterURL = A[&#039;ChapterURL&#039;];&lt;br /&gt;
	local ChapterUrlAccess = is_valid_parameter_value (A[&#039;ChapterUrlAccess&#039;], A:ORIGIN(&#039;ChapterUrlAccess&#039;), cfg.keywords_lists[&#039;url-access&#039;], nil);&lt;br /&gt;
	if not utilities.is_set (ChapterURL) and utilities.is_set (ChapterUrlAccess) then&lt;br /&gt;
		ChapterUrlAccess = nil;&lt;br /&gt;
		utilities.set_message (&#039;err_param_access_requires_param&#039;, {A:ORIGIN(&#039;ChapterUrlAccess&#039;):gsub (&#039;%-access&#039;, &#039;&#039;)});&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local MapUrlAccess = is_valid_parameter_value (A[&#039;MapUrlAccess&#039;], A:ORIGIN(&#039;MapUrlAccess&#039;), cfg.keywords_lists[&#039;url-access&#039;], nil);&lt;br /&gt;
	if not utilities.is_set (A[&#039;MapURL&#039;]) and utilities.is_set (MapUrlAccess) then&lt;br /&gt;
		MapUrlAccess = nil;&lt;br /&gt;
		utilities.set_message (&#039;err_param_access_requires_param&#039;, {&#039;map-url&#039;});&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local this_page = mw.title.getCurrentTitle();								-- also used for COinS and for language&lt;br /&gt;
	local no_tracking_cats = is_valid_parameter_value (A[&#039;NoTracking&#039;], A:ORIGIN(&#039;NoTracking&#039;), cfg.keywords_lists[&#039;yes_true_y&#039;], nil);&lt;br /&gt;
&lt;br /&gt;
	-- check this page to see if it is in one of the namespaces that cs1 is not supposed to add to the error categories&lt;br /&gt;
	if not utilities.is_set (no_tracking_cats) then								-- ignore if we are already not going to categorize this page&lt;br /&gt;
		if cfg.uncategorized_namespaces[this_page.namespace] then				-- is this page&#039;s namespace id one of the uncategorized namespace ids?&lt;br /&gt;
			no_tracking_cats = &amp;quot;true&amp;quot;;											-- set no_tracking_cats&lt;br /&gt;
		end&lt;br /&gt;
		for _, v in ipairs (cfg.uncategorized_subpages) do						-- cycle through page name patterns&lt;br /&gt;
			if this_page.text:match (v) then									-- test page name against each pattern&lt;br /&gt;
				no_tracking_cats = &amp;quot;true&amp;quot;;										-- set no_tracking_cats&lt;br /&gt;
				break;															-- bail out if one is found&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
																				-- check for extra |page=, |pages= or |at= parameters. (also sheet and sheets while we&#039;re at it)&lt;br /&gt;
	utilities.select_one (args, {&#039;page&#039;, &#039;p&#039;, &#039;pp&#039;, &#039;pages&#039;, &#039;at&#039;, &#039;sheet&#039;, &#039;sheets&#039;}, &#039;err_redundant_parameters&#039;);	-- this is a dummy call simply to get the error message and category&lt;br /&gt;
&lt;br /&gt;
	local coins_pages;&lt;br /&gt;
	&lt;br /&gt;
	Page, Pages, At, coins_pages = insource_loc_get (Page, A:ORIGIN(&#039;Page&#039;), Pages, A:ORIGIN(&#039;Pages&#039;), At);&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (PublicationPlace) and utilities.is_set (Place) then	-- both |publication-place= and |place= (|location=) allowed if different&lt;br /&gt;
		utilities.add_prop_cat (&#039;location-test&#039;);								-- add property cat to evaluate how often PublicationPlace and Place are used together&lt;br /&gt;
		if PublicationPlace == Place then&lt;br /&gt;
			Place = &#039;&#039;;															-- unset; don&#039;t need both if they are the same&lt;br /&gt;
		end&lt;br /&gt;
	elseif not utilities.is_set (PublicationPlace) and utilities.is_set (Place) then	-- when only |place= (|location=) is set ...&lt;br /&gt;
		PublicationPlace = Place;												-- promote |place= (|location=) to |publication-place&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if PublicationPlace == Place then Place = &#039;&#039;; end							-- don&#039;t need both if they are the same&lt;br /&gt;
&lt;br /&gt;
	local URL_origin = A:ORIGIN(&#039;URL&#039;);											-- get name of parameter that holds URL&lt;br /&gt;
	local ChapterURL_origin = A:ORIGIN(&#039;ChapterURL&#039;);							-- get name of parameter that holds ChapterURL&lt;br /&gt;
	local ScriptChapter = A[&#039;ScriptChapter&#039;];&lt;br /&gt;
	local ScriptChapter_origin = A:ORIGIN (&#039;ScriptChapter&#039;);&lt;br /&gt;
	local Format = A[&#039;Format&#039;];&lt;br /&gt;
	local ChapterFormat = A[&#039;ChapterFormat&#039;];&lt;br /&gt;
	local TransChapter = A[&#039;TransChapter&#039;];&lt;br /&gt;
	local TransChapter_origin = A:ORIGIN (&#039;TransChapter&#039;);&lt;br /&gt;
	local TransTitle = A[&#039;TransTitle&#039;];&lt;br /&gt;
	local ScriptTitle = A[&#039;ScriptTitle&#039;];&lt;br /&gt;
	&lt;br /&gt;
	--[[&lt;br /&gt;
	Parameter remapping for cite encyclopedia:&lt;br /&gt;
	When the citation has these parameters:&lt;br /&gt;
		|encyclopedia= and |title= then map |title= to |article= and |encyclopedia= to |title= for rendering&lt;br /&gt;
		|encyclopedia= and |article= then map |encyclopedia= to |title= for rendering&lt;br /&gt;
&lt;br /&gt;
		|trans-title= maps to |trans-chapter= when |title= is re-mapped&lt;br /&gt;
		|url= maps to |chapter-url= when |title= is remapped&lt;br /&gt;
	&lt;br /&gt;
	All other combinations of |encyclopedia=, |title=, and |article= are not modified&lt;br /&gt;
	&lt;br /&gt;
	]]&lt;br /&gt;
&lt;br /&gt;
	local Encyclopedia = A[&#039;Encyclopedia&#039;];										-- used as a flag by this module and by ~/COinS&lt;br /&gt;
	local ScriptEncyclopedia = A[&#039;ScriptEncyclopedia&#039;];&lt;br /&gt;
	local TransEncyclopedia = A[&#039;TransEncyclopedia&#039;];&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (Encyclopedia) or utilities.is_set (ScriptEncyclopedia) then	-- emit error message when Encyclopedia set but template is other than {{cite encyclopedia}} or {{citation}}&lt;br /&gt;
		if &#039;encyclopaedia&#039; ~= config.CitationClass and &#039;citation&#039; ~= config.CitationClass then&lt;br /&gt;
			if utilities.is_set (Encyclopedia) then&lt;br /&gt;
				utilities.set_message (&#039;err_parameter_ignored&#039;, {A:ORIGIN (&#039;Encyclopedia&#039;)});&lt;br /&gt;
			else&lt;br /&gt;
				utilities.set_message (&#039;err_parameter_ignored&#039;, {A:ORIGIN (&#039;ScriptEncyclopedia&#039;)});&lt;br /&gt;
			end&lt;br /&gt;
			Encyclopedia = nil;													-- unset these because not supported by this template&lt;br /&gt;
			ScriptEncyclopedia = nil;&lt;br /&gt;
			TransEncyclopedia = nil;&lt;br /&gt;
		end&lt;br /&gt;
	elseif utilities.is_set (TransEncyclopedia) then&lt;br /&gt;
		utilities.set_message (&#039;err_trans_missing_title&#039;, {&#039;encyclopedia&#039;});&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if (&#039;encyclopaedia&#039; == config.CitationClass) or (&#039;citation&#039; == config.CitationClass and utilities.is_set (Encyclopedia)) then&lt;br /&gt;
		if utilities.is_set (Periodical) and utilities.is_set (Encyclopedia) then	-- when both parameters set emit an error message; {{citation}} only; Periodical not allowed in {{cite encyclopedia}}&lt;br /&gt;
			utilities.set_message (&#039;err_periodical_ignored&#039;, {Periodical_origin});&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (Encyclopedia) or utilities.is_set (ScriptEncyclopedia) then&lt;br /&gt;
			Periodical = Encyclopedia;											-- error or no, set Periodical to Encyclopedia for rendering; {{citation}} could (not legitimately) have both; use Encyclopedia&lt;br /&gt;
			Periodical_origin = A:ORIGIN (&#039;Encyclopedia&#039;);&lt;br /&gt;
			ScriptPeriodical = ScriptEncyclopedia;&lt;br /&gt;
			ScriptPeriodical_origin = A:ORIGIN (&#039;ScriptEncyclopedia&#039;);&lt;br /&gt;
&lt;br /&gt;
			if utilities.is_set (Title) or utilities.is_set (ScriptTitle) then&lt;br /&gt;
				if not utilities.is_set (Chapter) then&lt;br /&gt;
					Chapter = Title;											-- |encyclopedia= and |title= are set so map |title= params to |article= params for rendering&lt;br /&gt;
					ScriptChapter = ScriptTitle;&lt;br /&gt;
					ScriptChapter_origin = A:ORIGIN(&#039;ScriptTitle&#039;)&lt;br /&gt;
					TransChapter = TransTitle;&lt;br /&gt;
					ChapterURL = URL;&lt;br /&gt;
					ChapterURL_origin = URL_origin;&lt;br /&gt;
					ChapterUrlAccess = UrlAccess;&lt;br /&gt;
					ChapterFormat = Format;&lt;br /&gt;
&lt;br /&gt;
					if not utilities.is_set (ChapterURL) and utilities.is_set (TitleLink) then&lt;br /&gt;
						Chapter = utilities.make_wikilink (TitleLink, Chapter);&lt;br /&gt;
					end&lt;br /&gt;
					Title = Periodical;											-- now map |encyclopedia= params to |title= params for rendering&lt;br /&gt;
					ScriptTitle = ScriptPeriodical or &#039;&#039;;&lt;br /&gt;
					TransTitle = TransEncyclopedia or &#039;&#039;;&lt;br /&gt;
					Periodical = &#039;&#039;;											-- redundant so unset&lt;br /&gt;
					ScriptPeriodical = &#039;&#039;;&lt;br /&gt;
					URL = &#039;&#039;;&lt;br /&gt;
					Format = &#039;&#039;;&lt;br /&gt;
					TitleLink = &#039;&#039;;&lt;br /&gt;
				end&lt;br /&gt;
			elseif utilities.is_set (Chapter) or utilities.is_set (ScriptChapter) then	-- |title= not set&lt;br /&gt;
				Title = Periodical;												-- |encyclopedia= set and |article= set so map |encyclopedia= to |title= for rendering&lt;br /&gt;
				ScriptTitle = ScriptPeriodical or &#039;&#039;;&lt;br /&gt;
				TransTitle = TransEncyclopedia or &#039;&#039;;&lt;br /&gt;
				Periodical = &#039;&#039;;												-- redundant so unset&lt;br /&gt;
				ScriptPeriodical = &#039;&#039;;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- special case for cite techreport.&lt;br /&gt;
	local ID = A[&#039;ID&#039;];&lt;br /&gt;
	if (config.CitationClass == &amp;quot;techreport&amp;quot;) then								-- special case for cite techreport&lt;br /&gt;
		if utilities.is_set (A[&#039;Number&#039;]) then									-- cite techreport uses &#039;number&#039;, which other citations alias to &#039;issue&#039;&lt;br /&gt;
			if not utilities.is_set (ID) then									-- can we use ID for the &amp;quot;number&amp;quot;?&lt;br /&gt;
				ID = A[&#039;Number&#039;];												-- yes, use it&lt;br /&gt;
			else																-- ID has a value so emit error message&lt;br /&gt;
				utilities.set_message (&#039;err_redundant_parameters&#039;, {utilities.wrap_style (&#039;parameter&#039;, &#039;id&#039;) .. cfg.presentation[&#039;sep_list_pair&#039;] .. utilities.wrap_style (&#039;parameter&#039;, &#039;number&#039;)});&lt;br /&gt;
			end&lt;br /&gt;
		end	&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Account for the oddity that is {{cite conference}}, before generation of COinS data.&lt;br /&gt;
	local ChapterLink -- = A[&#039;ChapterLink&#039;];									-- deprecated as a parameter but still used internally by cite episode&lt;br /&gt;
	local Conference = A[&#039;Conference&#039;];&lt;br /&gt;
	local BookTitle = A[&#039;BookTitle&#039;];&lt;br /&gt;
	local TransTitle_origin = A:ORIGIN (&#039;TransTitle&#039;);&lt;br /&gt;
	if &#039;conference&#039; == config.CitationClass then&lt;br /&gt;
		if utilities.is_set (BookTitle) then&lt;br /&gt;
			Chapter = Title;&lt;br /&gt;
			Chapter_origin = &#039;title&#039;;&lt;br /&gt;
	--		ChapterLink = TitleLink;											-- |chapter-link= is deprecated&lt;br /&gt;
			ChapterURL = URL;&lt;br /&gt;
			ChapterUrlAccess = UrlAccess;&lt;br /&gt;
			ChapterURL_origin = URL_origin;&lt;br /&gt;
			URL_origin = &#039;&#039;;&lt;br /&gt;
			ChapterFormat = Format;&lt;br /&gt;
			TransChapter = TransTitle;&lt;br /&gt;
			TransChapter_origin = TransTitle_origin;&lt;br /&gt;
			Title = BookTitle;&lt;br /&gt;
			Format = &#039;&#039;;&lt;br /&gt;
	--		TitleLink = &#039;&#039;;&lt;br /&gt;
			TransTitle = &#039;&#039;;&lt;br /&gt;
			URL = &#039;&#039;;&lt;br /&gt;
		end&lt;br /&gt;
	elseif &#039;speech&#039; ~= config.CitationClass then&lt;br /&gt;
		Conference = &#039;&#039;;														-- not cite conference or cite speech so make sure this is empty string&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local use_lowercase = ( sepc == &#039;,&#039; );										-- controls capitalization of certain static text&lt;br /&gt;
	&lt;br /&gt;
	-- cite map oddities&lt;br /&gt;
	local Cartography = &amp;quot;&amp;quot;;&lt;br /&gt;
	local Scale = &amp;quot;&amp;quot;;&lt;br /&gt;
	local Sheet = A[&#039;Sheet&#039;] or &#039;&#039;;&lt;br /&gt;
	local Sheets = A[&#039;Sheets&#039;] or &#039;&#039;;&lt;br /&gt;
	if config.CitationClass == &amp;quot;map&amp;quot; then&lt;br /&gt;
		if utilities.is_set (Chapter) then										--TODO: make a function for this and similar?&lt;br /&gt;
			utilities.set_message (&#039;err_redundant_parameters&#039;, {utilities.wrap_style (&#039;parameter&#039;, &#039;map&#039;) .. cfg.presentation[&#039;sep_list_pair&#039;] .. utilities.wrap_style (&#039;parameter&#039;, Chapter_origin)});	-- add error message&lt;br /&gt;
		end&lt;br /&gt;
		Chapter = A[&#039;Map&#039;];&lt;br /&gt;
		Chapter_origin = A:ORIGIN(&#039;Map&#039;);&lt;br /&gt;
		ChapterURL = A[&#039;MapURL&#039;];&lt;br /&gt;
		ChapterURL_origin = A:ORIGIN(&#039;MapURL&#039;);&lt;br /&gt;
		TransChapter = A[&#039;TransMap&#039;];&lt;br /&gt;
		ScriptChapter = A[&#039;ScriptMap&#039;]&lt;br /&gt;
		ScriptChapter_origin = A:ORIGIN(&#039;ScriptMap&#039;)&lt;br /&gt;
&lt;br /&gt;
		ChapterUrlAccess = MapUrlAccess;&lt;br /&gt;
		ChapterFormat = A[&#039;MapFormat&#039;];&lt;br /&gt;
&lt;br /&gt;
		Cartography = A[&#039;Cartography&#039;];&lt;br /&gt;
		if utilities.is_set ( Cartography ) then&lt;br /&gt;
			Cartography = sepc .. &amp;quot; &amp;quot; .. wrap_msg (&#039;cartography&#039;, Cartography, use_lowercase);&lt;br /&gt;
		end		&lt;br /&gt;
		Scale = A[&#039;Scale&#039;];&lt;br /&gt;
		if utilities.is_set ( Scale ) then&lt;br /&gt;
			Scale = sepc .. &amp;quot; &amp;quot; .. Scale;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Account for the oddities that are {{cite episode}} and {{cite serial}}, before generation of COinS data.&lt;br /&gt;
	local Series = A[&#039;Series&#039;];&lt;br /&gt;
	if &#039;episode&#039; == config.CitationClass or &#039;serial&#039; == config.CitationClass then&lt;br /&gt;
		local SeriesLink = A[&#039;SeriesLink&#039;];&lt;br /&gt;
&lt;br /&gt;
		SeriesLink = link_title_ok (SeriesLink, A:ORIGIN (&#039;SeriesLink&#039;), Series, &#039;series&#039;);	-- check for wiki-markup in |series-link= or wiki-markup in |series= when |series-link= is set&lt;br /&gt;
&lt;br /&gt;
		local Network = A[&#039;Network&#039;];&lt;br /&gt;
		local Station = A[&#039;Station&#039;];&lt;br /&gt;
		local s, n = {}, {};&lt;br /&gt;
																				-- do common parameters first&lt;br /&gt;
		if utilities.is_set (Network) then table.insert(n, Network); end&lt;br /&gt;
		if utilities.is_set (Station) then table.insert(n, Station); end&lt;br /&gt;
		ID = table.concat(n, sepc .. &#039; &#039;);&lt;br /&gt;
		&lt;br /&gt;
		if &#039;episode&#039; == config.CitationClass then								-- handle the oddities that are strictly {{cite episode}}&lt;br /&gt;
			local Season = A[&#039;Season&#039;];&lt;br /&gt;
			local SeriesNumber = A[&#039;SeriesNumber&#039;];&lt;br /&gt;
&lt;br /&gt;
			if utilities.is_set (Season) and utilities.is_set (SeriesNumber) then	-- these are mutually exclusive so if both are set TODO: make a function for this and similar?&lt;br /&gt;
				utilities.set_message (&#039;err_redundant_parameters&#039;, {utilities.wrap_style (&#039;parameter&#039;, &#039;season&#039;) .. cfg.presentation[&#039;sep_list_pair&#039;] .. utilities.wrap_style (&#039;parameter&#039;, &#039;seriesno&#039;)});		-- add error message&lt;br /&gt;
				SeriesNumber = &#039;&#039;;												-- unset; prefer |season= over |seriesno=&lt;br /&gt;
			end&lt;br /&gt;
																				-- assemble a table of parts concatenated later into Series&lt;br /&gt;
			if utilities.is_set (Season) then table.insert(s, wrap_msg (&#039;season&#039;, Season, use_lowercase)); end&lt;br /&gt;
			if utilities.is_set (SeriesNumber) then table.insert(s, wrap_msg (&#039;seriesnum&#039;, SeriesNumber, use_lowercase)); end&lt;br /&gt;
			if utilities.is_set (Issue) then table.insert(s, wrap_msg (&#039;episode&#039;, Issue, use_lowercase)); end&lt;br /&gt;
			Issue = &#039;&#039;;															-- unset because this is not a unique parameter&lt;br /&gt;
	&lt;br /&gt;
			Chapter = Title;													-- promote title parameters to chapter&lt;br /&gt;
			ScriptChapter = ScriptTitle;&lt;br /&gt;
			ScriptChapter_origin = A:ORIGIN(&#039;ScriptTitle&#039;);&lt;br /&gt;
			ChapterLink = TitleLink;											-- alias |episode-link=&lt;br /&gt;
			TransChapter = TransTitle;&lt;br /&gt;
			ChapterURL = URL;&lt;br /&gt;
			ChapterUrlAccess = UrlAccess;&lt;br /&gt;
			ChapterURL_origin = URL_origin;&lt;br /&gt;
			ChapterFormat = Format;&lt;br /&gt;
&lt;br /&gt;
			Title = Series;														-- promote series to title&lt;br /&gt;
			TitleLink = SeriesLink;&lt;br /&gt;
			Series = table.concat(s, sepc .. &#039; &#039;);								-- this is concatenation of season, seriesno, episode number&lt;br /&gt;
&lt;br /&gt;
			if utilities.is_set (ChapterLink) and not utilities.is_set (ChapterURL) then	-- link but not URL&lt;br /&gt;
				Chapter = utilities.make_wikilink (ChapterLink, Chapter);&lt;br /&gt;
			elseif utilities.is_set (ChapterLink) and utilities.is_set (ChapterURL) then	-- if both are set, URL links episode;&lt;br /&gt;
				Series = utilities.make_wikilink (ChapterLink, Series);&lt;br /&gt;
			end&lt;br /&gt;
			URL = &#039;&#039;;															-- unset&lt;br /&gt;
			TransTitle = &#039;&#039;;&lt;br /&gt;
			ScriptTitle = &#039;&#039;;&lt;br /&gt;
			Format = &#039;&#039;;&lt;br /&gt;
			&lt;br /&gt;
		else																	-- now oddities that are cite serial&lt;br /&gt;
			Issue = &#039;&#039;;															-- unset because this parameter no longer supported by the citation/core version of cite serial&lt;br /&gt;
			Chapter = A[&#039;Episode&#039;];												-- TODO: make |episode= available to cite episode someday?&lt;br /&gt;
			if utilities.is_set (Series) and utilities.is_set (SeriesLink) then&lt;br /&gt;
				Series = utilities.make_wikilink (SeriesLink, Series);&lt;br /&gt;
			end&lt;br /&gt;
			Series = utilities.wrap_style (&#039;italic-title&#039;, Series);				-- series is italicized&lt;br /&gt;
		end	&lt;br /&gt;
	end&lt;br /&gt;
	-- end of {{cite episode}} stuff&lt;br /&gt;
&lt;br /&gt;
	-- handle type parameter for those CS1 citations that have default values&lt;br /&gt;
	local TitleType = A[&#039;TitleType&#039;];&lt;br /&gt;
	local Degree = A[&#039;Degree&#039;];&lt;br /&gt;
	if utilities.in_array (config.CitationClass, {&#039;AV-media-notes&#039;, &#039;document&#039;, &#039;interview&#039;, &#039;mailinglist&#039;, &#039;map&#039;, &#039;podcast&#039;, &#039;pressrelease&#039;, &#039;report&#039;, &#039;speech&#039;, &#039;techreport&#039;, &#039;thesis&#039;}) then&lt;br /&gt;
		TitleType = set_titletype (config.CitationClass, TitleType);&lt;br /&gt;
		if utilities.is_set (Degree) and &amp;quot;Thesis&amp;quot; == TitleType then				-- special case for cite thesis&lt;br /&gt;
			TitleType = Degree .. &#039; &#039; .. cfg.title_types [&#039;thesis&#039;]:lower();&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (TitleType) then										-- if type parameter is specified&lt;br /&gt;
		TitleType = utilities.substitute ( cfg.messages[&#039;type&#039;], TitleType);	-- display it in parentheses&lt;br /&gt;
	-- TODO: Hack on TitleType to fix bunched parentheses problem&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- legacy: promote PublicationDate to Date if neither Date nor Year are set.&lt;br /&gt;
	local Date = A[&#039;Date&#039;];&lt;br /&gt;
 	local Date_origin;															-- to hold the name of parameter promoted to Date; required for date error messaging&lt;br /&gt;
	local PublicationDate = A[&#039;PublicationDate&#039;];&lt;br /&gt;
	local Year = A[&#039;Year&#039;];&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (Year) then&lt;br /&gt;
		validation.year_check (Year);											-- returns nothing; emits maint message when |year= doesn&#039;t hold a &#039;year&#039; value&lt;br /&gt;
	end&lt;br /&gt;
		&lt;br /&gt;
	if not utilities.is_set (Date) then&lt;br /&gt;
		Date = Year;															-- promote Year to Date&lt;br /&gt;
		Year = nil;																-- make nil so Year as empty string isn&#039;t used for CITEREF&lt;br /&gt;
		if not utilities.is_set (Date) and utilities.is_set (PublicationDate) then	-- use PublicationDate when |date= and |year= are not set&lt;br /&gt;
			Date = PublicationDate;												-- promote PublicationDate to Date&lt;br /&gt;
			PublicationDate = &#039;&#039;;												-- unset, no longer needed&lt;br /&gt;
			Date_origin = A:ORIGIN(&#039;PublicationDate&#039;);							-- save the name of the promoted parameter&lt;br /&gt;
		else&lt;br /&gt;
			Date_origin = A:ORIGIN(&#039;Year&#039;);										-- save the name of the promoted parameter&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		Date_origin = A:ORIGIN(&#039;Date&#039;);											-- not a promotion; name required for error messaging&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if PublicationDate == Date then PublicationDate = &#039;&#039;; end					-- if PublicationDate is same as Date, don&#039;t display in rendered citation&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	Go test all of the date-holding parameters for valid MOS:DATE format and make sure that dates are real dates. This must be done before we do COinS because here is where&lt;br /&gt;
	we get the date used in the metadata.&lt;br /&gt;
	&lt;br /&gt;
	Date validation supporting code is in Module:Citation/CS1/Date_validation&lt;br /&gt;
	]]&lt;br /&gt;
&lt;br /&gt;
	local DF = is_valid_parameter_value (A[&#039;DF&#039;], A:ORIGIN(&#039;DF&#039;), cfg.keywords_lists[&#039;df&#039;], &#039;&#039;);&lt;br /&gt;
	if not utilities.is_set (DF) then&lt;br /&gt;
		DF = cfg.global_df;														-- local |df= if present overrides global df set by {{use xxx date}} template&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ArchiveURL;&lt;br /&gt;
	local ArchiveDate;&lt;br /&gt;
	local ArchiveFormat = A[&#039;ArchiveFormat&#039;];&lt;br /&gt;
	local archive_url_timestamp;												-- timestamp from wayback machine url&lt;br /&gt;
	&lt;br /&gt;
	ArchiveURL, ArchiveDate, archive_url_timestamp = archive_url_check (A[&#039;ArchiveURL&#039;], A[&#039;ArchiveDate&#039;])&lt;br /&gt;
	ArchiveFormat = style_format (ArchiveFormat, ArchiveURL, &#039;archive-format&#039;, &#039;archive-url&#039;);&lt;br /&gt;
	&lt;br /&gt;
	ArchiveURL, ArchiveDate = is_unique_archive_url (ArchiveURL, URL, ChapterURL, A:ORIGIN(&#039;ArchiveURL&#039;), ArchiveDate);		-- add error message when URL or ChapterURL == ArchiveURL&lt;br /&gt;
&lt;br /&gt;
	local AccessDate = A[&#039;AccessDate&#039;];&lt;br /&gt;
	local COinS_date = {};														-- holds date info extracted from |date= for the COinS metadata by Module:Date verification&lt;br /&gt;
	local DoiBroken = A[&#039;DoiBroken&#039;];&lt;br /&gt;
	local Embargo = A[&#039;Embargo&#039;];&lt;br /&gt;
	local anchor_year;															-- used in the CITEREF identifier&lt;br /&gt;
	do	-- create defined block to contain local variables error_message, date_parameters_list, mismatch&lt;br /&gt;
		local error_message = &#039;&#039;;&lt;br /&gt;
																				-- AirDate has been promoted to Date so not necessary to check it&lt;br /&gt;
		local date_parameters_list = {&lt;br /&gt;
			[&#039;access-date&#039;] = {val = AccessDate, name = A:ORIGIN (&#039;AccessDate&#039;)},&lt;br /&gt;
			[&#039;archive-date&#039;] = {val = ArchiveDate, name = A:ORIGIN (&#039;ArchiveDate&#039;)},&lt;br /&gt;
			[&#039;date&#039;] = {val = Date, name = Date_origin},&lt;br /&gt;
			[&#039;doi-broken-date&#039;] = {val = DoiBroken, name = A:ORIGIN (&#039;DoiBroken&#039;)},&lt;br /&gt;
			[&#039;pmc-embargo-date&#039;] = {val = Embargo, name = A:ORIGIN (&#039;Embargo&#039;)},&lt;br /&gt;
			[&#039;publication-date&#039;] = {val = PublicationDate, name = A:ORIGIN (&#039;PublicationDate&#039;)},&lt;br /&gt;
			[&#039;year&#039;] = {val = Year, name = A:ORIGIN (&#039;Year&#039;)},&lt;br /&gt;
			};&lt;br /&gt;
&lt;br /&gt;
		local error_list = {};&lt;br /&gt;
		anchor_year, Embargo = validation.dates(date_parameters_list, COinS_date, error_list);&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (Year) and utilities.is_set (Date) then				-- both |date= and |year= not normally needed; &lt;br /&gt;
			validation.year_date_check (Year, A:ORIGIN (&#039;Year&#039;), Date, A:ORIGIN (&#039;Date&#039;), error_list);&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if 0 == #error_list then												-- error free dates only; 0 when error_list is empty&lt;br /&gt;
			local modified = false;												-- flag&lt;br /&gt;
			&lt;br /&gt;
			if utilities.is_set (DF) then										-- if we need to reformat dates&lt;br /&gt;
				modified = validation.reformat_dates (date_parameters_list, DF);	-- reformat to DF format, use long month names if appropriate&lt;br /&gt;
			end&lt;br /&gt;
&lt;br /&gt;
			if true == validation.date_hyphen_to_dash (date_parameters_list) then	-- convert hyphens to dashes where appropriate&lt;br /&gt;
				modified = true;&lt;br /&gt;
				utilities.set_message (&#039;maint_date_format&#039;);					-- hyphens were converted so add maint category&lt;br /&gt;
			end&lt;br /&gt;
			&lt;br /&gt;
	-- for those wikis that can and want to have English date names translated to the local language; not supported at en.wiki&lt;br /&gt;
			if cfg.date_name_auto_xlate_enable and validation.date_name_xlate (date_parameters_list, cfg.date_digit_auto_xlate_enable ) then&lt;br /&gt;
				utilities.set_message (&#039;maint_date_auto_xlated&#039;);				-- add maint cat&lt;br /&gt;
				modified = true;&lt;br /&gt;
			end&lt;br /&gt;
&lt;br /&gt;
			if modified then													-- if the date_parameters_list values were modified&lt;br /&gt;
				AccessDate = date_parameters_list[&#039;access-date&#039;].val;			-- overwrite date holding parameters with modified values&lt;br /&gt;
				ArchiveDate = date_parameters_list[&#039;archive-date&#039;].val;&lt;br /&gt;
				Date = date_parameters_list[&#039;date&#039;].val;&lt;br /&gt;
				DoiBroken = date_parameters_list[&#039;doi-broken-date&#039;].val;&lt;br /&gt;
				PublicationDate = date_parameters_list[&#039;publication-date&#039;].val;&lt;br /&gt;
			end&lt;br /&gt;
&lt;br /&gt;
			if archive_url_timestamp and utilities.is_set (ArchiveDate) then&lt;br /&gt;
				validation.archive_date_check (ArchiveDate, archive_url_timestamp, DF);	-- does YYYYMMDD in archive_url_timestamp match date in ArchiveDate&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			utilities.set_message (&#039;err_bad_date&#039;, {utilities.make_sep_list (#error_list, error_list)});	-- add this error message&lt;br /&gt;
		end&lt;br /&gt;
	end	-- end of do&lt;br /&gt;
&lt;br /&gt;
	if utilities.in_array (config.CitationClass, {&#039;book&#039;, &#039;encyclopaedia&#039;}) or	-- {{cite book}}, {{cite encyclopedia}}; TODO: {{cite conference}} and others?&lt;br /&gt;
		(&#039;citation&#039; == config.CitationClass and utilities.is_set (Encyclopedia)) or			-- {{citation}} as an encylopedia citation&lt;br /&gt;
		(&#039;citation&#039; == config.CitationClass and not utilities.is_set (Periodical)) then		-- {{citation}} as a book citation&lt;br /&gt;
			if utilities.is_set (PublicationPlace) then&lt;br /&gt;
				if not utilities.is_set (PublisherName) then&lt;br /&gt;
					local date = COinS_date.rftdate and tonumber (COinS_date.rftdate:match (&#039;%d%d%d%d&#039;));	-- get year portion of COinS date (because in Arabic numerals); convert string to number&lt;br /&gt;
					if date and (1850 &amp;lt;= date) then								-- location has no publisher; if date is 1850 or later&lt;br /&gt;
						utilities.set_message (&#039;maint_location_no_publisher&#039;);	-- add maint cat&lt;br /&gt;
					end&lt;br /&gt;
				else															-- PublisherName has a value&lt;br /&gt;
					if cfg.keywords_xlate[&#039;none&#039;] == PublisherName then			-- if that value is &#039;none&#039; (only for book and encyclopedia citations)&lt;br /&gt;
						PublisherName = &#039;&#039;;										-- unset&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ID_list = {};															-- sequence table of rendered identifiers&lt;br /&gt;
	local ID_list_coins = {};													-- table of identifiers and their values from args; key is same as cfg.id_handlers&#039;s key&lt;br /&gt;
	local Class = A[&#039;Class&#039;];													-- arxiv class identifier&lt;br /&gt;
	&lt;br /&gt;
	local ID_support = {&lt;br /&gt;
		{A[&#039;ASINTLD&#039;], &#039;ASIN&#039;, &#039;err_asintld_missing_asin&#039;, A:ORIGIN (&#039;ASINTLD&#039;)},				&lt;br /&gt;
		{DoiBroken, &#039;DOI&#039;, &#039;err_doibroken_missing_doi&#039;, A:ORIGIN (&#039;DoiBroken&#039;)},&lt;br /&gt;
		{Embargo, &#039;PMC&#039;, &#039;err_embargo_missing_pmc&#039;, A:ORIGIN (&#039;Embargo&#039;)},&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
	ID_list, ID_list_coins = identifiers.identifier_lists_get (args, {DoiBroken = DoiBroken, ASINTLD = A[&#039;ASINTLD&#039;], Embargo = Embargo, Class = Class, Year=anchor_year}, ID_support);&lt;br /&gt;
&lt;br /&gt;
	-- Account for the oddities that are {{cite arxiv}}, {{cite biorxiv}}, {{cite citeseerx}}, {{cite medrxiv}}, {{cite ssrn}}, before generation of COinS data.&lt;br /&gt;
	if utilities.in_array (config.CitationClass, whitelist.preprint_template_list_t) then	-- |arxiv= or |eprint= required for cite arxiv; |biorxiv=, |citeseerx=, |medrxiv=, |ssrn= required for their templates&lt;br /&gt;
		if not (args[cfg.id_handlers[config.CitationClass:upper()].parameters[1]] or 		-- can&#039;t use ID_list_coins k/v table here because invalid parameters omitted&lt;br /&gt;
			args[cfg.id_handlers[config.CitationClass:upper()].parameters[2]]) then			-- which causes unexpected parameter missing error message&lt;br /&gt;
				utilities.set_message (&#039;err_&#039; .. config.CitationClass .. &#039;_missing&#039;);		-- add error message&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		Periodical = ({[&#039;arxiv&#039;] = &#039;arXiv&#039;, [&#039;biorxiv&#039;] = &#039;bioRxiv&#039;, [&#039;citeseerx&#039;] = &#039;CiteSeerX&#039;, [&#039;medrxiv&#039;] = &#039;medRxiv&#039;, [&#039;ssrn&#039;] = &#039;Social Science Research Network&#039;})[config.CitationClass];&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Link the title of the work if no |url= was provided, but we have a |pmc= or a |doi= with |doi-access=free&lt;br /&gt;
&lt;br /&gt;
	if config.CitationClass == &amp;quot;journal&amp;quot; and not utilities.is_set (URL) and not utilities.is_set (TitleLink) and not utilities.in_array (cfg.keywords_xlate[Title], {&#039;off&#039;, &#039;none&#039;}) then -- TODO: remove &#039;none&#039; once existing citations have been switched to &#039;off&#039;, so &#039;none&#039; can be used as token for &amp;quot;no title&amp;quot; instead&lt;br /&gt;
		if &#039;none&#039; ~= cfg.keywords_xlate[auto_select] then						-- if auto-linking not disabled&lt;br /&gt;
 	 		if identifiers.auto_link_urls[auto_select] then						-- manual selection&lt;br /&gt;
		 		URL = identifiers.auto_link_urls[auto_select];					-- set URL to be the same as identifier&#039;s external link&lt;br /&gt;
 				URL_origin = cfg.id_handlers[auto_select:upper()].parameters[1];	-- set URL_origin to parameter name for use in error message if citation is missing a |title=&lt;br /&gt;
			elseif identifiers.auto_link_urls[&#039;pmc&#039;] then						-- auto-select PMC&lt;br /&gt;
				URL = identifiers.auto_link_urls[&#039;pmc&#039;];						-- set URL to be the same as the PMC external link if not embargoed&lt;br /&gt;
				URL_origin = cfg.id_handlers[&#039;PMC&#039;].parameters[1];				-- set URL_origin to parameter name for use in error message if citation is missing a |title=&lt;br /&gt;
			elseif identifiers.auto_link_urls[&#039;doi&#039;] then						-- auto-select DOI&lt;br /&gt;
				URL = identifiers.auto_link_urls[&#039;doi&#039;];&lt;br /&gt;
				URL_origin = cfg.id_handlers[&#039;DOI&#039;].parameters[1];&lt;br /&gt;
			end&lt;br /&gt;
 	 	end&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (URL) then											-- set when using an identifier-created URL&lt;br /&gt;
			if utilities.is_set (AccessDate) then								-- |access-date= requires |url=; identifier-created URL is not |url=&lt;br /&gt;
				utilities.set_message (&#039;err_accessdate_missing_url&#039;);			-- add an error message&lt;br /&gt;
				AccessDate = &#039;&#039;;												-- unset&lt;br /&gt;
			end&lt;br /&gt;
&lt;br /&gt;
			if utilities.is_set (ArchiveURL) then								-- |archive-url= requires |url=; identifier-created URL is not |url=&lt;br /&gt;
				utilities.set_message (&#039;err_archive_missing_url&#039;);				-- add an error message&lt;br /&gt;
				ArchiveURL = &#039;&#039;;												-- unset&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- At this point fields may be nil if they weren&#039;t specified in the template use.  We can use that fact.&lt;br /&gt;
	-- Test if citation has no title&lt;br /&gt;
	if	not utilities.is_set (Title) and not utilities.is_set (TransTitle) and not utilities.is_set (ScriptTitle) then	-- has special case for cite episode&lt;br /&gt;
		utilities.set_message (&#039;err_citation_missing_title&#039;, {&#039;episode&#039; == config.CitationClass and &#039;series&#039; or &#039;title&#039;});&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.in_array (cfg.keywords_xlate[Title], {&#039;off&#039;, &#039;none&#039;}) and&lt;br /&gt;
			utilities.in_array (config.CitationClass, {&#039;journal&#039;, &#039;citation&#039;}) and&lt;br /&gt;
			(utilities.is_set (Periodical) or utilities.is_set (ScriptPeriodical)) and&lt;br /&gt;
			(&#039;journal&#039; == Periodical_origin or &#039;script-journal&#039; == ScriptPeriodical_origin) then	-- special case for journal cites&lt;br /&gt;
				Title = &#039;&#039;;														-- set title to empty string&lt;br /&gt;
				utilities.set_message (&#039;maint_untitled&#039;);						-- add maint cat&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- COinS metadata (see &amp;lt;http://ocoins.info/&amp;gt;) for automated parsing of citation information.&lt;br /&gt;
	-- handle the oddity that is cite encyclopedia and {{citation |encyclopedia=something}}. Here we presume that&lt;br /&gt;
	-- when Periodical, Title, and Chapter are all set, then Periodical is the book (encyclopedia) title, Title&lt;br /&gt;
	-- is the article title, and Chapter is a section within the article.  So, we remap &lt;br /&gt;
	&lt;br /&gt;
	local coins_chapter = Chapter;												-- default assuming that remapping not required&lt;br /&gt;
	local coins_title = Title;													-- et tu&lt;br /&gt;
	if &#039;encyclopaedia&#039; == config.CitationClass or (&#039;citation&#039; == config.CitationClass and utilities.is_set (Encyclopedia)) then&lt;br /&gt;
		if utilities.is_set (Chapter) and utilities.is_set (Title) and utilities.is_set (Periodical) then		-- if all are used then&lt;br /&gt;
			coins_chapter = Title;												-- remap&lt;br /&gt;
			coins_title = Periodical;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	local coins_author = a;														-- default for coins rft.au &lt;br /&gt;
	if 0 &amp;lt; #c then																-- but if contributor list&lt;br /&gt;
		coins_author = c;														-- use that instead&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- this is the function call to COinS()&lt;br /&gt;
	local OCinSoutput = metadata.COinS({&lt;br /&gt;
		[&#039;Periodical&#039;] = utilities.strip_apostrophe_markup (Periodical),		-- no markup in the metadata&lt;br /&gt;
		[&#039;Encyclopedia&#039;] = Encyclopedia,										-- just a flag; content ignored by ~/COinS&lt;br /&gt;
		[&#039;Chapter&#039;] = metadata.make_coins_title (coins_chapter, ScriptChapter),	-- Chapter and ScriptChapter stripped of bold / italic / accept-as-written markup&lt;br /&gt;
		[&#039;Degree&#039;] = Degree;													-- cite thesis only&lt;br /&gt;
		[&#039;Title&#039;] = metadata.make_coins_title (coins_title, ScriptTitle),		-- Title and ScriptTitle stripped of bold / italic / accept-as-written markup&lt;br /&gt;
		[&#039;PublicationPlace&#039;] = PublicationPlace,&lt;br /&gt;
		[&#039;Date&#039;] = COinS_date.rftdate,											-- COinS_date.* has correctly formatted date values if Date is valid;&lt;br /&gt;
		[&#039;Season&#039;] = COinS_date.rftssn,&lt;br /&gt;
		[&#039;Quarter&#039;] = COinS_date.rftquarter,&lt;br /&gt;
		[&#039;Chron&#039;] =  COinS_date.rftchron,&lt;br /&gt;
		[&#039;Series&#039;] = Series,&lt;br /&gt;
		[&#039;Volume&#039;] = Volume,&lt;br /&gt;
		[&#039;Issue&#039;] = Issue,&lt;br /&gt;
		[&#039;ArticleNumber&#039;] = ArticleNumber,&lt;br /&gt;
		[&#039;Pages&#039;] = coins_pages or metadata.get_coins_pages (first_set ({Sheet, Sheets, Page, Pages, At, QuotePage, QuotePages}, 7)),	-- pages stripped of external links&lt;br /&gt;
		[&#039;Edition&#039;] = Edition,&lt;br /&gt;
		[&#039;PublisherName&#039;] = PublisherName or Newsgroup,							-- any apostrophe markup already removed from PublisherName&lt;br /&gt;
		[&#039;URL&#039;] = first_set ({ChapterURL, URL}, 2),&lt;br /&gt;
		[&#039;Authors&#039;] = coins_author,&lt;br /&gt;
		[&#039;ID_list&#039;] = ID_list_coins,&lt;br /&gt;
		[&#039;RawPage&#039;] = this_page.prefixedText,&lt;br /&gt;
	}, config.CitationClass);&lt;br /&gt;
&lt;br /&gt;
	-- Account for the oddities that are {{cite arxiv}}, {{cite biorxiv}}, {{cite citeseerx}}, {{cite medrxiv}}, and {{cite ssrn}} AFTER generation of COinS data.&lt;br /&gt;
	if utilities.in_array (config.CitationClass, whitelist.preprint_template_list_t) then	-- we have set rft.jtitle in COinS to arXiv, bioRxiv, CiteSeerX, medRxiv, or ssrn now unset so it isn&#039;t displayed&lt;br /&gt;
		Periodical = &#039;&#039;;														-- periodical not allowed in these templates; if article has been published, use cite journal&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- special case for cite newsgroup.  Do this after COinS because we are modifying Publishername to include some static text&lt;br /&gt;
	if &#039;newsgroup&#039; == config.CitationClass and utilities.is_set (Newsgroup) then&lt;br /&gt;
		PublisherName = utilities.substitute (cfg.messages[&#039;newsgroup&#039;], external_link( &#039;news:&#039; .. Newsgroup, Newsgroup, Newsgroup_origin, nil ));&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local Editors;&lt;br /&gt;
	local EditorCount;															-- used only for choosing {ed.) or (eds.) annotation at end of editor name-list&lt;br /&gt;
	local Contributors;															-- assembled contributors name list&lt;br /&gt;
	local contributor_etal;&lt;br /&gt;
	local Translators;															-- assembled translators name list&lt;br /&gt;
	local translator_etal;&lt;br /&gt;
	local t = {};																-- translators list from |translator-lastn= / translator-firstn= pairs&lt;br /&gt;
	t = extract_names (args, &#039;TranslatorList&#039;);									-- fetch translator list from |translatorn= / |translator-lastn=, -firstn=, -linkn=, -maskn=&lt;br /&gt;
	local Interviewers;															&lt;br /&gt;
	local interviewers_list = {};					&lt;br /&gt;
	interviewers_list = extract_names (args, &#039;InterviewerList&#039;);				-- process preferred interviewers parameters&lt;br /&gt;
	local interviewer_etal;&lt;br /&gt;
	&lt;br /&gt;
	-- Now perform various field substitutions.&lt;br /&gt;
	-- We also add leading spaces and surrounding markup and punctuation to the&lt;br /&gt;
	-- various parts of the citation, but only when they are non-nil.&lt;br /&gt;
	do&lt;br /&gt;
		local last_first_list;&lt;br /&gt;
		local control = { &lt;br /&gt;
			format = NameListStyle,												-- empty string, &#039;&amp;amp;&#039;, &#039;amp&#039;, &#039;and&#039;, or &#039;vanc&#039;&lt;br /&gt;
			maximum = nil,														-- as if display-authors or display-editors not set&lt;br /&gt;
			mode = Mode&lt;br /&gt;
		};&lt;br /&gt;
&lt;br /&gt;
		do																		-- do editor name list first because the now unsupported coauthors used to modify control table&lt;br /&gt;
			local display_names, param = display_names_select (cfg.global_cs1_config_t[&#039;DisplayEditors&#039;], A[&#039;DisplayEditors&#039;], A:ORIGIN (&#039;DisplayEditors&#039;), #e);&lt;br /&gt;
			control.maximum, editor_etal = get_display_names (display_names, #e, &#039;editors&#039;, editor_etal, param);&lt;br /&gt;
&lt;br /&gt;
			Editors, EditorCount = list_people (control, e, editor_etal);&lt;br /&gt;
&lt;br /&gt;
			if 1 == EditorCount and (true == editor_etal or 1 &amp;lt; #e) then		-- only one editor displayed but includes etal then &lt;br /&gt;
				EditorCount = 2;												-- spoof to display (eds.) annotation&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		do																		-- now do interviewers&lt;br /&gt;
			local display_names, param = display_names_select (cfg.global_cs1_config_t[&#039;DisplayInterviewers&#039;], A[&#039;DisplayInterviewers&#039;], A:ORIGIN (&#039;DisplayInterviewers&#039;), #interviewers_list);&lt;br /&gt;
			control.maximum, interviewer_etal = get_display_names (display_names, #interviewers_list, &#039;interviewers&#039;, interviewer_etal, param);&lt;br /&gt;
&lt;br /&gt;
			Interviewers = list_people (control, interviewers_list, interviewer_etal);&lt;br /&gt;
		end&lt;br /&gt;
		do																		-- now do translators&lt;br /&gt;
			local display_names, param = display_names_select (cfg.global_cs1_config_t[&#039;DisplayTranslators&#039;], A[&#039;DisplayTranslators&#039;], A:ORIGIN (&#039;DisplayTranslators&#039;), #t);&lt;br /&gt;
			control.maximum, translator_etal = get_display_names (display_names, #t, &#039;translators&#039;, translator_etal, param);&lt;br /&gt;
&lt;br /&gt;
			Translators = list_people (control, t, translator_etal);&lt;br /&gt;
		end&lt;br /&gt;
		do																		-- now do contributors&lt;br /&gt;
			local display_names, param = display_names_select (cfg.global_cs1_config_t[&#039;DisplayContributors&#039;], A[&#039;DisplayContributors&#039;], A:ORIGIN (&#039;DisplayContributors&#039;), #c);&lt;br /&gt;
			control.maximum, contributor_etal = get_display_names (display_names, #c, &#039;contributors&#039;, contributor_etal, param);&lt;br /&gt;
&lt;br /&gt;
			Contributors = list_people (control, c, contributor_etal);&lt;br /&gt;
		end&lt;br /&gt;
		do																		-- now do authors&lt;br /&gt;
			local display_names, param = display_names_select (cfg.global_cs1_config_t[&#039;DisplayAuthors&#039;], A[&#039;DisplayAuthors&#039;], A:ORIGIN (&#039;DisplayAuthors&#039;), #a, author_etal);&lt;br /&gt;
			control.maximum, author_etal = get_display_names (display_names, #a, &#039;authors&#039;, author_etal, param);&lt;br /&gt;
&lt;br /&gt;
			last_first_list = list_people (control, a, author_etal);&lt;br /&gt;
&lt;br /&gt;
			if utilities.is_set (Authors) then&lt;br /&gt;
				Authors, author_etal = name_has_etal (Authors, author_etal, false, &#039;authors&#039;);	-- find and remove variations on et al.&lt;br /&gt;
				if author_etal then&lt;br /&gt;
					Authors = Authors .. &#039; &#039; .. cfg.messages[&#039;et al&#039;];			-- add et al. to authors parameter&lt;br /&gt;
				end&lt;br /&gt;
			else&lt;br /&gt;
				Authors = last_first_list;										-- either an author name list or an empty string&lt;br /&gt;
			end&lt;br /&gt;
		end																		-- end of do&lt;br /&gt;
	&lt;br /&gt;
		if utilities.is_set (Authors) and utilities.is_set (Collaboration) then&lt;br /&gt;
			Authors = Authors .. &#039; (&#039; .. Collaboration .. &#039;)&#039;;					-- add collaboration after et al.&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ConferenceFormat = A[&#039;ConferenceFormat&#039;];&lt;br /&gt;
	local ConferenceURL = A[&#039;ConferenceURL&#039;];&lt;br /&gt;
	ConferenceFormat = style_format (ConferenceFormat, ConferenceURL, &#039;conference-format&#039;, &#039;conference-url&#039;);&lt;br /&gt;
	Format = style_format (Format, URL, &#039;format&#039;, &#039;url&#039;);&lt;br /&gt;
&lt;br /&gt;
	-- special case for chapter format so no error message or cat when chapter not supported&lt;br /&gt;
	if not (utilities.in_array (config.CitationClass, {&#039;web&#039;, &#039;news&#039;, &#039;journal&#039;, &#039;magazine&#039;, &#039;pressrelease&#039;, &#039;podcast&#039;, &#039;newsgroup&#039;, &#039;arxiv&#039;, &#039;biorxiv&#039;, &#039;citeseerx&#039;, &#039;medrxiv&#039;, &#039;ssrn&#039;}) or&lt;br /&gt;
		(&#039;citation&#039; == config.CitationClass and (utilities.is_set (Periodical) or utilities.is_set (ScriptPeriodical)) and not utilities.is_set (Encyclopedia))) then&lt;br /&gt;
			ChapterFormat = style_format (ChapterFormat, ChapterURL, &#039;chapter-format&#039;, &#039;chapter-url&#039;);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if not utilities.is_set (URL) then&lt;br /&gt;
		if utilities.in_array (config.CitationClass, {&amp;quot;web&amp;quot;, &amp;quot;podcast&amp;quot;, &amp;quot;mailinglist&amp;quot;}) or		-- |url= required for cite web, cite podcast, and cite mailinglist&lt;br /&gt;
			(&#039;citation&#039; == config.CitationClass and (&#039;website&#039; == Periodical_origin or &#039;script-website&#039; == ScriptPeriodical_origin)) then	-- and required for {{citation}} with |website= or |script-website=&lt;br /&gt;
				utilities.set_message (&#039;err_cite_web_url&#039;);&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		-- do we have |accessdate= without either |url= or |chapter-url=?&lt;br /&gt;
		if utilities.is_set (AccessDate) and not utilities.is_set (ChapterURL) then		-- ChapterURL may be set when URL is not set;&lt;br /&gt;
			utilities.set_message (&#039;err_accessdate_missing_url&#039;);&lt;br /&gt;
			AccessDate = &#039;&#039;;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local UrlStatus = is_valid_parameter_value (A[&#039;UrlStatus&#039;], A:ORIGIN(&#039;UrlStatus&#039;), cfg.keywords_lists[&#039;url-status&#039;], &#039;&#039;);&lt;br /&gt;
	local OriginalURL&lt;br /&gt;
	local OriginalURL_origin&lt;br /&gt;
	local OriginalFormat&lt;br /&gt;
	local OriginalAccess;&lt;br /&gt;
	UrlStatus = UrlStatus:lower();												-- used later when assembling archived text&lt;br /&gt;
	if utilities.is_set ( ArchiveURL ) then&lt;br /&gt;
		if utilities.is_set (ChapterURL) then 									-- if chapter-url= is set apply archive url to it&lt;br /&gt;
			OriginalURL = ChapterURL;											-- save copy of source chapter&#039;s url for archive text&lt;br /&gt;
			OriginalURL_origin = ChapterURL_origin;								-- name of |chapter-url= parameter for error messages&lt;br /&gt;
			OriginalFormat = ChapterFormat;										-- and original |chapter-format=&lt;br /&gt;
&lt;br /&gt;
			if &#039;live&#039; ~= UrlStatus then&lt;br /&gt;
				ChapterURL = ArchiveURL											-- swap-in the archive&#039;s URL&lt;br /&gt;
				ChapterURL_origin = A:ORIGIN(&#039;ArchiveURL&#039;)						-- name of |archive-url= parameter for error messages&lt;br /&gt;
				ChapterFormat = ArchiveFormat or &#039;&#039;;							-- swap in archive&#039;s format&lt;br /&gt;
				ChapterUrlAccess = nil;											-- restricted access levels do not make sense for archived URLs&lt;br /&gt;
			end&lt;br /&gt;
		elseif utilities.is_set (URL) then&lt;br /&gt;
			OriginalURL = URL;													-- save copy of original source URL&lt;br /&gt;
			OriginalURL_origin = URL_origin;									-- name of URL parameter for error messages&lt;br /&gt;
			OriginalFormat = Format; 											-- and original |format=&lt;br /&gt;
			OriginalAccess = UrlAccess;&lt;br /&gt;
&lt;br /&gt;
			if &#039;live&#039; ~= UrlStatus then											-- if URL set then |archive-url= applies to it&lt;br /&gt;
				URL = ArchiveURL												-- swap-in the archive&#039;s URL&lt;br /&gt;
				URL_origin = A:ORIGIN(&#039;ArchiveURL&#039;)								-- name of archive URL parameter for error messages&lt;br /&gt;
				Format = ArchiveFormat or &#039;&#039;;									-- swap in archive&#039;s format&lt;br /&gt;
				UrlAccess = nil;												-- restricted access levels do not make sense for archived URLs&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	elseif utilities.is_set (UrlStatus) then									-- if |url-status= is set when |archive-url= is not set&lt;br /&gt;
 		utilities.set_message (&#039;maint_url_status&#039;);								-- add maint cat&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.in_array (config.CitationClass, {&#039;web&#039;, &#039;news&#039;, &#039;journal&#039;, &#039;magazine&#039;, &#039;pressrelease&#039;, &#039;podcast&#039;, &#039;newsgroup&#039;, &#039;arxiv&#039;, &#039;biorxiv&#039;, &#039;citeseerx&#039;, &#039;medrxiv&#039;, &#039;ssrn&#039;}) or	-- if any of the &#039;periodical&#039; cites except encyclopedia&lt;br /&gt;
		(&#039;citation&#039; == config.CitationClass and (utilities.is_set (Periodical) or utilities.is_set (ScriptPeriodical)) and not utilities.is_set (Encyclopedia)) then&lt;br /&gt;
			local chap_param;&lt;br /&gt;
			if utilities.is_set (Chapter) then									-- get a parameter name from one of these chapter related meta-parameters&lt;br /&gt;
				chap_param = A:ORIGIN (&#039;Chapter&#039;)&lt;br /&gt;
			elseif utilities.is_set (TransChapter) then&lt;br /&gt;
				chap_param = A:ORIGIN (&#039;TransChapter&#039;)&lt;br /&gt;
			elseif utilities.is_set (ChapterURL) then&lt;br /&gt;
				chap_param = A:ORIGIN (&#039;ChapterURL&#039;)&lt;br /&gt;
			elseif utilities.is_set (ScriptChapter) then&lt;br /&gt;
				chap_param = ScriptChapter_origin;&lt;br /&gt;
			else utilities.is_set (ChapterFormat)&lt;br /&gt;
				chap_param = A:ORIGIN (&#039;ChapterFormat&#039;)&lt;br /&gt;
			end&lt;br /&gt;
&lt;br /&gt;
			if utilities.is_set (chap_param) then								-- if we found one&lt;br /&gt;
				utilities.set_message (&#039;err_chapter_ignored&#039;, {chap_param});	-- add error message&lt;br /&gt;
				Chapter = &#039;&#039;;													-- and set them to empty string to be safe with concatenation&lt;br /&gt;
				TransChapter = &#039;&#039;;&lt;br /&gt;
				ChapterURL = &#039;&#039;;&lt;br /&gt;
				ScriptChapter = &#039;&#039;;&lt;br /&gt;
				ChapterFormat = &#039;&#039;;&lt;br /&gt;
			end&lt;br /&gt;
	else																		-- otherwise, format chapter / article title&lt;br /&gt;
		local no_quotes = false;												-- default assume that we will be quoting the chapter parameter value&lt;br /&gt;
		if utilities.is_set (Contribution) and 0 &amp;lt; #c then						-- if this is a contribution with contributor(s)&lt;br /&gt;
			if utilities.in_array (Contribution:lower(), cfg.keywords_lists.contribution) then	-- and a generic contribution title&lt;br /&gt;
				no_quotes = true;												-- then render it unquoted&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		Chapter = format_chapter_title (ScriptChapter, ScriptChapter_origin, Chapter, Chapter_origin, TransChapter, TransChapter_origin, ChapterURL, ChapterURL_origin, no_quotes, ChapterUrlAccess);		-- Contribution is also in Chapter&lt;br /&gt;
		if utilities.is_set (Chapter) then&lt;br /&gt;
			Chapter = Chapter .. ChapterFormat ;&lt;br /&gt;
			if &#039;map&#039; == config.CitationClass and utilities.is_set (TitleType) then&lt;br /&gt;
				Chapter = Chapter .. &#039; &#039; .. TitleType;							-- map annotation here; not after title&lt;br /&gt;
			end&lt;br /&gt;
			Chapter = Chapter .. sepc .. &#039; &#039;;&lt;br /&gt;
		elseif utilities.is_set (ChapterFormat) then							-- |chapter= not set but |chapter-format= is so ...&lt;br /&gt;
			Chapter = ChapterFormat .. sepc .. &#039; &#039;;								-- ... ChapterFormat has error message, we want to see it&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Format main title&lt;br /&gt;
	local plain_title = false;&lt;br /&gt;
	local accept_title;&lt;br /&gt;
	Title, accept_title = utilities.has_accept_as_written (Title, true);		-- remove accept-this-as-written markup when it wraps all of &amp;lt;Title&amp;gt;&lt;br /&gt;
	if accept_title and (&#039;&#039; == Title) then										-- only support forced empty for now &amp;quot;(())&amp;quot;&lt;br /&gt;
		Title = cfg.messages[&#039;notitle&#039;];										-- replace by predefined &amp;quot;No title&amp;quot; message&lt;br /&gt;
			-- TODO: utilities.set_message ( &#039;err_redundant_parameters&#039;, ...);	-- issue proper error message instead of muting	 &lt;br /&gt;
			ScriptTitle = &#039;&#039;;													-- just mute for now	 &lt;br /&gt;
			TransTitle = &#039;&#039;;													-- just mute for now&lt;br /&gt;
 		plain_title = true;														-- suppress text decoration for descriptive title&lt;br /&gt;
		utilities.set_message (&#039;maint_untitled&#039;);								-- add maint cat&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if not accept_title then													-- &amp;lt;Title&amp;gt; not wrapped in accept-as-written markup&lt;br /&gt;
		if &#039;...&#039; == Title:sub (-3) then											-- if ellipsis is the last three characters of |title=&lt;br /&gt;
			Title = Title:gsub (&#039;(%.%.%.)%.+$&#039;, &#039;%1&#039;);							-- limit the number of dots to three&lt;br /&gt;
		elseif not mw.ustring.find (Title, &#039;%.%s*%a%.$&#039;) and					-- end of title is not a &#039;dot-(optional space-)letter-dot&#039; initialism ...&lt;br /&gt;
			not mw.ustring.find (Title, &#039;%s+%a%.$&#039;) then						-- ...and not a &#039;space-letter-dot&#039; initial (&#039;&#039;Allium canadense&#039;&#039; L.)&lt;br /&gt;
				Title = mw.ustring.gsub(Title, &#039;%&#039; .. sepc .. &#039;$&#039;, &#039;&#039;);			-- remove any trailing separator character; sepc and ms.ustring() here for languages that use multibyte separator characters&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (ArchiveURL) and is_archived_copy (Title) then&lt;br /&gt;
			utilities.set_message (&#039;maint_archived_copy&#039;);						-- add maintenance category before we modify the content of Title&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if is_generic (&#039;generic_titles&#039;, Title) then&lt;br /&gt;
			utilities.set_message (&#039;err_generic_title&#039;);						-- set an error message&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if (not plain_title) and (utilities.in_array (config.CitationClass, {&#039;web&#039;, &#039;news&#039;, &#039;journal&#039;, &#039;magazine&#039;, &#039;document&#039;, &#039;pressrelease&#039;, &#039;podcast&#039;, &#039;newsgroup&#039;, &#039;mailinglist&#039;, &#039;interview&#039;, &#039;arxiv&#039;, &#039;biorxiv&#039;, &#039;citeseerx&#039;, &#039;medrxiv&#039;, &#039;ssrn&#039;}) or&lt;br /&gt;
		(&#039;citation&#039; == config.CitationClass and (utilities.is_set (Periodical) or utilities.is_set (ScriptPeriodical)) and not utilities.is_set (Encyclopedia)) or&lt;br /&gt;
		(&#039;map&#039; == config.CitationClass and (utilities.is_set (Periodical) or utilities.is_set (ScriptPeriodical)))) then		-- special case for cite map when the map is in a periodical treat as an article&lt;br /&gt;
			Title = kern_quotes (Title);										-- if necessary, separate title&#039;s leading and trailing quote marks from module provided quote marks&lt;br /&gt;
			Title = utilities.wrap_style (&#039;quoted-title&#039;, Title);&lt;br /&gt;
			Title = script_concatenate (Title, ScriptTitle, &#039;script-title&#039;);	-- &amp;lt;bdi&amp;gt; tags, lang attribute, categorization, etc.; must be done after title is wrapped&lt;br /&gt;
			TransTitle = utilities.wrap_style (&#039;trans-quoted-title&#039;, TransTitle );&lt;br /&gt;
	elseif plain_title or (&#039;report&#039; == config.CitationClass) then				-- no styling for cite report and descriptive titles (otherwise same as above)&lt;br /&gt;
		Title = script_concatenate (Title, ScriptTitle, &#039;script-title&#039;);		-- &amp;lt;bdi&amp;gt; tags, lang attribute, categorization, etc.; must be done after title is wrapped&lt;br /&gt;
		TransTitle = utilities.wrap_style (&#039;trans-quoted-title&#039;, TransTitle );	-- for cite report, use this form for trans-title&lt;br /&gt;
	else&lt;br /&gt;
		Title = utilities.wrap_style (&#039;italic-title&#039;, Title);&lt;br /&gt;
		Title = script_concatenate (Title, ScriptTitle, &#039;script-title&#039;);		-- &amp;lt;bdi&amp;gt; tags, lang attribute, categorization, etc.; must be done after title is wrapped&lt;br /&gt;
		TransTitle = utilities.wrap_style (&#039;trans-italic-title&#039;, TransTitle);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (TransTitle) then&lt;br /&gt;
		if utilities.is_set (Title) then&lt;br /&gt;
			TransTitle = &amp;quot; &amp;quot; .. TransTitle;&lt;br /&gt;
		else&lt;br /&gt;
			utilities.set_message (&#039;err_trans_missing_title&#039;, {&#039;title&#039;});&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (Title) then											-- TODO: is this the right place to be making Wikisource URLs?&lt;br /&gt;
		if utilities.is_set (TitleLink) and utilities.is_set (URL) then&lt;br /&gt;
			utilities.set_message (&#039;err_wikilink_in_url&#039;);						-- set an error message because we can&#039;t have both&lt;br /&gt;
			TitleLink = &#039;&#039;;														-- unset&lt;br /&gt;
		end&lt;br /&gt;
	&lt;br /&gt;
		if not utilities.is_set (TitleLink) and utilities.is_set (URL) then&lt;br /&gt;
			Title = external_link (URL, Title, URL_origin, UrlAccess) .. TransTitle .. Format;&lt;br /&gt;
			URL = &#039;&#039;;															-- unset these because no longer needed&lt;br /&gt;
			Format = &amp;quot;&amp;quot;;&lt;br /&gt;
		elseif utilities.is_set (TitleLink) and not utilities.is_set (URL) then&lt;br /&gt;
			local ws_url;&lt;br /&gt;
			ws_url = wikisource_url_make (TitleLink);							-- ignore ws_label return; not used here&lt;br /&gt;
			if ws_url then&lt;br /&gt;
				Title = external_link (ws_url, Title .. &#039;&amp;amp;nbsp;&#039;, &#039;ws link in title-link&#039;);	-- space char after Title to move icon away from italic text; TODO: a better way to do this?&lt;br /&gt;
				Title = utilities.substitute (cfg.presentation[&#039;interwiki-icon&#039;], {cfg.presentation[&#039;class-wikisource&#039;], TitleLink, Title});				&lt;br /&gt;
				Title = Title .. TransTitle;&lt;br /&gt;
			else&lt;br /&gt;
				Title = utilities.make_wikilink (TitleLink, Title) .. TransTitle;&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			local ws_url, ws_label, L;											-- Title has italic or quote markup by the time we get here which causes is_wikilink() to return 0 (not a wikilink)&lt;br /&gt;
			ws_url, ws_label, L = wikisource_url_make (Title:gsub(&#039;^[\&#039;&amp;quot;]*(.-)[\&#039;&amp;quot;]*$&#039;, &#039;%1&#039;));	-- make ws URL from |title= interwiki link (strip italic or quote markup); link portion L becomes tooltip label&lt;br /&gt;
			if ws_url then&lt;br /&gt;
				Title = Title:gsub (&#039;%b[]&#039;, ws_label);							-- replace interwiki link with ws_label to retain markup&lt;br /&gt;
				Title = external_link (ws_url, Title .. &#039;&amp;amp;nbsp;&#039;, &#039;ws link in title&#039;);	-- space char after Title to move icon away from italic text; TODO: a better way to do this?&lt;br /&gt;
				Title = utilities.substitute (cfg.presentation[&#039;interwiki-icon&#039;], {cfg.presentation[&#039;class-wikisource&#039;], L, Title});				&lt;br /&gt;
				Title = Title .. TransTitle;&lt;br /&gt;
			else&lt;br /&gt;
				Title = Title .. TransTitle;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		Title = TransTitle;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (Place) then&lt;br /&gt;
		Place = &amp;quot; &amp;quot; .. wrap_msg (&#039;written&#039;, Place, use_lowercase) .. sepc .. &amp;quot; &amp;quot;;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ConferenceURL_origin = A:ORIGIN(&#039;ConferenceURL&#039;);						-- get name of parameter that holds ConferenceURL&lt;br /&gt;
	if utilities.is_set (Conference) then&lt;br /&gt;
		if utilities.is_set (ConferenceURL) then&lt;br /&gt;
			Conference = external_link( ConferenceURL, Conference, ConferenceURL_origin, nil );&lt;br /&gt;
		end&lt;br /&gt;
		Conference = sepc .. &amp;quot; &amp;quot; .. Conference .. ConferenceFormat;&lt;br /&gt;
	elseif utilities.is_set (ConferenceURL) then&lt;br /&gt;
		Conference = sepc .. &amp;quot; &amp;quot; .. external_link( ConferenceURL, nil, ConferenceURL_origin, nil );&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local Position = &#039;&#039;;&lt;br /&gt;
	if not utilities.is_set (Position) then&lt;br /&gt;
		local Minutes = A[&#039;Minutes&#039;];&lt;br /&gt;
		local Time = A[&#039;Time&#039;];&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (Minutes) then&lt;br /&gt;
			if utilities.is_set (Time) then		--TODO: make a function for this and similar?&lt;br /&gt;
				utilities.set_message (&#039;err_redundant_parameters&#039;, {utilities.wrap_style (&#039;parameter&#039;, &#039;minutes&#039;) .. cfg.presentation[&#039;sep_list_pair&#039;] .. utilities.wrap_style (&#039;parameter&#039;, &#039;time&#039;)});&lt;br /&gt;
			end&lt;br /&gt;
			Position = &amp;quot; &amp;quot; .. Minutes .. &amp;quot; &amp;quot; .. cfg.messages[&#039;minutes&#039;];&lt;br /&gt;
		else&lt;br /&gt;
			if utilities.is_set (Time) then&lt;br /&gt;
				local TimeCaption = A[&#039;TimeCaption&#039;]&lt;br /&gt;
				if not utilities.is_set (TimeCaption) then&lt;br /&gt;
					TimeCaption = cfg.messages[&#039;event&#039;];&lt;br /&gt;
					if sepc ~= &#039;.&#039; then&lt;br /&gt;
						TimeCaption = TimeCaption:lower();&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
				Position = &amp;quot; &amp;quot; .. TimeCaption .. &amp;quot; &amp;quot; .. Time;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		Position = &amp;quot; &amp;quot; .. Position;&lt;br /&gt;
		At = &#039;&#039;;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	Page, Pages, Sheet, Sheets = format_pages_sheets (Page, Pages, Sheet, Sheets, config.CitationClass, Periodical_origin, sepc, NoPP, use_lowercase);&lt;br /&gt;
&lt;br /&gt;
	At = utilities.is_set (At) and (sepc .. &amp;quot; &amp;quot; .. At) or &amp;quot;&amp;quot;;&lt;br /&gt;
	Position = utilities.is_set (Position) and (sepc .. &amp;quot; &amp;quot; .. Position) or &amp;quot;&amp;quot;;&lt;br /&gt;
	if config.CitationClass == &#039;map&#039; then&lt;br /&gt;
		local Sections = A[&#039;Sections&#039;];											-- Section (singular) is an alias of Chapter so set earlier&lt;br /&gt;
		local Inset = A[&#039;Inset&#039;];&lt;br /&gt;
		&lt;br /&gt;
		if utilities.is_set ( Inset ) then&lt;br /&gt;
			Inset = sepc .. &amp;quot; &amp;quot; .. wrap_msg (&#039;inset&#039;, Inset, use_lowercase);&lt;br /&gt;
		end			&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set ( Sections ) then&lt;br /&gt;
			Section = sepc .. &amp;quot; &amp;quot; .. wrap_msg (&#039;sections&#039;, Sections, use_lowercase);&lt;br /&gt;
		elseif utilities.is_set ( Section ) then&lt;br /&gt;
			Section = sepc .. &amp;quot; &amp;quot; .. wrap_msg (&#039;section&#039;, Section, use_lowercase);&lt;br /&gt;
		end&lt;br /&gt;
		At = At .. Inset .. Section;		&lt;br /&gt;
	end	&lt;br /&gt;
&lt;br /&gt;
	local Others = A[&#039;Others&#039;];&lt;br /&gt;
	if utilities.is_set (Others) and 0 == #a and 0 == #e then					-- add maint cat when |others= has value and used without |author=, |editor=&lt;br /&gt;
		if config.CitationClass == &amp;quot;AV-media-notes&amp;quot;&lt;br /&gt;
		or config.CitationClass == &amp;quot;audio-visual&amp;quot; then							-- special maint for AV/M which has a lot of &#039;false&#039; positives right now&lt;br /&gt;
			utilities.set_message (&#039;maint_others_avm&#039;)&lt;br /&gt;
		else&lt;br /&gt;
			utilities.set_message (&#039;maint_others&#039;);&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	Others = utilities.is_set (Others) and (sepc .. &amp;quot; &amp;quot; .. Others) or &amp;quot;&amp;quot;;&lt;br /&gt;
	&lt;br /&gt;
	if utilities.is_set (Translators) then&lt;br /&gt;
		Others = safe_join ({sepc .. &#039; &#039;, wrap_msg (&#039;translated&#039;, Translators, use_lowercase), Others}, sepc);&lt;br /&gt;
	end&lt;br /&gt;
	if utilities.is_set (Interviewers) then&lt;br /&gt;
		Others = safe_join ({sepc .. &#039; &#039;, wrap_msg (&#039;interview&#039;, Interviewers, use_lowercase), Others}, sepc);&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local TitleNote = A[&#039;TitleNote&#039;];&lt;br /&gt;
	TitleNote = utilities.is_set (TitleNote) and (sepc .. &amp;quot; &amp;quot; .. TitleNote) or &amp;quot;&amp;quot;;&lt;br /&gt;
	if utilities.is_set (Edition) then&lt;br /&gt;
		if Edition:match (&#039;%f[%a][Ee]d%n?%.?$&#039;) or Edition:match (&#039;%f[%a][Ee]dition$&#039;) then -- Ed, ed, Ed., ed., Edn, edn, Edn., edn.&lt;br /&gt;
			utilities.set_message (&#039;err_extra_text_edition&#039;);					 -- add error message&lt;br /&gt;
		end&lt;br /&gt;
		Edition = &amp;quot; &amp;quot; .. wrap_msg (&#039;edition&#039;, Edition);&lt;br /&gt;
	else&lt;br /&gt;
		Edition = &#039;&#039;;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	Series = utilities.is_set (Series) and wrap_msg (&#039;series&#039;, {sepc, Series}) or &amp;quot;&amp;quot;;	-- not the same as SeriesNum&lt;br /&gt;
	local Agency = A[&#039;Agency&#039;] or &#039;&#039;;											-- |agency= is supported by {{cite magazine}}, {{cite news}}, {{cite press release}}, {{cite web}}, and certain {{citation}} templates&lt;br /&gt;
	if utilities.is_set (Agency) then											-- this testing done here because {{citation}} supports &#039;news&#039; citations&lt;br /&gt;
		if utilities.in_array (config.CitationClass, {&#039;magazine&#039;, &#039;news&#039;, &#039;pressrelease&#039;, &#039;web&#039;}) or (&#039;citation&#039; == config.CitationClass and utilities.in_array (Periodical_origin, {&amp;quot;magazine&amp;quot;, &amp;quot;newspaper&amp;quot;, &amp;quot;work&amp;quot;})) then&lt;br /&gt;
			Agency = wrap_msg (&#039;agency&#039;, {sepc, Agency});						-- format for rendering&lt;br /&gt;
		else&lt;br /&gt;
			Agency = &#039;&#039;;														-- unset; not supported&lt;br /&gt;
			utilities.set_message (&#039;err_parameter_ignored&#039;, {&#039;agency&#039;});		-- add error message&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	Volume = format_volume_issue (Volume, Issue, ArticleNumber, config.CitationClass, Periodical_origin, sepc, use_lowercase);&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (AccessDate) then&lt;br /&gt;
		local retrv_text = &amp;quot; &amp;quot; .. cfg.messages[&#039;retrieved&#039;]&lt;br /&gt;
&lt;br /&gt;
		AccessDate = nowrap_date (AccessDate);									-- wrap in nowrap span if date in appropriate format&lt;br /&gt;
		if (sepc ~= &amp;quot;.&amp;quot;) then retrv_text = retrv_text:lower() end				-- if mode is cs2, lower case&lt;br /&gt;
		AccessDate = utilities.substitute (retrv_text, AccessDate);				-- add retrieved text&lt;br /&gt;
&lt;br /&gt;
		AccessDate = utilities.substitute (cfg.presentation[&#039;accessdate&#039;], {sepc, AccessDate});	-- allow editors to hide accessdates&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if utilities.is_set (ID) then ID = sepc .. &amp;quot; &amp;quot; .. ID; end&lt;br /&gt;
	&lt;br /&gt;
	local Docket = A[&#039;Docket&#039;];&lt;br /&gt;
   	if &amp;quot;thesis&amp;quot; == config.CitationClass and utilities.is_set (Docket) then&lt;br /&gt;
		ID = sepc .. &amp;quot; Docket &amp;quot; .. Docket .. ID;&lt;br /&gt;
	end&lt;br /&gt;
   	if &amp;quot;report&amp;quot; == config.CitationClass and utilities.is_set (Docket) then		-- for cite report when |docket= is set&lt;br /&gt;
		ID = sepc .. &#039; &#039; .. Docket;												-- overwrite ID even if |id= is set&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (URL) then&lt;br /&gt;
		URL = &amp;quot; &amp;quot; .. external_link( URL, nil, URL_origin, UrlAccess );&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- We check length of PostScript here because it will have been nuked by&lt;br /&gt;
	-- the quote parameters. We&#039;d otherwise emit a message even if there wasn&#039;t&lt;br /&gt;
	-- a displayed postscript.&lt;br /&gt;
	-- TODO: Should the max size (1) be configurable?&lt;br /&gt;
	-- TODO: Should we check a specific pattern?&lt;br /&gt;
	if utilities.is_set(PostScript) and mw.ustring.len(PostScript) &amp;gt; 1 then&lt;br /&gt;
		utilities.set_message (&#039;maint_postscript&#039;)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local Archived;&lt;br /&gt;
	if utilities.is_set (ArchiveURL) then&lt;br /&gt;
		if not utilities.is_set (ArchiveDate) then								-- ArchiveURL set but ArchiveDate not set&lt;br /&gt;
			utilities.set_message (&#039;err_archive_missing_date&#039;);					-- emit an error message&lt;br /&gt;
			ArchiveURL = &#039;&#039;;													-- empty string for concatenation&lt;br /&gt;
			ArchiveDate = &#039;&#039;;													-- empty string for concatenation&lt;br /&gt;
		end&lt;br /&gt;
	else														&lt;br /&gt;
		if utilities.is_set (ArchiveDate) then									-- ArchiveURL not set but ArchiveDate is set&lt;br /&gt;
			utilities.set_message (&#039;err_archive_date_missing_url&#039;);				-- emit an error message&lt;br /&gt;
			ArchiveURL = &#039;&#039;;													-- empty string for concatenation&lt;br /&gt;
			ArchiveDate = &#039;&#039;;													-- empty string for concatenation&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (ArchiveURL) then&lt;br /&gt;
		local arch_text;&lt;br /&gt;
		if &amp;quot;live&amp;quot; == UrlStatus then&lt;br /&gt;
			arch_text = cfg.messages[&#039;archived&#039;];&lt;br /&gt;
			if sepc ~= &amp;quot;.&amp;quot; then arch_text = arch_text:lower() end&lt;br /&gt;
			if utilities.is_set (ArchiveDate) then&lt;br /&gt;
				Archived = sepc .. &#039; &#039; .. utilities.substitute ( cfg.messages[&#039;archived-live&#039;],&lt;br /&gt;
					{external_link( ArchiveURL, arch_text, A:ORIGIN(&#039;ArchiveURL&#039;), nil) .. ArchiveFormat, ArchiveDate } );&lt;br /&gt;
			else&lt;br /&gt;
				Archived = &#039;&#039;;&lt;br /&gt;
			end&lt;br /&gt;
			if not utilities.is_set (OriginalURL) then&lt;br /&gt;
				utilities.set_message (&#039;err_archive_missing_url&#039;);&lt;br /&gt;
				Archived = &#039;&#039;;													-- empty string for concatenation&lt;br /&gt;
			end&lt;br /&gt;
		elseif utilities.is_set (OriginalURL) then								-- UrlStatus is empty, &#039;dead&#039;, &#039;unfit&#039;, &#039;usurped&#039;, &#039;bot: unknown&#039;&lt;br /&gt;
			if utilities.in_array (UrlStatus, {&#039;unfit&#039;, &#039;usurped&#039;, &#039;bot: unknown&#039;}) then&lt;br /&gt;
				arch_text = cfg.messages[&#039;archived-unfit&#039;];&lt;br /&gt;
				if sepc ~= &amp;quot;.&amp;quot; then arch_text = arch_text:lower() end&lt;br /&gt;
				Archived = sepc .. &#039; &#039; .. arch_text .. ArchiveDate;				-- format already styled&lt;br /&gt;
				if &#039;bot: unknown&#039; == UrlStatus then&lt;br /&gt;
					utilities.set_message (&#039;maint_bot_unknown&#039;);				-- and add a category if not already added&lt;br /&gt;
				else&lt;br /&gt;
					utilities.add_prop_cat (&#039;unfit&#039;);							-- and add a category if not already added&lt;br /&gt;
				end&lt;br /&gt;
			else																-- UrlStatus is empty, &#039;dead&#039;&lt;br /&gt;
				arch_text = cfg.messages[&#039;archived-dead&#039;];&lt;br /&gt;
				if sepc ~= &amp;quot;.&amp;quot; then arch_text = arch_text:lower() end&lt;br /&gt;
				if utilities.is_set (ArchiveDate) then&lt;br /&gt;
					Archived = sepc .. &amp;quot; &amp;quot; .. utilities.substitute ( arch_text,&lt;br /&gt;
						{ external_link( OriginalURL, cfg.messages[&#039;original&#039;], OriginalURL_origin, OriginalAccess ) .. OriginalFormat, ArchiveDate } );	-- format already styled&lt;br /&gt;
				else&lt;br /&gt;
					Archived = &#039;&#039;;												-- unset for concatenation&lt;br /&gt;
				end&lt;br /&gt;
			end	&lt;br /&gt;
		else																	-- OriginalUrl not set&lt;br /&gt;
			utilities.set_message (&#039;err_archive_missing_url&#039;);&lt;br /&gt;
			Archived = &#039;&#039;;														-- empty string for concatenation&lt;br /&gt;
		end&lt;br /&gt;
	elseif utilities.is_set (ArchiveFormat) then&lt;br /&gt;
		Archived = ArchiveFormat;												-- if set and ArchiveURL not set ArchiveFormat has error message&lt;br /&gt;
	else&lt;br /&gt;
		Archived = &#039;&#039;;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local TranscriptURL = A[&#039;TranscriptURL&#039;]&lt;br /&gt;
	local TranscriptFormat = A[&#039;TranscriptFormat&#039;];&lt;br /&gt;
	TranscriptFormat = style_format (TranscriptFormat, TranscriptURL, &#039;transcript-format&#039;, &#039;transcripturl&#039;);&lt;br /&gt;
	local Transcript = A[&#039;Transcript&#039;];&lt;br /&gt;
	local TranscriptURL_origin = A:ORIGIN(&#039;TranscriptURL&#039;);						-- get name of parameter that holds TranscriptURL&lt;br /&gt;
	if utilities.is_set (Transcript) then&lt;br /&gt;
		if utilities.is_set (TranscriptURL) then&lt;br /&gt;
			Transcript = external_link( TranscriptURL, Transcript, TranscriptURL_origin, nil );&lt;br /&gt;
		end&lt;br /&gt;
		Transcript = sepc .. &#039; &#039; .. Transcript .. TranscriptFormat;&lt;br /&gt;
	elseif utilities.is_set (TranscriptURL) then&lt;br /&gt;
		Transcript = external_link( TranscriptURL, nil, TranscriptURL_origin, nil );&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local Publisher;&lt;br /&gt;
	if utilities.is_set (PublicationDate) then&lt;br /&gt;
		PublicationDate = wrap_msg (&#039;published&#039;, PublicationDate);&lt;br /&gt;
	end&lt;br /&gt;
	if utilities.is_set (PublisherName) then&lt;br /&gt;
		if utilities.is_set (PublicationPlace) then&lt;br /&gt;
			Publisher = sepc .. &amp;quot; &amp;quot; .. PublicationPlace .. &amp;quot;: &amp;quot; .. PublisherName .. PublicationDate;&lt;br /&gt;
		else&lt;br /&gt;
			Publisher = sepc .. &amp;quot; &amp;quot; .. PublisherName .. PublicationDate;  &lt;br /&gt;
		end			&lt;br /&gt;
	elseif utilities.is_set (PublicationPlace) then &lt;br /&gt;
		Publisher= sepc .. &amp;quot; &amp;quot; .. PublicationPlace .. PublicationDate;&lt;br /&gt;
	else &lt;br /&gt;
		Publisher = PublicationDate;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Several of the above rely upon detecting this as nil, so do it last.&lt;br /&gt;
	if (utilities.is_set (Periodical) or utilities.is_set (ScriptPeriodical) or utilities.is_set (TransPeriodical)) then&lt;br /&gt;
		if utilities.is_set (Title) or utilities.is_set (TitleNote) then &lt;br /&gt;
			Periodical = sepc .. &amp;quot; &amp;quot; .. format_periodical (ScriptPeriodical, ScriptPeriodical_origin, Periodical, TransPeriodical, TransPeriodical_origin);&lt;br /&gt;
		else &lt;br /&gt;
			Periodical = format_periodical (ScriptPeriodical, ScriptPeriodical_origin, Periodical, TransPeriodical, TransPeriodical_origin);&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local Language = A[&#039;Language&#039;];&lt;br /&gt;
	if utilities.is_set (Language) then&lt;br /&gt;
		Language = language_parameter (Language);								-- format, categories, name from ISO639-1, etc.&lt;br /&gt;
	else&lt;br /&gt;
		Language=&#039;&#039;;															-- language not specified so make sure this is an empty string;&lt;br /&gt;
	--[[ TODO: need to extract the wrap_msg from language_parameter&lt;br /&gt;
	so that we can solve parentheses bunching problem with Format/Language/TitleType&lt;br /&gt;
	]]&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	--[[&lt;br /&gt;
	Handle the oddity that is cite speech.  This code overrides whatever may be the value assigned to TitleNote (through |department=) and forces it to be &amp;quot; (Speech)&amp;quot; so that&lt;br /&gt;
	the annotation directly follows the |title= parameter value in the citation rather than the |event= parameter value (if provided).&lt;br /&gt;
	]]&lt;br /&gt;
	if &amp;quot;speech&amp;quot; == config.CitationClass then									-- cite speech only&lt;br /&gt;
		TitleNote = TitleType;													-- move TitleType to TitleNote so that it renders ahead of |event=&lt;br /&gt;
		TitleType = &#039;&#039;;															-- and unset&lt;br /&gt;
&lt;br /&gt;
		if utilities.is_set (Periodical) then									-- if Periodical, perhaps because of an included |website= or |journal= parameter &lt;br /&gt;
			if utilities.is_set (Conference) then								-- and if |event= is set&lt;br /&gt;
				Conference = Conference .. sepc .. &amp;quot; &amp;quot;;							-- then add appropriate punctuation to the end of the Conference variable before rendering&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Piece all bits together at last.  Here, all should be non-nil.&lt;br /&gt;
	-- We build things this way because it is more efficient in LUA&lt;br /&gt;
	-- not to keep reassigning to the same string variable over and over.&lt;br /&gt;
&lt;br /&gt;
	local tcommon;&lt;br /&gt;
	local tcommon2;																-- used for book cite when |contributor= is set&lt;br /&gt;
	&lt;br /&gt;
	if utilities.in_array (config.CitationClass, {&amp;quot;book&amp;quot;, &amp;quot;citation&amp;quot;}) and not utilities.is_set (Periodical) then		-- special cases for book cites&lt;br /&gt;
		if utilities.is_set (Contributors) then									-- when we are citing foreword, preface, introduction, etc.&lt;br /&gt;
			tcommon = safe_join ({Title, TitleNote}, sepc);						-- author and other stuff will come after this and before tcommon2&lt;br /&gt;
			tcommon2 = safe_join ({TitleType, Series, Language, Volume, Others, Edition, Publisher}, sepc);&lt;br /&gt;
		else&lt;br /&gt;
			tcommon = safe_join ({Title, TitleNote, TitleType, Series, Language, Volume, Others, Edition, Publisher}, sepc);&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
	elseif &#039;map&#039; == config.CitationClass then									-- special cases for cite map&lt;br /&gt;
		if utilities.is_set (Chapter) then										-- map in a book; TitleType is part of Chapter&lt;br /&gt;
			tcommon = safe_join ({Title, Edition, Scale, Series, Language, Cartography, Others, Publisher, Volume}, sepc);&lt;br /&gt;
		elseif utilities.is_set (Periodical) then								-- map in a periodical&lt;br /&gt;
			tcommon = safe_join ({Title, TitleType, Periodical, Scale, Series, Language, Cartography, Others, Publisher, Volume}, sepc);&lt;br /&gt;
		else																	-- a sheet or stand-alone map&lt;br /&gt;
			tcommon = safe_join ({Title, TitleType, Edition, Scale, Series, Language, Cartography, Others, Publisher}, sepc);&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
	elseif &#039;episode&#039; == config.CitationClass then								-- special case for cite episode&lt;br /&gt;
		tcommon = safe_join ({Title, TitleNote, TitleType, Series, Language, Edition, Publisher}, sepc);&lt;br /&gt;
&lt;br /&gt;
	else																		-- all other CS1 templates&lt;br /&gt;
		tcommon = safe_join ({Title, TitleNote, Conference, Periodical, TitleType, Series, Language, Volume, Others, Edition, Publisher, Agency}, sepc);&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if #ID_list &amp;gt; 0 then&lt;br /&gt;
		ID_list = safe_join( { sepc .. &amp;quot; &amp;quot;,  table.concat( ID_list, sepc .. &amp;quot; &amp;quot; ), ID }, sepc );&lt;br /&gt;
	else&lt;br /&gt;
		ID_list = ID;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local Via = A[&#039;Via&#039;];&lt;br /&gt;
	Via = utilities.is_set (Via) and  wrap_msg (&#039;via&#039;, Via) or &#039;&#039;;&lt;br /&gt;
	local idcommon;&lt;br /&gt;
	if &#039;audio-visual&#039; == config.CitationClass or &#039;episode&#039; == config.CitationClass then	-- special case for cite AV media &amp;amp; cite episode position transcript&lt;br /&gt;
		idcommon = safe_join( { ID_list, URL, Archived, Transcript, AccessDate, Via, Quote }, sepc );&lt;br /&gt;
	else&lt;br /&gt;
		idcommon = safe_join( { ID_list, URL, Archived, AccessDate, Via, Quote }, sepc );&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local text;&lt;br /&gt;
	local pgtext = Position .. Sheet .. Sheets .. Page .. Pages .. At;&lt;br /&gt;
&lt;br /&gt;
	local OrigDate = A[&#039;OrigDate&#039;];&lt;br /&gt;
	OrigDate = utilities.is_set (OrigDate) and wrap_msg (&#039;origdate&#039;, OrigDate) or &#039;&#039;;&lt;br /&gt;
	if utilities.is_set (Date) then&lt;br /&gt;
		if utilities.is_set (Authors) or utilities.is_set (Editors) then		-- date follows authors or editors when authors not set&lt;br /&gt;
			Date = &amp;quot; (&amp;quot; .. Date .. &amp;quot;)&amp;quot; .. OrigDate .. sepc .. &amp;quot; &amp;quot;;				-- in parentheses&lt;br /&gt;
		else																	-- neither of authors and editors set&lt;br /&gt;
			if (string.sub(tcommon, -1, -1) == sepc) then						-- if the last character of tcommon is sepc&lt;br /&gt;
				Date = &amp;quot; &amp;quot; .. Date .. OrigDate;									-- Date does not begin with sepc&lt;br /&gt;
			else&lt;br /&gt;
				Date = sepc .. &amp;quot; &amp;quot; .. Date .. OrigDate;							-- Date begins with sepc&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end	&lt;br /&gt;
	if utilities.is_set (Authors) then&lt;br /&gt;
		if (not utilities.is_set (Date)) then									-- when date is set it&#039;s in parentheses; no Authors termination&lt;br /&gt;
			Authors = terminate_name_list (Authors, sepc);						-- when no date, terminate with 0 or 1 sepc and a space&lt;br /&gt;
		end&lt;br /&gt;
		if utilities.is_set (Editors) then&lt;br /&gt;
			local in_text = &#039;&#039;;&lt;br /&gt;
			local post_text = &#039;&#039;;&lt;br /&gt;
			if utilities.is_set (Chapter) and 0 == #c then&lt;br /&gt;
				in_text = cfg.messages[&#039;in&#039;] .. &#039; &#039;;&lt;br /&gt;
				if (sepc ~= &#039;.&#039;) then&lt;br /&gt;
					in_text = in_text:lower();									-- lowercase for cs2&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			if EditorCount &amp;lt;= 1 then&lt;br /&gt;
				post_text = &#039; (&#039; .. cfg.messages[&#039;editor&#039;] .. &#039;)&#039;;				-- be consistent with no-author, no-date case&lt;br /&gt;
			else&lt;br /&gt;
				post_text = &#039; (&#039; .. cfg.messages[&#039;editors&#039;] .. &#039;)&#039;;&lt;br /&gt;
			end&lt;br /&gt;
			Editors = terminate_name_list (in_text .. Editors .. post_text, sepc);	-- terminate with 0 or 1 sepc and a space&lt;br /&gt;
		end&lt;br /&gt;
		if utilities.is_set (Contributors) then									-- book cite and we&#039;re citing the intro, preface, etc.&lt;br /&gt;
			local by_text = sepc .. &#039; &#039; .. cfg.messages[&#039;by&#039;] .. &#039; &#039;;&lt;br /&gt;
			if (sepc ~= &#039;.&#039;) then by_text = by_text:lower() end					-- lowercase for cs2&lt;br /&gt;
			Authors = by_text .. Authors;										-- author follows title so tweak it here&lt;br /&gt;
			if utilities.is_set (Editors) and utilities.is_set (Date) then		-- when Editors make sure that Authors gets terminated&lt;br /&gt;
				Authors = terminate_name_list (Authors, sepc);					-- terminate with 0 or 1 sepc and a space&lt;br /&gt;
			end&lt;br /&gt;
			if (not utilities.is_set (Date)) then								-- when date is set it&#039;s in parentheses; no Contributors termination&lt;br /&gt;
				Contributors = terminate_name_list (Contributors, sepc);		-- terminate with 0 or 1 sepc and a space&lt;br /&gt;
			end&lt;br /&gt;
			text = safe_join( {Contributors, Date, Chapter, tcommon, Authors, Place, Editors, tcommon2, pgtext, idcommon }, sepc );&lt;br /&gt;
		else&lt;br /&gt;
			text = safe_join( {Authors, Date, Chapter, Place, Editors, tcommon, pgtext, idcommon }, sepc );&lt;br /&gt;
		end&lt;br /&gt;
	elseif utilities.is_set (Editors) then&lt;br /&gt;
		if utilities.is_set (Date) then&lt;br /&gt;
			if EditorCount &amp;lt;= 1 then&lt;br /&gt;
				Editors = Editors .. cfg.presentation[&#039;sep_name&#039;] .. cfg.messages[&#039;editor&#039;];&lt;br /&gt;
			else&lt;br /&gt;
				Editors = Editors .. cfg.presentation[&#039;sep_name&#039;] .. cfg.messages[&#039;editors&#039;];&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			if EditorCount &amp;lt;= 1 then&lt;br /&gt;
				Editors = Editors .. &amp;quot; (&amp;quot; .. cfg.messages[&#039;editor&#039;] .. &amp;quot;)&amp;quot; .. sepc .. &amp;quot; &amp;quot;&lt;br /&gt;
			else&lt;br /&gt;
				Editors = Editors .. &amp;quot; (&amp;quot; .. cfg.messages[&#039;editors&#039;] .. &amp;quot;)&amp;quot; .. sepc .. &amp;quot; &amp;quot;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		text = safe_join( {Editors, Date, Chapter, Place, tcommon, pgtext, idcommon}, sepc );&lt;br /&gt;
	else&lt;br /&gt;
		if utilities.in_array (config.CitationClass, {&amp;quot;journal&amp;quot;, &amp;quot;citation&amp;quot;}) and utilities.is_set (Periodical) then&lt;br /&gt;
			text = safe_join( {Chapter, Place, tcommon, pgtext, Date, idcommon}, sepc );&lt;br /&gt;
		else&lt;br /&gt;
			text = safe_join( {Chapter, Place, tcommon, Date, pgtext, idcommon}, sepc );&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (PostScript) and PostScript ~= sepc then&lt;br /&gt;
		text = safe_join( {text, sepc}, sepc ); 								-- Deals with italics, spaces, etc.&lt;br /&gt;
		if &#039;.&#039; == sepc then														-- remove final seperator if present&lt;br /&gt;
			text = text:gsub (&#039;%&#039; .. sepc .. &#039;$&#039;, &#039;&#039;);							-- dot must be escaped here&lt;br /&gt;
		else&lt;br /&gt;
			text = mw.ustring.gsub (text, sepc .. &#039;$&#039;, &#039;&#039;);						-- using ustring for non-dot sepc (likely a non-Latin character)&lt;br /&gt;
		end&lt;br /&gt;
	end	&lt;br /&gt;
	&lt;br /&gt;
	text = safe_join( {text, PostScript}, sepc );&lt;br /&gt;
&lt;br /&gt;
	-- Now enclose the whole thing in a &amp;lt;cite&amp;gt; element&lt;br /&gt;
	local options_t = {};&lt;br /&gt;
	options_t.class = cite_class_attribute_make (config.CitationClass, Mode);&lt;br /&gt;
&lt;br /&gt;
	local Ref = is_valid_parameter_value (A[&#039;Ref&#039;], A:ORIGIN(&#039;Ref&#039;), cfg.keywords_lists[&#039;ref&#039;], nil, true);	-- nil when |ref=harv; A[&#039;Ref&#039;] else&lt;br /&gt;
&lt;br /&gt;
	if &#039;none&#039; ~= cfg.keywords_xlate[(Ref and Ref:lower()) or &#039;&#039;] then&lt;br /&gt;
		local namelist_t = {};													-- holds selected contributor, author, editor name list&lt;br /&gt;
		local year = first_set ({Year, anchor_year}, 2);						-- Year first for legacy citations and for YMD dates that require disambiguation&lt;br /&gt;
&lt;br /&gt;
		if #c &amp;gt; 0 then															-- if there is a contributor list&lt;br /&gt;
			namelist_t = c;														-- select it&lt;br /&gt;
		elseif #a &amp;gt; 0 then														-- or an author list&lt;br /&gt;
			namelist_t = a;&lt;br /&gt;
		elseif #e &amp;gt; 0 then														-- or an editor list&lt;br /&gt;
			namelist_t = e;&lt;br /&gt;
		end&lt;br /&gt;
		local citeref_id;&lt;br /&gt;
		if #namelist_t &amp;gt; 0 then													-- if there are names in namelist_t&lt;br /&gt;
			citeref_id = make_citeref_id (namelist_t, year);					-- go make the CITEREF anchor&lt;br /&gt;
			if mw.uri.anchorEncode (citeref_id) == ((Ref and mw.uri.anchorEncode (Ref)) or &#039;&#039;) then	-- Ref may already be encoded (by {{sfnref}}) so citeref_id must be encoded before comparison&lt;br /&gt;
				utilities.set_message (&#039;maint_ref_duplicates_default&#039;);&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			citeref_id = &#039;&#039;;													-- unset&lt;br /&gt;
		end&lt;br /&gt;
		options_t.id = Ref or citeref_id;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if string.len (text:gsub(&#039;%b&amp;lt;&amp;gt;&#039;, &#039;&#039;)) &amp;lt;= 2 then								-- remove html and html-like tags; then get length of what remains; &lt;br /&gt;
		z.error_cats_t = {};													-- blank the categories list&lt;br /&gt;
		z.error_msgs_t = {};													-- blank the error messages list&lt;br /&gt;
		OCinSoutput = nil;														-- blank the metadata string&lt;br /&gt;
		text = &#039;&#039;;																-- blank the the citation&lt;br /&gt;
		utilities.set_message (&#039;err_empty_citation&#039;);							-- set empty citation message and category&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local render_t = {};														-- here we collect the final bits for concatenation into the rendered citation&lt;br /&gt;
&lt;br /&gt;
	if utilities.is_set (options_t.id) then										-- here we wrap the rendered citation in &amp;lt;cite ...&amp;gt;...&amp;lt;/cite&amp;gt; tags&lt;br /&gt;
		table.insert (render_t, utilities.substitute (cfg.presentation[&#039;cite-id&#039;], {mw.uri.anchorEncode(options_t.id), mw.text.nowiki(options_t.class), text}));	-- when |ref= is set or when there is a namelist&lt;br /&gt;
	else&lt;br /&gt;
		table.insert (render_t, utilities.substitute (cfg.presentation[&#039;cite&#039;], {mw.text.nowiki(options_t.class), text}));	-- when |ref=none or when namelist_t empty and |ref= is missing or is empty&lt;br /&gt;
	end		&lt;br /&gt;
&lt;br /&gt;
	if OCinSoutput then															-- blanked when citation is &#039;empty&#039; so don&#039;t bother to add boilerplate metadata span&lt;br /&gt;
		table.insert (render_t, utilities.substitute (cfg.presentation[&#039;ocins&#039;], OCinSoutput));	-- format and append metadata to the citation&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local template_name = (&#039;citation&#039; == config.CitationClass) and &#039;citation&#039; or &#039;cite &#039; .. (cfg.citation_class_map_t[config.CitationClass] or config.CitationClass);&lt;br /&gt;
	local template_link = &#039;[[Template:&#039; .. template_name .. &#039;|&#039; .. template_name .. &#039;]]&#039;;&lt;br /&gt;
	local msg_prefix = &#039;&amp;lt;code class=&amp;quot;cs1-code&amp;quot;&amp;gt;{{&#039; .. template_link .. &#039;}}&amp;lt;/code&amp;gt;: &#039;;&lt;br /&gt;
&lt;br /&gt;
	if 0 ~= #z.error_msgs_t then&lt;br /&gt;
		mw.addWarning (utilities.substitute (cfg.messages.warning_msg_e, template_link));&lt;br /&gt;
&lt;br /&gt;
		table.insert (render_t, &#039; &#039;);											-- insert a space between citation and its error messages&lt;br /&gt;
		table.sort (z.error_msgs_t);											-- sort the error messages list; sorting includes wrapping &amp;lt;span&amp;gt; and &amp;lt;code&amp;gt; tags; hidden-error sorts ahead of visible-error&lt;br /&gt;
&lt;br /&gt;
		local hidden = true;													-- presume that the only error messages emited by this template are hidden&lt;br /&gt;
		for _, v in ipairs (z.error_msgs_t) do									-- spin through the list of error messages&lt;br /&gt;
			if v:find (&#039;cs1-visible-error&#039;, 1, true) then						-- look for the visible error class name&lt;br /&gt;
				hidden = false;													-- found one; so don&#039;t hide the error message prefix&lt;br /&gt;
				break;															-- and done because no need to look further&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		z.error_msgs_t[1] = table.concat ({utilities.error_comment (msg_prefix, hidden), z.error_msgs_t[1]});	-- add error message prefix to first error message to prevent extraneous punctuation&lt;br /&gt;
		table.insert (render_t, table.concat (z.error_msgs_t, &#039;; &#039;));			-- make a big string of error messages and add it to the rendering&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if 0 ~= #z.maint_cats_t then&lt;br /&gt;
		mw.addWarning (utilities.substitute (cfg.messages.warning_msg_m, template_link));&lt;br /&gt;
&lt;br /&gt;
		table.sort (z.maint_cats_t);											-- sort the maintenance messages list&lt;br /&gt;
&lt;br /&gt;
		local maint_msgs_t = {};												-- here we collect all of the maint messages&lt;br /&gt;
&lt;br /&gt;
		if 0 == #z.error_msgs_t then											-- if no error messages&lt;br /&gt;
			table.insert (maint_msgs_t, msg_prefix);							-- insert message prefix in maint message livery&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		for _, v in ipairs( z.maint_cats_t ) do									-- append maintenance categories&lt;br /&gt;
			table.insert (maint_msgs_t, 										-- assemble new maint message and add it to the maint_msgs_t table&lt;br /&gt;
				table.concat ({v, &#039; (&#039;, utilities.substitute (cfg.messages[&#039;:cat wikilink&#039;], v), &#039;)&#039;})&lt;br /&gt;
				);&lt;br /&gt;
		end&lt;br /&gt;
		table.insert (render_t, utilities.substitute (cfg.presentation[&#039;hidden-maint&#039;], table.concat (maint_msgs_t, &#039; &#039;)));	-- wrap the group of maint messages with proper presentation and save&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if not no_tracking_cats then&lt;br /&gt;
		local sort_key;&lt;br /&gt;
		local cat_wikilink = &#039;cat wikilink&#039;;&lt;br /&gt;
		if cfg.enable_sort_keys then											-- when namespace sort keys enabled&lt;br /&gt;
			local namespace_number = mw.title.getCurrentTitle().namespace;		-- get namespace number for this wikitext&lt;br /&gt;
			sort_key = (0 ~= namespace_number and (cfg.name_space_sort_keys[namespace_number] or cfg.name_space_sort_keys.other)) or nil;	-- get sort key character; nil for mainspace&lt;br /&gt;
			cat_wikilink = (not sort_key and &#039;cat wikilink&#039;) or &#039;cat wikilink sk&#039;;	-- make &amp;lt;cfg.messages&amp;gt; key&lt;br /&gt;
		end				&lt;br /&gt;
&lt;br /&gt;
		for _, v in ipairs (z.error_cats_t) do									-- append error categories&lt;br /&gt;
			table.insert (render_t, utilities.substitute (cfg.messages[cat_wikilink], {v, sort_key}));&lt;br /&gt;
		end&lt;br /&gt;
		if cfg.id_limits_data_load_fail then									-- boolean true when load failed&lt;br /&gt;
			utilities.set_message (&#039;maint_id_limit_load_fail&#039;);					-- done here because this maint cat emits no message&lt;br /&gt;
		end&lt;br /&gt;
		for _, v in ipairs (z.maint_cats_t) do									-- append maintenance categories&lt;br /&gt;
			table.insert (render_t, utilities.substitute (cfg.messages[cat_wikilink], {v, sort_key}));&lt;br /&gt;
		end&lt;br /&gt;
		for _, v in ipairs (z.prop_cats_t) do									-- append properties categories&lt;br /&gt;
			table.insert (render_t, utilities.substitute (cfg.messages[&#039;cat wikilink&#039;], v));	-- no sort keys&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return table.concat (render_t);												-- make a big string and done&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; V A L I D A T E &amp;gt;--------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Looks for a parameter&#039;s name in one of several whitelists.&lt;br /&gt;
&lt;br /&gt;
Parameters in the whitelist can have three values:&lt;br /&gt;
	true - active, supported parameters&lt;br /&gt;
	false - deprecated, supported parameters&lt;br /&gt;
	nil - unsupported parameters&lt;br /&gt;
	&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function validate (name, cite_class, empty)&lt;br /&gt;
	local name = tostring (name);&lt;br /&gt;
	local enum_name;															-- parameter name with enumerator (if any) replaced with &#039;#&#039;&lt;br /&gt;
	local state;&lt;br /&gt;
	local function state_test (state, name)										-- local function to do testing of state values&lt;br /&gt;
		if true == state then return true; end									-- valid actively supported parameter&lt;br /&gt;
		if false == state then&lt;br /&gt;
			if empty then return nil; end										-- empty deprecated parameters are treated as unknowns&lt;br /&gt;
			deprecated_parameter (name);										-- parameter is deprecated but still supported&lt;br /&gt;
			return true;&lt;br /&gt;
		end&lt;br /&gt;
		if &#039;tracked&#039; == state then&lt;br /&gt;
			local base_name = name:gsub (&#039;%d&#039;, &#039;&#039;);								-- strip enumerators from parameter names that have them to get the base name&lt;br /&gt;
			utilities.add_prop_cat (&#039;tracked-param&#039;, {base_name}, base_name);	-- add a properties category; &amp;lt;base_name&amp;gt; modifies &amp;lt;key&amp;gt;&lt;br /&gt;
			return true;&lt;br /&gt;
		end&lt;br /&gt;
		return nil;&lt;br /&gt;
	end		&lt;br /&gt;
&lt;br /&gt;
	if name:find (&#039;#&#039;) then														-- # is a cs1|2 reserved character so parameters with # not permitted&lt;br /&gt;
		return nil;&lt;br /&gt;
	end&lt;br /&gt;
																				-- replace enumerator digit(s) with # (|last25= becomes |last#=) (mw.ustring because non-Western &#039;local&#039; digits)&lt;br /&gt;
	enum_name = mw.ustring.gsub (name, &#039;%d+$&#039;, &#039;#&#039;);							-- where enumerator is last charaters in parameter name (these to protect |s2cid=)&lt;br /&gt;
	enum_name = mw.ustring.gsub (enum_name, &#039;%d+([%-l])&#039;, &#039;#%1&#039;);				-- where enumerator is in the middle of the parameter name; |author#link= is the oddity&lt;br /&gt;
&lt;br /&gt;
	if &#039;document&#039; == cite_class then											-- special case for {{cite document}}&lt;br /&gt;
		state = whitelist.document_parameters_t[enum_name];						-- this list holds enumerated and nonenumerated parameters&lt;br /&gt;
		if true == state_test (state, name) then return true; end&lt;br /&gt;
		&lt;br /&gt;
		return false;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if utilities.in_array (cite_class, whitelist.preprint_template_list_t) then	-- limited parameter sets allowed for these templates&lt;br /&gt;
		state = whitelist.limited_parameters_t[enum_name];						-- this list holds enumerated and nonenumerated parameters&lt;br /&gt;
		if true == state_test (state, name) then return true; end&lt;br /&gt;
&lt;br /&gt;
		state = whitelist.preprint_arguments_t[cite_class][name];				-- look in the parameter-list for the template identified by cite_class&lt;br /&gt;
		if true == state_test (state, name) then return true; end&lt;br /&gt;
&lt;br /&gt;
		return false;															-- not supported because not found or name is set to nil&lt;br /&gt;
	end																			-- end limited parameter-set templates&lt;br /&gt;
&lt;br /&gt;
	if utilities.in_array (cite_class, whitelist.unique_param_template_list_t) then 	-- template-specific parameters for templates that accept parameters from the basic argument list&lt;br /&gt;
		state = whitelist.unique_arguments_t[cite_class][name];					-- look in the template-specific parameter-lists for the template identified by cite_class&lt;br /&gt;
		if true == state_test (state, name) then return true; end&lt;br /&gt;
	end																			-- if here, fall into general validation&lt;br /&gt;
&lt;br /&gt;
	state = whitelist.common_parameters_t[enum_name];							-- all other templates; all normal parameters allowed; this list holds enumerated and nonenumerated parameters&lt;br /&gt;
	if true == state_test (state, name) then return true; end&lt;br /&gt;
&lt;br /&gt;
	return false;																-- not supported because not found or name is set to nil&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[=[-------------------------&amp;lt; I N T E R _ W I K I _ C H E C K &amp;gt;----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
check &amp;lt;value&amp;gt; for inter-language interwiki-link markup.  &amp;lt;prefix&amp;gt; must be a MediaWiki-recognized language&lt;br /&gt;
code.  when these values have the form (without leading colon):&lt;br /&gt;
	[[&amp;lt;prefix&amp;gt;:link|label]] return label as plain-text&lt;br /&gt;
	[[&amp;lt;prefix&amp;gt;:link]] return &amp;lt;prefix&amp;gt;:link as plain-text&lt;br /&gt;
&lt;br /&gt;
return value as is else&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
&lt;br /&gt;
local function inter_wiki_check (parameter, value)&lt;br /&gt;
	local prefix = value:match (&#039;%[%[(%a+):&#039;);									-- get an interwiki prefix if one exists&lt;br /&gt;
	local _;&lt;br /&gt;
	&lt;br /&gt;
	if prefix and cfg.inter_wiki_map[prefix:lower()] then						-- if prefix is in the map, needs preceding colon so&lt;br /&gt;
		utilities.set_message (&#039;err_bad_paramlink&#039;, parameter);					-- emit an error message&lt;br /&gt;
		_, value, _ = utilities.is_wikilink (value);							-- extract label portion from wikilink&lt;br /&gt;
	end&lt;br /&gt;
	return value;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; M I S S I N G _ P I P E _ C H E C K &amp;gt;------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Look at the contents of a parameter. If the content has a string of characters and digits followed by an equal&lt;br /&gt;
sign, compare the alphanumeric string to the list of cs1|2 parameters.  If found, then the string is possibly a&lt;br /&gt;
parameter that is missing its pipe.  There are two tests made:&lt;br /&gt;
	{{cite ... |title=Title access-date=2016-03-17}}	-- the first parameter has a value and whitespace separates that value from the missing pipe parameter name&lt;br /&gt;
	{{cite ... |title=access-date=2016-03-17}}			-- the first parameter has no value (whitespace after the first = is trimmed by MediaWiki)&lt;br /&gt;
cs1|2 shares some parameter names with XML/HTML attributes: class=, title=, etc.  To prevent false positives XML/HTML&lt;br /&gt;
tags are removed before the search.&lt;br /&gt;
&lt;br /&gt;
If a missing pipe is detected, this function adds the missing pipe maintenance category.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function missing_pipe_check (parameter, value)&lt;br /&gt;
	local capture;&lt;br /&gt;
	value = value:gsub (&#039;%b&amp;lt;&amp;gt;&#039;, &#039;&#039;);											-- remove XML/HTML tags because attributes: class=, title=, etc.&lt;br /&gt;
&lt;br /&gt;
	capture = value:match (&#039;%s+(%a[%w%-]+)%s*=&#039;) or value:match (&#039;^(%a[%w%-]+)%s*=&#039;);	-- find and categorize parameters with possible missing pipes&lt;br /&gt;
	if capture and validate (capture) then										-- if the capture is a valid parameter name&lt;br /&gt;
		utilities.set_message (&#039;err_missing_pipe&#039;, parameter);&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; H A S _ E X T R A N E O U S _ P U N C T &amp;gt;--------------------------------------&lt;br /&gt;
&lt;br /&gt;
look for extraneous terminal punctuation in most parameter values; parameters listed in skip table are not checked&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function has_extraneous_punc (param, value)&lt;br /&gt;
	if &#039;number&#039; == type (param) then&lt;br /&gt;
		return;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	param = param:gsub (&#039;%d+&#039;, &#039;#&#039;);											-- enumerated name-list mask params allow terminal punct; normalize &lt;br /&gt;
	if cfg.punct_skip[param] then&lt;br /&gt;
		return;																	-- parameter name found in the skip table so done&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if value:match (&#039;[,;:]$&#039;) then&lt;br /&gt;
		utilities.set_message (&#039;maint_extra_punct&#039;);							-- has extraneous punctuation; add maint cat&lt;br /&gt;
	end&lt;br /&gt;
	if value:match (&#039;^=&#039;) then													-- sometimes an extraneous &#039;=&#039; character appears ...&lt;br /&gt;
		utilities.set_message (&#039;maint_extra_punct&#039;);							-- has extraneous punctuation; add maint cat&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; H A S _ T W L _ U R L &amp;gt;--------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
look for The Wikipedia Library urls in url-holding parameters.  TWL urls are accessible for readers who are not&lt;br /&gt;
active extended confirmed Wikipedia editors.  This function emits an error message when such urls are discovered.&lt;br /&gt;
&lt;br /&gt;
looks for: &#039;.wikipedialibrary.idm.oclc.org&#039;&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function has_twl_url (url_params_t)&lt;br /&gt;
	local url_error_t = {};														-- sequence of url-holding parameters that have a TWL url&lt;br /&gt;
	&lt;br /&gt;
	for param, value in pairs (url_params_t) do&lt;br /&gt;
		if value:find (&#039;%.wikipedialibrary%.idm%.oclc%.org&#039;) then				-- has the TWL base url?&lt;br /&gt;
			table.insert (url_error_t, utilities.wrap_style (&#039;parameter&#039;, param));	-- add parameter name to the list&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if 0 ~= #url_error_t then													-- non-zero when there are errors&lt;br /&gt;
		table.sort (url_error_t);&lt;br /&gt;
		utilities.set_message (&#039;err_param_has_twl_url&#039;, {utilities.make_sep_list (#url_error_t, url_error_t)});	-- add this error message&lt;br /&gt;
		return true;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; H A S _ E X T R A N E O U S _ U R L &amp;gt;------------------------------------------&lt;br /&gt;
&lt;br /&gt;
look for extraneous url parameter values; parameters listed in skip table are not checked&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function has_extraneous_url (non_url_param_t)&lt;br /&gt;
	local url_error_t = {};&lt;br /&gt;
	&lt;br /&gt;
	check_for_url (non_url_param_t, url_error_t);								-- extraneous url check&lt;br /&gt;
	if 0 ~= #url_error_t then													-- non-zero when there are errors&lt;br /&gt;
		table.sort (url_error_t);&lt;br /&gt;
		utilities.set_message (&#039;err_param_has_ext_link&#039;, {utilities.make_sep_list (#url_error_t, url_error_t)});	-- add this error message&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; _ C I T A T I O N &amp;gt;------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Module entry point&lt;br /&gt;
&lt;br /&gt;
	frame – from template call (citation()); may be nil when called from another module&lt;br /&gt;
	args – table of all cs1|2 parameters in the template (the template frame)&lt;br /&gt;
	config – table of template-supplied parameter (the #invoke frame)&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function _citation (frame, args, config)									-- save a copy in case we need to display an error message in preview mode&lt;br /&gt;
	if not frame then&lt;br /&gt;
		frame = mw.getCurrentFrame();											-- if called from another module, get a frame for frame-provided functions&lt;br /&gt;
	end&lt;br /&gt;
																				-- i18n: set the name that your wiki uses to identify sandbox subpages from sandbox template invoke (or can be set here)&lt;br /&gt;
	local sandbox = ((config.SandboxPath and &#039;&#039; ~= config.SandboxPath) and config.SandboxPath) or &#039;/sandbox&#039;;	-- sandbox path from {{#invoke:Citation/CS1/sandbox|citation|SandboxPath=/...}}&lt;br /&gt;
	is_sandbox = nil ~= string.find (frame:getTitle(), sandbox, 1, true);		-- is this invoke the sandbox module?&lt;br /&gt;
	sandbox = is_sandbox and sandbox or &#039;&#039;;										-- use i18n sandbox to load sandbox modules when this module is the sandox; live modules else&lt;br /&gt;
&lt;br /&gt;
	cfg = mw.loadData (&#039;Module:Citation/CS1/Configuration&#039; .. sandbox);			-- load sandbox versions of support modules when {{#invoke:Citation/CS1/sandbox|...}}; live modules else&lt;br /&gt;
	whitelist = mw.loadData (&#039;Module:Citation/CS1/Whitelist&#039; .. sandbox);&lt;br /&gt;
	utilities = require (&#039;Module:Citation/CS1/Utilities&#039; .. sandbox);&lt;br /&gt;
	validation = require (&#039;Module:Citation/CS1/Date_validation&#039; .. sandbox);&lt;br /&gt;
	identifiers = require (&#039;Module:Citation/CS1/Identifiers&#039; .. sandbox);&lt;br /&gt;
	metadata = require (&#039;Module:Citation/CS1/COinS&#039; .. sandbox);&lt;br /&gt;
&lt;br /&gt;
	utilities.set_selected_modules (cfg);										-- so that functions in Utilities can see the selected cfg tables&lt;br /&gt;
	identifiers.set_selected_modules (cfg, utilities);							-- so that functions in Identifiers can see the selected cfg tables and selected Utilities module&lt;br /&gt;
	validation.set_selected_modules (cfg, utilities);							-- so that functions in Date validataion can see selected cfg tables and the selected Utilities module&lt;br /&gt;
	metadata.set_selected_modules (cfg, utilities);								-- so that functions in COinS can see the selected cfg tables and selected Utilities module&lt;br /&gt;
&lt;br /&gt;
	z = utilities.z;															-- table of error and category tables in Module:Citation/CS1/Utilities&lt;br /&gt;
&lt;br /&gt;
	is_preview_mode = not utilities.is_set (frame:preprocess (&#039;{{REVISIONID}}&#039;));&lt;br /&gt;
&lt;br /&gt;
	local suggestions = {};														-- table where we store suggestions if we need to loadData them&lt;br /&gt;
	local error_text;															-- used as a flag&lt;br /&gt;
&lt;br /&gt;
	local capture;																-- the single supported capture when matching unknown parameters using patterns&lt;br /&gt;
	local empty_unknowns = {};													-- sequence table to hold empty unknown params for error message listing&lt;br /&gt;
	for k, v in pairs( args ) do												-- get parameters from the parent (template) frame&lt;br /&gt;
		v = mw.ustring.gsub (v, &#039;^%s*(.-)%s*$&#039;, &#039;%1&#039;);							-- trim leading/trailing whitespace; when v is only whitespace, becomes empty string&lt;br /&gt;
		if v ~= &#039;&#039; then&lt;br /&gt;
			if (&#039;string&#039; == type (k)) then&lt;br /&gt;
				k = mw.ustring.gsub (k, &#039;%d&#039;, cfg.date_names.local_digits);		-- for enumerated parameters, translate &#039;local&#039; digits to Western 0-9&lt;br /&gt;
			end&lt;br /&gt;
			if not validate( k, config.CitationClass ) then			&lt;br /&gt;
				if type (k) ~= &#039;string&#039; then									-- exclude empty numbered parameters&lt;br /&gt;
					if v:match(&amp;quot;%S+&amp;quot;) ~= nil then&lt;br /&gt;
						error_text = utilities.set_message (&#039;err_text_ignored&#039;, {v});&lt;br /&gt;
					end&lt;br /&gt;
				elseif validate (k:lower(), config.CitationClass) then &lt;br /&gt;
					error_text = utilities.set_message (&#039;err_parameter_ignored_suggest&#039;, {k, k:lower()});	-- suggest the lowercase version of the parameter&lt;br /&gt;
				else&lt;br /&gt;
					if nil == suggestions.suggestions then						-- if this table is nil then we need to load it&lt;br /&gt;
						suggestions = mw.loadData (&#039;Module:Citation/CS1/Suggestions&#039; .. sandbox);	--load sandbox version of suggestion module when {{#invoke:Citation/CS1/sandbox|...}}; live module else&lt;br /&gt;
					end&lt;br /&gt;
					for pattern, param in pairs (suggestions.patterns) do		-- loop through the patterns to see if we can suggest a proper parameter&lt;br /&gt;
						capture = k:match (pattern);							-- the whole match if no capture in pattern else the capture if a match&lt;br /&gt;
						if capture then											-- if the pattern matches &lt;br /&gt;
							param = utilities.substitute (param, capture);		-- add the capture to the suggested parameter (typically the enumerator)&lt;br /&gt;
							if validate (param, config.CitationClass) then		-- validate the suggestion to make sure that the suggestion is supported by this template (necessary for limited parameter lists)&lt;br /&gt;
								error_text = utilities.set_message (&#039;err_parameter_ignored_suggest&#039;, {k, param});	-- set the suggestion error message&lt;br /&gt;
							else&lt;br /&gt;
								error_text = utilities.set_message (&#039;err_parameter_ignored&#039;, {k});	-- suggested param not supported by this template&lt;br /&gt;
								v = &#039;&#039;;											-- unset&lt;br /&gt;
							end&lt;br /&gt;
						end&lt;br /&gt;
					end&lt;br /&gt;
					if not utilities.is_set (error_text) then					-- couldn&#039;t match with a pattern, is there an explicit suggestion?						&lt;br /&gt;
						if (suggestions.suggestions[ k:lower() ] ~= nil) and validate (suggestions.suggestions[ k:lower() ], config.CitationClass) then&lt;br /&gt;
							utilities.set_message (&#039;err_parameter_ignored_suggest&#039;, {k, suggestions.suggestions[ k:lower() ]});&lt;br /&gt;
						else&lt;br /&gt;
							utilities.set_message (&#039;err_parameter_ignored&#039;, {k});&lt;br /&gt;
							v = &#039;&#039;;												-- unset value assigned to unrecognized parameters (this for the limited parameter lists)&lt;br /&gt;
						end&lt;br /&gt;
					end&lt;br /&gt;
				end				  &lt;br /&gt;
			end&lt;br /&gt;
&lt;br /&gt;
			args[k] = v;														-- save this parameter and its value&lt;br /&gt;
&lt;br /&gt;
		elseif not utilities.is_set (v) then									-- for empty parameters&lt;br /&gt;
			if not validate (k, config.CitationClass, true) then				-- is this empty parameter a valid parameter&lt;br /&gt;
				k = (&#039;&#039; == k) and &#039;(empty string)&#039; or k;						-- when k is empty string (or was space(s) trimmed to empty string), replace with descriptive text&lt;br /&gt;
				table.insert (empty_unknowns, utilities.wrap_style (&#039;parameter&#039;, k));	-- format for error message and add to the list&lt;br /&gt;
			end&lt;br /&gt;
																				-- crude debug support that allows us to render a citation from module {{#invoke:}} TODO: keep?&lt;br /&gt;
	--	elseif args[k] ~= nil or (k == &#039;postscript&#039;) then						-- when args[k] has a value from {{#invoke}} frame (we don&#039;t normally do that)&lt;br /&gt;
	--		args[k] = v;														-- overwrite args[k] with empty string from pframe.args[k] (template frame); v is empty string here&lt;br /&gt;
		end																		-- not sure about the postscript bit; that gets handled in parameter validation; historical artifact?&lt;br /&gt;
	end	&lt;br /&gt;
&lt;br /&gt;
	if 0 ~= #empty_unknowns then												-- create empty unknown error message&lt;br /&gt;
		utilities.set_message (&#039;err_param_unknown_empty&#039;, {&lt;br /&gt;
			1 == #empty_unknowns and &#039;&#039; or &#039;s&#039;,&lt;br /&gt;
			utilities.make_sep_list (#empty_unknowns, empty_unknowns)&lt;br /&gt;
			});&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local non_url_param_t = {};													-- table of parameters and values that are not url-holding parameters&lt;br /&gt;
	local url_param_t = {};														-- table of url-holding paramters and their values&lt;br /&gt;
&lt;br /&gt;
	for k, v in pairs( args ) do&lt;br /&gt;
		if &#039;string&#039; == type (k) then											-- don&#039;t evaluate positional parameters&lt;br /&gt;
			has_invisible_chars (k, v);											-- look for invisible characters&lt;br /&gt;
		end&lt;br /&gt;
		has_extraneous_punc (k, v);												-- look for extraneous terminal punctuation in parameter values&lt;br /&gt;
		missing_pipe_check (k, v);												-- do we think that there is a parameter that is missing a pipe?&lt;br /&gt;
		args[k] = inter_wiki_check (k, v);										-- when language interwiki-linked parameter missing leading colon replace with wiki-link label&lt;br /&gt;
&lt;br /&gt;
		if &#039;string&#039; == type (k) then											-- when parameter k is not positional&lt;br /&gt;
			if not cfg.url_skip[k] then											-- and not in url skip table&lt;br /&gt;
				non_url_param_t[k] = v;											-- make a parameter/value list for extraneous url check&lt;br /&gt;
			else																-- and is in url skip table (a url-holding parameter)&lt;br /&gt;
				url_param_t[k] = v;												-- make a parameter/value list to check for values that are The Wikipedia Library url&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	has_extraneous_url (non_url_param_t);										-- look for url in parameter values where a url does not belong&lt;br /&gt;
	if has_twl_url (url_param_t) then												-- look for url-holding parameters that hold a The Wikipedia Library url&lt;br /&gt;
		args[&#039;url-access&#039;] = &#039;subscription&#039;;&lt;br /&gt;
	end&lt;br /&gt;
	return table.concat ({&lt;br /&gt;
		frame:extensionTag (&#039;templatestyles&#039;, &#039;&#039;, {src=&#039;Module:Citation/CS1&#039; .. sandbox .. &#039;/styles.css&#039;}),&lt;br /&gt;
		citation0( config, args)&lt;br /&gt;
	});&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C I T A T I O N &amp;gt;--------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Template entry point&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local function citation (frame)&lt;br /&gt;
	local config_t = {};														-- table to store parameters from the module {{#invoke:}}&lt;br /&gt;
	local args_t = frame:getParent().args;										-- get template&#039;s preset parameters&lt;br /&gt;
&lt;br /&gt;
	for k, v in pairs (frame.args) do											-- get parameters from the {{#invoke}} frame&lt;br /&gt;
		config_t[k] = v;&lt;br /&gt;
	--	args_t[k] = v;															-- crude debug support that allows us to render a citation from module {{#invoke:}}; skips parameter validation; TODO: keep?&lt;br /&gt;
	end	&lt;br /&gt;
	return _citation (frame, args_t, config_t)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X P O R T E D   F U N C T I O N S &amp;gt;------------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
return {&lt;br /&gt;
	citation = citation,														-- template entry point&lt;br /&gt;
	&lt;br /&gt;
	_citation = _citation,														-- module entry point&lt;br /&gt;
	}&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
	<entry>
		<id>https://wiki.haring.dev/index.php?title=Template:Cite_web&amp;diff=62</id>
		<title>Template:Cite web</title>
		<link rel="alternate" type="text/html" href="https://wiki.haring.dev/index.php?title=Template:Cite_web&amp;diff=62"/>
		<updated>2025-08-04T17:13:36Z</updated>

		<summary type="html">&lt;p&gt;Nico: Created page with &amp;quot;&amp;lt;includeonly&amp;gt;{{#invoke:citation/CS1|citation |CitationClass=web }}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt; {{documentation}} &amp;lt;/noinclude&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#invoke:citation/CS1|citation&lt;br /&gt;
|CitationClass=web&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nico</name></author>
	</entry>
</feed>