SmashWiki:Templates: Difference between revisions

m
Text replacement - "clear}}" to "clr}}"
No edit summary
m (Text replacement - "clear}}" to "clr}}")
Line 47: Line 47:
== [[:Category:General wiki templates|General wiki templates]] ==
== [[:Category:General wiki templates|General wiki templates]] ==
=== Clear ===
=== Clear ===
{{t|clear}}, plus {{t|clrl}} and {{t|clrr}}
{{t|clr}}, plus {{t|clrl}} and {{t|clrr}}


* This template is used to reduce the amount of non-wikicode used on pages, replacing the code <code>&lt;br style="clear:both;" /&gt;</code>. Its use should generally be avoided.
* This template is used to reduce the amount of non-wikicode used on pages, replacing the code <code>&lt;br style="clear:both;" /&gt;</code>. Its use should generally be avoided.
* You can use {{t|clear}} instead of the HTML tag that clears space below things like images, pictures and tables, so the following stuff doesn't begin until the bottom of the image, picture or table box.
* You can use {{t|clr}} instead of the HTML tag that clears space below things like images, pictures and tables, so the following stuff doesn't begin until the bottom of the image, picture or table box.
* You can also use {{t|clrl}} or {{t|clrr}} to clear only left or right floats.
* You can also use {{t|clrl}} or {{t|clrr}} to clear only left or right floats.