Jump to content

Template:Distinguish

From p1gwars
Revision as of 15:31, 11 January 2026 by Rosie (talk | contribs) (Created page with "<noinclude> <languages/> </noinclude><!-- -->{{Hatnote|1={{tmpl|0=<translate><!--T:1--> Not to be confused with: $1.</translate> |1=[[:{{{1}}}{{#if:{{{label 1|{{{l1|}}}}}}|{{!}}{{{label 1|{{{l1}}}}}}}}]]<!-- -->{{#if: {{{2|}}} |{{int|comma-separator}}[[:{{{2}}}{{#if:{{{label 2|{{{l2|}}}}}}|{{!}}{{{label 2|{{{l2}}}}}}}}]] }}{{#if: {{{3|}}} |{{int|comma-separator}}[[:{{{3}}}{{#if:{{{label 3|{{{l3|}}}}}}|{{!}}{{{label 3|{{{l3}}}}}}}}]] }}{{#if: {{{4|}}} |{{int|comma...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<languages/>

<translate> Not to be confused with: [[:{{{1}}}]].</translate>
Template documentation

<translate>

Usage

<tvar name=1>{{Distinguish}}</tvar> is used to create hatnotes to warn about possible confusion with a small number of other, related, titles at the top of article sections according to Wikipedia:Layout.

It is not for use in the "See also" section at the bottom of an article. </translate>

{{Distinguish|<translate> Article 1</translate>|...|<translate> Article 4</translate>|label 1=<translate> label1</translate>|...|label 4=<translate> label4</translate>}}

<translate>

  • One to four articles can be listed.</translate>

<translate>

  • The word "or" is always placed between the final two entries when displayed.</translate>

<translate>

  • If more than 4 entries are supplied, a message will be displayed pointing out the problem.</translate>

<translate>

  • You can use parameters label 1 to label 4 to specify alternative labels for the links.

</translate>

<translate> Adding newline characters will break article links.</translate>

<translate>

Examples

</translate>

<translate> Not to be confused with: article1.</translate>
<translate> Not to be confused with: article1, article2.</translate>
<translate> Not to be confused with: article1, article2, article3.</translate>
<translate> Not to be confused with: article1, article2, article3, article4.</translate>
<translate> Not to be confused with: label1.</translate>
  • {{Distinguish|article1|article2|label 1=label1|label 2=label2}}
<translate> Not to be confused with: label1, label2.</translate>

TemplateData

-

[[Category:Template documentation pages{{#translation:}}]]