Template talk:Party name with colour
Latest comment: 3 years ago by Sparkle1 in topic Ability to merge
![]() | This is the talk page of a redirect that targets the page: • Template:Party name with color Because this page is not frequently watched, present and future discussions, edit requests and requested moves should take place at: • Template talk:Party name with color |
![]() | This redirect does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
Sortable party name
editTo make the party name sortable when using this template, do not merge the header cells for the colour and party name, because this confuses the tablesorter as to which data columns belong to which header.
Instead:
- Make the table sortable in the usual way:
{| class="wikitable sortable"
- Then create separate header cells for the party colour and the party name but make the colour column unsortable and hide the border separating the two cells:
! ...previous columns here... !! class="unsortable" style="border-right:hidden;" | <!-- blank for colour --> !! Party !! ...subsequent columns here...
Ability to merge
editThis is currently not able to be merged unless I am unaware of how to do it in this case. This feature is needed. Sparkle1 (talk) 14:09, 2 July 2021 (UTC)