Template:Collapse bottom/doc
Usage[edit source]
Place {{Collapse top}}
, around the text to be collapsed. For example:
{{Collapse top|title=This is the title text}} Sample contents text {{Collapse bottom}}
Produces:
This is the title text
Sample contents text
If you don't fill in the title, it will be empty.
{{Collapse top}} Sample contents text {{Collapse bottom}}
Produces:
Sample contents text
{{Collapse bottom}}
should always be placed on its own line.
Note that the entirety of {{Collapse bottom}}
that gets transcluded is "|}</div>
": indeed, at eight characters, it is shorter than "{{Collapse bottom}}
" (nineteen characters)! It's not that complicated, it is just easier to keep track of which template concludes which collapsed block when editing a page's source.