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"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (documentation)
m (clean up a bit, move documentation to /doc)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{documentation}}
+
<!-- to add extra newlines when viewing the template -->
Rotate text (not supported on old browsers)
 
  
Note: text will be rotated around lower-left corner; left-aligned text is recommended.
 
  
USAGE:
+
</noinclude>
 
+
<span style="position:relative;"><span style="position:absolute;transform:rotate({{{deg|-90}}}deg);-ms-transform:rotate({{{deg|-90}}}deg);-moz-transform: rotate({{{deg|-90}}}deg);-webkit-transform: rotate({{{deg|-90}}}deg);-o-transform: rotate({{{deg|-90}}}deg);transform-origin:0% 0%;-ms-transform-origin:0% 0%;-moz-transform-origin:0% 0%;-webkit-transform-origin:0% 0%;-o-transform-origin:0% 0%;padding:9px;height:23px;width:120px;{{{style|}}}">{{{1}}}</span></span>
<nowiki>{{rotate | text }}</nowiki>
+
<noinclude>
 
+
{{documentation}}
<br><br><br>
 
</noinclude><span style="position:relative;"><span style="position:absolute;transform:rotate({{{deg|-90}}}deg);-ms-transform:rotate({{{deg|-90}}}deg);-moz-transform: rotate({{{deg|-90}}}deg);-webkit-transform: rotate({{{deg|-90}}}deg);-o-transform: rotate({{{deg|-90}}}deg);transform-origin:0% 0%;-ms-transform-origin:0% 0%;-moz-transform-origin:0% 0%;-webkit-transform-origin:0% 0%;-o-transform-origin:0% 0%;padding:9px;height:23px;width:120px;{{{style|}}}">{{{1}}}</span></span>
 
 
<noinclude>
 
<noinclude>
 
<nowiki>{{rotate | text | deg = 180 | style = font-size:25px; }}</nowiki>
 
</noinclude>
 

Revision as of 23:23, 12 February 2013



{{{1}}}