Template:CollapseComment: Difference between revisions
Jump to navigation
Jump to search
mp>Nx m doc template |
m 1 revision imported |
(No difference)
|
Latest revision as of 21:01, 14 July 2023
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:
- a title for the comment. This can be any text, but should be limited to a single line. This will always be displayed.
- an anchor name by which the comment can be referred to for linking purposes.
- 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:
This is a collapsed comment display text |
Hello, collapsed comment world. The actual comment. |