Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Module talk:Political party

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected fromModule talk:Political party/F)
This is thetalk page for discussing improvements to thePolitical party module.
Archives:1,2,3,4Auto-archiving period:3 months 
This module does not require a rating on Wikipedia'scontent assessment scale.
It is of interest to the followingWikiProjects:
WikiProject iconPolitics:Political parties
WikiProject iconThis module is within the scope ofWikiProject Politics, a collaborative effort to improve the coverage ofpolitics on Wikipedia. If you would like to participate, please visit the project page, where you can jointhe discussion and see a list of open tasks.PoliticsWikipedia:WikiProject PoliticsTemplate:WikiProject Politicspolitics
Taskforce icon
This module is supported byPolitical parties task force.
Module:Political party ispermanentlyprotected from editing as it is aheavily used or highly visible module. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported byconsensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit.

Infobox issue

[edit]

I've noticed an issue with the module and{{Infobox election}}. The latter does not accept written colour names (e.g. 'blue'), only hexadecimal colour codes. I'm guessing it's better to fix the template rather than the module (as many parties listed in the modules have colour names), but would anyone be able to do it? SpecificallyModule:Infobox election will need fixing.{{Infobox legislative election}} works fine with colour names.Number5715:52, 22 August 2025 (UTC)[reply]

Pinging the module creatorAhecht for info. Ahecht, I think this only became an issue fairly recently, which I'm guessing coincided with the creation of the module. Are you able to fix it?Number5715:53, 22 August 2025 (UTC)[reply]
@Number 57 I don't think the module changed that behavior -- the pre-module template always inserted a "#" before the value incolorN=, which would prevent named colors from being used. In any case, it's an easy enough fix, so I've modifiedModule:Infobox election/sandbox (used by{{Infobox election/sandbox}}) to be a little more intelligent about when it inserts a "#". Please try it out and let me know if it works as expected.--Ahecht (TALK
PAGE
)
14:59, 25 August 2025 (UTC)[reply]
@Ahecht: Yes, it seems to work – thanks!Number5722:00, 25 August 2025 (UTC)[reply]
@Ahecht: It seems to be causing problems again. The colours of the last two parties listed in the infobox on the2026 Nepalese general election are not showing; both of them are named colours in the module (gold for Rastriya Prajatantra Party and crimson for Communist Party of Nepal (Unified Socialist). Cheers,Number5700:14, 13 September 2025 (UTC)[reply]
@Number 57 Oops, I never actually copied that fix from the sandbox to the main template. It's fixed now.--Ahecht (TALK
PAGE
)
22:11, 13 September 2025 (UTC)[reply]

Edit request 12 September 2025

[edit]
Thisedit request toModule:Political party/M has been answered. Set the|answered= parameter tono to reactivate your request.

Update the module of theMongolian Republican Party

["Mongolian Republican Party"] = {abbrev = "MRP", color = "#392d77", shortname = "Republican Party",}Thank youu.Egzs (talk)14:16, 12 September 2025 (UTC)[reply]

Replaced {{edit template-protected}} with{{Edit extended-protected}}, as pageModule:Political party/M hasextended confirmed protection. —⁠andrybak (talk)22:52, 21 September 2025 (UTC)[reply]
 Not done: please providereliable sources that support the change you want to be made. —⁠andrybak (talk)22:52, 21 September 2025 (UTC)[reply]
The current color is purple, nothing like the official party color Source for color:https://ikon.mn/elections/2024/parties/56 —⁠Egzs (talk)04:20, 24 September 2025 (UTC)[reply]
The party colour is listed as #392d77 in the article, but there doesn't seem any source for that (though I'm hampered by the fact that I can't read Mongolian). Probably someone used a colour picker on the party flag? If there isn't an officially stated party colour I think we're meant to use the default as stated by the documentation.Liu1126 (talk)04:55, 27 September 2025 (UTC)[reply]
I dont know where the current module came from but it is clearly nothing like the main color the party uses. Just take a look at their official facebook account or their 2024 election posters.
2024 election posters:https://ikon.mn/elections/2024/parties/56
FB account:https://www.facebook.com/Bugdnairamdakhnam/Egzs (talk)01:28, 30 September 2025 (UTC)[reply]
 Not done: Violation ofno original research. If the party states somewhere that their party color is that yellowish thing, then please ping me with a link to it. If it is just used in websites, this request is not going through.AlphaBetaGamma (Talk/report any mistakes here)02:38, 30 September 2025 (UTC)[reply]
wdym by yellow? i am referring to their campaign posters which uses dark purple-ish blue. the current module is just purpleEgzs (talk)10:48, 30 September 2025 (UTC)[reply]

Advance UK

[edit]

Please add the party colour #012169 as located in their brand assetts.Matthew-Hopkins1981 (talk)18:32, 23 September 2025 (UTC)[reply]

Allow a party to have multiple colors over time

[edit]

Wikipedia:Redirects_for_discussion/Log/2025_October_13#Liberal_Democrats_(UK,_2025) brought up the issue of a party which changed colors recently. Editors created the oddly formatted redirectLiberal Democrats (UK, 2025) to allow this template to show the old colors ifLiberal Democrats (UK) was used and the new colors if the 2025 redirect was used. @Chessrat suggested that instead of this workaround we could update this template to take a year parameter. I'm not sure whether this works with the template but this rather than the RfD seems like the place to discuss that option.Rusalkii (talk)21:48, 20 October 2025 (UTC)[reply]

