Template:Documentation subpage/zh-hans

From PZwiki
[view] [edit] [history] [purge] Template documentation
此模板应用于所有“中文(简体)”模板页面中,用于显示模板的说明文档。

用法

{{Documentation subpage/zh-hans}}

{{Documentation subpage/zh-hans|[[有文档嵌入的页面]]}}

自定义文本

参数 |text1= 和/或 |text2= 可以分别用于设置模板第一行和第二行的文本。如果设置了参数text1但没有设置参数text2,两行的文本都将被设置为参数text1的值:

{{Documentation subpage/zh-hans|text1='''''文本1在这里'''''|text2='''''文本2在这里'''''}}

Notebook.png
这是 [页面] 页面的子文档页面
此页面包含源文本2在这里未提供的的使用说明等内容。

{{Documentation subpage/zh-hans|text2='''''文本2在这里'''''}}

Notebook.png
这是 [页面] 页面的子文档页面
此页面包含源文本2在这里未提供的的使用说明等内容。

{{Documentation subpage/zh-hans|text1='''''文本1在这里'''''}}

Notebook.png
这是 [页面] 页面的子文档页面
此页面包含源文本1在这里未提供的的使用说明等内容。

显示

此模板通常应该显示在 /doc 页面的顶部。它根据所在的页面决定显示内容:

  • 当在 /doc 页面中,此模板将显示一个信息框,说明当前文档并链接到父页面。
  • 当在其他页面(例如嵌入了 /doc 页面的页面)时,此模板将不会显示。当前页面自身会自动指出该文档嵌入的页面。

参见

Documentation transcluded from Template:Documentation subpage/zh-hans/doc.
Editors can experiment in this template's sandbox (create)