Module:Political party/Y
Updating this submodule
[සංස්කරණය]The political parties contained in this module are split into alphabetised lists based on the first character of the name (for example, "Labour Party (UK)" would be under /L). The /1 subpage is for any party that does not start with the letters A to Z of the Latin alphabet (including numbers and accented characters).
Within each data submodule are two local groups: local alternate
and local full
.
Alternate party names
[සංස්කරණය]The alternate group is for alternate names of a party. The following is an example of alternate names for the Labour Party (UK):
local alternate = {
....
["Labour and Co-operative"] = "Labour Party (UK)",
["Labour Co-operative"] = "Labour Party (UK)",
...
}
The first entry in square brackets is the alternate name, and the second entry only in quotes is the name found in the full
group, seen below. Note that the alternate name of a party should be stored in its corresponding letter-based subpage; "Alabama Democratic Party" is listed in /A even though it is an alternate name for "Democratic Party (US)" (which is stored in /D).
Table values
[සංස්කරණය]local full = {
....
["Labour Party (UK)"] = {abbrev = "Lab", color = "#E4003B", shortname = "Labour",},
...
}
There are three values stored for each party:
- The abbreviation (
abbrev
). - The color of the party (
color
), which can either be a hex triplet or a basic color name. - A shorter name for the party (
shortname
).
The values added to these parameters need not be unique from other parties in this module, unlike the primary name of a party.
If a name value is not stored for a party, the module will attempt to return the other "short" name variant before returning the input. Thus, if abbrev
is stored but shortname
is not, regardless of which value is asked for it will return the abbrev
value.
Color values
[සංස්කරණය]Political party name | color | abbrev | shortname | Is color valid? | Contrast normal text | Contrast unvisited link | Contrast visited link |
---|---|---|---|---|---|---|---|
Y5 Give Me Five | #F36A25 | AA | Failed | AA | |||
YATAMA | darkgreen | Failed | Failed | Failed | |||
YES (Lithuania) | #02adf3 | YES | AAA | Failed | AA | ||
YSR Congress Party | #1569C7 | YSRCP | Failed | Failed | Failed | ||
YSR Telangana Party | #01BACF | YSRTP | AAA | Failed | AA | ||
Yabloko | #00A23D | AA | Failed | AA | |||
Yachad (political party) | #036395 | Failed | Failed | Failed | |||
Yamina | #19A3BD | AAA | Failed | AA | |||
Yamina (political alliance) | #CBD53A | AAA | AA | AAA | |||
Yatsenyuk's Front for change | Green | Failed | Failed | Failed | |||
Yazidi Movement for Reform and Progress | #D61D16 | Yazidi Movement | Failed | Failed | Failed | ||
Yellow Vest Australia | #0000FF | Failed | Failed | Failed | |||
Yemeni Socialist Party | #FF0000 | YSP | AA | Failed | Failed | ||
Yemenite Association | #89C5C6 | AAA | Failed | AAA | |||
Yes Colombia | #F6E808 | AAA | AA | AAA | |||
Yes Solidarity for Hungary Movement | #CB2122 | Failed | Failed | Failed | |||
Yes We Can, Citizens' Alternative for Madrid | #532F55 | Failed | Failed | Failed | |||
Yes for Salamanca | #F67001 | AAA | Failed | AA | |||
Yes! For Poland | #A42B3A | T!DPL | Failed | Failed | Failed | ||
Yes, Bulgaria! | #A1C619 | AAA | Failed | AAA | |||
Yesh Atid | #003ba3 | Failed | Failed | Failed | |||
Yisrael BaAliyah | #0C2C84 | Yisrael BaAliyah | Failed | Failed | Failed | ||
Yisrael Beiteinu | #9AC0E2 | AAA | Failed | AAA | |||
Yntymak (political party) | #008BA1 | Yntymak | AA | Failed | Failed | ||
Yorkshire First | #00AEEF | AAA | Failed | AA | |||
Yorkshire Party | #00AEEF | Yorkshire | AAA | Failed | AA | ||
You Party | #55aee6 | AAA | Failed | AA | |||
Young China Party | #FFCC33 | Youth | AAA | AA | AAA | ||
Young Czech Party | #284696 | Young Czech | Failed | Failed | Failed | ||
Young Egypt Party | #009900 | AA | Failed | Failed | |||
Young Farmers (Switzerland) | #0C6E08 | JP | Failed | Failed | Failed | ||
Young Finnish Party | #3399FF | Young Finnish | AAA | Failed | AA | ||
Young Finns | #109473 | AA | Failed | Failed | |||
Young Guard of United Russia | #014FA2 | MGER | Failed | Failed | Failed | ||
Young Influence | #33D8D0 | AAA | AA | AAA | |||
Young Liberals Party | #284696 | Failed | Failed | Failed | |||
Young Lithuania | #B12F2B | JL | Failed | Failed | Failed | ||
Young Malagasies Determined | #FFA500 | TGV | AAA | Failed | AAA | ||
Young Party | #9A9A9A | GP | AAA | Failed | AA | ||
Young People's Party UK | #FFF643 | Young People's | AAA | AAA | AAA | ||
Young Progressives Party | #ED3237 | YPP | AA | Failed | Failed | ||
Young Radicals | #0174DF | AA | Failed | Failed | |||
Young Socialists Switzerland | #EE0000 | Young Socialists | AA | Failed | Failed | ||
Youngspiration | #F37943 | AAA | Failed | AA | |||
Your Badajoz | #1C6A81 | Failed | Failed | Failed | |||
Your Fatherland | #47ACE7 | AAA | Failed | AA | |||
Your Macedonia | #FFAB03 | AAA | Failed | AAA | |||
Your Movement | #F08705 | TR | AAA | Failed | AA | ||
Your Party | #EC0A4D | Your | AA | Failed | Failed | ||
Your Vote Counts | #E75433 | AA | Failed | Failed | |||
Youth Action (Croatia) | #ffc90e | AAA | AA | AAA | |||
Youth Party – European Greens | #9ACD32 | AAA | AA | AAA | |||
Youth and Dignity Left Movement | #FAE400 | MIJD | AAA | AA | AAA | ||
Youth and Students Party | #339933 | YSP | AA | Failed | Failed | ||
Yuen Long Tin Shui Wai Democratic Alliance | #1c41e0 | Democratic Alliance | Failed | Failed | Failed | ||
Yugoslav Communist Party of Montenegro | red | JKP CG | AA | Failed | Failed | ||
Yugoslav Left | #E62020 | JUL | AA | Failed | Failed | ||
Yugoslav Muslim Organization | #009900 | JMO | AA | Failed | Failed | ||
Yugoslav National Movement | #04522C | Failed | Failed | Failed | |||
Yugoslav National Party | #767676 | JNS | AA | Failed | Failed | ||
Yugoslav Radical Union | #000000 | JRZ | Failed | Failed | Failed | ||
Yugoslav Republican Party | #f3ad40 | AAA | Failed | AAA | |||
Yugoslav Social-Democratic Party | red | JSDS | AA | Failed | Failed | ||
Yulia Tymoshenko Bloc | #CC193B | Tymoshenko Bloc | Failed | Failed | Failed | ||
Yéléma | #ECEC0E | AAA | AA | AAA | |||
Yūshi no Kai | #FF6666 | AAA | Failed | AA |
-- Constant data used by [[Module:Political party]]
local alternate = {
["Young People's Party (UK)"] = "Young People's Party UK",
["Yachad"] = "Yachad (political party)",
["Yewwi Askan Wi"] = "Liberate the People",
["Young Progressive Party"] = "Young Progressives Party",
["Youth Organisation of Turkmenistan named after Magtymguly"] = "Magtymguly Youth Organisation of Turkmenistan",
["YPP"] = "Young People's Party UK",
["YSRCP"] = "YSR Congress Party",
["YSRTP"] = "YSR Telangana Party",
["Yugoslav Radical Peasants' Democracy"] = "Yugoslav National Party",
["Yuvajana Shramika Rythu Congress Party"] = "YSR Congress Party",
}
local full = {
["Y5 Give Me Five"] = {abbrev = "", color = "#F36A25", shortname = "",},
["Yabloko"] = {abbrev = "", color = "#00A23D", shortname = "",},
["Yachad (political party)"] = {abbrev = "", color = "#036395", shortname = "",},
["Yamina (political alliance)"] = {abbrev = "", color = "#CBD53A", shortname = "",},
["Yamina"] = {abbrev = "", color = "#19A3BD", shortname = "",},
["YATAMA"] = {abbrev = "", color = "darkgreen", shortname = "",},
["Yatsenyuk's Front for change"] = {abbrev = "", color = "Green", shortname = "",},
["Yazidi Movement for Reform and Progress"] = {abbrev = "", color = "#D61D16", shortname = "Yazidi Movement",},
["Yéléma"] = {abbrev = "", color = "#ECEC0E", shortname = "",},
["Yellow Vest Australia"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Yemeni Socialist Party"] = {abbrev = "YSP", color = "#FF0000", shortname = "",},
["Yemenite Association"] = {abbrev = "", color = "#89C5C6", shortname = "",},
["Yes! For Poland"] = {abbrev = "T!DPL", color = "#A42B3A", shortname = "",},
["YES (Lithuania)"] = {abbrev = "YES", color = "#02adf3", shortname = "",},
["Yes Colombia"] = {abbrev = "", color = "#F6E808", shortname = "",},
["Yes for Salamanca"] = {abbrev = "", color = "#F67001", shortname = "",},
["Yes Solidarity for Hungary Movement"] = {abbrev = "", color = "#CB2122", shortname = "",},
["Yes We Can, Citizens' Alternative for Madrid"] = {abbrev = "", color = "#532F55", shortname = "",},
["Yes, Bulgaria!"] = {abbrev = "", color = "#A1C619", shortname = "",},
["Yesh Atid"] = {abbrev = "", color = "#003ba3", shortname = "",},
["Yisrael BaAliyah"] = {abbrev = "", color = "#0C2C84", shortname = "Yisrael BaAliyah",},
["Yisrael Beiteinu"] = {abbrev = "", color = "#9AC0E2", shortname = "",},
["Yntymak (political party)"] = {abbrev = "", color = "#008BA1", shortname = "Yntymak",},
["Yorkshire First"] = {abbrev = "", color = "#00AEEF", shortname = "",},
["Yorkshire Party"] = {abbrev = "", color = "#00AEEF", shortname = "Yorkshire",},
["You Party"] = {abbrev = "", color = "#55aee6", shortname = "",},
["Young Czech Party"] = {abbrev = "", color = "#284696", shortname = "Young Czech",},
["Young Egypt Party"] = {abbrev = "", color = "#009900", shortname = "",},
["Young Farmers (Switzerland)"] = {abbrev = "JP", color = "#0C6E08", shortname = "",},
["Young Finnish Party"] = {abbrev = "", color = "#3399FF", shortname = "Young Finnish",},
["Young Finns"] = {abbrev = "", color = "#109473", shortname = "",},
["Young Guard of United Russia"] = {abbrev = "MGER", color = "#014FA2", shortname = "",},
["Young Influence"] = {abbrev = "", color = "#33D8D0", shortname = "",},
["Young Liberals Party"] = {abbrev = "", color = "#284696", shortname = "",},
["Young Lithuania"] = {abbrev = "JL", color = "#B12F2B", shortname = "",},
["Young Malagasies Determined"] = {abbrev = "TGV", color = "#FFA500", shortname = "",},
["Young Party"] = {abbrev = "GP", color = "#9A9A9A", shortname = "",},
["Young People's Party UK"] = {abbrev = "", color = "#FFF643", shortname = "Young People's",},
["Young Progressives Party"] = {abbrev = "YPP", color = "#ED3237", shortname = "",},
["Young Radicals"] = {abbrev = "", color = "#0174DF", shortname = "",},
["Young Socialists Switzerland"] = {abbrev = "", color = "#EE0000", shortname = "Young Socialists",},
["Youngspiration"] = {abbrev = "", color = "#F37943", shortname = "",},
["Your Badajoz"] = {abbrev = "", color = "#1C6A81", shortname = "",},
["Your Fatherland"] = {abbrev = "", color = "#47ACE7", shortname = "",},
["Your Macedonia"] = {abbrev = "", color = "#FFAB03", shortname = "",},
["Your Party"] = {abbrev = "", color = "#EC0A4D", shortname = "Your",},
["Your Vote Counts"] = {abbrev = "", color = "#E75433", shortname = "",},
["Youth Action (Croatia)"] = {abbrev = "", color = "#ffc90e", shortname = "",},
["Youth and Dignity Left Movement"] = {abbrev = "MIJD", color = "#FAE400", shortname = "",},
["Youth and Students Party"] = {abbrev = "YSP", color = "#339933", shortname = "",},
["Youth Action (Croatia)"] = {abbrev = "", color = "#ffc90e", shortname = "",},
["Young China Party"] = {abbrev = "", color = "#FFCC33", shortname = "Youth",},
["Your Movement"] = {abbrev = "TR", color = "#F08705", shortname = "",},
["Youth Party – European Greens"] = {abbrev = "", color = "#9ACD32", shortname = "",},
["YSR Congress Party"] = {abbrev = "YSRCP", color = "#1569C7", shortname = "",},
["YSR Telangana Party"] = {abbrev = "YSRTP", color = "#01BACF", shortname = "",},
["Yuen Long Tin Shui Wai Democratic Alliance"] = {abbrev = "", color = "#1c41e0", shortname = "Democratic Alliance",},
["Yugoslav Communist Party of Montenegro"] = {abbrev = "JKP CG", color = "red", shortname = "",},
["Yugoslav Left"] = {abbrev = "JUL", color = "#E62020", shortname = "",},
["Yugoslav Muslim Organization"] = {abbrev = "JMO", color = "#009900", shortname = "",},
["Yugoslav National Movement"] = {abbrev = "", color = "#04522C", shortname = "",},
["Yugoslav National Party"] = {abbrev = "JNS", color = "#767676", shortname = "",},
["Yugoslav Radical Union"] = {abbrev = "JRZ", color = "#000000", shortname = "",},
["Yugoslav Republican Party"] = {abbrev = "", color = "#f3ad40", shortname = "",},
["Yugoslav Social-Democratic Party"] = {abbrev = "JSDS", color = "red", shortname = "",},
["Yulia Tymoshenko Bloc"] = {abbrev = "", color = "#CC193B", shortname = "Tymoshenko Bloc",},
["Yūshi no Kai"] = {abbrev = "", color = "#FF6666", shortname = "",},
}
return {
full = full,
alternate = alternate,
}