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

From Valve Developer Community
Jump to navigation Jump to search
(Update page)
mNo edit summary
Line 2: Line 2:
{{Documentation subpage:zh-cn}}
{{Documentation subpage:zh-cn}}
<!-- Please place categories where indicated at the bottom of this page. -->
<!-- Please place categories where indicated at the bottom of this page. -->
此模板可让您轻松通知用户他们可能将一件事与另一件事混淆了。最多接受 8 个输入。不过一个就够了。
此模板可让您轻松通知用户他们可能将一件事与另一件事混淆了。最多接受八个输入。不过一个就够了。
== 用法 ==
== 用法 ==
* <code><nowiki>{{distinguish:zh-cn|<1>|<2>|...}}</nowiki></code>
* <code><nowiki>{{distinguish:zh-cn|<>|<>}}</nowiki></code>
* <code><nowiki>{{distinguish:zh-cn|<1>|<2>|...|desc1=<text1>|desc2=<text2>|...}}</nowiki></code>
* <code><nowiki>{{distinguish:zh-cn|<>|<>|⋯⋯|desc1=<文一>|desc2=<文二>|⋯⋯}}</nowiki></code>
__NOTOC__
__NOTOC__
=== 参数 ===
=== 参数 ===
Line 13: Line 13:
=== 示例 ===
=== 示例 ===
{| style="background:none"
{| style="background:none"
| <code><nowiki>{{distinguish:zh-cn|1}}</nowiki></code> || &rarr; || {{distinguish:zh-cn|1}}
| <code><nowiki>{{distinguish:zh-cn|}}</nowiki></code> || &rarr; || {{distinguish:zh-cn|}}
|-
|-
| <code><nowiki>{{distinguish:zh-cn|1|desc1=文本1}}</nowiki></code> || &rarr; || {{distinguish:zh-cn|1|desc1=文本1}}
| <code><nowiki>{{distinguish:zh-cn||desc1=文本一}}</nowiki></code> || &rarr; || {{distinguish:zh-cn||desc1=文本一}}
|-
|-
| <code><nowiki>{{distinguish:zh-cn|1|2}}</nowiki></code> || &rarr; || {{distinguish:zh-cn|1|2}}
| <code><nowiki>{{distinguish:zh-cn||}}</nowiki></code> || &rarr; || {{distinguish:zh-cn||}}
|-
|-
| <code><nowiki>{{distinguish:zh-cn|1|2|3|4|5|6|7|8|desc5=文本5}}</nowiki></code> || &rarr; || {{distinguish:zh-cn|1|2|3|4|5|6|7|8|desc5=文本5}}
| <code><nowiki>{{distinguish:zh-cn|||||||||desc5=文本五}}</nowiki></code> || &rarr; || {{distinguish:zh-cn|||||||||desc5=文本五}}
|}
|}
== 另请参阅 ==
== 另请参阅 ==
* {{tl|Confusion}}
* {{tl|Confusion}} {{en}}


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

Revision as of 12:59, 18 June 2022

注释模板
Template Pages using it
28 August 2024
{{note}} 6,436
{{warning}} 1,253
{{BugNotice}} 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

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

用法

  • {{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}}
Warning icon.png
This template has been marked as a candidate for speedy deletion for the following reason:
Use {{Flag|en}} instead.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.