Template:Distinguish/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Thunder4ik (talk | contribs) m (clean up, replaced: See Also → See also, {{Documentation subpage → {{Doc/subpage) |
||
Line 1: | Line 1: | ||
<!-- Please place categories where indicated at the bottom of this page. --> | <!-- Please place categories where indicated at the bottom of this page. --> | ||
{{Inline note templates}} | {{Inline note templates}} | ||
{{ | {{Doc/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. | 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. | ||
Line 16: | Line 16: | ||
=== Examples === | === Examples === | ||
{| style="background:none" | {| style="background:none" | ||
| <code><nowiki>{{distinguish|1}}</nowiki></code> || | | <code><nowiki>{{distinguish|1}}</nowiki></code> || → || {{distinguish|1}} | ||
|- | |- | ||
| <code><nowiki>{{distinguish|1|desc1=text1}}</nowiki></code> || | | <code><nowiki>{{distinguish|1|desc1=text1}}</nowiki></code> || → || {{distinguish|1|desc1=text1}} | ||
|- | |- | ||
| <code><nowiki>{{distinguish|1|2}}</nowiki></code> || | | <code><nowiki>{{distinguish|1|2}}</nowiki></code> || → || {{distinguish|1|2}} | ||
|- | |- | ||
| <code><nowiki>{{distinguish|1|2|3|4|5|6|7|8|desc5=text5}}</nowiki></code> || | | <code><nowiki>{{distinguish|1|2|3|4|5|6|7|8|desc5=text5}}</nowiki></code> || → || {{distinguish|1|2|3|4|5|6|7|8|desc5=text5}} | ||
|} | |} | ||
== See | == See also == | ||
* {{t|Confusion}} | * {{t|Confusion}} | ||
Latest revision as of 02:21, 12 January 2024
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 is a documentation subpage for Template:Distinguish.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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.
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}} |
→ | |
{{distinguish|1|2|3|4|5|6|7|8|desc5=text5}} |
→ |
See also
- {{Confusion}}