Template:Distinguish:zh-cn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Update page)
(Updated to current english page. I hope I did it right.)
Line 1: Line 1:
{{lang|Template:Distinguish}}
{{lang|Template:Distinguish}}
<onlyinclude><includeonly>:''不要混淆 [[:{{{1}}}]]<!--
<onlyinclude><includeonly><div style="margin-left:20px;">''<!--
-->{{#if:{{{2|}}} |<!--then:
 
    -->{{#if:{{{3|}}} |<!--then:-->, [[:{{{2}}}]]<!--
                                    -->不要混淆 [[:{{{1}}}]]{{#if:{{{desc1|}}}|&#32;({{{desc1}}})}}<!--
                    -->|<!--else:-->&nbsp;或者 [[:{{{2}}}]]}}<!--
-->{{#if:{{{2|}}} | {{#if:{{{3|}}}|,|&#32;或者}} [[:{{{2}}}]]{{#if:{{{desc2|}}}|&#32;({{{desc2}}})}} }}<!--
              -->|<!--else:-->。<!--
-->{{#if:{{{3|}}} | {{#if:{{{4|}}}|,|&#32;或者}} [[:{{{3}}}]]{{#if:{{{desc3|}}}|&#32;({{{desc3}}})}} }}<!--
-->}}<!--
-->{{#if:{{{4|}}} | {{#if:{{{5|}}}|,|&#32;或者}} [[:{{{4}}}]]{{#if:{{{desc4|}}}|&#32;({{{desc4}}})}} }}<!--
-->{{#if:{{{3|}}} |<!--then:
-->{{#if:{{{5|}}} | {{#if:{{{6|}}}|,|&#32;或者}} [[:{{{5}}}]]{{#if:{{{desc5|}}}|&#32;({{{desc5}}})}} }}<!--
    -->{{#if:{{{4|}}} |<!--then:-->, [[:{{{3}}}]]<!--
-->{{#if:{{{6|}}} | {{#if:{{{7|}}}|,|&#32;或者}} [[:{{{6}}}]]{{#if:{{{desc6|}}}|&#32;({{{desc6}}})}} }}<!--
                    -->|<!--else:-->, 或者 [[:{{{3}}}]]}}<!--
-->{{#if:{{{7|}}} | {{#if:{{{8|}}}|,|&#32;或者}} [[:{{{7}}}]]{{#if:{{{desc7|}}}|&#32;({{{desc7}}})}} }}<!--
-->}}<!--
-->{{#if:{{{8|}}} |                 &#32;或者   [[:{{{8}}}]]{{#if:{{{desc8|}}}|&#32;({{{desc8}}})}} }}<!--
-->{{#if:{{{4|}}} |<!--then:-->, 或者 [[:{{{4}}}]]}}<!--
 
-->''</includeonly></onlyinclude>
-->''</div></includeonly></onlyinclude>
{{documentation:zh-cn}}
{{documentation:zh-cn}}

Revision as of 13:21, 9 October 2021


注释模板
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

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

用法

  • {{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