Template:Collapse top/doc: Difference between revisions
→Usage: tweaks
w:en>SMcCandlish (clarification & cleanup) |
w:en>SMcCandlish (→Usage: tweaks) |
||
Line 8: | Line 8: | ||
== Usage == | == Usage == | ||
Place {{ | Place {{tlx|collapse top}} and {{tlx|collapse bottom}} around the text to be collapsed. For example: | ||
<pre>{{Collapse top|This is the title text}} | <pre>{{Collapse top|title=This is the title text}} | ||
{{lorem ipsum}} | {{lorem ipsum}} | ||
{{Collapse bottom}}</pre> | {{Collapse bottom}}</pre> | ||
produces | produces | ||
{{Collapse top|This is the title text}} | {{Collapse top|title=This is the title text}} | ||
{{lorem ipsum}} | {{lorem ipsum}} | ||
{{Collapse bottom}} | {{Collapse bottom}} |