Difference between revisions of "Template:Clear/doc"

From Science Olympiad Student Center Wiki
Jump to: navigation, search
(Created page with "{{TemplateDocStart}} The '''Clear template''' is used to insert one of the following HTML elements: *<code><nowiki><div style="clear: all;"></div></nowiki></code> (<code><now...")
 
("all" should be)
Line 2: Line 2:
 
The '''Clear template''' is used to insert one of the following HTML elements:
 
The '''Clear template''' is used to insert one of the following HTML elements:
  
*<code><nowiki><div style="clear: all;"></div></nowiki></code> (<code><nowiki>{{{clear}}}</nowiki></code>)
+
*<code><nowiki><div style="clear: both;"></div></nowiki></code> (<code><nowiki>{{{clear}}}</nowiki></code>)
 
*<code><nowiki><div style="clear: right;"></div></nowiki></code> (<code><nowiki>{{{clear|right}}}</nowiki></code>)
 
*<code><nowiki><div style="clear: right;"></div></nowiki></code> (<code><nowiki>{{{clear|right}}}</nowiki></code>)
 
*<code><nowiki><div style="clear: left;"></div></nowiki></code> (<code><nowiki>{{{clear|left}}}</nowiki></code>)
 
*<code><nowiki><div style="clear: left;"></div></nowiki></code> (<code><nowiki>{{{clear|left}}}</nowiki></code>)

Revision as of 03:53, 29 December 2019

Template:Clear/doc - Documentation

The Clear template is used to insert one of the following HTML elements:

  • <div style="clear: both;"></div> ({{{clear}}})
  • <div style="clear: right;"></div> ({{{clear|right}}})
  • <div style="clear: left;"></div> ({{{clear|left}}})

based on the argument provided to the template.

The HTML elements are used to make following content wait until the previous content is completed in the right or left columns, or all columns.