Information icon.svg The 2019 RMF board election has started!
We are electing 3 board members for the 2019-2021 term.
Vote here and read their campaign slogans here!

Template:Collapse

From RationalWiki
(Redirected from Template:Trolltop)
Jump to: navigation, search

[edit] [purge] Documentation

Usage

This template can be used to hide part of a discussion. Parameters are:

  • {{{1}}} or {{{reason}}} - an optional reason for the hiding
  • {{{2}}} or {{{closer}}} - the editor who did the hiding
  • {{{expand}}} - if it's not empty, the collapse will be opened at start and can be closed later
  • {{{color}}} and {{{bg_color}}} - sets the colors.
  • {{{width}}} - sets the width, when set to "smart" allows it to resize when the content is expanded.
  • {{{min_width}}} - sets the minimum width. When set with "width=smart", sets the closed box size.
  • {{{noborder}}} - if not empty, removes the border.
  • {{{border_size}}} and {{{border_color}}} - sets the border parameters.

Put {{Collapse end}} after the part that you want to hide. Be sure to put proceeding text in a new line.

See also