Template:Distinguish/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{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 conf...")
 
(Extended from 4 to 8 possible parameters. Added description parameter for each unnamed parameter.)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page.) -->
<!-- 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 4 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__
== Usage ==
* <code><nowiki>{{distinguish|<1>|<2>|...}}</nowiki></code>
* <code><nowiki>{{distinguish|<1>|<2>|...|desc1=<text1>|desc2=<text2>|...}}</nowiki></code>


{{syntax|<nowiki>{{distinguish|<1>|<2>|<3>|<4>}}</nowiki>}}
=== Parameters ===
'''Result''': {{distinguish|1|2|3|4}}
* {{param|1}} ''to'' {{param|8}} - The things that something should not be confused with.
* {{param|desc1}} ''to'' {{param|desc8}} - Optional descriptions for {{param|1}} ''to'' {{param|8}}.
 
=== Examples ===
{| style="background:none"
| <code><nowiki>{{distinguish|1}}</nowiki></code> || &rarr; || {{distinguish|1}}
|-
| <code><nowiki>{{distinguish|1|desc1=text1}}</nowiki></code> || &rarr; || {{distinguish|1|desc1=text1}}
|-
| <code><nowiki>{{distinguish|1|2}}</nowiki></code> || &rarr; || {{distinguish|1|2}}
|-
| <code><nowiki>{{distinguish|1|2|3|4|5|6|7|8|desc5=text5}}</nowiki></code> || &rarr; || {{distinguish|1|2|3|4|5|6|7|8|desc5=text5}}
|}
== See Also ==
* {{tl|confusion}}


<includeonly>{{sandbox other||
<includeonly>{{sandbox other||

Revision as of 05:37, 9 October 2021

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}}