ഫലകം:Hidden begin
ദൃശ്യരൂപം
- {{hidden begin}}
- {{hidden end}}
Parameters
[തിരുത്തുക]Parameter | Description |
---|---|
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 to the right |titlestyle = background:pink; text-align:right; }} *def *ghi {{hidden end}} |
title aligned to the right
|
{{hidden begin |title = title with bg, ta, border |titlestyle = font-style:italic; padding-right:3em; |border = dashed |bg1 = palegreen |bg2 = cyan |ta1 = left |ta2 = center }} *make window narrower and *title will wrap {{hidden end}} |
title with bg, ta, border
|
{{hidden begin |title = title with non-breaking spaces |titlestyle = |border = dotted |bg1 = cyan |bg2 = yellow |ta1 = right |ta2 = left }} *def these should have left padding *ghi {{hidden end}} |
title with non-breaking spaces
|
See also
[തിരുത്തുക]- {{Hidden}}
The above documentation is transcluded from Template:Hidden begin-end/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |