Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Valign/doc to edit this documentation. (How does this work?)

This template can be placed inside an element to create text that is vertically aligned. The first parameter should be the desired vertical alignment. It should be "bottom", "top", or "middle". "middle" is the default. The second parameter should be the text.

Syntax Example
<div style="width: 400px; height: 150px; margin: 0 auto; text-align: center; border: 4px solid black">
Community content is available under CC-BY-SA unless otherwise noted.