Template:Rotate: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Creation of a basic template for rotating text or other content)
 
m (+-doc: Vertical to horizontal format; cat: Formatting templates)
 
Line 6: Line 6:


== Usage ==
== Usage ==
  {{obr}}'''rotate'''
  {{obr}}'''rotate'''{{!}}''content''{{!}}''angle''{{cbr}}
{{!}} ''content''
{{!}} ''angle''
{{cbr}}


; content : The text or other content to rotate.
; content : The text or other content to rotate.
Line 22: Line 19:


}}
}}
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 16:39, 14 June 2019

{{{1}}}

The following template description is not displayed when the template is inserted in an article.

Goal

Rotate text or other content by a given angle.

Usage

{{rotate|content|angle}}
content
The text or other content to rotate.
angle
The angle in degrees to rotate the content by.

Examples

Rotation

{{rotate|test|90}}

test