<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3AFloat%2Fdoc</id>
	<title>Template:Float/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3AFloat%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Float/doc&amp;action=history"/>
	<updated>2026-06-07T00:46:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Float/doc&amp;diff=12868&amp;oldid=prev</id>
		<title>Caleb Cooper: /* Examples */</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Float/doc&amp;diff=12868&amp;oldid=prev"/>
		<updated>2020-10-20T15:21:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Please add categories to the /doc subpage, and interwikis at Wikidata (see Wikipedia:Wikidata) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
It is used to position text or elements to the rightmost/leftmost of a page/area, without changing the alignment or formatting of other text and elements nearby.&lt;br /&gt;
&lt;br /&gt;
For aligning text in general, see {{tl|align}}.  For floating images, boxes, and other elements, see {{tl|stack}}.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
These are the standard usage: &lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{float|&amp;lt;/nowiki&amp;gt;{{bigger|{{smallcaps|item}}}}}}&amp;lt;/code&amp;gt; floats {{smallcaps|item}} on the rightmost of a page/area.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{float|left|&amp;lt;/nowiki&amp;gt;{{bigger|{{smallcaps|item}}}}}}&amp;lt;/code&amp;gt; floats {{smallcaps|item}} on the leftmost of a page/area.&lt;br /&gt;
&lt;br /&gt;
More configuration: &lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{float |width= |height= |top= |right= |bottom= |left= |&amp;lt;/nowiki&amp;gt;{{bigger|{{smallcaps|item}}}}}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;{{bigger|{{smallcaps|item}}}}&amp;lt;/code&amp;gt; is required. You must specify what text or element to float or it will throw an error. &lt;br /&gt;
&lt;br /&gt;
All parameters are optional. The parameters {{para|width}} and {{para|height}} are to indicate the width/height of the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; element. &amp;lt;!--Unnecessary?: Note that if any values other than zero for &amp;#039;&amp;#039;top&amp;#039;&amp;#039; and &amp;#039;&amp;#039;right&amp;#039;&amp;#039; are required, they need to be specified.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The optional parameters {{para|top}}, {{para|right}}, {{para|bottom}} and {{para|left}} are to indicate how far from their respective positions the item is to be positioned. &lt;br /&gt;
&lt;br /&gt;
Any established HTML/CSS units may be used, for example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{float |top=2.0em |left=2px |width=10em | the content to float}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
=== Beware ===&lt;br /&gt;
Beware when using this template in navboxes. Please ensure whatever it floats (e.g. an image) does not float over other elements or text, even after the navbox is resized. &lt;br /&gt;
&lt;br /&gt;
To align centered lists in a navbox with an image, see the [[#Alternatives for navigational boxes|alternatives for navigational boxes]] section below. &lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
For examples see wikipedia page [[wikipedia:Template:Float]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|align}}&lt;br /&gt;
* {{tl|stack}}&lt;br /&gt;
* {{tl|clear}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Add categories below this line, and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Positioning templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>