Template:CollapseComment

From RationalWiki
Jump to navigation Jump to search

[edit] [purge] Documentation

This template is the core part of the Collapsible Comment System.

A comment is created by using the CollapseComment template.

Parameters

This template has three parameters:

  1. a title for the comment. This can be any text, but should be limited to a single line. This will always be displayed.
  2. an anchor name by which the comment can be referred to for linking purposes.
  3. the comment text itself. If you wish to write more than one paragraph, use paragraph tags (i.e. <p> and </p>) as you would with the cquote template.

Example

The declaration: {{CollapseComment|This is a collapsed comment display text|this_is_a_collapsed_comment_anchor|Hello, collapsed comment world. The actual comment.}}

produces the following output:

See also