Template:Vertical header/doc
Edited version of https://en.wikipedia.org/wiki/Template:Vertical_header used for https://leaf-blower-revolution.fandom.com/wiki/Damage_Types. Doesn't work fully (Vertical Alignment and row height).
This template displays text vertically in a table.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | text | Content to display in the cell. | String | required |
Max Width | maxWidth | Manual width; override the default value, which was automatically generated based on the number of line breaks (you can use <br>, <BR /> or any other combination). | String | optional |
Sort Padding | sortPadding | Give any non-empty value in order to apply a top padding to the cell (useful if the header is bottom-aligned; required for sortable columns) | String | optional |
Vertical Alignment | vertAlign | Vertical alignment (bottom, top, middle). Default is bottom. | String | optional |
Cell Style | cellstyle | Additional styles for the entire cell. May contain double quotes. Use this instead of the cell's style attribute. Use background-color instead of background if you need it for the header of a sortable column. | String | optional |
Style | style | Additional styles for the <div/> containing the rotated text. May contain double quotes. | String | optional |
No Bold | noBold | Give any non-empty value in order to apply a {{nobold}} template to the text. | String | optional |