Category talk:United States political party shading templates

Party shading templates should be made compatible with HTML5-compatible alignment markup
A typical party shading template is, which inserts: ; this markup is usually used in table cells. But what if there is a need to align the table cell? Before HTML5, it was acceptable to center with, and that works fine with these templates. Under HTML5, this is considered obsolete, and now we're supposed to use, but that doesn't work with these templates. For example,

Recommendation: Modify each of these templates to allow for an alignment option. The syntax could be

Please discuss and let's see if there's a consensus. —Anomalocaris (talk) 08:13, 8 August 2022 (UTC)