Template:Clr: Difference between revisions
imported>Mathieu m Used to skip floating blocks before rendering following text |
imported>Mathieu m Robot: Changing Category:Typesetting template |
||
(7 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
<code><nowiki>{{Clr}}</nowiki></code> (skip left and right floating blocks) | * <code><nowiki>{{Clr}}</nowiki></code> (skip left and right floating blocks) | ||
<code><nowiki>{{Clr|left}}</nowiki></code> (skip only left floating blocks) | * <code><nowiki>{{Clr|left}}</nowiki></code> (skip only left floating blocks) | ||
<code><nowiki>{{Clr|right}}</nowiki></code> (skip only right floating blocks) | * <code><nowiki>{{Clr|right}}</nowiki></code> (skip only right floating blocks) | ||
== Example == | == Example == | ||
Line 21: | Line 21: | ||
| | | | ||
<code><nowiki>[[Image:Wink.gif|50px|left|bloc gauche]]Text used to fill</nowiki></code><br /> | <code><nowiki>[[Image:Wink.gif|50px|left|bloc gauche]]Text used to fill</nowiki></code><br /> | ||
<code><nowiki>[[Image:Wink.gif|150px|thumb|right| | <code><nowiki>[[Image:Wink.gif|150px|thumb|right|right floating block]]the free space around the floating blocks. Text used to fill the free space around the floating blocks.</nowiki></code><br /> | ||
<code><nowiki>{{Clr}}</nowiki></code><br /> | <code><nowiki>{{Clr}}</nowiki></code><br /> | ||
<code><nowiki>More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width...</nowiki></code> | <code><nowiki>More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width...</nowiki></code> | ||
|width="300"| | |width="300"| | ||
[[Image:Wink.gif|50px|left|bloc gauche]]Text used to fill | [[Image:Wink.gif|50px|left|bloc gauche]]Text used to fill | ||
[[Image:Wink.gif|150px|thumb|right| | [[Image:Wink.gif|150px|thumb|right|right floating block]]the free space around the floating blocks. Text used to fill the free space around the floating blocks. | ||
{{Clr}} | {{Clr}} | ||
More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width.. | More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width.. | ||
|} | |} | ||
[[Category:Typesetting templates]] | |||
[[Category:Typesetting | |||
== Template == | == Template == | ||
</noinclude | </noinclude><div style="clear:{{{1|both}}};"></div> | ||
Latest revision as of 20:28, 10 September 2008
This template displays a simple line break, without additional vertical spacing (except when used to skip left or right floating blocks).
Usage
{{Clr}}
(skip left and right floating blocks){{Clr|left}}
(skip only left floating blocks){{Clr|right}}
(skip only right floating blocks)
Example
Code Wiki Display abcd{{Clr}}efgh
abcdefgh abcd{{Clr}}{{Clr}}efgh
abcdefgh [[Image:Wink.gif|50px|left|bloc gauche]]Text used to fill
[[Image:Wink.gif|150px|thumb|right|right floating block]]the free space around the floating blocks. Text used to fill the free space around the floating blocks.
{{Clr}}
More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width...
Text used to fill the free space around the floating blocks. Text used to fill the free space around the floating blocks. More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width... More longer text, needing the whole page width..