Template:Float/doc: Difference between revisions

Not deprecated, as some situations not addressed by alternatives. Just needs care.
No edit summary
(Not deprecated, as some situations not addressed by alternatives. Just needs care.)
Line 1:
{{documentation subpage}}
<!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE--->
{{notice|TheNote: useTake ofcare when using this template isin deprecatednavboxes into navboxensure templates,that duewhatever toit theis factused thatto thefloat (e.g. an image) maydoes not float over other elements or text, makingif{{\}}when the textnavbox unreadable.is resized. To align centered lists in a navbox with an image, see the [[#Alternatives for navigational boxes|alternatives for navigational boxes]] section below. For aligning text in general, see {{tl|align}}. For floating images, boxes, and other elements, see {{tl|stack}}.}}
 
Use <code><nowiki>{{float}}</nowiki></code> to position items such as images so they do not affect the alignment or formatting of other items (e.g. text) nearby.
Anonymous user