Module talk:Political party

(Redirected from Module talk:Political party/S/doc)
Latest comment: 1 hour ago by Vacant0 in topic Adding icons
WikiProject iconPolitics: Political parties Template‑class
WikiProject iconThis module is within the scope of WikiProject Politics, a collaborative effort to improve the coverage of politics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis module does not require a rating on Wikipedia's content assessment scale.
Taskforce icon
This module is supported by Political parties task force.

More Police Officers for Thames Valley - Extended-confirmed-protected edit request on 9 April 2024

edit

Please add More Police Officers for Thames Valley, with color #003399, running in 2024 PCC election for Thames Valley Police Area

i.e. add this line to the parties module ["More Police Officers for Thames Valley"] = {abbrev = "", color = "#003399", shortname = "",}

https://en.wikipedia.org/wiki/2024_England_and_Wales_police_and_crime_commissioner_elections

https://www.westberks.gov.uk/media/58711/Statement-of-Persons-Nominated-PCC-2-May-2024/pdf/Statement_of_Persons_Nominated_PCC_2_May_2024.pdf?m=1712568166960

The color #003399 is used widely in the logo and on their website (https://www.morepolice.uk), https://www.twitter.com/@blrhc

StoveTable (talk) 03:22, 9 April 2024 (UTC)Reply

  Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. '''[[User:CanonNi]]''' (talk|contribs) 03:35, 9 April 2024 (UTC)Reply
  Not done for now: No dedicated article for More Police Officers for Thames Valley. '''[[User:CanonNi]]''' (talk|contribs) 09:53, 9 April 2024 (UTC)Reply
  Done A party does not need an article to be listed in the module. Vacant0 (talkcontribs) 14:48, 4 July 2024 (UTC)Reply

Extended-confirmed-protected edit request on 13 May 2024

edit

Change: ["Independent Oxford Alliance"] = {abbrev = "IOA", color = "#702CA1", shortname = "Oxford Alliance",},

to: ["Independent Oxford Alliance"] = {abbrev = "IOA", color = "#702CA1", shortname = "",},

Rationale: While the full name obviously is pretty cumbersome, using Oxford Alliance as the shortname seems problematic as it 1) gives the impression to less knowledgeable viewers of the 2024 Oxford City Council election (and any further relevant pages in the future) that Oxford Alliance is the "proper" party name, which would be incorrect as 2) I don't believe the name Oxford Alliance is used anywhere. As far as I can tell they both identify themselves and are identified by others solely by the name Independent Oxford Alliance or IOA. Hence I believe it would be more appropriate to remove the shortname or replace it with the initialism. Hope this helps.

Cheers, CipherRephic (talk) 22:05, 13 May 2024 (UTC)Reply

  Not done for now: please establish a consensus for this alteration before using the {{Edit extended-protected}} template. thetechie@enwiki: ~/talk/ $ 03:05, 2 June 2024 (UTC)Reply
Have started a discussion on Talk: Oxford City Council CipherRephic (talk) 21:48, 2 June 2024 (UTC)Reply

"Unrecognised punctuation character" error

edit

I saw this Reddit post where the text Expression error: Unrecognised punctuation character "&". appeared on every single list of political parties per country, and it seems to come this module. It doesn't happen for me, and they said it was fixed when they switch to beta features to be on. Does anyone know what could cause this? ―Jochem van Hees (talk) 16:34, 8 June 2024 (UTC)Reply

It does not come from this module; the screenshot in question is from List of political parties in the United Kingdom § Parties with representation in the House of Commons, and the columns where there are errors involve #expr: functions calculating percentages. Raise the issue at {{Composition bar}} which generates those, though as far as I can tell there is nothing wrong with the page or the template. Primefac (talk) 16:52, 8 June 2024 (UTC)Reply
@Primefac: if you look closely at that screenshot, the error comes immediately after the text <div style="background-color: . In Template:Composition bar, you can find that in the wikitext followed by an if conditional that results in {{{hex|{{{3|#CCCCCC}}}}}}. In the articles, the third parameter is set to Template:Party color, which uses this module. So unless somehow the if statement in the composition bar template causes this, it's this module. However, as I'm not so fluent in Lua I haven't been able to track the problem further. ―Jochem van Hees (talk) 21:09, 8 June 2024 (UTC)Reply
Well, that's egg on my face... yes, I didn't see that in the article itself is text such as {{Composition bar|16|60|{{party color|Conservative Party (UK)}}|}} which does call this module. I am still not convinced that this issue is due to this module, though, given it seems to be working for most folks (and it's not throwing errors in Category:Pages with script errors). Maybe worth a cross-post to WP:VPT. Primefac (talk) 22:09, 8 June 2024 (UTC)Reply

Colour shade variation request

edit

Communist Party of India (Marxist) and Communist Party of India both are given exactly same colour which makes it difficult to distinguish between them in Wiki articles, especially tables.

e.g.) 2024 Indian general election in Kerala.

Party Flag Symbol Leader Contesting Seats
Communist Party of India (Marxist)
 
 
M.V. Govindan 15
Communist Party of India
 
 
Binoy Viswam 4
Kerala Congress (M)
 
 
Jose K. Mani 1
Total 20

Request to please change the 'Party colour' of one of them by couple of shades so that they can be easily distinguished.
Anish Viswa 06:32, 10 June 2024 (UTC)Reply

I agree, colours should be changed slightly between CPI and CPI(M) since they usually contest in alliance, so are often seen together in results page. C1MM (talk) 04:35, 28 June 2024 (UTC)Reply

Edit request 13 June 2024

edit

Could you please add the party colour for the Progressive Change North Lanarkshire, a regional party in the Scottish unitary authority, North Lanarkshire Council. The hex value extracted from the logo of their X account is #122D42. The abbreviation is PCNL.

["Progressive Change North Lanarkshire"] = {abbrev = "PCNL", color = "#122D42", shortname = "",}

WanderingPlaywright (talk) 16:38, 13 June 2024 (UTC)Reply

Edit request 17 June 2024

edit

Edit request to add the newer french political party French Future to the template. The hex value from the infobox is #EE2D34. Party abbreviation is LAF.

["French Future"] = {abbrev = "LAF", color = "#EE2D34", shortname = "",}

Epluribusunumyall (talk) 19:09, 17 June 2024 (UTC)Reply

  Not done: According to the page's protection level you should be able to edit the page yourself. See Module:Political party § Updating the module for more information. If you seem to be unable to, please reopen the request with further details. Primefac (talk) 17:47, 19 June 2024 (UTC)Reply

Edit request 21 June 2024

edit

Could you please add the following party/political coalition color, which is running for the 2024 Mongolian parliamentary election:

  • The Civic Unity Party (Mongolia). The hex value extracted from the website of party is #0A63B5. The abbreviation is CUP.
["The Civic Unity Party (Mongolia)"] = {abbrev = "CUP", color = "#0A63B5", shortname = "Civic Unity",}
  • National Coalition (Mongolia). The hex value extracted from the website of party is #066B55. There is no abbreviation for coalition name.
["National Coalition (Mongolia)"] = {abbrev = "", color = "#066B55", shortname = "National Coalition",}
  • Liberté party (Mongolia). The hex value extracted from the website of party is #0053A5. There is no abbreviation for party name.
["Liberté party (Mongolia)"] = {abbrev = "", color = "#0053A5", shortname = "Liberte",}

and please change name and color code for National Labor Party (Mongolia), since it has changed name into HUN party in 2022. The hex value extracted from emblem of the party is #631E92. There is no abbreviation for party name.

So, please change:

["National Labor Party (Mongolia)"] = {abbrev = "NLP", color = "#6D3290", shortname = "",},

to:

["HUN party"] = {abbrev = "", color = "#631E92", shortname = "HUN",},

Saruul 04 (talk) 18:54, 20 June 2024 (UTC)Reply

Template-protected edit request on 27 Juni 2024 (for letter D)

edit
  1. 800080 for the Democratic-Republican Party of the United States. Purple is because the between the blue for Democrats and the red for Republicans. Radixsaurus95 (talk) 16:50, 27 June 2024 (UTC)Reply
  Not done: please provide reliable sources that support the change you want to be made. Vacant0 (talkcontribs) 15:04, 4 July 2024 (UTC)Reply

Edit Request 1 July 2024 – Make Independent Labor (Australia) distinguishable from Australian Labor Party

edit

The de facto party colour used on Wikipedia for Independent Labor (Australia) is

  #ff585e

#ff585e, but this template uses

  #F00012

which is difficult to distinguish from

  #DE3533

I'd appreciate this fix, thanks. – GlowstoneUnknown (Talk) 02:59, 1 July 2024 (UTC)Reply

Edit Request 3 July 2024

edit

Together (coalition) recently changed its article's name to Ensemble (political coalition), it needs its colour added to its new name. – GlowstoneUnknown (Talk) 02:32, 3 July 2024 (UTC)Reply

Edit request 3 July 2024

edit

Description of suggested change: Add party "Democratic and Social Left"

Diff:

+
["Democratic and Social Left"] = {abbrev = "GDS", color = "#EF3034", shortname = ""}

73.169.176.209 (talk) 21:29, 3 July 2024 (UTC)Reply

Adding icons

edit

While I am personally against it, I thought I would get opinions as to whether it makes sense to include icons in this module. For explanation, there is currently a TFD for a group of Taiwanese political party templates which also include an icon (e.g. {{Congress Party Alliance}}‹See Tfd›  Congress Party Alliance) and one of the main concerns I can see about the deletion is the loss of the icon (which I find personally unnecessary but I am just one voice). We already have some scuffles over party colours, would adding icons open the door to even more edit warring? Primefac (talk) 14:43, 4 July 2024 (UTC)Reply

I'm also personally opposed to their addition. Vacant0 (talkcontribs) 15:20, 4 July 2024 (UTC)Reply