Template:Rotate text/doc

From Hgames Wiki
Revision as of 04:35, 25 September 2024 by Hgfan (talk | contribs) (Initial creation of template documentation. Copied directly from WikiMedia (i.e. Wikipedia))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:Documentation subpage Template:Template shortcut

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