Template:CollapseComment/doc

From IxWiki
Revision as of 05:37, 29 September 2017 by mp>ClickerClock (→‎Example: clean up)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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