Module:Political party/Y/doc
This is a documentation subpage for Module:Political party/Y. It may contain usage information, categories and other content that is not part of the original module page. |
Updating this submodule
[edit]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
[edit]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
[edit]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 basic color name or, if the party does not have an associated color, "default". - 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
[edit]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 Owned Rural and Urban Party | #00F0A8 | 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 | JRS | 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 |