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

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<noinclude>{{doc|0}}</noinclude> 此模板用于讨论页的开头。 == 用法 == {{Code|<nowiki>{{discussion page}}</nowiki>}} → {{Doc/PreviewBlock|{{discussion pag...")
 
m (→‎top: clean up, replaced: {{ModernNote| → {{note|)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{doc|0}}</noinclude>
{{Doc/subpage}}
 
此模板用于讨论页的开头。
此模板用于讨论页的开头。
{{note|翻译会根据 UI 语言自动更改 (如果翻译存在)。}}
== 用法 ==
== 用法 ==
{{Code|<nowiki>{{discussion page}}</nowiki>}} →  
{{Code|select=1|<nowiki>{{Discussion page}}</nowiki>}} → {{Capsule|style=2|{{Discussion page|doc=1}}}}
 
 
 
 


== 参数 ==
*{{Code|preset=2|{{Param|doc}}}} - 删除边距(用于模板文档)。
*{{Code|preset=2|{{Param|title}}}} - 更改浏览器选项卡上的页面标题。
*{{Code|preset=2|{{Param|description}}}} - 用你的文本替换标题下方的描述文本。该参数尚未证实 (即未来可能会删除)。
*{{Code|preset=2|{{Param|user}}}} - 更改用户名(如果你需要)。{{Note|仅在命名空间为 "{{Code|preset=2|User talk}}" 以及没有 {{Code|preset=2|{{Param|title}}}} 参数时有效。}}
*{{Code|preset=2|{{Param|bg}}}} - 背景。
*{{Code|preset=2|{{Param|answer}}}} - 指向向用户提供答案的页面的链接。{{Todo|制作一个现代 MediaWiki 通知块。}}


{{Doc/PreviewBlock|{{discussion page}}}}
== 使用的子页面 ==
下方的子页面由本模板使用,以便提高代码的可读性或者其他。
* {{Code|preset=2|[[/preload]]}} - 这是在用户点击"添加新话题/回复"按钮后,在编辑界面上显示的预加载内容。
* {{Code|preset=2|[[/strings]]}} - 此子页面包括模板使用的可翻译字符串。

Latest revision as of 11:51, 6 January 2024

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.

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

Note.png注意:翻译会根据 UI 语言自动更改 (如果翻译存在)。

用法

{{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}}} - 更改浏览器选项卡上的页面标题。
  • {{{description}}} - 用你的文本替换标题下方的描述文本。该参数尚未证实 (即未来可能会删除)。
  • {{{user}}} - 更改用户名(如果你需要)。
    Note.png注意:仅在命名空间为 "User talk" 以及没有 {{{title}}} 参数时有效。
  • {{{bg}}} - 背景。
  • {{{answer}}} - 指向向用户提供答案的页面的链接。
    Todo: 制作一个现代 MediaWiki 通知块。

使用的子页面

下方的子页面由本模板使用,以便提高代码的可读性或者其他。

  • /preload - 这是在用户点击"添加新话题/回复"按钮后,在编辑界面上显示的预加载内容。
  • /strings - 此子页面包括模板使用的可翻译字符串。