Template:Rotate text
Jump to navigation
Jump to search
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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
[edit source]| 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° |
TemplateData
[edit source]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Rotate text in articles based on its TemplateData.
TemplateData for Rotate text
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Rotation angle clockwise degrees | 1 | no description
| Number | optional |
| Text | 2 | no description | Content | optional |
| Additional CSS styles | style | no description | String | optional |
See also
[edit source]- {{Transform-rotate}}
- {{Vertical header}}
- {{Writing-mode}}