ਮੌਡਿਊਲ:Political party/Y/doc
This is the documentation page for ਮੌਡਿਊਲ: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 |