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.
Difference between revisions of "Template:Rotate/doc"
Jump to navigation
Jump to search
(documentation) |
m (whoops, div tag does nothing) |
||
Line 10: | Line 10: | ||
That example demonstrates how rotated text (at large angles) can overlap text above it | That example demonstrates how rotated text (at large angles) can overlap text above it | ||
− | <pre> | + | <pre> |
+ | |||
+ | |||
+ | {{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}} | |
Rotating 180 degrees doesn't cause overlapping issues, but it does move the text off the page. | Rotating 180 degrees doesn't cause overlapping issues, but it does move the text off the page. |
Revision as of 23:33, 12 February 2013
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
{{rotate|text}}
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