Thanks- if anyone has any better ideas I'd like to hear them.
The only other example I know of a party which has changed its colour isYamina- in that case editors have put the new colour into the template and just put the old colour code in manually where needed (#CAD93B), but this is not a feasible option for the Liberal Democrats given how many articles would need to be updated.Chessrat(talk,contributions)22:20, 20 October 2025 (UTC)[reply]
Bit out of my jurisdiction here, but would version number be better than year? Not so much to allow for the extremely highly unlikely scenario of more than one change in a year, but more pertinently in this case perhaps, to avoid the implication of an effective cut-off date of 1st January. That is how the LD change has been implemented so far, although the change was actually announced at their conference on 20 September 2025. Using a version number rather than year would avoid confusion if the change were implemented part way through a year. Presumably, the version number (or year if you like) would be an optional parameter and only used for the second and subsequent versions, so that its omission defaults to the original colour.
Also, for more on how and when to apply the change, see related talk topicTalk:Opinion polling for the next United Kingdom general election#Liberal Democrats Rebrand.78.145.178.233 (talk)07:32, 22 October 2025 (UTC)[reply]
With the way the module and its data are currently coded, the exact method ("year" or "version") doesn't really matter (I've though of at least two ways to do each)but it would be much easier to code by year; once you get past one or two changes, was the colour you wanted version 2? Version 3? Version 5? I'm not entirely convinced this is an issue that needs solving (though I do understand the concerns raised at the RFD) but from a purely technical perspective I don't see any issues with making this change.Primefac (talk)22:26, 2 November 2025 (UTC)[reply]
Chessrat, there are a ton of parties with colours across multiple years, see e.g.Module:Political_party/A#L-786.Primefac (talk)22:26, 2 November 2025 (UTC)[reply]

Scottish and Welsh Liberal Democrats new party color not working

[edit]

The party color templates for Scottish Liberal Democrats (2025) and Welsh Liberal Democrats (2025) have been added to Module:Political party/S and Module:Political party/W respectively with the same colour code #FF6400 as Liberal Democrats (UK, 2025). Something else is missing, though, because both still display the old colour #FAA61A.2.101.245.0 (talk)23:41, 21 October 2025 (UTC)[reply]

I've sorted that out.Chessrat(talk,contributions)00:06, 22 October 2025 (UTC)[reply]

Edit request 5 November 2025

[edit]
Thisedit request toModule:Political party/F has been answered. Set the|answered= parameter tono to reactivate your request.

Description of suggested change: For Latvia's Development isn't using #FFDD00 since the end of 2023. However, based on their webpage it appears that they use #f2f2f2, #000000, and #003399. Since yellow isn't used anymore, it might be better to change it to blue #003399, or maybe light gray #f2f2f2.

Example:https://attistibai.lv/pv2025


SleepyChipmunk456 (talk)21:07, 5 November 2025 (UTC)[reply]


UpdateLatvia's public broadcaster used just pure black #000000 during last municipal elections for this party.Example:https://www.lsm.lv/pasvaldibu-velesanas-2025/marupes-novads

Also their party statues states defines official colors in appendix to statues.Statutes:https://attistibai.lv/statuti/

SleepyChipmunk456 (talk)22:38, 5 November 2025 (UTC)[reply]

@SleepyChipmunk456: attistibai.lv isdead. thus On holdOreocooke (talk)21:39, 22 November 2025 (UTC)[reply]

The website works again.SleepyChipmunk456 (talk)23:03, 30 November 2025 (UTC)[reply]

Extended-confirmed-protected edit request on 8 November 2025

[edit]
Thisedit request toModule:Political party/J has been answered. Set the|answered= parameter tono to reactivate your request.

Shortname of "Justice Alliance (Hong Kong)" should be "Justice Alliance"~2025-31314-49 (talk)06:39, 8 November 2025 (UTC)[reply]

 Not done. That is ambiguous as there are two pages with that same name.NotJamestack (talk)13:53, 8 November 2025 (UTC)[reply]

Change color

[edit]

ChangeIndian National Congress (R)'s color to #0EF4E1 andIndian National Congress (I)'s color to #00BFFF4774அப்செ (talk)14:18, 11 December 2025 (UTC)[reply]

You're welcome tomake that change.Primefac (talk)13:42, 14 December 2025 (UTC)[reply]
how to make it4774அப்செ (talk)13:56, 14 December 2025 (UTC)[reply]
SeeModule:Political party § Updating the module and then updateModule:Political party/I accordingly.Primefac (talk)14:00, 14 December 2025 (UTC)[reply]
please u itself change it please4774அப்செ (talk)14:07, 14 December 2025 (UTC)[reply]

Extended-confirmed-protected edit request on 15 December 2025

[edit]
It isrequested that an edit be made to theextended-confirmed-protected module atModule:Political party/P.
(edit ·history ·last ·links ·transclusion count ·protection log)

This template must be followed by acomplete and specific description of the request, that is, specify what text should be removed and a verbatim copy of the text that should replace it. "Please changeX" isnot acceptable and will be rejected; the requestmust be of the form "please changeX toY".

The edit may be made by anyextended confirmed user. Remember to change the|answered=no parameter to "yes" when the request has been accepted, rejected or on hold awaiting user input. This is so that inactive or completed requests don't needlessly fill up the edit requests category. You may also wish to use the {{EEp}} template in the response. To request that a page be protected or unprotected, make aprotection request.

Change Plaid Cymru colour from #005b54 to #008672

New brand guidelines:https://assets.nationbuilder.com/plaid2016/pages/16111/attachments/original/1765469850/_Plaid_Cymru_Brand_Guidelines_.pdf?1765469850Sion Gwilym (talk)08:44, 15 December 2025 (UTC)[reply]

Retrieved from "https://en.wikipedia.org/w/index.php?title=Module_talk:Political_party&oldid=1327615598"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp