Template:Clear: Difference between revisions
Jump to navigation
Jump to search
m (Adding direction parameter.) |
(New documentation style.) |
||
Line 1: | Line 1: | ||
<div style="clear: {{{1|both}}}"></div><noinclude> | <div style="clear: {{{1|both}}}"></div><noinclude> | ||
== | ==Info== | ||
Add this template to adjust a page's layout. It moves the content below the template down to the point after which all content before the template is finished, so that there are no horizontal overlaps with the heading. | Add this template to adjust a page's layout. It moves the content below the template down to the point after which all content before the template is finished, so that there are no horizontal overlaps with the heading. | ||
==Parameters== | |||
{| class = "wikitable" | |||
! Parameters || Mandatory || Description || Default value | |||
|- | |||
| 1 || No || If present, this allows you to manually specify a direction of clearance (e.g. "left" or "right"). || both | |||
|} | |||
==Template== | |||
[[ | <pre> | ||
{{clear | <direction>}} | |||
</pre> | |||
==Examples== | |||
{| class = "wikitable" | |||
! Code || Result | |||
|- | |||
| | |||
<pre>[[File:RedPikmin.png|thumb|left]] Text to the side of the image. | |||
{{clear}} | |||
Text below the image.</pre> | |||
| | |||
[[File:RedPikmin.png|thumb|left]] Text to the side of the image. | |||
{{clear}} | |||
Text below the image. | |||
|} | |||
[[Category:Templates]] | |||
</noinclude> | </noinclude> |
Revision as of 09:56, October 13, 2014
Info
Add this template to adjust a page's layout. It moves the content below the template down to the point after which all content before the template is finished, so that there are no horizontal overlaps with the heading.
Parameters
Parameters | Mandatory | Description | Default value |
---|---|---|---|
1 | No | If present, this allows you to manually specify a direction of clearance (e.g. "left" or "right"). | both |
Template
{{clear | <direction>}}
Examples
Code | Result |
---|---|
[[File:RedPikmin.png|thumb|left]] Text to the side of the image. {{clear}} Text below the image. |
Text to the side of the image.
Text below the image. |