Template:Clr: Difference between revisions

From Event-B
Jump to navigationJump to search
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|bloc flottant à droite]]the free space around the floating blocks. Text used to fill the free space around the floating blocks.</nowiki></code><br />
<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|bloc flottant à droite]]the free space around the floating blocks. Text used to fill the free space around the floating blocks.
[[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 ==
== Template ==
</noinclude><!--
</noinclude><div style="clear:{{{1|both}}};"></div>
--><div style="clear:{{{1|both}}};" />

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 abcd
efgh
abcd{{Clr}}{{Clr}}efgh abcd
efgh

[[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...

bloc gauche
bloc gauche
Text used to fill
right floating block
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..

Template