Template:Distinguish/doc: Difference between revisions
More actions
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 54: | Line 54: | ||
|6stat = optional- | |6stat = optional- | ||
|7 = text | |7 = 7 | ||
| | |7d = additional page title not to be confused with | ||
| | |7d-de = zusätzlicher Seitentitel nicht zu verwechseln mit | ||
| | |7d-es = título de página adicional que no debe confundirse con | ||
| | |7d-fr = titre de page supplémentaire à ne pas confondre avec | ||
| | |7type = string/wiki-page-name | ||
| | |7stat = optional- | ||
| | |||
|8 = 8 | |||
|8d = additional page title not to be confused with | |||
|8d-de = zusätzlicher Seitentitel nicht zu verwechseln mit | |||
|8d-es = título de página adicional que no debe confundirse con | |||
|8d-fr = titre de page supplémentaire à ne pas confondre avec | |||
|8type = string/wiki-page-name | |||
|8stat = optional- | |||
|9 = 9 | |||
|9d = additional page title not to be confused with | |||
|9d-de = zusätzlicher Seitentitel nicht zu verwechseln mit | |||
|9d-es = título de página adicional que no debe confundirse con | |||
|9d-fr = titre de page supplémentaire à ne pas confondre avec | |||
|9type = string/wiki-page-name | |||
|9stat = optional- | |||
|10 = text | |||
|10d = additional text appended after the linked pages, just before the full stop at end of the description sentence | |||
|10d-de = alternativer Text | |||
|10d-es = texto alternativo | |||
|10d-fr = texte supplémentaire ajouté après les pages liées, juste avant le point final de la phrase de description | |||
|10type = string | |||
|10def = | |||
|10stat = optional | |||
|namespace = all | |namespace = all | ||
| Line 68: | Line 92: | ||
|type = | |type = | ||
|usage-notes = {{LangSwitch | |usage-notes = {{LangSwitch | ||
|de = | |de = Erwähnen Sie die vollständigen Titel verlinkter Seiten, es sei denn, diese Vorlage wird auf einer Kategorieseite verwendet. | ||
|es = | |es = Mencione los títulos completos de las páginas, vinculadas a menos que esta plantilla se utilice en una página de categoría. | ||
|fr = | |fr = Mentionner les titres complets des pages liées, à moins que ce modèle soit utilisé dans une page de catégorie. | ||
|default = page | |default = Indicate the full titles of linked page, unless this template is used on a category page. | ||
}} | }} | ||
|example = Paris{{!}}Paris (Melanthiaceae){{!}}Paris, Ontario{{!}}Paris Hilton{{!}}text = "Text" | |example = Paris{{!}}Paris (Melanthiaceae){{!}}Paris, Ontario{{!}}Paris Hilton{{!}}text = "Text" | ||
Latest revision as of 08:11, 15 July 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= }}
Or use the shorthand
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)