Steps to replicate the issue (include links if applicable):
- Open a page that contains a template with TemplateData where no parameters are specified.
Example: https://www.mediawiki.org/wiki/Template:Used_by
- Switch the display language to Japanese and compare the style.
Example: https://www.mediawiki.org/wiki/Template:Used_by?uselang=ja
What happens?:
The translated Japanese term "テンプレートパラメーター" for the table caption "Template parameters" is displayed with a narrow width, causing it to appear vertically elongated.
What should have happened instead?:
The translated term "テンプレートパラメーター" should have been displayed with an appropriate width, occupying either one or two lines.
Other information (browser name/version, screenshots, etc.):
Browser: Google Chrome 114.0.5735.134
Actual: The translated term "テンプレートパラメーター" displayed with narrow width, spanning multiple lines.
Expected: The translated term "テンプレートパラメーター" displayed with an appropriate width.