Template:Distinguish: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with ':''Not to be confused with [[:{{{1}}}]]<!-- -->{{#if:{{{2|}}} |<!--then: -->{{#if:{{{3|}}} |<!--then:-->, [[:{{{2}}}]]<!-- -->|<!--else:--> or [[:{{…')
 
m (Russian string)
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
:''Not to be confused with [[:{{{1}}}]]<!--
{{lang|Template:Distinguish}}
-->{{#if:{{{2|}}} |<!--then:
<onlyinclude><includeonly><div style="margin-left:20px;">''<!--
    -->{{#if:{{{3|}}} |<!--then:-->, [[:{{{2}}}]]<!--
 
                    -->|<!--else:-->&nbsp;or [[:{{{2}}}]].}}<!--
                    -->{{#switch: {{language}}
              -->|<!--else:-->.<!--
|#default = Not to be confused with
-->}}<!--
|eo = Ne konfuzu tiun ĉi kun
-->{{#if:{{{3|}}} |<!--then:
|hr = Ne smije se brkati s
    -->{{#if:{{{4|}}} |<!--then:-->, [[:{{{3}}}]]<!--
|ru = Не следует путать с
                    -->|<!--else:-->, or [[:{{{3}}}]].}}<!--
|vi = Đừng nhầm lẫn với
-->}}<!--
|zh = 注意区分
-->{{#if:{{{4|}}} |<!--then:-->, or [[:{{{4}}}]].}}<!--
}} [[:{{{1}}}]]{{#if:{{{desc1|}}}|&#32;({{{desc1}}})}}<!--
-->''
-->{{#if:{{{2|}}} | {{#if:{{{3|}}}|,|&#32;{{Dictionary/common|or}}}} [[:{{{2}}}]]{{#if:{{{desc2|}}}|&#32;({{{desc2}}})}} }}<!--
-->{{#if:{{{3|}}} | {{#if:{{{4|}}}|,|&#32;{{Dictionary/common|or}}}} [[:{{{3}}}]]{{#if:{{{desc3|}}}|&#32;({{{desc3}}})}} }}<!--
-->{{#if:{{{4|}}} | {{#if:{{{5|}}}|,|&#32;{{Dictionary/common|or}}}} [[:{{{4}}}]]{{#if:{{{desc4|}}}|&#32;({{{desc4}}})}} }}<!--
-->{{#if:{{{5|}}} | {{#if:{{{6|}}}|,|&#32;{{Dictionary/common|or}}}} [[:{{{5}}}]]{{#if:{{{desc5|}}}|&#32;({{{desc5}}})}} }}<!--
-->{{#if:{{{6|}}} | {{#if:{{{7|}}}|,|&#32;{{Dictionary/common|or}}}} [[:{{{6}}}]]{{#if:{{{desc6|}}}|&#32;({{{desc6}}})}} }}<!--
-->{{#if:{{{7|}}} | {{#if:{{{8|}}}|,|&#32;{{Dictionary/common|or}}}} [[:{{{7}}}]]{{#if:{{{desc7|}}}|&#32;({{{desc7}}})}} }}<!--
-->{{#if:{{{8|}}} |                 &#32;{{Dictionary/common|or}}  [[:{{{8}}}]]{{#if:{{{desc8|}}}|&#32;({{{desc8}}})}} }}<!--
 
-->.''</div></includeonly></onlyinclude>
{{doc}}

Latest revision as of 02:02, 25 May 2025


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}}
Not to be confused with 1.
{{distinguish|1|desc1=text1}}
Not to be confused with 1 (text1).
{{distinguish|1|2}}
Not to be confused with 1 or 2.
{{distinguish|1|2|3|4|5|6|7|8|desc5=text5}}
Not to be confused with 1, 2, 3, 4, 5 (text5), 6, 7 or 8.

See also