这是Module:Delcat的文档页面

从 wikitext 中移除分类和链接的工具模块。

导出函数

main(frame)
入口函数。type=category 删除分类,type=link 删除链接。
delete_category(source, other)
删除字符串中的分类标记()。
dellink(frame)
删除字符串中的 wikilink,保留显示文字。
list_category(frame)
列出字符串中的分类名。
find_category(source)
返回分类名称列表。
find_title(str, title, keep_title)
提取指定章节的标题内容。
get_title(frame)
获取页面标题。
get_chapter(frame)
获取章节名(# 后的部分)。
bytelen(frame)
返回字符串的字节长度。
getcjk(frame)
提取中文字符。
include(frame)
以源码形式包含页面,可选指定章节。
delcat_specific(frame)
删除指定的分类。

依赖