模板:Block
出自Meshal Lite
(修订版本间的差异)
第2行: | 第2行: | ||
|rule=inherit | |rule=inherit | ||
|info=inherit | |info=inherit | ||
+ | |legend=inherit | ||
|cmpgntale=inherit | |cmpgntale=inherit | ||
|cmpgntip=inherit | |cmpgntip=inherit | ||
第8行: | 第9行: | ||
|rule=rgb(242,242,242) | |rule=rgb(242,242,242) | ||
|info=rgb(254,249,227) | |info=rgb(254,249,227) | ||
+ | |legend=rgb(238, 237, 233) | ||
|cmpgntale=rgb(224,212,197) | |cmpgntale=rgb(224,212,197) | ||
|cmpgntip=rgb(227,231,244) | |cmpgntip=rgb(227,231,244) | ||
第14行: | 第16行: | ||
|rule=rgb(255,255,255) | |rule=rgb(255,255,255) | ||
|info=rgb(255,255,255) | |info=rgb(255,255,255) | ||
+ | |legend=rgb(74, 59, 45) | ||
|cmpgntale=rgb(255,255,255) | |cmpgntale=rgb(255,255,255) | ||
|cmpgntip=rgb(255,255,255) | |cmpgntip=rgb(255,255,255) | ||
第20行: | 第23行: | ||
|rule=rgb(116,125,130) | |rule=rgb(116,125,130) | ||
|info=rgb(140,127,104) | |info=rgb(140,127,104) | ||
+ | |legend=rgb(203, 198, 188) | ||
|cmpgntale=rgb(152,112,88) | |cmpgntale=rgb(152,112,88) | ||
|cmpgntip=rgb(82,83,136) | |cmpgntip=rgb(82,83,136) |
在2018年3月10日 (六) 16:09所做的修订版本
加入一段含有标题的文本块,它会以框体(标题和正文)的形式呈现。
1 或 title
这段文字的标题,留空则不显示标题。
2 或 text
这段文字的具体内容
preset
这段文字的预设配色,决定了这个段落的配色(会被darkcolor、lightcolor覆盖)
- 你可以参考帮助:Block模板配色预览查看预设配色样式。
headerTextColor
标题区的文本颜色。
- 默认为#ffffff
headerBgColor
标题区的背景色。
- 默认为#747D82
contentTextColor
正文区的文本颜色。
- 默认为inherit
contentBgColor
正文区的背景色。
- 默认为#F2F2F2
headerStyle
标题区追加的css样式,可自定义
contentStyle
正文区追加的css样式,可自定义
{{block
|title=标题……
|text=正文……
}}
|title=标题……
|text=正文……
}}