ढाँचा:Clear/doc
स्वरूप
This is a documentation subpage for ढाँचा:Clear (see that page for the ढाँचा itself). It contains usage information, categories, and other content that are not part of the original ढाँचा page. |
This template is used on 2,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in the template sandbox or a user subpage. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on the talk page before implementing them. |
This template adds <div style="clear:both;"></div>. {{clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
Usage
[सम्पादन गर्नुहोस्]{{Clear}}
The template may also be substituted, but as the markup provided will be confusing to many editors, and this template provides documentation for itself, there is little justification for substitution.
Example without the {{clear}} template
[सम्पादन गर्नुहोस्]New section
[सम्पादन गर्नुहोस्]See how this section starts at the right of the image, with the line actually overlapping the image
Example with the {{clear}} template
[सम्पादन गर्नुहोस्]New section
[सम्पादन गर्नुहोस्]See how this looks much better?
See also
[सम्पादन गर्नुहोस्]- {{clearleft}} delays content until left column is complete.
- {{clearright}} delays content until right column is complete.
- {{-}} is similar, but technically different.