Template:Collapse/doc:修订间差异
无编辑摘要 |
小无编辑摘要 |
||
第29行: | 第29行: | ||
<div style="font-size:100%;line-height:1.8;font-weight:bold;text-align:left;background:#ffffff;">333</div> | <div style="font-size:100%;line-height:1.8;font-weight:bold;text-align:left;background:#ffffff;">333</div> | ||
<div class="mw-collapsible-content" style="background:#ffffff;text-align:left;{{{内容样式}}}">444</div> | <div class="mw-collapsible-content" style="background:#ffffff;text-align:left;{{{内容样式}}}">444</div> | ||
</div> | |||
|- | |||
|<pre>{{Collapse}}</pre> | |||
|<div class="mw-collapsible" style="overflow:auto;box-sizing:border-box;width:100%;font-size:95%;padding:4px;border:none;"> | |||
<div style="font-size:100%;line-height:1.8;font-weight:bold;text-align:left;background:#ffffff;"></div> | |||
<div class="mw-collapsible-content" style="background:#ffffff;text-align:left;{{{内容样式}}}"></div> | |||
</div> | </div> | ||
|} | |} | ||
<noinclude>[[分类:模板说明]]</noinclude> | <noinclude>[[分类:模板说明]]</noinclude> |
2020年8月3日 (一) 16:43的版本
代码 | 效果 |
---|---|
{{Collapse |标题=111 |内容=222 |状态=折叠 |标题文字方向=left |标题颜色=#eeeeee |标题样式=font-size:20px |内容文字方向=right |内容颜色=#dddddd |内容样式=font-size:15px }} |
111
222
|
{{Collapse |标题=333 |内容=444 }} |
333
444
|
{{Collapse}} |