documentation模板是在template/module文檔中轉錄的。這個模板應該只用在標題中帶有"doc"的模板。
用法
將{{documentation}}放在文檔頁面的頂部。
If the page to be documented is a subpage, use {{documentation|<pagename of page to be documented>}} at the top of the documentation page. For example, Template:Foo/bar's documentation page would use {{documentation|<Template:Foo/bar>}}.
The template will attempt to auto detect and link {{#Invoke:}}
calls on template documentations or the require()
/mw.loadData()
depedency list on module documentations. If you want to supress the auto generated dependency list, use {{documentation}}
提示
這個模板鏈接到一個/doc,可能看起來毫無用處,然而,它的存在是為了將導航框和用戶框鏈接到其基礎模板的文檔。
TemplateData
The documentation template is transcluded in the template/module documentation. This template should only be used on subpages titled "doc".
參數 | 描述 | 類型 | 狀態 | |||
---|---|---|---|---|---|---|
未指定參數 |