模板:Special wikitext/Hide Doc/doc

来自Local Chinese Wikipedia
跳转到导航 跳转到搜索

本模板与Template:Special wikitextModule:Module wikitext并用,用于在强制显示{{Documentation}}模板的页面隐藏{{Documentation}}模板。

概要[编辑]

有些页面或命名空间会强制显示{{Documentation}}模板。然而有时并不需要{{Documentation}}模板,因此本模板可以用于不必要显示{{Documentation}}模板的页面令{{Documentation}}模板隐藏。

用法[编辑]

一般用法:

若放置于{{Documentation}}模板之前,则{{Documentation}}模板将被隐藏而不可见。

Module用法:

在Module任意位置放上
require('Module:Module wikitext')._addText('{{Special wikitext/Hide Doc}}')
此时,{{Documentation}}模板将被隐藏而不可见。

参数[编辑]

本模板没有参数。

模板数据[编辑]

以下是该模板的模板数据,适用于可视化编辑器等工具。

Special wikitext/Hide Doc模板数据

<TemplateData>{"description":"用于隐藏

模板的模板。","params":{}}</TemplateData>

参见[编辑]