Home
Random
Recent changes
Special pages
Community portal
Preferences
About Chesapeake Studios Wiki
Disclaimers
Chesapeake Studios Wiki
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Template:Clear/doc
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
;Description This template allows you to clear the left side, right side, or both sides of the page. Clearing means that the content following the template will not be displayed until the existing content on the specified sides (for example, "hanging" or floating images or blocks) is displayed completely. This template is often used so that the text does not flow around unrelated images. The template adds the following code to the page: <code><nowiki><div style="clear:left/right/both;"></div></nowiki></code> (the value after <code>clear</code> depends on the parameters). This code affects elements with the CSS property <code>float</code>, including files floated to the side (for example, <code><nowiki>[[File:Image.png|right]]</nowiki></code>). ;Syntax * To clear both sides of the page, add the code {{t|Clear}}. * To clear only the left side of the page, add the code {{t|Clear|left}}. * To clear only the right side of the page, add the code {{t|Clear|right}}. You can also use {{t|-}} instead of {{t|Clear}} as a shorthand call for this template. __NOTOC__ ;Example <pre style="display:table"> === Section 1 === [[File:Example.jpg|200px|right]] Section 1 text. === Section 2 === Section 2 text. {{Clear|right}} === Section 3 === Section 3 text. </pre> This code produces the following result: ----
Summary:
Please note that all contributions to Chesapeake Studios Wiki are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) (see
Chesapeake Studios Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)