Template:Distinguish/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Extended from 4 to 8 possible parameters. Added description parameter for each unnamed parameter.)
(Added inline note templates table.)
Line 1: Line 1:
<!-- Please place categories where indicated at the bottom of this page. -->
{{Inline note templates}}
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page. -->
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.
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.
__NOTOC__
__NOTOC__
Line 22: Line 23:
|}
|}
== See Also ==
== See Also ==
* {{tl|confusion}}
* {{tl|Confusion}}


<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|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]
}}</includeonly>
}}</includeonly>

Revision as of 14:28, 14 December 2021

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
Edit-copy.png
This is a documentation subpage for Template:Distinguish.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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.

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

  • {{Confusion}}