Template:Float: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<span style="float:{{{1}}}">{{{2}}}</span> | <span style="float:{{{1}}}">{{{2}}}</span><noinclude>{{/doc}}</noinclude> |
Revision as of 23:17, 19 March 2015
{{{2}}}Used to float tables or videos left, right, or center.
It's basically a wrapper for a HTML span tag: {{float|DIRECTION|CONTENT}}
creates <span style="float:DIRECTION">CONTENT</span>
Usage
{{float|DIRECTION|CONTENT}}
DIRECTION
can be left, right, or center.
CONTENT
is the video or table or whatever content you want to justify.
To break the justification you can include a line break like {{-}}.
If CONTENT contains an equals sign then you will need to place a 2= before that parameter. For example: {{float|DIRECTION|2=CONTENT}}
.
Example
{{float|right| {{youtube|-MY-Kk76x9w}} }} blah blah blah blah
creates
blah blah blah blah
See also
- {{center}}