Template:Collapse top/doc: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Use with {{tl|Collapse bottom}}, putting the content to be collapsed between the two templates. | Use with {{tl|Collapse bottom}}, putting the content to be collapsed between the two templates. | ||
== Usage == | |||
<poem> | |||
{{tlx|Collapse top|optional message}} | |||
Content here. blah blah blah blah | |||
{{tlx|Collapse bottom}} | |||
</poem> | |||
== Examples == | |||
=== Example 1 === | |||
<pre> | |||
{{Collapse top}} | |||
Content here. blah blah blah blah | |||
{{Collapse bottom}} | |||
</pre> | |||
''creates'' | |||
{{Collapse top}} | |||
Content here. blah blah blah blah | |||
{{Collapse bottom}} | |||
=== Example 2 === | |||
<pre> | |||
{{Collapse top|optional message}} | |||
Content here. blah blah blah blah | |||
{{Collapse bottom}} | |||
</pre> | |||
''creates'' | |||
{{Collapse top|optional message}} | |||
Content here. blah blah blah blah | |||
{{Collapse bottom}} | |||
== See also == | |||
* [[Template:Hidden]] | |||
<includeonly> | <includeonly> | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 04:07, 14 May 2014
Use with {{Collapse bottom}}, putting the content to be collapsed between the two templates.
Usage
{{Collapse top|optional message}}
Content here. blah blah blah blah
{{Collapse bottom}}
Examples
Example 1
{{Collapse top}}
Content here. blah blah blah blah
{{Collapse bottom}}
creates
| Extended content |
|---|
|
Content here. blah blah blah blah |
Example 2
{{Collapse top|optional message}}
Content here. blah blah blah blah
{{Collapse bottom}}
creates
| optional message |
|---|
|
Content here. blah blah blah blah |
See also