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.
Editing Template:Rotate/doc
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | Rotate | + | Rotate text (requires CSS3, not supported on old browsers) |
− | Note: | + | Note: text will be rotated around lower-left corner; left-aligned text is recommended. |
==Usage== | ==Usage== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre>{{rotate| text }}</pre> | <pre>{{rotate| text }}</pre> | ||
{{rotate| text }} | {{rotate| text }} | ||
− | That example demonstrates how rotated text can overlap | + | That example demonstrates how rotated text (at large angles) can overlap text above it |
− | <pre> | + | <pre><div style="position:relative; float:none">{{rotate|text}}</div> |
− | |||
− | |||
− | {{rotate|text}} | ||
</pre> | </pre> | ||
This example should not overlap, due to the extra newlines: | This example should not overlap, due to the extra newlines: | ||
− | {{rotate|text}} | + | <div style="position:relative; float:none">{{rotate|text}}</div> |
− | Rotating | + | Rotating 180 degrees doesn't cause overlapping issues, but it does move the text off the page. |
− | |||
<pre>{{rotate | text | deg = 180 | style = font-size:25px; }}</pre> | <pre>{{rotate | text | deg = 180 | style = font-size:25px; }}</pre> | ||
{{rotate | text | deg = 180 | style = font-size:25px; }} | {{rotate | text | deg = 180 | style = font-size:25px; }} | ||
− | + | </noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |