-- Constant data used by Module:Political party  
local alternate = {
["Octobrist Party"] = "Union of October 17",
["ODS"] = "Civic Democratic Party (Czech Republic)",
["Ohio Democratic Party"] = "Democratic Party (United States)",
["Ohio Republican Party"] = "Republican Party (United States)",
["Oklahoma Democratic Party"] = "Democratic Party (United States)",
["Oklahoma Republican Party"] = "Republican Party (United States)",
["One Love Party (UK)"] = "One Love Party",
["One Nation (Australia)"] = "One Nation",
["Open Vlaamse Liberalen en Democraten"] = "Open Flemish Liberals and Democrats",
["Opposition Party (United States)"] = "Opposition Party (US)",
["Opposition"] = "Opposition Party (Southern U.S.)",
["Ordinary People (Slovakia)"] = "Ordinary People and Independent Personalities",
["Ordinary People"] = "Ordinary People and Independent Personalities",
["Oregon Progressive Party"] = "Progressive Party (US)",
["Oregon Republican Party"] = "Republican Party (United States)",
["Organisation du Peuple Rodriguais"] = "Rodrigues People's Organisation",
["Orthodox Party"] = "Partido Ortodoxo",
["Other parties (United States)"] = "Other parties",
["Other Party (United States)"] = "Other parties",
["Other parties (US)"] = "Other parties",
["Other Party (US)"] = "Other parties",
["Other parties and Independents"] = "Other parties and independents",
["Other"] = "Others",
["Our coalition (Mongolia)"] = "Our Coalition (Mongolia)",
["Our Home is Estonia"] = "Constitution Party (Estonia)",
["Our Home is Russia"] = "Our Home – Russia",
["Our Republican Party"] = "Our Republican Party (2020)",
["Our Ukraine"] = "Our Ukraine (political party)",
}  
local full = {
["O Porinetia To Tatou Ai'a"] = {abbrev = "", color = "#FF0000", shortname = "To Tatou Ai'a",},
["Obnovlenie"] = {abbrev = "", color = "#00A900", shortname = "",},
["Occitan Party"] = {abbrev = "", color = "#FFCC33", shortname = "",},
["Oceanian Awakening"] = {abbrev = "EO", color = "#a5c1df", shortname = "",},
["October Review"] = {abbrev = "", color = "#CC0000", shortname = "",},
["Odisha Communist Party"] = {abbrev = "OCP", color = "#FF0000", shortname = "",},
["Odisha Gana Parishad"] = {abbrev = "OGP", color = "B24E5F", shortname = "",},
["Odisha Jan Morcha"] = {abbrev = "", color = "#3CB371", shortname = "",},
["Odisha Janmorcha"] = {abbrev = "OJM", color = "#3CB371", shortname = "",},
["Odriist National Union"] = {abbrev = "", color = "yellow", shortname = "",},
["OdNowa RP"] = {abbrev = "ONRP", color = "#E0115F", shortname="",},
["Official Monster Raving Loony Party"] = {abbrev = "", color = "#FFF000", shortname = "Monster Raving Loony",},
["Official Sinn Féin"] = {abbrev = "", color = "#D73D3D", shortname = "",},
["Okinawa Social Mass Party"] = {abbrev = "", color = "#009140", shortname = "Okinawa Social Mass",},
["Okinawan People's Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["OlaCantabria"] = {abbrev = "", color = "#00A1AE", shortname = "",},
["Old Czech Party"] = {abbrev = "", color = "#162D68", shortname = "Old Czech",},
["Old Lantmanna Party"] = {abbrev = "", color = "#ffb366", shortname = "",},
["Old Republican Party"] = {abbrev = "", color = "#FF9955", shortname = "Quids",},
["Old Social Democratic Party of Germany"] = {abbrev = "", color = "red", shortname = "",},
["Olive Tree (Greece)"] = {abbrev = "ELIA", color = "#008142", shortname = "",},
["OĽaNO and Friends"] = {abbrev = "", color = "#485156", shortname = "",},
["Omnia"] = {abbrev = "", color = "#ED007E", shortname = "",},
["Omonoia (organization)"] = {abbrev = "", color = "#9FCBF0", shortname = "",},
["Ompia Party"] = {abbrev = "", color = "", shortname = "Ompia",},
["On the People's Side"] = {abbrev = "NP", color = "#023854", shortname = "",},
["One Bermuda Alliance"] = {abbrev = "OBA", color = "#de1b22", shortname = "",},
["One Cebu"] = {abbrev = "", color = "#13049D", shortname = "1-Cebu",},
["One Cook Islands Movement"] = {abbrev = "OCI", color = "#20B2AA", shortname = "One Cook Islands",},
["One Fiji Party"] = {abbrev = "", color = "#00FFFF", shortname = "",},
["One Israel"] = {abbrev = "", color = "#0297EA", shortname = "",},
["One London"] = {abbrev = "", color = "#0095B6", shortname = "",},
["One Love Party"] = {abbrev = "", color = "#000000", shortname = "One Love",},
["One Muntinlupa"] = {abbrev = "", color = "#1243A0", shortname = "",},
["One Nation (Israel)"] = {abbrev = "", color = "#A92F00", shortname = "One Nation",},
["One Nation"] = {abbrev = "", color = "#f36c21", shortname = "",},
["One Nation NSW"] = {abbrev = "PHON", color = "#FF6900", shortname = "One Nation",},
["One New Zealand Party"] = {abbrev = "", color = "#800080", shortname = "One NZ",},
["One NL"] = {abbrev = "", color = "#0B3E8D", shortname = "",},
["ONE Party"] = {abbrev = "ONE", color = "#F9D11A", shortname = "",},
["One Rus"] = {abbrev = "", color = "#2200B6", shortname = "",},
["One St. Maarten People Party"] = {abbrev = "", color = "purple", shortname = "",},
["One Tobago Voice"] = {abbrev = "OTV", color = "#ddf969", shortname = "",},
["Ongi Etorri"] = {abbrev = "", color = "#76DD58", shortname = "",},
["Only Croatia – Movement for Croatia"] = {abbrev = "JH", color = "red", shortname = "",},
["Onuguu–Progress"] = {abbrev = "", color = "#BADD1D", shortname = "",},
["Onward for Future 4.0"] = {abbrev = "", color = "#EC1C24", shortname = "",},
["Opción Sampedreña"] = {abbrev = "", color = "#A43B37", shortname = "",},
["Open Cabildo (Uruguay)"] = {abbrev = "", color = "#FBC22B", shortname = "Open Cabildo",},
["Open Democratic Party"] = {abbrev = "", color = "#003E98", shortname = "Open Democratic",},
["Open Democrats"] = {abbrev = "", color = "#0E3F95", shortname = "",},
["Open Flemish Liberals and Democrats"] = {abbrev = "", color = "#0087DC", shortname = "Open Vld",},
["Open Left"] = {abbrev = "", color = "#E34234", shortname = "",},
["Open Politics for Social Integrity"] = {abbrev = "PAIS", color = "#4F85C5", shortname = "",},
["Open Russia"] = {abbrev = "", color = "#FFDC02", shortname = "",},
["Opening for National Participation"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Operation Christian Vote"] = {abbrev = "", color = "#9966CC", shortname = "Christian Vote",},
["Opportunist Republicans"] = {abbrev = "", color = "#E6AF00", shortname = "",},
["Opportunities and Development Party"] = {abbrev = "PODER", color = "#003044", shortname = "",},
["Opportunity Community"] = {abbrev = "EK", color = "#910B31", shortname = "",},
["Opposition (parliamentary)"] = {abbrev = "", color = "#9999CC", shortname = "Opposition",},
["Opposition Bloc (2019)"] = {abbrev = "", color = "#2F52A0", shortname = "Opposition Bloc",},
["Opposition Bloc"] = {abbrev = "", color = "#004DA5", shortname = "",},
["Opposition Democratic Coalition"] = {abbrev = "", color = "#ADD8E6", shortname = "",},
["Opposition Party (Hungary)"] = {abbrev = "", color = "#68001D", shortname = "",},
["Opposition Party (Southern U.S.)"] = {abbrev = "", color = "#FFE153", shortname = "Opposition",},
["Opposition Party (US)"] = {abbrev = "", color = "#FFE153", shortname = "Opposition",},
["Opposition Platform — For Life"] = {abbrev = "OPZZh", color = "#1B62B0", shortname = "",},
["Oppositionist"] = {abbrev = "", color = "#FFBF00", shortname = "",},
["Opus Dei"] = {abbrev = "", color = "#EF9F13", shortname = "",},
["Orange Democratic Movement–Kenya"] = {abbrev = "", color = "orange", shortname = "ODM–Kenya",},
["Orange Democratic Movement"] = {abbrev = "ODM", color = "#F38521", shortname = "",},
["Orange Movement"] = {abbrev = "", color = "#FF6600", shortname = "",},
["Orange Party"] = {abbrev = "", color = "#F0520C", shortname = "Orange",},
["Order and Justice"] = {abbrev = "TT", color = "#FFEC00", shortname = "",},
["Order and Law"] = {abbrev = "", color = "#BD941E", shortname = "",},
["Order, Law and Justice"] = {abbrev = "RZS", color = "#F66E22", shortname = "",},
["Order of the Nation (political party)"] = {abbrev = "RN", color = "darkblue", shortname = "",},