v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Template:Rotate/doc

From Dwarf Fortress Wiki
< Template:Rotate
Revision as of 23:21, 12 February 2013 by Lethosor (talk | contribs) (documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Rotate text (requires CSS3, not supported on old browsers)

Note: text will be rotated around lower-left corner; left-aligned text is recommended.

Usage

{{rotate| text }}

text

That example demonstrates how rotated text (at large angles) can overlap text above it

<div style="position:relative; float:none">{{rotate|text}}</div>

This example should not overlap, due to the extra newlines:


text

Rotating 180 degrees doesn't cause overlapping issues, but it does move the text off the page.

{{rotate | text | deg = 180 | style = font-size:25px; }}

text