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

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Documentation subpage:zh-cn}}
{{Inline note templates|title=注释模板|suf=:zh-cn}}
<!-- Please place categories where indicated at the bottom of this page.) -->
{{Doc/subpage}}
此模板可让您轻松通知用户他们可能将一件事与另一件事混淆了。最多接受 4 个输入。不过一个就够了。
<!-- Please place categories where indicated at the bottom of this page. -->
此模板可让您轻松通知用户他们可能将一件事与另一件事混淆了。最多接受八个输入。不过一个就够了。
== 用法 ==
* <code><nowiki>{{distinguish:zh-cn|<一>|<二>}}</nowiki></code>
* <code><nowiki>{{distinguish:zh-cn|<一>|<二>|⋯⋯|desc1=<文一>|desc2=<文二>|⋯⋯}}</nowiki></code>
__NOTOC__
=== 参数 ===
* {{param|1}} ''到'' {{param|8}} - 不应该混淆的东西。
* {{param|desc1}} ''到'' {{param|desc8}} - {{param|1}} ''到'' {{param|8}} 的可选描述。


{{syntax:zh-cn|<nowiki>{{distinguish|<1>|<2>|<3>|<4>}}</nowiki>}}
=== 示例 ===
'''结果''': {{distinguish|1|2|3|4}}
{| style="background:none"
| <code><nowiki>{{distinguish:zh-cn|一}}</nowiki></code> || → || {{distinguish:zh-cn|一}}
|-
| <code><nowiki>{{distinguish:zh-cn|一|desc1=文本一}}</nowiki></code> || → || {{distinguish:zh-cn|一|desc1=文本一}}
|-
| <code><nowiki>{{distinguish:zh-cn|一|二}}</nowiki></code> || → || {{distinguish:zh-cn|一|二}}
|-
| <code><nowiki>{{distinguish:zh-cn|一|二|三|四|五|六|七|八|desc5=文本五}}</nowiki></code> || → || {{distinguish:zh-cn||||四|五|六|七|八|desc5=文本五}}
|}
== 另请参阅 ==
* {{tl|Confusion}} {{en}}


<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Inline note templates|{{PAGENAME}}]][[Category:Notice templates|{{PAGENAME}}]]
[[Category:Inline note templates:zh-cn|{{PAGENAME}}]]
}}</includeonly>
}}</includeonly>

Latest revision as of 02:16, 12 January 2024

注释模板
Template Pages using it
28 August 2024
{{note}} 6,436
{{warning}} 1,253
{{bug}} 1,192
{{tip}} 1,516
{{todo}} 1,628
{{inline note}} 2,188
{{confirm}} 672
{{question}} 11
{{fix}} 170
{{important}} 459
{{clarify}} 169
{{elaborate}} 18
{{main}} 143
{{distinguish}} 85
{{workaround}} 122
{{seealso}} 145
{{when}} 1
{{where}} 0
{{which}} 2
{{why}} 38
{{idea}} 21
{{placementTip}} 13
{{codenote}} 21
{{altnames}} 35
{{deprecated}} 109
{{how}} 23
{{example}} 16
{{confusion}} 53
{{thanks}} 7
{{code Fix}} 9 + 7 (16)
{{vote}} 4
Edit-copy.png
This is a documentation subpage for Template:Distinguish:zh-cn.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

此模板可让您轻松通知用户他们可能将一件事与另一件事混淆了。最多接受八个输入。不过一个就够了。

用法

  • {{distinguish:zh-cn|<一>|<二>}}
  • {{distinguish:zh-cn|<一>|<二>|⋯⋯|desc1=<文一>|desc2=<文二>|⋯⋯}}

参数

  • {{{1}}} {{{8}}} - 不应该混淆的东西。
  • {{{desc1}}} {{{desc8}}} - {{{1}}} {{{8}}} 的可选描述。

示例

{{distinguish:zh-cn|一}}
不要混淆
{{distinguish:zh-cn|一|desc1=文本一}}
不要混淆(文本一)。
{{distinguish:zh-cn|一|二}}
不要混淆或者
{{distinguish:zh-cn|一|二|三|四|五|六|七|八|desc5=文本五}}
不要混淆(文本五)、或者

另请参阅

  • {{Confusion}} English