-- Constant data used by Module:Political party  
local alternate = {
["Jackson Party (United States)"] = "Jacksonian Party",
["Jackson Republican"] = "Democratic-Republican Party",
["Jacksonian Democrat"] = "Democratic Party (United States)",
["Jacksonian Democratic"] = "Democratic Party (United States)",
["Jacksonian Party (United States)"] = "Jacksonian Party",
["Jacksonian Party (US)"] = "Jacksonian Party",
["Jacksonian Republican"] = "Democratic-Republican Party",
["Jai jawan jai kisan party"] = "Jai Jawan Jai Kishan Party",
["Jai Prakash Janata Dal"] = "Jai Prakash Janta Dal",
["JAMA (Iranian Party)"] = "JAMA (political party)",
["Jammu & Kashmir Apni Party"] = "Jammu and Kashmir Apni Party",
["Jammu & Kashmir Awami National Conference"] = "Jammu and Kashmir Awami National Conference",
["Jammu & Kashmir National Panthers Party"] = "Jammu and Kashmir National Panthers Party",
["Jammu & Kashmir People's Conference"] = "Jammu and Kashmir People's Conference",
["Jammu & Kashmir People's Democratic Front"] = "Jammu and Kashmir People's Democratic Front",
["Jammu & Kashmir People's Democratic Front (Secular)"] = "Jammu and Kashmir People's Democratic Front",
["Jammu & Kashmir People's Democratic Party"] = "Jammu and Kashmir Peoples Democratic Party",
["Jammu & Kashmir Peoples Democratic Party"] = "Jammu and Kashmir Peoples Democratic Party",
["Jammu & Kashmir Workers Party"] = "Jammu and Kashmir Workers Party",
["Jammu and Kashmir People's Democratic Front (Secular)"] = "Jammu and Kashmir People's Democratic Front",
["Jammu and Kashmir People's Democratic Party"] = "Jammu and Kashmir Peoples Democratic Party",
["Jammu and Kashmir National Conference"] = "Jammu & Kashmir National Conference",
["Jammu and Kashmir People's Movement"] = "Jammu & Kashmir People's Movement",
["Jan Adhikar Party Loktantrik"] = "Jan Adhikar Party (Loktantrik)",
["Jana Congress"] = "Orissa Jana Congress",
["Jana Sangh"] = "Akhil Bharatiya Jana Sangh",
["Jan Sangh"] = "Akhil Bharatiya Jana Sangh",
["Janata Dal (S)"] = "Janata Dal (Secular)",
["Janata Dal (U)"] = "Janata Dal (United)",
["Jannayak Janata Party"] = "Jannayak Janta Party",
["January 21 Patriotic Society Party"] = "Patriotic Society Party",
["Janusz Korwin-Mikke Platform"] = "Real Politics Union",
["Japan Communist Party"] = "Japanese Communist Party",
["Japan Cooperative Party (1946–47)"] = "Japan Cooperative Party (1945–46)",
["Japan Democratic Party (1954)"] = "Democratic Party (Japan, 1954)",
["Japan Future Party"] = "Tomorrow Party of Japan",
["Jarosław Gowin's Agreement"] = "Agreement (political party)",
["Jatiya Party"] = "Jatiya Party (Ershad)",
["Jharkhand Vikas Morcha"] = "Jharkhand Vikas Morcha (Prajatantrik)",
["Jean Gremling's Independent Socialist List"] = "Independent Socialist Party (Luxembourg)",
["Jobbik – Conservatives"] = "Jobbik (2020)",
["Junker Party"] = "Moderate Party",
["Junts per Catalunya"] = "Together for Catalonia (2017)",
["Jury Team (UK)"] = "Jury Team",
["Justice (Estonia)"] = "Estonian Left Party",
["Justice Alliance (Hong Kong)"] = "Justice Alliance",
["Justice Party (United States)"] = "Justice Party (US)",
}  
local full = {
["JA21"] = {abbrev = "", color = "#242B57", shortname = "",},
["Jablko"] = {abbrev = "", color = "#B7170B", shortname = "",},
["Jacksonian Party"] = {abbrev = "", color = "#DDEEFF", shortname = "Jacksonian",},
["Jacobin Club"] = {abbrev = "", color = "#E4433E", shortname = "Jacobin",},
["Jacqui Lambie Network"] = {abbrev = "", color = "#ffcb08", shortname = "Lambie Network",},
["Jaén Deserves More"] = {abbrev = "", color = "#3A6A40", shortname = "",},
["Jaén en Común"] = {abbrev = "", color = "#B901DC", shortname = "",},
["Jaén va a Crecer"] = {abbrev = "", color = "#4D8C3B", shortname = "",},
["Jaén, Sentido y Común"] = {abbrev = "", color = "#FF3765", shortname = "",},
["Jago Party"] = {abbrev = "", color = "#F984E5", shortname = "",},
["Jai Bharat Samanta Party"] = {abbrev = "JBSP", color = "#ffc000", shortname = "",},
["Jai Jawan Jai Kishan Party"] = {abbrev = "JWJK", color = "#000000", shortname = "",},
["Jai Prakash Janta Dal"] = {abbrev = "JPJD", color = "blue", shortname = "",},
["Jai Samaikyandhra Party"] = {abbrev = "JSP", color = "#008000", shortname = "",},
["JAMA (political party)"] = {abbrev = "JAMA", color = "black", shortname = "",},
["Jamaat-e-Islami Pakistan"] = {abbrev = "JI", color = "#078edf", shortname = "",},
["Jamaat-e-Islami"] = {abbrev = "JI", color = "#0095cb", shortname = "",},
["Jamaat-e-Islami Kashmir"] = {abbrev = "JIJK", color = "#009F3C", shortname = "",},
["Jamaica Abolitionist Movement"] = {abbrev = "JAM", color = "#000000", shortname = "",},
["Jamaica Labour Party"] = {abbrev = "JLP", color = "#00A94C", shortname = "",},
["Jamhoori Wattan Party"] = {abbrev = "JWP", color = "#F08080", shortname = "",},
["Jamiat Ahle Hadith"] = {abbrev = "MJAH", color = "#008000", shortname = "",},
["Jamiat Ulama-e-Islam Nazryati"] = {abbrev = "JUINP", color = "black", shortname = "",},
["Jamiat Ulama-e-Islam Pakistan (S)"] = {abbrev = "JUI (S)", color = "#696969", shortname = "",},
["Jamiat Ulama-e-Pakistan (Noorani)"] = {abbrev = "JUP (N)", color = "#008000", shortname = "",},
["Jamiat Ulama-e-Pakistan"] = {abbrev = "JUP", color = "#008000", shortname = "",},
["Jamiat Ulema-e-Islam (F)"] = {abbrev = "JUI (F)", color = "#003800", shortname = "",},
["Jamiat Ulema-e-Islam (S)"] = {abbrev = "JUI-S", color = "#696969", shortname = "",},
["Jamiat Ulema-e-Islam Bangladesh"] = {abbrev = "", color = "green", shortname = "",},
["Jamiat Ulema-e-Islam"] = {abbrev = "", color = "black", shortname = "",},
["Jamiat Ulema-e-Pakistan"] = {abbrev = "", color = "#008000", shortname = "",},
["Jamiat-e Islami"] = {abbrev = "", color = "#02923E", shortname = "",},
["Jammu & Kashmir National Conference"] = {abbrev = "JKNC", color = "#fe0000", shortname = "",},
["Jammu & Kashmir People's Movement"] = {abbrev = "JKPM", color = "#295428", shortname = "",},
["Jammu and Kashmir Apni Party"] = {abbrev = "JKAP", color = "#072a61", shortname = "",},
["Jammu and Kashmir Awami National Conference"] = {abbrev = "JKANC", color = "#026B04", shortname = "",},
["Jammu and Kashmir National Panthers Party"] = {abbrev = "JKNPP", color = "#060950", shortname = "",},
["Jammu and Kashmir People's Conference"] = {abbrev = "JKPC", color = "#005085", shortname = "",},
["Jammu and Kashmir People's Democratic Front"] = {abbrev = "JKPDF", color = "#831310", shortname = "",},
["Jammu and Kashmir Peoples Democratic Party"] = {abbrev = "JKPDP", color = "#058532", shortname = "",},
["Jammu and Kashmir Workers Party"] = {abbrev = "JKWP", color = "#1FB360", shortname = "",},
["Jammu Kashmir Peoples Party"] = {abbrev = "JKPP", color = "#193813", shortname = "",},
["Jamote Qaumi Movement"] = {abbrev = "", color = "#306EFF", shortname = "",},
["Jan Adhikar Party (Loktantrik)"] = {abbrev = "JAP(L)", color = "#009F3C", shortname = "",},
["Jan Chetna Party"] = {abbrev = "JCP", color = "#F7819F", shortname = "",},
["Jan Ekta Morcha"] = {abbrev = "JEM", color = "#C8FE2E", shortname = "",},
["Jan Kranti Dal"] = {abbrev = "", color = "#04B4AE", shortname = "",},
["Jan Morcha"] = {abbrev = "", color = "#2E8B57", shortname = "",},
["Jan Samanta Party"] = {abbrev = "JSMP", color = "#99D609", shortname = "",},
["Jan Surajya Shakti"] = {abbrev = "JSS", color = "#EC0090", shortname = "",},
["Jana Andolan Party"] = {abbrev = "JAP", color = "#FFD300", shortname = "",},
["Jana Sena Party"] = {abbrev = "JSP", color = "#ca420f", shortname = "",},
["Janadhipathya Kerala Congress"] = {abbrev = "JKC", color = "Red", shortname = "",},
["Janadhipathya Rashtriya Sabha"] = {abbrev = "JRS", color = "Green", shortname = "",},
["Janamat Party"] = {abbrev = "", color = "#fe0000", shortname = "",},
["Janamorcha Nepal"] = {abbrev = "", color = "tomato", shortname = "",},
["Janamukti Party Nepal"] = {abbrev = "", color = "yellow", shortname = "",},