此頁面為 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)
刪除指定的分類。

依賴