Template:Rotate text/doc
From Hgames Wiki
Revision as of 01:06, 1 October 2024 by Hgfan (talk | contribs) (Add link to Wikipedia documentation)
This template rotates text by a specific angle.
The canvas is not adjusted, so this template has minor benefits. Under the hood, it's just a wrapper for {{transform-rotate}}.
Example
Input | Result |
---|---|
{{Rotate text| 5|This is text rotated by 5°}}
|
This is text rotated by 5° |
Input | Result |
---|---|
{{Rotate text|30|This is text rotated by 30°}}
|
This is text rotated by 30° |
Input | Result |
---|---|
{{Rotate text|-15|This is text rotated by -15°}}
|
This is text rotated by -15° |
See also
- {{Transform-rotate}}
- {{Vertical header}}
This template's code was copied directly from Wikipedia. For more information, including more details on how to use this template in your articles, please see Wikipedia's Template:Rotate_text documentation.