模板:Collapse top/doc:修订间差异
跳转到导航
跳转到搜索
Captainlinux8880(留言 | 贡献) 无编辑摘要 |
Th1r5bvn23(留言 | 贡献) 无编辑摘要 |
||
第1行: | 第1行: | ||
用法: | 用法: | ||
将<code>{{[[模板:Collapse top|Collapse top]]}}</code>放置在要折叠的文本周围。例如: | 将<code>{{[[模板:Collapse top|Collapse top]]}}</code>和<code>{{[[模板:Collapse bottom|Collapse bottom]]}}</code>放置在要折叠的文本周围。例如: | ||
<pre> | <pre> | ||
第26行: | 第26行: | ||
内容 | 内容 | ||
{{Collapse bottom}} | {{Collapse bottom}} | ||
2024年3月13日 (三) 20:53的最新版本
用法:
将{{Collapse top}}
和{{Collapse bottom}}
放置在要折叠的文本周围。例如:
{{Collapse top|title=标题}} 内容 {{Collapse bottom}}
实际效果:
标题
内容
如果不填写标题,将会以默认文字替代。例如:
{{Collapse top}} 内容 {{Collapse bottom}}
实际效果:
点击“展开”查看更多内容
内容