Template:Float/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:


To break the justification you can include a line break like {{tl|-}}.
To break the justification you can include a line break like {{tl|-}}.
If CONTENT contains an equals sign then you will need to place a 2= before that parameter, such as <code><nowiki>{{float|DIRECTION|2=CONTENT}}</nowiki></code>.


=== Example ===
=== Example ===

Revision as of 23:23, 19 March 2015

Used to float tables or videos left, right, or center.

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, such as {{float|DIRECTION|2=CONTENT}}.

Example

{{float|right| {{youtube|-MY-Kk76x9w|right}} }} blah blah blah blah

creates


blah blah blah blah