模块

“Doc”的版本历史

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

2026年8月1日 (星期六)

  • 当前之前 16:152026年8月1日 (六) 16:15 律Rhyme 留言 贡献 1,817字节 −31 修复了首行标题解析为纯文本的问题,并移除了导致模板页被误归类的代码
  • 当前之前 15:492026年8月1日 (六) 15:49 律Rhyme 留言 贡献 1,848字节 +1,848 创建页面,内容为“local p = {} function p.main(frame) local title = mw.title.getCurrentTitle() local fullText = title.fullText local docPageName = fullText .. '/doc' local docTitle = mw.title.new(docPageName) local html = mw.html.create('div'):addClass('tpl-doc') local header = html:tag('div'):addClass('tpl-doc__header') header:tag('span'):addClass('tpl-doc__title'):wikitext('模板文档') local links = header:tag('span'):addClass('tpl-doc__l…”