ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Collapse top/TemplateData

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

TemplateData

[ਸੋਧੋ]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Collapse top

Use in conjunction with {{Collapse bottom}}. Will collapse text in between the two templates.

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ[Edit template data]

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
Title1 title

Main title of collapsed box

Example
This is the title text
Unknownrequired
Custom warning line2

Will override the standard warning line, and make the 'warning' parameter unnecessary

Example
This is a custom warning line
Stringoptional
indentindent

Indents the box from the left of the page

Auto value
0px
Unknownoptional
expandexpand

Will leave the material uncollapsed with the border and coloring

Example
true
Auto value
Stringoptional
Border width (px)border

Sets the width of the border line on the collapsed material

ਮੂਲ ਰੂਪ
1px
Example
2px
Auto value
Unknownoptional
Border colorb-color

Sets the border color

ਮੂਲ ਰੂਪ
Silver
Example
#F0F2F5
Unknownoptional
Template width (px or %)width

Sets the width of the overall template

Example
50%
Unknownoptional
Collapsed material background colorbg

Sets the background color of the collapsed material

ਮੂਲ ਰੂਪ
#CFC
Example
#F0F2F5
Unknownoptional
Alight along the left margin (true or blank)left

Will align the 'parameter 1 title' along the left margin

Example
true
Stringoptional
Title font colorfc

Sets the font color of the title of the collapsible bar

ਮੂਲ ਰੂਪ
Black
Example
#F0F2F5
Unknownoptional
Warning (true or blank)warning

Will display a default warning line under the main title which reads "The following is a closed debate. Please do not modify it."

Example
true
Unknownoptional
Expanded box border size & colorborder2

Sets the border of the box that appears when template is expanded

ਮੂਲ ਰੂਪ
1px silver
Example
2px
Unknownoptional
Padding (px)padding

Sets the padding on the collapsed material in the colored area

ਮੂਲ ਰੂਪ
8px
Example
16px
Unknownoptional
Expanded box colorbg2

Sets background of the box that appears when template is expanded

ਮੂਲ ਰੂਪ
white
Example
#F0F2F5
Unknownoptional