Module:Political party/C/doc

From MicroWiki, the free micronational encyclopædia
Jump to navigation Jump to search

This is the documentation page for Module:Political party/C

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 namecolorabbrevshortnameIs color valid?Contrast normal textContrast unvisted linkContrast visted link
Centre Georgienstine#ce2e95CGCentre GeorgienstineFailedFailedFailed
Centre Party (Atovia)#003366CPCentreFailedFailedFailed
Centre Party of Baustralia#be2eddCntrCentreAAFailedFailed
Centrist Party of Theolonia#006A4ECPTCentristFailedFailedFailed
Change Georgienstine#ff0000CGChange GeorgienstineAAFailedFailed
Christian Nationalist Party (Melite)#021945CNPChristian NationalistFailedFailedFailed
Christian Nationalist Party of North ZagoriablueZA-CNPZagorian Christian NationalistFailedFailedFailed
Christian Social Democratic Party (Georgienstine)#0d2249CSDPChristian Social DemocraticFailedFailedFailed
Colorado Party#002768PCColorado PartyFailedFailedFailed
Communist Party of Baustralia#c8102eCommCommunistFailedFailedFailed
Communist Party of Georgienstine#FF0000CPGCommunistAAFailedFailed
Communist Party of Juclandia#8A0000PCJCommunistsFailedFailedFailed
Conservative Front (Wendatia)#2c5aa0CFConservative FrontFailedFailedFailed
Conservative Party (Ashukovo)#FFDD55CONConservativeAAAAAAAA
Conservative Party (Atovia)#233D86CPAConservativeFailedFailedFailed
Conservative Party (Ebenthal)#20B2AAPCConservative PartyAAAFailedAA
Conservative Party (Pinang)#00B4FECPCPAAAFailedAA
Conservative Party of Baustralia#0055d4ConsConservativeFailedFailedFailed
Conservative Party of Georgienstine#00563BCONConservativeFailedFailedFailed
Conservative People's Party (Atovia)#003366CPPConservativeFailedFailedFailed
Constitutionalist Party (Penn)#264D84CConstitutionalistFailedFailedFailed