• Home
  • Random
  • Log in
  • Settings
  • About WikiPasokh
  • Disclaimers
WikiPasokh

Template:Distinguish

  • Language
  • Watch
  • Edit
Revision as of 00:46, 5 February 2023 by en>Hog Farm (Wikipedia:Templates for discussion/Log/2023 February 4#Template:Distinguish closed as keep (XFDcloser))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view] [edit] [history] [purge]
Shortcuts
  • {{dist}}
  • {{ntbcw}}
  • {{confuse}}
WarningThis template is used on approximately 110,000 pages.
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
This template uses Lua:
  • Module:distinguish

Contents

  • 1 Description
  • 2 Usage
  • 3 When to use
  • 4 TemplateData
  • 5 Redirects
  • 6 See also

Description

The "distinguish" template produces a hatnote to point out to our readers the existence of one or more articles whose title(s) is, or are, similar to the page in question. It is used in cases where the distinction between the titles is generally obvious and does not need further explanation.

For those cases where an explanation is required, please use the templates {{For}} and {{About}}. For use on category pages, the corresponding template is {{Category distinguish}}.

Usage

Here is an example of its standard usage on the article about the mathematical Astroid:

{{distinguish|Asteroid}} →
Not to be confused with Asteroid.

This hatnote can be used to distinguish the topic from multiple other topics, as for Corundum or Bangala language:

{{distinguish|Carborundum|Conundrum}} →
Not to be confused with Carborundum or Conundrum.
{{distinguish|Bangla language|Mbangala language|Ngala language}} →
Not to be confused with Bangla language, Mbangala language, or Ngala language.

The |text= parameter can be used to create customized text, in case context is required. An example is on the article Phobos (mythology), which contains a customized hatnote to distinguish it and "Phoebus" (a redirect of Apollo). Both links lead to topics about Greek gods, so the parenthetical disambiguation in "Phobos (mythology)" is insufficient to disambiguate the two. Since it is typically not preferable to link a redirect in a hatnote, the article "Apollo" is linked to directly and a short explanation fills in the necessary context:

{{distinguish|text = Phoebus, an epithet of the Greek god [[Apollo]]}} →
Not to be confused with Phoebus, an epithet of the Greek god Apollo.

Note that a final period is automatically added at the end of the sentence, and that only one blue link is used per disambiguated topic (i.e, do not type ...an [[epithet]] of the [[Greek]] god [[Apollo]].

When the target is a disambiguation page, display of the parentheses may be avoided by escaping the vertical bar using the magic word {{!}}:

checkY{{distinguish|Crossfire (disambiguation){{!}}Crossfire}} →
Not to be confused with Crossfire.

The escape is necessary, otherwise the template will read the next text as another topic:

☒N{{distinguish|Crossfire (disambiguation)|Crossfire}} →
Not to be confused with Crossfire (disambiguation) or Crossfire.

When to use

This hatnote is generally used when readers have misspelled their desired title, and the error would be apparent by simply displaying the alternative term without further explanation. For example, consider a reader looking for the punctuation mark who instead ends up at coma:

Coma
Not to be confused with Comma.

Readers are presumed to recognize that they actually wanted comma by merely looking at the spelling, and this case generally requires no further explanation.

However, {{distinguish}} is not suitable when the difference is not readily apparent without additional details. Consider a reader looking for a game they believe is named Reversi:

☒N Reversi
Not to be confused with Reversis.

In the above hatnote, it is not generally apparent how the suggested Reversis is different from Reversi, which is also a game.

In this case you should use {{about}} instead of {{distinguish}}. The difference is to provide explanation upfront without requiring the reader to click through and differentiate the terms on their own.

checkY Reversi
This article is about the board game. For the card game, see Reversis.

{{Distinguish}} should only be used when the ambiguity exists for a portion of the readership that is sufficient to warrant a hatnote. Care should be taken to avoid trivial uses.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Distinguish in articles based on its TemplateData.

TemplateData for Distinguish

A hatnote used when there is an ambiguity in an article's title.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name of article1

Name of article that you want to link to

Page namesuggested
Optional additional article to link (2)2

Optional additional article to link

Page nameoptional
Optional additional article to link (3)3

Optional additional article to link

Page nameoptional
Optional additional article to link (4)4

Optional additional article to link

Page nameoptional
Custom texttext

Custom message in wikitext; e.g. "[[foo]] and [[Bar (computer science)|bar]]" produces "Not to be confused with [[foo]] and [[Bar (computer science)|bar]]."

Stringoptional
Self referenceselfref

If set, marks note as being a self reference, to not be shown when content is reused

Booleanoptional

Redirects

  • {{Confused}}
  • {{Confuse}}
  • {{Misspelling}}
  • {{Nottobeconfusedwith}}
  • {{Ntbcw}}

See also

  • {{About}}
  • {{Category distinguish}}
  • {{For}}
  • {{Redirect}}
  • {{R from misspelling}}
  • v
  • t
  • e
Hatnote templates
  • Wikipedia:Hatnote
  • Wikipedia:Disambiguation
  • Wikipedia:Redirect
Generic
  • {{Hatnote}}
  • {{Hatnote group}}
  • {{Self-reference}}
For and about
  • {{For}}
  • {{For-text}} (for custom text)
  • {{For-multi}} (for multiple uses)
  • {{About}}
  • Variations: {{Other uses}}
  • {{Other uses of}}
  • {{Redirect-distinguish-for}}
  • {{About-distinguish}}
  • {{About-distinguish-text}}
Other topics
  • {{Other people}}
  • {{About other people}} (adds "about" description)
  • {{Similar names}}
  • {{Other storms}}
  • {{Other places}}
  • {{Other ships}}
Redirect
  • {{Redirect}}
  • {{Redirect2}} (for two redirects)
  • {{Redirect-multi}} (for multiple redirects)
  • {{Redirect-several}} (for several redirects, without listing each)
  • {{Redirect-synonym}}
  • {{Redirect-distinguish}}
  • {{Redirect-distinguish-text}}
  • {{Redirect-distinguish-for}}
  • {{Technical reasons}}
Distinguish
  • {{Distinguish}} (supports custom text)
  • {{About-distinguish}}
  • {{About-distinguish-text}} (for custom text)
  • {{Redirect-distinguish}}
  • {{Redirect-distinguish-text}} (for custom text)
  • {{Redirect-distinguish-for}}
For use in sections
  • {{Main}}
  • {{Main if exists}}
  • {{Main list}}
  • {{Further}}
  • {{Further-text}} (for custom text)
  • {{Further interlanguage link}}
  • {{See also}}
  • {{See also-text}} (for custom text)
  • {{For outline}}
  • {{For timeline}}
Special
  • {{Broader}}
  • {{For introduction}}
  • {{See Wiktionary}}
  • {{Transcluding article}}
  • {{Transcluded section}}
Subject specific
  • {{About year}}
  • {{Highway detail hatnote}}
  • {{For LMST}}
  • {{WikiIPA}}
  • Category:Hatnote templates
    • modules
    • for [family] names
    • for lists
  • hatnote templates for category pages
The above documentation is transcluded from Template:Distinguish/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipasokh.com/index.php?title=Template:Distinguish&oldid=565"
View edit history of this page.
WikiPasokh
  • This page was last edited on 5 February 2023, at 00:46.
  • Content is available under Creative Commons Attribution-NonCommercial-ShareAlike unless otherwise noted.
  • Privacy policy
  • About WikiPasokh
  • Disclaimers
  • Desktop