Template:Collapse top/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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 == | == See also == |
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