Template:Hidden begin: Difference between revisions
From Event-B
Jump to navigationJump to search
imported>Mathieu m New page: <includeonly><!-- -->{{#ifeq:{{{toggle|}}}|left | <!------------------------------------------------------------ toggle=left, so format [hide/show] link on lefthand side: -... |
imported>Mathieu mNo edit summary |
||
| Line 19: | Line 19: | ||
-->}}</includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
*{{ | *{{tlx|hidden begin}} | ||
*{{ | *{{tlx|hidden end}} | ||
__NOTOC__ | __NOTOC__ | ||
== Parameters == | == Parameters == | ||
| Line 79: | Line 79: | ||
== See also == | == See also == | ||
*{{ | *{{tlx|Hidden}} | ||
[[Category:Typesetting templates]] | [[Category:Typesetting templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:57, 3 October 2008
- {{hidden begin}}
- {{hidden end}}
Parameters
| Parameter | Description |
|---|---|
| show-hide | 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 = abc
|titlestyle = background:pink; text-align:center;
}}
*def
*ghi
{{hidden end}}
|
abc |
{{hidden begin
|show-hide = left
|title = abc
|titlestyle = background:palegreen;
}}
*def
*ghi
{{hidden end}}
|
abc |
See also
- {{Hidden}}