Template:Clear: Difference between revisions

Template page
m (Protected "Template:Clear": no real reason for this to be open as it was; it's simply a short-hand template for div clears ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(+ documentation)
Line 1: Line 1:
<div style="clear:both;"></div>
<includeonly><div style="clear:both;"></div></includeonly>
<noinclude>
= Documentation =
This template allows for the inclusion of a div element that clears both left and right elements.
 
Ideally, this allows for a cleaner presentation when sectioning an article that features other elements, such as photos or tables.
== Usage ==
<code><nowiki>{{clear}}</nowiki></code>
[[Category:Battlestar Wiki Template|Clear]]
</noinclude>

Revision as of 07:12, 20 September 2020


Documentation

This template allows for the inclusion of a div element that clears both left and right elements.

Ideally, this allows for a cleaner presentation when sectioning an article that features other elements, such as photos or tables.

Usage

{{clear}}