Template:Discussion page/doc/zh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
<noinclude>{{doc|0}}</noinclude>
{{Doc/subpage}}
 
此模板用于讨论页的开头。
此模板用于讨论页的开头。
{{ModernNote|suf=:zh-cn|翻译会根据 UI 语言自动更改 (如果翻译存在)。}}
{{ModernNote|翻译会根据 UI 语言自动更改 (如果翻译存在)。}}
 
== 用法 ==
{{Code|select=1|<nowiki>{{Discussion page}}</nowiki>}} → {{Doc/PreviewBlock|{{Discussion page|doc=1}}}}
 
== 参数 ==
== 参数 ==
*{{Code|{{param|doc|tag=kbd}}}} - 删除边距(用于模板文档)。
*{{Code|{{Param|doc}}}} - 删除边距(用于模板文档)。
*{{Code|{{param|title|tag=kbd}}}} - 更改浏览器选项卡上的页面标题。
*{{Code|{{Param|title}}}} - 更改浏览器选项卡上的页面标题。
*{{Code|{{param|user|tag=kbd}}}} - 更改用户名(如果你需要)。{{Note:zh-cn|仅在命名空间为 "{{Code|User talk}}" 以及没有 {{Code|{{param|tag=kbd|title}}}} 参数时有效。}}
*{{Code|{{Param|user}}}} - 更改用户名(如果你需要)。{{Note|仅在命名空间为 "{{Code|User talk}}" 以及没有 {{Code|{{Param|title}}}} 参数时有效。}}
== 用法 ==
{{Code|select=1|<nowiki>{{discussion page}}</nowiki>}} → {{Doc/PreviewBlock|{{discussion page|doc=1}}}}

Revision as of 23:55, 26 April 2023

Edit-copy.png
This is a documentation subpage for Template:Discussion page.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

此模板用于讨论页的开头。 Template:ModernNote

用法

{{Discussion page}}

Icon-message-48px.png
This is the discussion page of Template:Discussion page/doc/zh. To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.

参数

  • {{{doc}}} - 删除边距(用于模板文档)。
  • {{{title}}} - 更改浏览器选项卡上的页面标题。
  • {{{user}}} - 更改用户名(如果你需要)。
    Note.png注意:仅在命名空间为 "User talk" 以及没有 {{{title}}} 参数时有效。