Template:Float

From OpenStreetMap Wiki
Jump to navigation Jump to search
[Edit] [Purge] Template-info.svg Template documentation

Positions content on the right or left edge of a page or area, forcing other content to flow beside and beneath the floating content without overlapping.

Usage

{{float |width= |height= |top= |right= |bottom= |left= |floating content}}

By default, content floats on the right, but adding left as a parameter before the content causes it to float to the left instead.

Examples:

{{float|[[File:Iceberg in the Arctic with its underside exposed.jpg|180px]]{{taginfo2|natural|iceberg}}}}

Use {{-}} or {{Clear}} to reset all floating content at the point where you want normal layout to resume.

See also