Aurora is on version 2.5.0 C#, available at the Aurora Forums.
Contact Erik on the forum for a wiki account.
Difference between revisions of "Template:Hidden begin-end/doc"
Jump to navigation
Jump to search
Erik luken (talk | contribs) (Created page with '<noinclude>This page contains the interwikis of {{tl|{{BASEPAGENAME}}}}. For its documentation, see {{tl|Hidden begin-end/doc}}.</noinclude> <includeonly> [[pl:Szablon:Ukryte poc…') |
Erik luken (talk | contribs) |
||
Line 1: | Line 1: | ||
− | <noinclude> | + | <includeonly>{{template doc page transcluded}}</includeonly> |
+ | <noinclude>{{template doc page viewed directly}}</noinclude> | ||
+ | <!---PLEASE ADD METADATA TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE---> | ||
+ | *{{tl|hidden begin}} | ||
+ | *{{tl|hidden end}} | ||
+ | __NOTOC__ | ||
+ | == Parameters == | ||
+ | {| class="wikitable" style="font-size:95%; line-height:1.3em;" | ||
+ | ! Parameter !! Description | ||
+ | |- | ||
+ | | ''toggle'' || Set to "left" (without speechmarks) to move [show/hide] button to titlebar's lefthand side.</tr> | ||
+ | | ''title'' || Text shown in titlebar.</tr> | ||
+ | | ''titlestyle'' || [[Cascading Style Sheet|CSS]] styles to apply to ''title'', e.g. "border:1px solid lightgrey;" to produce a border around the titlebar, "background:''color'';" to change the titlebar's background color from transparent to ''color'', "text-align:[center/right];" to change the titlebar text's alignment from left to center or right, etc.</tr> | ||
+ | | ''bodystyle'' || CSS styles to apply to the hidden material, e.g. background and text-align per ''titlestyle''. | ||
+ | |} | ||
+ | |||
+ | == Examples == | ||
+ | {| class="wikitable" width="100%" | ||
+ | ! Code !! Result | ||
+ | |- style="vertical-align:top;" | ||
+ | |width="50%"| | ||
+ | <pre style="font-size:95%; overflow:auto;"> | ||
+ | {{hidden begin | ||
+ | |title = default example | ||
+ | }} | ||
+ | *def | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | </pre> | ||
+ | | | ||
+ | {{hidden begin | ||
+ | |title = default example | ||
+ | }} | ||
+ | *def | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |width="50%"| | ||
+ | <pre style="font-size:95%; overflow:auto;"> | ||
+ | {{hidden begin | ||
+ | |title = title with background:pink | ||
+ | |titlestyle = background:pink; | ||
+ | }} | ||
+ | *def | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | </pre> | ||
+ | | | ||
+ | {{hidden begin | ||
+ | |title = title with background:pink | ||
+ | |titlestyle = background:pink; | ||
+ | }} | ||
+ | *def | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |width="50%"| | ||
+ | <pre style="font-size:95%; overflow:auto;"> | ||
+ | {{hidden begin | ||
+ | |title = title aligned in the center | ||
+ | |titlestyle = background:pink; text-align:center; | ||
+ | }} | ||
+ | *def | ||
+ | *ghi{{hidden end}} | ||
+ | </pre> | ||
+ | | | ||
+ | {{hidden begin | ||
+ | |title = title aligned in the center | ||
+ | |titlestyle = background:pink; text-align:center; | ||
+ | }} | ||
+ | *def | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |width="50%"| | ||
+ | <pre style="font-size:95%; overflow:auto;"> | ||
+ | {{hidden begin | ||
+ | |title = title aligned on the right needs padding-right | ||
+ | |titlestyle = background:pink; | ||
+ | text-align:right;padding-right:3em; | ||
+ | }} | ||
+ | *change window width and | ||
+ | *watch title alignment{{hidden end}} | ||
+ | </pre> | ||
+ | | | ||
+ | {{hidden begin | ||
+ | |title = title aligned on the right needs padding-right | ||
+ | |titlestyle = background:pink; | ||
+ | text-align:right; padding-right:3em; | ||
+ | }} | ||
+ | *change window width and | ||
+ | *watch title alignment | ||
+ | {{hidden end}} | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |width="50%"| | ||
+ | <pre style="font-size:95%; overflow:auto;"> | ||
+ | {{hidden begin | ||
+ | |toggle = left | ||
+ | |title = title with toggle=left | ||
+ | |titlestyle = background:palegreen; | ||
+ | }} | ||
+ | *def | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | </pre> | ||
+ | | | ||
+ | {{hidden begin | ||
+ | |toggle = left | ||
+ | |title = title with toggle=left | ||
+ | |titlestyle = background:palegreen; | ||
+ | }} | ||
+ | *def | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |width="50%"| | ||
+ | <pre style="font-size:95%; overflow:auto;"> | ||
+ | {{hidden begin | ||
+ | |toggle = right | ||
+ | |title = title with toggle=right | ||
+ | |titlestyle = background:lightgrey; | ||
+ | }} | ||
+ | *def | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | </pre> | ||
+ | | | ||
+ | {{hidden begin | ||
+ | |toggle = right | ||
+ | |title = title with toggle=right | ||
+ | |titlestyle = background:lightgrey; | ||
+ | }} | ||
+ | *def | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |width="50%"| | ||
+ | <pre style="font-size:95%; overflow:auto;"> | ||
+ | {{hidden begin | ||
+ | |toggle = left | ||
+ | |title = abc with toggle=left | ||
+ | |titlestyle = background:palegreen; | ||
+ | |bodystyle = font-size:150%; font-weight:bold; | ||
+ | }} | ||
+ | *def | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | </pre> | ||
+ | | | ||
+ | {{hidden begin | ||
+ | |toggle = left | ||
+ | |title = abc with toggle=left | ||
+ | |titlestyle = background:palegreen; | ||
+ | |bodystyle = font-size:150%; font-weight:bold; | ||
+ | }} | ||
+ | *def | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |width="50%"| | ||
+ | <pre style="font-size:95%; overflow:auto;"> | ||
+ | {{hidden begin | ||
+ | |toggle = right | ||
+ | |header = deprecated_header_ | ||
+ | |title = title with toggle=right | ||
+ | |titlestyle = font-style:italic; padding-right:3em; | ||
+ | |border = dashed | ||
+ | |bg1 = palegreen | ||
+ | |bg2 = cyan | ||
+ | |ta1 = left | ||
+ | |ta2 = center | ||
+ | |extra1 = font-size:120% | ||
+ | |extra2 = font-size:150% | ||
+ | }} | ||
+ | *make window narrower and | ||
+ | *title will wrap | ||
+ | {{hidden end}} | ||
+ | </pre> | ||
+ | | | ||
+ | {{hidden begin | ||
+ | |toggle = right | ||
+ | |header = deprecated_header_ | ||
+ | |title = title with toggle=right | ||
+ | |titlestyle = font-style:italic; padding-right:3em; | ||
+ | |border = dashed | ||
+ | |bg1 = palegreen | ||
+ | |bg2 = cyan | ||
+ | |ta1 = left | ||
+ | |ta2 = center | ||
+ | |extra1 = font-size:120% | ||
+ | |extra2 = font-size:150% | ||
+ | }} | ||
+ | *make window narrower and | ||
+ | *title will wrap | ||
+ | {{hidden end}} | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |width="50%"| | ||
+ | <pre style="font-size:95%; overflow:auto;"> | ||
+ | {{hidden begin | ||
+ | |toggle = right | ||
+ | |title = title with non-breaking spaces | ||
+ | |titlestyle = | ||
+ | |border = dotted | ||
+ | |bg1 = cyan | ||
+ | |bg2 = yellow | ||
+ | |ta1 = right | ||
+ | |ta2 = left | ||
+ | |extra1 = font-size:120%; padding-right:2.5em; | ||
+ | |extra2 = font-size:150%; padding-left:3em; | ||
+ | }} | ||
+ | *def these should have left padding | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | </pre> | ||
+ | | | ||
+ | {{hidden begin | ||
+ | |toggle = right | ||
+ | |title = title with non-breaking spaces | ||
+ | |titlestyle = | ||
+ | |border = dotted | ||
+ | |bg1 = cyan | ||
+ | |bg2 = yellow | ||
+ | |ta1 = right | ||
+ | |ta2 = left | ||
+ | |extra1 = font-size:120%; padding-right:2.5em; | ||
+ | |extra2 = font-size:150%; padding-left:3em; | ||
+ | }} | ||
+ | *def these should have left padding | ||
+ | *ghi | ||
+ | {{hidden end}} | ||
+ | |} | ||
+ | |||
+ | == See also == | ||
+ | *{{tl|Hidden}} | ||
+ | |||
+ | |||
<includeonly> | <includeonly> | ||
− | [[ | + | [[Category:Collapse templates|{{PAGENAME}}]] |
+ | [[Category:Wikipedia formatting and function templates|{{PAGENAME}}]] | ||
+ | |||
+ | [[dsb:Pśedłoga:Nawikašćik/zachopjeńk]] | ||
+ | [[eo:Ŝablono:Kaŝskatolo komenco]] | ||
[[fr:Modèle:Boîte déroulante début]] | [[fr:Modèle:Boîte déroulante début]] | ||
+ | [[hsb:Předłoha:Nawigaciska lajsta/spočatk]] | ||
+ | [[ja:Template:Hidden begin]] | ||
+ | [[pt:Predefinição:Hidden begin]] | ||
</includeonly> | </includeonly> |
Latest revision as of 11:26, 2 January 2010
This is a documentation subpage for Template:Hidden begin-end (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
- {{hidden begin}}
- {{hidden end}}
Parameters
Parameter | Description |
---|---|
toggle | Set to "left" (without speechmarks) to move [show/hide] button to titlebar's lefthand side. |
title | Text shown in titlebar. |
titlestyle | CSS styles to apply to title, e.g. "border:1px solid lightgrey;" to produce a border around the titlebar, "background:color;" to change the titlebar's background color from transparent to color, "text-align:[center/right];" to change the titlebar text's alignment from left to center or right, etc. |
bodystyle | CSS styles to apply to the hidden material, e.g. background and text-align per titlestyle. |
Examples
Code | Result |
---|---|
{{hidden begin |title = default example }} *def *ghi {{hidden end}} |
default example
|
{{hidden begin |title = title with background:pink |titlestyle = background:pink; }} *def *ghi {{hidden end}} |
title with background:pink
|
{{hidden begin |title = title aligned in the center |titlestyle = background:pink; text-align:center; }} *def *ghi{{hidden end}} |
title aligned in the center
|
{{hidden begin |title = title aligned on the right needs padding-right |titlestyle = background:pink; text-align:right;padding-right:3em; }} *change window width and *watch title alignment{{hidden end}} |
title aligned on the right needs padding-right
|
{{hidden begin |toggle = left |title = title with toggle=left |titlestyle = background:palegreen; }} *def *ghi {{hidden end}} |
title with toggle=left
|
{{hidden begin |toggle = right |title = title with toggle=right |titlestyle = background:lightgrey; }} *def *ghi {{hidden end}} |
title with toggle=right
|
{{hidden begin |toggle = left |title = abc with toggle=left |titlestyle = background:palegreen; |bodystyle = font-size:150%; font-weight:bold; }} *def *ghi {{hidden end}} |
abc with toggle=left
|
{{hidden begin |toggle = right |header = deprecated_header_ |title = title with toggle=right |titlestyle = font-style:italic; padding-right:3em; |border = dashed |bg1 = palegreen |bg2 = cyan |ta1 = left |ta2 = center |extra1 = font-size:120% |extra2 = font-size:150% }} *make window narrower and *title will wrap {{hidden end}} |
deprecated_header_ title with toggle=right
|
{{hidden begin |toggle = right |title = title with non-breaking spaces |titlestyle = |border = dotted |bg1 = cyan |bg2 = yellow |ta1 = right |ta2 = left |extra1 = font-size:120%; padding-right:2.5em; |extra2 = font-size:150%; padding-left:3em; }} *def these should have left padding *ghi {{hidden end}} |
title with non-breaking spaces
|
See also
- {{Hidden}}