Template:Clr/doc: Difference between revisions

TemplateData text copied from wikipedia:Template:Clear
(Created page with " ==Description== :This template is a shorthand for <code><div style="clear:both;"></div></code>. :It moves any content following the template below any objects floating...")
 
(TemplateData text copied from wikipedia:Template:Clear)
 
(One intermediate revision by the same user not shown)
Line 1:
 
==Description==
:This template is a shorthand for <code>&lt;div style="clear:both;">&lt;/div></code>. It moves any content following the template below any objects floating to the left and/or right (TOCs, infoboxes, images, etc..).
:It moves any content following the template below any objects floating to the left and/or right (TOCs, infoboxes, images, etc..).
 
==SyntaxUsage==
:Type <code>{{ttlx|clr}}</code> in an article at the point you want the clear.
 
This parameter also accepts one parameter, which can be written as {{tlx|clr|right}} or {{tlx|clr|left}}. This makes it so content is delayed until just the right or left column is complete. The default clears both columns.
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]<includeonly>
 
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
==TemplateData==
{{TemplateData header}}
<templatedata>
{
"description": "Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images, so text will appear on a full width line under the image.",
"params": {
"1": {
"label": "side",
"description": "can be 'right' or 'left' so content is delayed until just the right or left column is complete. The default clears both columns.",
"type": "string",
"required": false
}
}
}
</templatedata>