Template:Distinguish: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m ({{documentation}} -> {{doc}})
(Added Vietnamese translation via Autolang.)
Line 2: Line 2:
<onlyinclude><includeonly><div style="margin-left:20px;">''<!--
<onlyinclude><includeonly><div style="margin-left:20px;">''<!--


                     -->Not to be confused with [[:{{{1}}}]]{{#if:{{{desc1|}}}|&#32;({{{desc1}}})}}<!--
                     -->{{autolang|Not to be confused with|vi=Đừng nhầm lẫn với}} [[:{{{1}}}]]{{#if:{{{desc1|}}}|&#32;({{{desc1}}})}}<!--
-->{{#if:{{{2|}}} | {{#if:{{{3|}}}|,|&#32;or}} [[:{{{2}}}]]{{#if:{{{desc2|}}}|&#32;({{{desc2}}})}} }}<!--
-->{{#if:{{{2|}}} | {{#if:{{{3|}}}|,|&#32;or}} [[:{{{2}}}]]{{#if:{{{desc2|}}}|&#32;({{{desc2}}})}} }}<!--
-->{{#if:{{{3|}}} | {{#if:{{{4|}}}|,|&#32;or}} [[:{{{3}}}]]{{#if:{{{desc3|}}}|&#32;({{{desc3}}})}} }}<!--
-->{{#if:{{{3|}}} | {{#if:{{{4|}}}|,|&#32;or}} [[:{{{3}}}]]{{#if:{{{desc3|}}}|&#32;({{{desc3}}})}} }}<!--

Revision as of 01:26, 26 April 2023


English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Inline note templates
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

This template allows you to easily notify users that they may have confused one thing with another. Accepts up to 8 inputs. Only one is enough though.

Todo: Create a version without links added automatically, similar to Template:Main.

Usage

  • {{distinguish|<1>|<2>|...}}
  • {{distinguish|<1>|<2>|...|desc1=<text1>|desc2=<text2>|...}}

Parameters

  • {{{1}}} to {{{8}}} - The things that something should not be confused with.
  • {{{desc1}}} to {{{desc8}}} - Optional descriptions for {{{1}}} to {{{8}}}.

Examples

{{distinguish|1}}
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
1.
{{distinguish|1|desc1=text1}}
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
1 (text1).
{{distinguish|1|2}}
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
1 or 2.
{{distinguish|1|2|3|4|5|6|7|8|desc5=text5}}
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
1, 2, 3, 4, 5 (text5), 6, 7 or 8.

See also