An infobox could have its header above the template table ("caption") or at the top of the template table ("above"). In the moble view, only in the second case the header is properly formatted (bigger font, centering). In the first case, no formatting is applied (the letters are "normal" and the header is centered to the left.
On desktop:
On mobile:
An example of suboptimal behaviour: https://cs.m.wikipedia.org/wiki/Juan_Manuel_Fangio (see the infobox header)
Acceptance criteria
Per T168861#4992309
- captions are centered
- captions have padding 10px on top, left and right (10px 10px 0)
QA steps
- Compare the caption on https://en.m.wikipedia.org/wiki/Juan_Manuel_Fangio with https://en.m.wikipedia.beta.wmflabs.org/wiki/Juan_Manuel_Fangio
- Confirm the latter is centered
- Do some exploratory testing, clicking through links and attempt to find an infobox (table at the top of the article) where the text is not centered or looks different compared to the production equivalent (time box 10 mins)
QA Results
Status | Details |
✅ Passed | T168861#5028888 |