Difference between revisions of "Template:Clear/doc"
(Created page with "<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> _...") |
m |
||
Line 2: | Line 2: | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
__NOTOC__ | __NOTOC__ | ||
− | |||
==Purpose== | ==Purpose== | ||
This template is meant for visual design. It will separate all content before and after the template so any "floating" content, such as images, will not overflow to the next section. | This template is meant for visual design. It will separate all content before and after the template so any "floating" content, such as images, will not overflow to the next section. |
Revision as of 11:56, 16 December 2020
Template:Template doc page viewed directly
Purpose
This template is meant for visual design. It will separate all content before and after the template so any "floating" content, such as images, will not overflow to the next section.
Usage
Add the following in the edit page:
{{clear}}
Example
=== Category 1 === [[File: Example.jpg|thumb|Example image]] Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. {{clear}} === Category 2 === Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Will display:
Category 1
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Category 2
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
(The example can be seen here.)