Template:Notify/inline/doc/zh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎现代注释模板的已知问题: clean up, replaced: {{ModernNote| → {{note|, Category:Notice templates → Category:Inline note templates, {{ModernBug → {{bug)
No edit summary
 
Line 53: Line 53:
{{Doc/Sandbox other|
{{Doc/Sandbox other|
[[Category:Modern Templates]]
[[Category:Modern Templates]]
[[Category:Inline note templates]]
[[Category:Notice templates]]
[[Category:Inline note templates]]
[[Category:Inline note templates]]
}}
}}

Latest revision as of 12:05, 6 January 2024

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

添加一个注释。

参数和示例

参数 描述 示例 预览
{{{1}}}{{{text}}} 注释的文本内容。
Icon-Important.png重要:如果你的文本中存在产生冲突的 =,请使用 {{{text}}}。你也可以使用 {{=}} 或者 = 替代 =
Icon-Important.png重要:如果你的文本中存在产生冲突的 |,请使用 {{!}}|
{{Notify}} 这是一个示例文本。
{{Notify|这是一个示例文本。}}
{{Notify|text = 戈登 + 巴尼 = 啤酒}}
这是一个示例文本。
这是一个示例文本。
戈登 + 巴尼 = 啤酒

现代注释模板的已知问题

  • 如果注释以列表开头,则列表的开头将中断 (例如 {{note|* Line 1}})。
  • 指定注释内的文本会将其移动到列表下 (例如 # {{bug|Line 1}})。