ढाँचा:Clear

नेपाली विकिपुस्तकबाट, स्वतन्त्र पुस्तकालय
Documentation icon Template documentation[view] [edit] [history] [purge]

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[सम्पादन गर्नुहोस्]

ढाँचा:Lorem Ipsum

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[सम्पादन गर्नुहोस्]

ढाँचा:Lorem Ipsum
{{clear}}

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.