Template:Hidden
From Wikimedia Commons, the free media repository
{{{1}}}
[edit]
Documentation
(this part of the documentation is only available in some languages)
This template displays the first parameter (the heading) with a ▼ (show) link on the right. If ▼ is clicked by the user, the second parameter (the body) is also displayed.
Contents |
[edit] Usage
{{Hidden
|1=
|2=
|fw1=
|fw2=
|bg1=
|bg2=
|ta1=
|ta2=
|headercss=
|contentcss=
|css=
|toggle=
}}
(this part of the documentation is only available in some languages)
If the user has specified "justify paragraphs" in preferences, this template will not respect that.
Parameters
| Parameter name | Description (this part of the documentation is only available in some languages) | Default value | required or optional? |
|---|---|---|---|
| parameter #1 (1) | title of the box | empty | required |
| parameter #2 (2) | text in the box (hidden by default) | empty | required |
| fw1 | the font-weight for the heading | bold | optional |
| fw2 | the font-weight for the body | bold | optional |
| bg1 | the background-color for the heading | transparent | optional |
| bg2 | the background-color for the body | transparent | optional |
| ta1 | the text-align for the heading | center | optional |
| ta2 | the text-align for the body | left | optional |
| headercss | CSS styles to apply to title | empty | optional |
| contentcss | CSS styles to apply to the hidden material | empty | optional |
| css | CSS styles to apply to the whole box | empty | optional |
| toggle | Set to "left" (without speechmarks) to move [show/hide] button to titlebar's lefthand side. | empty | optional |
[edit] Additional information
The template is intended to be used in the following namespaces:
- the File namespace
The template is intended to be used by the following user groups:

