Politics Template‑class | |||||||
|
The problem I see with the template I see is that it also takes over the table formatting onto itself. More info at Help:Basic table markup.
The current implementation results in
{| class="wikitable" ! Header cell 1 ! Header cell 2 |- {{Party color cell|party name}} <!-- No single | at the start --> | Content cell |- | Content cell | {{Party color cell|party name}} <!-- No double || between table cells --> |- | Content cell || Content cell |}
instead of
{| class="wikitable" ! Header cell 1 ! Header cell 2 |- | {{Party color cell|party name}} <!-- Standard table formatting with | at the start --> | Content cell |- | Content cell || {{Party color cell|party name}} <!-- Standard table formatting with || between table cells --> |- | Content cell || Content cell |}
This forces the editor to remove the table formatting |
, which IMHO, shouldn't. Any editor trying to use this will end up with confusion, altho one might dig into the template and understand what's really happening. But in the long run, this results in great deal of maintenance issues and one shall avoid exactly that with a template.
This is a breaking change, and the current usages shall be updated, preferably by a bot. — DaxServer (talk) 16:28, 5 January 2022 (UTC)Reply