Jump to content

Template talk:Infobox political party

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Edit request to complete TfD nomination

[edit]

Template:Infobox political party has been listed at Templates for discussion (nomination), but it was protected, so it could not be tagged. Please add:

{{subst:tfm|help=off|type=sidebar|1=Infobox US political party}}

to the top of the page to complete the nomination. Thank you. A1Cafel (talk) 07:27, 25 December 2024 (UTC)[reply]

 Done * Pppery * it has begun... 18:12, 25 December 2024 (UTC)[reply]

Edit request to implement TfD consensus

[edit]

Recently, a TfD was completed regarding this template which resulted in a general consensus to edit part of this template. The edits were made, but they were removed because they were breaking the template on some pages.

I believe I have fixed the issue (which, to be honest, I could not replicate in my sandbox), and I was wondering if someone could implement the following changes:

  1. Please replace the |abovestyle and |above sections with this:
    | abovestyle = font-size: 125%; {{#if:{{{background|}}}|background:{{{colorcode}}}; color:{{{textcolorcode|}}};|}}
    | above = <div style="padding-top:0.3em; padding-bottom:0.3em; {{#if:{{{colorcode|}}}|border-top:2px solid {{{colorcode}}}; border-bottom:2px solid {{{colorcode}}};}} line-height: 1;"><div class="fn org">{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}</div> {{#if:{{{native_name|}}} |<div style="font-size: 0.8em; padding-top:0.3em;" class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}</div>
  2. Please add background and textcolorcode to the parameter list at the end of the template.

Thanks! Please let me know if there are any issues. RiverMan18 (talk) 21:43, 3 February 2025 (UTC)[reply]

Not done for now: editor RiverMan18, this has been [sandboxed] – looking at the [testcases] page, in "Test 2" the red line below the name and native name is missing. The new parameters are used in "test 3". Is all this what you want and expect? Test 2 looks odd now. P.I. Ellsworth , ed. put'er there 03:31, 4 February 2025 (UTC)[reply]
@Paine Ellsworth I think I fixed it in the sandbox (it was a missing space). This explains the problem that was reported when the change was originally implemented—thank you (I’m not sure why it didn’t show up in my sandbox—I might have used a different code).
Thank you. RiverMan18 (talk) 13:57, 4 February 2025 (UTC)[reply]
My pleasure, and  completed. P.I. Ellsworth , ed. put'er there 15:38, 4 February 2025 (UTC)[reply]
Ok—thank you! RiverMan18 (talk) 15:39, 4 February 2025 (UTC)[reply]