ਮੌਡਿਊਲ: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 western letters A-Z (including numbers and accented characters).
Within each data submodule are two local groups: local alternate
and local full
. 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
).
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 unvisted link | Contrast visted link |
---|---|---|---|---|---|---|---|
Y5 Give Me Five | #F36A25 | AA | Failed | AA | |||
YATAMA | darkgreen | Failed | Failed | Failed | |||
YSR Congress Party | #1569C7 | YSRCP | Failed | Failed | Failed | ||
YSR Telangana Party | #0ce5d2 | YSRTP | AAA | AA | AAA | ||
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, 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 Czech Party | #284696 | Young Czech | Failed | Failed | Failed | ||
Young Egypt Party | #009900 | AA | 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 | AAA | Failed | AAA | |||
Young Party | #B2B2B2 | GP | AAA | Failed | AAA | ||
Young People's Party UK | #FFF643 | Young People's | AAA | AAA | AAA | ||
Young Progressives Party | #ED3237 | YPP | AA | Failed | Failed | ||
Youngspiration | #F37943 | AAA | Failed | AA | |||
Your Badajoz | #1C6A81 | Failed | Failed | Failed | |||
Your Party | #FAA61A | Your | AAA | Failed | AAA | ||
Your Vote Counts | #E75433 | AA | Failed | Failed | |||
Youth Action (Croatia) | #ffc90e | AAA | AA | AAA | |||
Youth Independence | #99FFCC | AAA | AAA | AAA | |||
Youth Party – European Greens | #9ACD32 | 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ū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",
["Your Movement"] = "Palikot's Movement",
["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",
}
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",},
["Yellow Vest Australia"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Yemeni Socialist Party"] = {abbrev = "YSP", color = "#FF0000", shortname = "",},
["Yemenite Association"] = {abbrev = "", color = "#89C5C6", 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 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 = "", color = "#FFA500", shortname = "",},
["Young Party"] = {abbrev = "GP", color = "#B2B2B2", shortname = "",},
["Young People's Party UK"] = {abbrev = "", color = "#FFF643", shortname = "Young People's",},
["Young Progressives Party"] = {abbrev = "YPP", color = "#ED3237", shortname = "",},
["Youngspiration"] = {abbrev = "", color = "#F37943", shortname = "",},
["Your Badajoz"] = {abbrev = "", color = "#1C6A81", shortname = "",},
["Your Party"] = {abbrev = "", color = "#FAA61A", shortname = "Your",},
["Your Vote Counts"] = {abbrev = "", color = "#E75433", shortname = "",},
["Youth Action (Croatia)"] = {abbrev = "", color = "#ffc90e", shortname = "",},
["Youth and Students Party"] = {abbrev = "YSP", color = "#339933", shortname = "",},
["Youth Independence"] = {abbrev = "", color = "#99FFCC", shortname = "",},
["Youth Party – European Greens"] = {abbrev = "", color = "#9ACD32", shortname = "",},
["YSR Congress Party"] = {abbrev = "YSRCP", color = "#1569C7", shortname = "",},
["YSR Telangana Party"] = {abbrev = "YSRTP", color = "#0ce5d2", 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,
}