跳转到内容

模块:隐藏文字:修订历史

差异选择:选中要对比的修订的单选按钮,然后按Enter键或下面的按钮。
说明:(当前)=与最后修订的差异,(之前)=与上个修订的差异,=小编辑。

2025年3月22日 (星期六)

  • 当前之前 09:272025年3月22日 (六) 09:27 Paryan 留言 贡献 487字节 +487 创建页面,内容为“local p = {} function p.spoiler(frame) local args = frame.args local header = args[1] or "点击显示隐藏内容" local content = args[2] or "" return string.format([[ <div class="spoiler"> <div class="spoiler-header" onclick="this.nextElementSibling.style.display = this.nextElementSibling.style.display === 'none' ? 'block' : 'none';"> %s </div> <div class="spoiler-content" style="display:none;"> %s </div> </div> ]], header,…”