موضيل: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.

وسائط القالب[تحرير بيانات القالب]

وسيطوصفنوعحالة
Title1 title heading header reason result

Main title of collapsed box

مثال
This is the title text
غير معروفمطلوب
Custom warning line2

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

مثال
This is a custom warning line
نصاختياري
indentindent

Indents the box from the left of the page

قيمة تلقائية
0px
غير معروفاختياري
expandexpand collapse

Using expand=yes or collapse=no will leave the material uncollapsed with the border and coloring

مثال
true
قيمة تلقائية
نصاختياري
Border width (px)border

Sets the width of the border line on the collapsed material

غيابي
1px
مثال
2px
قيمة تلقائية
غير معروفاختياري
Border colorb-color

Sets the border color

غيابي
Silver
مثال
#F0F2F5
غير معروفاختياري
Template width (px or %)width

Sets the width of the overall template

مثال
50%
غير معروفاختياري
Collapsed material background colorbg

Sets the background color of the collapsed material

غيابي
#CFC
مثال
#F0F2F5
غير معروفاختياري
Alight along the left margin (true or blank)left

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

مثال
true
نصاختياري
Title font colorfc

Sets the font color of the title of the collapsible bar

غيابي
Black
مثال
#F0F2F5
غير معروفاختياري
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."

مثال
true
غير معروفاختياري
Expanded box border size & colorborder2

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

غيابي
1px silver
مثال
2px
غير معروفاختياري
Padding (px)padding

Sets the padding on the collapsed material in the colored area

غيابي
8px
مثال
16px
غير معروفاختياري
Expanded box colorbg2

Sets background of the box that appears when template is expanded

غيابي
white
مثال
#F0F2F5
غير معروفاختياري