Eisspeedway

Template talk:Party name with color: Difference between revisions

Content deleted Content added
Line 10: Line 10:
This template is being used in multiple places, but has no documentation, and no obvious means to edit it. How does it work? How are errors fixed? Why are some parties names listed in full, and others not? I can see the "full" parameter listed, but without an example this is of no use. [[User:Greenman|Greenman]] ([[User talk:Greenman|talk]]) 22:22, 3 May 2019 (UTC)
This template is being used in multiple places, but has no documentation, and no obvious means to edit it. How does it work? How are errors fixed? Why are some parties names listed in full, and others not? I can see the "full" parameter listed, but without an example this is of no use. [[User:Greenman|Greenman]] ([[User talk:Greenman|talk]]) 22:22, 3 May 2019 (UTC)
:It's still not clear to me how this template works. Why are some of the entries in [[City of Cape Town elections#August_2016_election]] full names, and not others. How to fix? [[User:Greenman|Greenman]] ([[User talk:Greenman|talk]]) 22:27, 29 September 2021 (UTC)
:It's still not clear to me how this template works. Why are some of the entries in [[City of Cape Town elections#August_2016_election]] full names, and not others. How to fix? [[User:Greenman|Greenman]] ([[User talk:Greenman|talk]]) 22:27, 29 September 2021 (UTC)
:: It is based on their shortname template. See [[Template:Democratic Alliance (South Africa)/meta/shortname]] vs [[Template:African National Congress/meta/shortname]] -[[User:MPGuy2824|MPGuy2824]] ([[User talk:MPGuy2824|talk]]) 03:15, 30 September 2021 (UTC)


== Piped links ==
== Piped links ==

Revision as of 03:15, 30 September 2021

WikiProject iconPolitics Template‑class
WikiProject iconThis template 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 template does not require a rating on Wikipedia's content assessment scale.

Multiple rows

Can this template span multiple rows in a table? Might be good to have some documentation. Schwede66 08:16, 21 November 2013 (UTC)[reply]

@Schwede66 @MPGuy2824 Yes, after a small change introducing a named optional rows parameter, {{#if: {{{rows|}}} | rowspan="{{{rows}}}" }} like Special:Diff/1044238516/1044249967. If this seems appropriate, I can go ahead and update it, and the usage becomes {{Party name with color|Foo party|rows=2}} Your thoughts? — DaxServer (talk to me) 09:05, 14 September 2021 (UTC)[reply]
Works, for my limited tests. Thanks. -MPGuy2824 (talk) 09:38, 14 September 2021 (UTC)[reply]
 Done Also updated {{Full party name with color}} — DaxServer (talk to me) 09:43, 15 September 2021 (UTC)[reply]

Documentation

This template is being used in multiple places, but has no documentation, and no obvious means to edit it. How does it work? How are errors fixed? Why are some parties names listed in full, and others not? I can see the "full" parameter listed, but without an example this is of no use. Greenman (talk) 22:22, 3 May 2019 (UTC)[reply]

It's still not clear to me how this template works. Why are some of the entries in City of Cape Town elections#August_2016_election full names, and not others. How to fix? Greenman (talk) 22:27, 29 September 2021 (UTC)[reply]
It is based on their shortname template. See Template:Democratic Alliance (South Africa)/meta/shortname vs Template:African National Congress/meta/shortname -MPGuy2824 (talk) 03:15, 30 September 2021 (UTC)[reply]

@Petr Matas: can you add a {{{2|}}} somewhere so that this supports piped links when used with full. For instance, {{Party name with color|Foo Party|German Foo Party|full=yes}} would become [[Foo Party|German Foo Party]]. – Finnusertop (talk ⋅ contribs) 00:35, 2 February 2020 (UTC)[reply]