Template:Float/doc
Appearance
This is the documentation subpage for the parent Template:Float page.
- Usage:
- Position a block of contents to make it floatting along the left or right margin.
- Syntax:
- Parameters:
-
style=
(optional) additional styles for the div container1=
(required) one of: left, right, none, inline-start, inline-end, inherit, initial, unset (see CSS: Cascading Style Sheets ▸ float on MDN Web Docs)2=
(required) block content (if this is empty, no floatting block will be generated)
- Example:
{{Float|right|Sample block.}}
generates:
Sample block.
- See also: