Alpachnee Confederation and Template:CollapseComment: Difference between pages
(Difference between pages)
(Urcea moved page Alpachnee Confederation to Alpachnia) Tag: New redirect |
mp>Nx m (doc template) |
||
Line 1: | Line 1: | ||
<includeonly><div id="{{urlencode:{{{2}}}}}" style="margin: 2px 2px 2px 2px; float: right; max-width: 40%; clear: right;"> | |||
{| cellpadding="5" cellspacing="0" class="collapsible collapsed" style="border: 1px solid black;" | |||
|- style="Background: rgb(204, 204, 255);" | |||
! <div style="min-width: 150px;">[[Image:Gnomelightbulb.png|left]]</div> | |||
|- style="whitespace: nowrap; Background: rgb(204, 204, 255); text-align: center; font-weight: bold;" | |||
| {{{1}}} | |||
|- | |||
| {{{3}}} | |||
|} | |||
</div></includeonly><noinclude> | |||
{{doc}}</noinclude> |
Revision as of 06:56, 11 November 2009
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. |