Template:Vertical header

From Leaf Blower Revolution Wiki
Jump to navigation Jump to search



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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Contenttext

Content to display in the cell.

Stringrequired
Max WidthmaxWidth

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).

Stringoptional
Sort PaddingsortPadding

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)

Stringoptional
Vertical AlignmentvertAlign

Vertical alignment (bottom, top, middle). Default is bottom.

Stringoptional
Cell Stylecellstyle

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.

Stringoptional
Stylestyle

Additional styles for the <div/> containing the rotated text. May contain double quotes.

Stringoptional
No BoldnoBold

Give any non-empty value in order to apply a {{nobold}} template to the text.

Stringoptional