Халип:Бахчараб авал/Документация: Версиязда гьоркьор батӀалъиял
Контент гилдана Контент жубана
Новая страница: «{{Docpage}} <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{hatnote|This documentat...» |
Xqbot (гьоркьолъел | хӀалтӀи) гI.-м. Bot: Replace deprecated <source> tag and "enclose" parameter; косметические изменения |
||
Мухъ 11:
{{Template:Collapse Templates}}
Do not use this template to hide content in articles. This violates the [[WP:Manual of Style#Scrolling lists and collapsible content|WP:Manual of Style § Scrolling lists and collapsible content]] and [[WP:Accessibility]] guidelines. This template is intended for use in pages in [[
== Syntax ==
<pre style="overflow:auto;">
Мухъ 36:
</pre>
=== Parameters ===
{| class="wikitable"
! Parameter || Description
Мухъ 52:
| ''title'' || Text shown in titlebar.
|-
| style="vertical-align:top;" | ''titlestyle'' || CSS styles to apply to the titlebar (e.g. {{para|titlestyle|border:1px solid lightgrey;}} to produce a border around it; {{para|titlestyle|background:''color'';}} to set its background color to [[Web colors#X11 color names|''color'']]
|-
| ''bg1'' || Background color for titlebar; defaults to transparent. May be overridden if ''titlestyle'' includes anything that changes the background.
Мухъ 65:
|}
== Examples ==
=== Example 1 ===
<
{{Hidden begin |title=Default example}}
* def
* ghi
{{Hidden end}}
</syntaxhighlight>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |title=Default example}}
* def
Мухъ 79:
{{Hidden end}}
=== Example 2 ===
<
{{Hidden begin
| titlestyle = background:pink;
Мухъ 88:
* ghi
{{Hidden end}}
</syntaxhighlight>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink;
Мухъ 97:
{{Hidden end}}
=== Example 3 ===
<
{{Hidden begin
| titlestyle = background:pink;
Мухъ 107:
* ghi
{{Hidden end}}
</syntaxhighlight>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink;
Мухъ 117:
{{Hidden end}}
=== Example 4 ===
<
{{Hidden begin
| titlestyle = background:pink; text-align:right; padding-right:3.0em;
Мухъ 126:
* watch title alignment
{{Hidden end}}
</syntaxhighlight>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle = background:pink; text-align:right; padding-right:3.0em;
Мухъ 135:
{{Hidden end}}
=== Example 5 ===
<
{{Hidden begin |showhide=left |expanded=true
| titlestyle = background:palegreen;
Мухъ 144:
* ghi
{{Hidden end}}
</syntaxhighlight>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}} |showhide=left |expanded=true
| titlestyle = background:palegreen;
Мухъ 153:
{{Hidden end}}
=== Example 6 ===
<pre style="overflow:auto;">
{{Hidden begin |showhide=left
Мухъ 173:
{{Hidden end}}
=== Example 7 ===
<!-- This example updated to show that bg1/ta1 only affect titlebar, used ta1=right since it is non-default for titlebar and content. -->
<pre style="overflow:auto;">
Мухъ 204:
{{Hidden end}}
=== Example 8 ===
<
{{Hidden begin
| titlestyle =
Мухъ 220:
* ghi
{{Hidden end}}
</syntaxhighlight>
{{Hidden begin{{#ifeq:{{SUBPAGENAME}}|sandbox |/sandbox}}
| titlestyle =
Мухъ 236:
{{Hidden end}}
== See also ==
* {{tl|Hidden}}
<includeonly>{{basepage subpage
| <!-- ADD CATEGORIES BELOW THIS LINE -->
[[
}}</includeonly>
|