Template:Bugfix:zh-cn/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(delete signature)
m (use {{ROOTPAGENAME}} instead of {{bugfix:zh-cn}})
Line 6: Line 6:
创建 [[Template:Fix]] 模板是为了允许显示“修复”文本而不附带错误,因此该模板现在可以被视为使用带有自己的 Template:Fix 的 Template:Bug 的快捷方式。
创建 [[Template:Fix]] 模板是为了允许显示“修复”文本而不附带错误,因此该模板现在可以被视为使用带有自己的 Template:Fix 的 Template:Bug 的快捷方式。
== 用法 ==
== 用法 ==
{{syntax:zh-cn|<nowiki>{{bugfix:zh-cn|<bug text>|<fix text>}}</nowiki>}}
{{syntax:zh-cn|<nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|<bug text>|<fix text>}}</nowiki>}}
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Inline note templates:zh-cn|{{PAGENAME}}]]
[[Category:Inline note templates:zh-cn|{{PAGENAME}}]]
}}</includeonly>
}}</includeonly>

Revision as of 02:31, 8 August 2022

Template:Documentation subpage:zh-cn

该模板是作为 Template:Bug 的变体创建的,用于记录错误及其附加的“修复”,旨在鼓励列出如何修复给定的错误。格式与 Template:Bug 相同,但有一个额外的参数用于讨论如何修复错误,这意味着将其应用于现有的 Template:Bug 只需要将其更改为 Template:Bugfix 并添加另一个参数。

创建 Template:Fix 模板是为了允许显示“修复”文本而不附带错误,因此该模板现在可以被视为使用带有自己的 Template:Fix 的 Template:Bug 的快捷方式。

用法

语法: {{Bugfix:zh-cn|<bug text>|<fix text>}}