Template:Distinguish: Difference between revisions
More actions
m emphasize title in serif fonts (like page titles) rather than the default sans-serif (for page contents) for easier distinction |
m fix for some links containing Bidi text (e.g. titles with Arabic or Hebrew letters), to preserve the reading order of the list by proper isolation |
||
| Line 2: | Line 2: | ||
|1 = {{LangSwitch |lang = {{{lang|}}} | |1 = {{LangSwitch |lang = {{{lang|}}} | ||
|af = Moenie verwar word nie  | |af = Moenie verwar word nie  | ||
|ar =   | |ar = لا ينبغي الخلط مع<!--x-->  | ||
|be = Не блытаць с  | |be = Не блытаць с  | ||
|be-tarask = Ня блытаць з  | |be-tarask = Ня блытаць з  | ||
| Line 19: | Line 19: | ||
|et = Ärge segage  | |et = Ärge segage  | ||
|eu = Ez nahastu behar  | |eu = Ez nahastu behar  | ||
|fa =   | |fa = اشتباه نشود با<!--x-->  | ||
|fi = Eri kuin  | |fi = Eri kuin  | ||
|fr = Ne pas confondre avec  | |fr = Ne pas confondre avec  | ||
|gl = Non se debe confundir con  | |gl = Non se debe confundir con  | ||
|he =   | |he = אין לבלבל עם<!--x-->  | ||
|hi = इससे भ्रमित न करें:  | |hi = इससे भ्रमित न करें:  | ||
|hr = Razlikovati od pojma  | |hr = Razlikovati od pojma  | ||
| Line 30: | Line 30: | ||
|id = Jangan dikelirukan  | |id = Jangan dikelirukan  | ||
|it = Da non confondere con  | |it = Da non confondere con  | ||
|ja = 下記とは異なります{{ | |ja = 下記とは異なります{{Colon|lang = ja}}  | ||
|ka = არ იყოს დაბნეული  | |ka = არ იყოს დაბნეული  | ||
|kk = Шатастыруға болмайды  | |kk = Шатастыруға болмайды  | ||
|ko = 혼동하지 말 것{{colon|lang = ko}}  | |ko = 혼동하지 말 것{{colon|lang = ko}}  | ||
|ky = менен чаташтырбоо керек | |ky = менен чаташтырбоо керек  | ||
|la = Non confundendae sunt  | |la = Non confundendae sunt  | ||
|lb = Net ze verwiessele mat  | |lb = Net ze verwiessele mat  | ||
| Line 40: | Line 40: | ||
|lv = Nevajadzētu sajaukt ar  | |lv = Nevajadzētu sajaukt ar  | ||
|mg = Tsy tokony hifangaro amin'ny  | |mg = Tsy tokony hifangaro amin'ny  | ||
|mk = Да не се мешаат | |mk = Да не се мешаат  | ||
|ml = ഇതുമായി ആശയക്കുഴപ്പമുണ്ടാകരുത്:  | |ml = ഇതുമായി ആശയക്കുഴപ്പമുണ്ടാകരുത്:  | ||
|mwl = Nun cunfundir cun  | |mwl = Nun cunfundir cun  | ||
| Line 66: | Line 66: | ||
|default = Not to be confused with  | |default = Not to be confused with  | ||
}}{{Conj |type = or | }}{{Conj |type = or | ||
|1={{#if: {{{1|}}} | ''< | |1={{#if: {{{1|}}} | ''<bdi style="font-family:'Noto Serif',serif;font-size:120%">[[:{{#ifeq:{{NAMESPACE}} | Category | Category: }}{{{1|}}}|{{{1|}}}]]</bdi>'' | ...[[Category:Pages containing omitted template arguments]] }} | ||
|2={{#if: {{{2|}}} | ''< | |2={{#if: {{{2|}}} | ''<bdi style="font-family:'Noto Serif',serif;font-size:120%">[[:{{#ifeq:{{NAMESPACE}} | Category | Category: }}{{{2|}}}|{{{2|}}}]]</bdi>'' }} | ||
|3={{#if: {{{3|}}} | ''< | |3={{#if: {{{3|}}} | ''<bdi style="font-family:'Noto Serif',serif;font-size:120%">[[:{{#ifeq:{{NAMESPACE}} | Category | Category: }}{{{3|}}}|{{{3|}}}]]</bdi>'' }} | ||
|4={{#if: {{{4|}}} | ''< | |4={{#if: {{{4|}}} | ''<bdi style="font-family:'Noto Serif',serif;font-size:120%">[[:{{#ifeq:{{NAMESPACE}} | Category | Category: }}{{{4|}}}|{{{4|}}}]]</bdi>'' }} | ||
|5={{#if: {{{5|}}} | ''< | |5={{#if: {{{5|}}} | ''<bdi style="font-family:'Noto Serif',serif;font-size:120%">[[:{{#ifeq:{{NAMESPACE}} | Category | Category: }}{{{5|}}}|{{{5|}}}]]</bdi>'' }} | ||
|6={{#if: {{{6|}}} | ''< | |6={{#if: {{{6|}}} | ''<bdi style="font-family:'Noto Serif',serif;font-size:120%">[[:{{#ifeq:{{NAMESPACE}} | Category | Category: }}{{{6|}}}|{{{6|}}}]]</bdi>'' }} | ||
|7={{#if: {{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}} | ...[[Category:Pages containing omitted template arguments]] }} | |7={{#if: {{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}} | ...[[Category:Pages containing omitted template arguments]] }} | ||
}}{{#if: {{{text|}}} | }}{{#if: {{{text|}}} | ||
Revision as of 22:17, 7 January 2025
Hatnote generally used when there is an ambiguity that is not necessarily literal, but one that can be reasonably assumed to exist for many users.
Usage
{{Distinguish |1= |text= }}
Indicate the full titles of linked page, unless this template is used on a category page.
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | page title not to be confused with | empty | required | |
2 | additional page title not to be confused with | empty | optional | |
3 | additional page title not to be confused with | empty | optional | |
4 | additional page title not to be confused with | empty | optional | |
5 | additional page title not to be confused with | empty | optional | |
6 | additional page title not to be confused with | empty | optional | |
7 | additional page title not to be confused with | empty | optional | |
8 | additional page title not to be confused with | empty | optional | |
9 | additional page title not to be confused with | empty | optional | |
text | additional text appended after the linked pages, just before the full stop at end of the description sentence | empty | optional | |
|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information Hatnote generally used when there is an ambiguity that is not necessarily literal, but one that can be reasonably assumed to exist for many users.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Placement: At the top of the page
Example
{{Distinguish|Paris|Paris (Melanthiaceae)|Paris, Ontario|Paris Hilton|text = "Text"}}
renders as:
See also
Templates linking contents
"1-N" means from one to many.
Upwards links
- – "Main gallery" link from gallery or category to 1-N main galleries.
- – "Main category" link from gallery or category to 1-N main categories.
- – (box) Alternative "See category" boxed link from gallery to parent category, with explanation of the role of a gallery page.
Downwards links
- – "Further information" link to 1-N detailed galleries or categories.
Sideways page links
- – (box or inline) "See also" link to 1-N related pages.
- – "For" a single alternative page with explanation.
- – "For" 1-N alternative pages with one or more explanations.
- – As "For2" with an explanation of the current page.
- – As "For multi" with an explanation of the current page.
- – "Not to be confused with" link to 1-N related pages.
- – (box) Internationalized "See also" (or other caption) to related images.
- – (box) Internationalized with icon-links to related images of the same (medical) case.
- – "See" link from gallery to gallery.
Sideways category links
- – (box or inline) "See also Categories" link to 1-N related categories.
- – (box or inline) "Not to be confused with categories" link from category with ambiguous names to 1-N unrelated categories.
Interproject links
- – "Main Wikipedia article" link to 1 article (don't forget the purpose of interwiki links).
- – "See also Wikipedia article" link to 1-N articles (don't forget the purpose of interwiki links).
- Template:Multilingual link – allows to indicate names of versions of same Wikipedia article in many languages and displays one link in interface language.
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)