Difference between pages "Template:Clr" and "Template:Details"

From Event-B
(Difference between pages)
Jump to navigationJump to search
imported>Mathieu
m (Robot: Changing Category:Typesetting template)
 
imported>Mathieu
m
 
Line 1: Line 1:
<noinclude>
+
:<div class="boilerplate seealso">''For more details on {{{2|this topic}}}, see [[{{{1}}}]].''</div><noinclude>
This template displays a simple line break, without additional vertical spacing (except when used to skip left or right floating blocks).
+
<nowiki>{{Details}}</nowiki> is used to make summary style explicit.
  
== Usage ==
+
==Usage==
* <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|right}}</nowiki></code> (skip only right floating blocks)
 
  
== Example ==
+
Use in a section for which there is also a separate article on the subject.
:{|width="100%" border="1" cellspacing="0" cellpadding="2" style="border:1px solid #999999;border-collapse:collapse;background:#F8F8F8;"
+
 
|-bgcolor="#CCCCCC"
+
==Markup==
!Code Wiki
+
 
!width="300"|Display
+
'''<nowiki>{{details|article|on}}</nowiki>'''
|-
+
 
|<code><nowiki>abcd{{Clr}}efgh</nowiki></code>
+
* ''article'' is the name of an article with more detail on the subject. For example, <nowiki>{{details|cats}}</nowiki> generates:
|width="300"|abcd{{Clr}}efgh
+
{{details|cats}}
|-
+
* ''on'' is optional and replaces the phrase "this topic" with the specified text. For example, <nowiki>{{details|cats|felines}}</nowiki> generates:
|<code><nowiki>abcd{{Clr}}{{Clr}}efgh</nowiki></code>
+
{{details|cats|felines}}
|width="300"|abcd{{Clr}}{{Clr}}efgh
+
 
|-
+
==Source==
|
+
Copied from Wikipedia (en).
<code><nowiki>[[Image:Wink.gif|50px|left|bloc gauche]]Text used to fill</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 />
+
[[Category:Page-section templates]]
<code><nowiki>{{Clr}}</nowiki></code><br />
+
</noinclude>
<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"|
 
[[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..
 
|}
 
[[Category:Typesetting templates]]
 
== Template ==
 
</noinclude><div style="clear:{{{1|both}}};"></div>
 

Latest revision as of 20:26, 10 September 2008

For more details on this topic, see [[{{{1}}}]].

{{Details}} is used to make summary style explicit.

Usage

Use in a section for which there is also a separate article on the subject.

Markup

{{details|article|on}}
  • article is the name of an article with more detail on the subject. For example, {{details|cats}} generates:
For more details on this topic, see cats.
  • on is optional and replaces the phrase "this topic" with the specified text. For example, {{details|cats|felines}} generates:
For more details on felines, see cats.

Source

Copied from Wikipedia (en).