-- Constant data used by Module:Political party  
local alternate = {
["GABRIELA Women's Party"] = "Gabriela Women's Party",
["Galician National-Popular Bloc"] = "Galician Nationalist Bloc",
["Galician Nationalist Convergence"] = "Galician Coalition",
["Galician Progressive Coalition"] = "Galician Coalition",
["Galician Workers' Party"] = "Galician Left",
["Ganatantra Parishad"] = "All India Ganatantra Parishad",
["Gelora"] = "Gelora Party",
["Génération.s, le mouvement"] = "Génération.s",
["Genzei Nippon"] = "Tax Cuts Japan",
["Georgia Republican Party"] = "Republican Party (United States)",
["GERB-SDS"] = "GERB—SDS",
["GERB–SDS"] = "GERB—SDS",
["German Centre"] = "Centre Party (Germany)",
["German Minority (political party)"] = "German Minority Electoral Committee",
["German Minority"] = "German Minority Electoral Committee",
["German Pirate Party"] = "Pirate Party Germany",
["German Reich Party"] = "Free Conservative Party",
["Girondin"] = "Girondins",
["Girondist"] = "Girondins",
["Go Peru"] = "Let’s Go Peru",
["Golongan Karya"] = "Golkar",
["Good Choice"] = "Good Choice and Moderates",
["Good Choice (Slovakia)"] = "Good Choice and Moderates",
["Government by the People Green Party"] = "Green Party of South Africa",
["Grand Alliance (Bangladesh)"] = "Awami League",
["Grassroots-Legalize Cannabis Party"] = "Grassroots—Legalize Cannabis Party",
["Grassroots–Legalize Cannabis Party"] = "Grassroots—Legalize Cannabis Party", -- dash difference
["Grassroots Party (US)"] = "Grassroots Party",
["Great Indonesia Movement Party"] = "Gerindra Party",
["Great Union Party"] = "Great Unity Party",
["Greek politics/party colours/Panhellenic Sociali"] = "PASOK",
["Green (political party)"] = "Groen (political party)",
["Green Alliance"] = "Green Party (Ireland)",
["Green Alliance (Ireland)"] = "Green Party (Ireland)",
["Green Alternative Alliance"] = "The Greens (Luxembourg)",
["Green Alternative Party"] = "The Greens (Luxembourg)",
["Green List (Spain)"] = "Confederation of the Greens",
["Green Mountain Peace and Justice"] = "Green Mountain Peace and Justice Party",
["Green Movement (Israel)"] = "Green Party (Israel)",
["Green Party - Save Our Green Space"] = "Green Party of England and Wales",
["Green Party (Colombia)"] = "Green Alliance (Colombia)",
["Green Party (Poland)"] = "The Greens (Poland)",
["Green Party (United States)"] = "Green Party (US)",
["Green Party in Northern Ireland"] = "Green Party Northern Ireland",
["Green Party of Alaska"] = "Green Party (US)",
["Green Party of Arkansas"] = "Green Party (US)",
["Green Party of California"] = "Green Party (US)",
["Green Party of Colorado"] = "Green Party (US)",
["Green Party of Connecticut"] = "Green Party (US)",
["Green Party of Hawaii"] = "Green Party (US)",
["Green Party of Michigan"] = "Green Party (US)",
["Green Party of Minnesota"] = "Green Party (US)",
["Green Party of Montana"] = "Green Party (US)",
["Green Party of New York"] = "Green Party (US)",
["Green Party of Northern Ireland"] = "Green Party Northern Ireland",
["Green Party of Ohio"] = "Green Party (US)",
["Green Party of Pennsylvania"] = "Green Party (US)",
["Green Party of Texas"] = "Green Party (US)",
["Green Party (Arizona)"] = "Green Party (US)",
["Green Party (Arkansas)"] = "Green Party (US)",
["Green Party (California)"] = "Green Party (US)",
["Green Party (Colorado)"] = "Green Party (US)",
["Green Party (Connecticut)"] = "Green Party (US)",
["Green Party (Hawaii)"] = "Green Party (US)",
["Green Party (Iowa)"] = "Green Party (US)",
["Green Party (Michigan)"] = "Green Party (US)",
["Green Party (New York)"] = "Green Party (US)",
["Green Party of the United States"] = "Green Party (US)",
["Green!"] = "Groen (political party)",
["Green–Justice Party"] = "Green Justice Party",
["Greenback Party (United States)"] = "Greenback Party",
["GreenLeft"] = "GroenLinks",
["Greens 2004"] = "The Greens (Poland)",
["Greens-European Free Alliance"] = "Greens–European Free Alliance",
["Gregor Virant's Civic List"] = "Civic List (Slovenia)",
["Groen!"] = "Groen (political party)",
["Group of Independent Citizens"] = "Independent Solution",
["Group of the Alliance of Liberals and Democrats for Europe"] = "Alliance of Liberals and Democrats for Europe group",
["GSD"] = "Gibraltar Social Democrats",
["GSLP"] = "Gibraltar Socialist Labour Party",
["Guanyar Alacant"] = "Acord Ciutadà",
["Guanyar Alcoi"] = "Acord Ciutadà",
["Guanyem Sant Josep de sa Talaia"] = "Guanyem Eivissa",
["Guanyem Santa Eulària des Riu"] = "Guanyem Eivissa",
["Guatemalan Republican Front"] = "Institutional Republican Party",
["Gwlad - The Welsh Independence Party"] = "Gwlad",
}  
local full = {
["G17 Plus"] = {abbrev = "G17+", color = "#545AA7", shortname = "",},
["G99"] = {abbrev = "", color = "red", shortname = "",},
["Gabonese Democratic and Social Union"] = {abbrev = "", color = "red", shortname = "",},
["Gabonese Democratic Bloc"] = {abbrev = "", color = "#008800", shortname = "",},
["Gabonese Democratic Party"] = {abbrev = "PDG", color = "#006533", shortname = "",},
["Gabonese Progress Party"] = {abbrev = "PGP", color = "red", shortname = "",},
["Gabonese Socialist Party"] = {abbrev = "", color = "red", shortname = "",},
["Gabonese Socialist Union"] = {abbrev = "", color = "red", shortname = "",},
["Gabriela Women's Party"] = {abbrev = "", color = "#800080", shortname = "Gabriela",},
["Gabungan Parti Sarawak"] = {abbrev = "GPS", color = "#FF6060", shortname = "",},
["Gabungan Rakyat Sabah"] = {abbrev = "GRS", color = "#4682B4", shortname = "",},
["Gagasan Rakyat"] = {abbrev = "GR", color = "#ADD8E6", shortname = "",},
["Gagasan Sejahtera"] = {abbrev = "", color = "#008800", shortname = "",},
["Gahal"] = {abbrev = "", color = "#143997", shortname = "",},
["Galeusca–Peoples of Europe"] = {abbrev = "", color = "#2C3294", shortname = "Galeusca",},
["Galicia en Común"] = {abbrev = "", color = "#5D2C75", shortname = "Podemos–EU–Anova",},
["Galicia New Way"] = {abbrev = "", color = "#6FA7B6", shortname = "",},
["Galicia Sempre"] = {abbrev = "", color = "#8EC81E", shortname = "",},
["Galician Alternative"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Galician Coalition"] = {abbrev = "CG", color = "#002C9C", shortname = "",},
["Galician Convergence"] = {abbrev = "", color = "#087608", shortname = "",},
["Galician Democracy"] = {abbrev = "", color = "#81DAF5", shortname = "",},
["Galician Democratic Candidacy"] = {abbrev = "", color = "#15EAEA", shortname = "",},
["Galician Democratic Party"] = {abbrev = "", color = "#20ACE1", shortname = "",},
["Galician Identity"] = {abbrev = "", color = "#0579FC", shortname = "",},
["Galician Initiative"] = {abbrev = "", color = "#D54D13", shortname = "",},
["Galician Left Alternative"] = {abbrev = "AGE", color = "#62A3CA", shortname = "",},
["Galician Left"] = {abbrev = "EG", color = "#522998", shortname = "",},
["Galician Movement for Socialism"] = {abbrev = "", color = "#003F77", shortname = "",},
["Galician Nationalist Bloc"] = {abbrev = "BNG", color = "#ADCFEF", shortname = "",},
["Galician Nationalist Group of Narón"] = {abbrev = "", color = "#AA4CAA", shortname = "",},
["Galician Nationalist Party–Galicianist Party"] = {abbrev = "", color = "#639E00", shortname = "",},
["Galician Party"] = {abbrev = "", color = "#01953F", shortname = "",},
["Galician Party of the Country"] = {abbrev = "", color = "#66BB66", shortname = "",},
["Galician People's Front"] = {abbrev = "", color = "#3920DE", shortname = "",},
["Galician People's Union"] = {abbrev = "", color = "#CF1B15", shortname = "",},
["Galician Progressive Democracy"] = {abbrev = "", color = "#C66900", shortname = "",},
["Galician Socialist Party (1963)"] = {abbrev = "", color = "#D73D2A", shortname = "",},
["Galician Socialist Party–Galician Left"] = {abbrev = "PSG–EG", color = "#2AAC24", shortname = "",},
["Galician Socialist Space"] = {abbrev = "", color = "#28AC90", shortname = "",},
["Galician Socialist Unity"] = {abbrev = "", color = "#FF3300", shortname = "",},