Njuškii siskáldâsân

Myenster:Hidden begin

Wikipedia:st
Myenster raavâ [čääiti] [mute] [peeivid]

Do not use this template to hide content in articles. This violates the WP:Manual of Style § Scrolling lists and collapsible content and Accessibility guidelines. This template is intended for use in pages in namespaces other than the article namespace.

Note: This template does not hide anything for mobile users (phab:T111565).

Syntax

[mute käldee]
{{Hidden begin
| showhide       = <!--"left", otherwise omit-->
| expanded       = <!--"true", "on", yes", etc, otherwise omit-->
| class          = 
| width          = 
| border         = 
| bgcolor        = <!--background color for both the title and content-->
| style          = 
| ta1            = 
| titlebgcolor   = <!--background color for the title-->
| titlestyle     = 
| title          = 
| ta2            = 
| contentbgcolor = <!--background color for the content-->
| contentstyle   = 
}}
<!----[content to be hidden placed here]---->
{{Hidden end}}

Template data

[mute käldee]

This template creates a dynamic navigation box which is initially collapsed by default.

Myenster parameettereh[Mute TemplateData]

Tämä malline suosii yksirivistä muotoilua parametreille.

ParameetterKuvvimTijppâTile
Show / Hideshowhide toggle

Set to "left" (without speechmarks) to switch the [show/hide] link's position from the righthand end of the titlebar (default) to the left.

Ehdotetut arvot
left
Merkkâráiđuvaljimiävtulâš
Expandedexpanded

Set to any value ("true", "yes", etc.) to switch the hidden section's initial state from collapsed (hidden) to expanded (visible).

Ehdotetut arvot
yes true
Merkkâráiđuvaljimiävtulâš
Classclass

Add additional class attributes affecting the entire template.

Merkkâráiđuvaljimiävtulâš
Widthwidth

Specify a width for the template.

Oletusarvo
100%
Ovdâmerkkâ
width=20%
Merkkâráiđuvaljimiävtulâš
Borderborder

Add a border to the template

Ovdâmerkkâ
1px solid black
Merkkâráiđuvaljimiävtulâš
Background colorbgcolor

Specify the background color for the template.

Ovdâmerkkâ
#CCF
Merkkâráiđuvaljimiävtulâš
Stylestyle

Add additional style attributes affecting the entire template.

Ovdâmerkkâ
font-size:110%;
Merkkâráiđuvaljimiävtulâš
Title text alignta1

Specify the text-align property for the title.

Ehdotetut arvot
center right left
Oletusarvo
left
Ovdâmerkkâ
center
Merkkâráiđuvaljimiävtulâš
Title background colortitlebgcolor

Specify the background color for the title.

Ovdâmerkkâ
#CCF
Merkkâráiđuvaljimiävtulâš
Title styletitlestyle

Add additional style attributes affecting the title.

Ovdâmerkkâ
font-size:110%;
Merkkâráiđuvaljimiävtulâš
Titletitle header

Text shown in titlebar.

Merkkâráiđuvaljimiävtulâš
Content text alignta2

Specify the text-align property for the content.

Ehdotetut arvot
center right left
Ovdâmerkkâ
center
Merkkâráiđuvaljimiävtulâš
Content background colorcontentbgcolor

Specify the background color for the content .

Ovdâmerkkâ
#CCF
Merkkâráiđuvaljimiävtulâš
Content stylecontentstyle bodystyle

Add additional style attributes affecting the content.

Ovdâmerkkâ
font-size:110%;
Merkkâráiđuvaljimiävtulâš

Examples

[mute käldee]

The following are examples with commonly used parameters

Example 1

[mute käldee]
{{Hidden begin|title=Example title}}
* Example text 1
* Example text 2
{{Hidden end}}
Example title
  • Example text 1
  • Example text 2

Example 2

[mute käldee]
{{Hidden begin|title=Example title|width=50%|border=1px solid black}}
* Example text 1
* Example text 2
{{Hidden end}}
Example title
  • Example text 1
  • Example text 2

Example 3

[mute käldee]
{{Hidden begin|title=Example title|bgcolor=pink|titlebgcolor=#CCF|contentbgcolor=skyblue}}
* Example text 1
* Example text 2
{{Hidden end}}
Example title
  • Example text 1
  • Example text 2

Example 4

[mute käldee]
{{Hidden begin|title=Example title|titlebgcolor=pink|ta1=center|ta2=right}}
* Example text 1
* Example text 2
{{Hidden end}}
Example title
  • Example text 1
  • Example text 2

Example 5

[mute käldee]
{{Hidden begin|title=Example title|titlebgcolor=#98FB98|showhide=left}}
* Example text 1
* Example text 2
{{Hidden end}}
Example title
  • Example text 1
  • Example text 2

Example 6

[mute käldee]
{{Hidden begin|title=Example title|titlebgcolor=#FFEBCD|expanded=yes}}
* Example text 1
* Example text 2
{{Hidden end}}
Example title
  • Example text 1
  • Example text 2

See also

[mute käldee]