模板:Sidebar
出自Meshal Lite
编辑简介内容 加入一段含有标题的文本块,它会以边栏框体(标题和正文)的形式呈现。 编辑帮助内容
使用
{{cardSide|
|[1] title=
|[2] content=
|float=<left | right>
|width=25%
|headerBgColor=#999999
|headerTextColor=#ffffff
|contentBgColor=#ffffff
|contentTextColor=inherit
|headerStyle=
|contentStyle=
}}
|[1] title=
|[2] content=
|float=<left | right>
|width=25%
|headerBgColor=#999999
|headerTextColor=#ffffff
|contentBgColor=#ffffff
|contentTextColor=inherit
|headerStyle=
|contentStyle=
}}
1
title这块边栏的标题,留空则不显示标题。
2
content边栏中的具体内容。
float
边栏的位置,可填写left
或right
。
- 默认为
right
headerTextColor
标题区的文本颜色。
- 默认为
#ffffff
headerBgColor
标题区的背景颜色。
- 默认为
#999999
contentTextColor
内容区的文本颜色。
- 默认为
inherit
contentBgColor
内容区的背景颜色。
- 默认为
#ffffff
headerStyle
标题区追加的css样式,可自定义。
contentStyle
内容区追加的css样式,可自定义