Template:Clear/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{high-risk|1400000+}}
{{high-risk|1400000+}}
{{Template shortcut|-|Br|Clr}}
{{Template |-||p}}


This template adds <code>&lt;div style="clear:both;"&gt;&lt;/div&gt;</code>, <code>&lt;div style="clear:left;"&gt;&lt;/div&gt;</code>, or <code>&lt;div style="clear:right;"&gt;&lt;/div&gt;</code>;
This template adds <code>&lt;div style="clear:both;"&gt;&lt;/div&gt;</code>, <code>&lt;div style="clear:left;"&gt;&lt;/div&gt;</code>, or <code>&lt;div style="clear:right;"&gt;&lt;/div&gt;</code>;
Line 24: Line 24:


===Example that uses {{tlf|clear}}===
===Example that uses {{tlf|clear}}===
[[File:HeidelbergTun.jpg|200px|left]]
[[File:HeidelbergTun.jpg 400px|left]]
{{Lorem}}<br/>'''{{tnull|clear}}'''
{{Lorem}}<br/>'''{{tnull|clear}}'''
{{clear}}
{{clear}}

Revision as of 04:03, 25 February 2017

{{-}}

This template adds <div style="clear:both;"></div>, <div style="clear:left;"></div>, or <div style="clear:right;"></div>; for technical XHTML details, see Template talk:Clear.

{{clear}}: Makes content wait until existing content is completed in all columns. P] ])pp used to text from flowing next to images.

Usage

<wiki>

</wiki> <wiki>

</wiki> <wiki>

</)wiki>

Example without {{clear}}

Template:Lorem

New section without template

See how this section starts at the right of the image?

Example that uses {{clear}}

File:HeidelbergTun.jpg 400px

Template:Lorem
{{clear}}

New section with template

See how this section appears below the image?


See also