வார்ப்புரு:மறை தொடக்கம்
Appearance
- This வார்ப்புரு page lacks a documentation subpage. Please create it.
- Useful links: subpage list • transclusions • redirects
- {{மறை தொடக்கம்}}
- {{மறை முடிவு}}
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 |
---|---|
{{மறை தொடக்கம் |title = default example }} *def *ghi {{மறை முடிவு}} |
default example
|
{{மறை தொடக்கம் |title = title with background:pink |titlestyle = background:pink; }} *def *ghi {{மறை முடிவு}} |
title with background:pink
|
{{மறை தொடக்கம் |title = title aligned in the center |titlestyle = background:pink; text-align:center; }} *def *ghi{{மறை முடிவு}} |
title aligned in the center
|
{{மறை தொடக்கம் |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{{மறை முடிவு}} |
title aligned on the right needs padding-right
|
{{மறை தொடக்கம் |toggle = left |title = title with toggle=left |titlestyle = background:palegreen; }} *def *ghi {{மறை முடிவு}} |
title with toggle=left
|
{{மறை தொடக்கம் |toggle = right |title = title with toggle=right |titlestyle = background:lightgrey; }} *def *ghi {{மறை முடிவு}} |
title with toggle=right
|
{{மறை தொடக்கம் |toggle = left |title = abc with toggle=left |titlestyle = background:palegreen; |bodystyle = font-size:150%; font-weight:bold; }} *def *ghi {{மறை முடிவு}} |
abc with toggle=left
|
{{மறை தொடக்கம் |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 {{மறை முடிவு}} |
deprecated_header_ title with toggle=right
|
{{மறை தொடக்கம் |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 {{மறை முடிவு}} |
title with non-breaking spaces
|
See also
[தொகு]- {{மறை}}