Template:Clear: Difference between revisions
Jump to navigation
Jump to search
Greenpickle (talk | contribs) m (7 revisions) |
m (Protected "Template:Clear": High traffic page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div style="clear: 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" | ||
</noinclude> | ! Parameter || Mandatory || Default || Purpose || Detailed description | ||
|- | |||
! 1 | |||
| No || both || Direction || If present, this allows you to manually specify a direction of clearance (e.g. "left" or "right"). | |||
|} | |||
==Skeleton== | |||
<pre> | |||
{{clear|<direction>}} | |||
</pre> | |||
==Examples== | |||
{| class = "wikitable" | |||
! Code || Result | |||
|- | |||
| | |||
<pre>[[File:Red Pikmin.png|thumb|left]] Text to the side of the image. | |||
{{clear}} | |||
Text below the image.</pre> | |||
| | |||
[[File:Red Pikmin.png|thumb|left]] Text to the side of the image. | |||
{{clear}} | |||
Text below the image. | |||
|} | |||
[[Category:Inline templates]]</noinclude> |
Latest revision as of 08:53, June 26, 2024
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
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | No | both | Direction | If present, this allows you to manually specify a direction of clearance (e.g. "left" or "right"). |
Skeleton
{{clear|<direction>}}
Examples
Code | Result |
---|---|
[[File:Red Pikmin.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. |