Template:Clear/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
No edit summary
meta>Redrose64
m Reverted edits by 2A03:2880:2130:CFF5:FACE:B00C:0:1 (talk) to last version by 2A03:2880:11:2FF6:FACE:B00C:0:8000
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{high-risk|1400000+}}
{{high-risk|1400000+}}
{{Template |-||p}}
{{Template shortcut|-|Br|Clr}}


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 400px|left]]
[[File:HeidelbergTun.jpg|200px|left]]
{{Lorem}}<br/>'''{{tnull|clear}}'''
{{Lorem}}<br/>'''{{tnull|clear}}'''
{{clear}}
{{clear}}

Revision as of 09:09, 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}}

Template:Lorem
{{clear}}

New section with template

See how this section appears below the image?


See also