Template talk:Diagonal split color box

Diagonal split color box
Discussion at Wikipedia_talk:Manual_of_Style/Accessibility AngusWOOF  ( bark  •  sniff ) 15:32, 18 September 2019 (UTC)

Lint errors
This template is causing lint errors, which are visible from Template:Diagonal split color box/doc:

expands to  B R  W

A second line in Template:Diagonal split color box/doc with lint errors is

but the other examples are working correctly. —Anomalocaris (talk) 01:42, 25 September 2019 (UTC)
 * OK, I looked at the code and found the error, but it did not show up in my browser. Thanks. 217.162.112.133 (talk) 22:00, 25 September 2019 (UTC)

Unexpected features
I discovered a couple of things that surprised me.
 * {| class="wikitable nowrap"

! colspan=2 style="text-align:left;" | When the left text and right text (3 & 4) are the same, they are rendered once at the center along the diagonal ! colspan=2 style="text-align:left;" | It appears that the far color box only appears if parameters 3 and 4 are identical. ! colspan=2 style="text-align:left;" | This does not affect the near corner. ! colspan=2 style="text-align:left;" | The same results occur if both corners are specified I don't know if these effects are intentional or not, but there does not appear to be any mention of it in the documentation. YBG (talk) 05:30, 20 September 2021 (UTC)
 * }
 * }
 * }
 * }
 * }
 * }
 * }