Template:Distinguish/doc: Difference between revisions
More actions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{TemplateBox | {{TemplateBox | ||
|name=Distinguish | |name = Distinguish | ||
|desc=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. | |desc = 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. | ||
|desc-de=Die Vorlage wird im Allgemeinen verwendet, wenn eine Mehrdeutigkeit besteht, die nicht unbedingt wörtlich ist, aber von der man annehmen kann, dass sie für viele Benutzer existiert. | |desc-de = Die Vorlage wird im Allgemeinen verwendet, wenn eine Mehrdeutigkeit besteht, die nicht unbedingt wörtlich ist, aber von der man annehmen kann, dass sie für viele Benutzer existiert. | ||
|desc-es=La plantilla generalmente se usa cuando hay una ambigüedad que no es necesariamente literal, pero se puede suponer razonablemente que existe para muchos usuarios. | |desc-es = La plantilla generalmente se usa cuando hay una ambigüedad que no es necesariamente literal, pero se puede suponer razonablemente que existe para muchos usuarios. | ||
|desc-fr=Modèle généralement utilisé lorsqu'il existe une ambiguïté qui n'est pas nécessairement littérale, mais qui peut être raisonnablement supposée exister pour de nombreux utilisateurs. | |desc-fr = Modèle généralement utilisé lorsqu'il existe une ambiguïté qui n'est pas nécessairement littérale, mais qui peut être raisonnablement supposée exister pour de nombreux utilisateurs. | ||
|1=1 | |1 = 1 | ||
|1d=page title not to be confused with | |1d = page title not to be confused with | ||
|1d-de=Seitentitel nicht zu verwechseln mit | |1d-de = Seitentitel nicht zu verwechseln mit | ||
|1d-es=título de la página que no debe confundirse con | |1d-es = título de la página que no debe confundirse con | ||
|1d-fr=titre de la page à ne pas confondre avec | |1d-fr = titre de la page à ne pas confondre avec | ||
|1type=string/wiki-page-name | |1type = string/wiki-page-name | ||
|1stat= | |1stat = required | ||
|2=2 | |2 = 2 | ||
|2d=additional page title not to be confused with | |2d = additional page title not to be confused with | ||
|2d-de=zusätzlicher Seitentitel nicht zu verwechseln mit | |2d-de = zusätzlicher Seitentitel nicht zu verwechseln mit | ||
|2d-es=título de página adicional que no debe confundirse con | |2d-es = título de página adicional que no debe confundirse con | ||
|2d-fr=titre de page supplémentaire à ne pas confondre avec | |2d-fr = titre de page supplémentaire à ne pas confondre avec | ||
|2type=string/wiki-page-name | |2type = string/wiki-page-name | ||
|2stat=optional- | |2stat = optional- | ||
|3=3 | |3 = 3 | ||
|3d=additional page title not to be confused with | |3d = additional page title not to be confused with | ||
|3d-de=zusätzlicher Seitentitel nicht zu verwechseln mit | |3d-de = zusätzlicher Seitentitel nicht zu verwechseln mit | ||
|3d-es=título de página adicional que no debe confundirse con | |3d-es = título de página adicional que no debe confundirse con | ||
|3d-fr=titre de page supplémentaire à ne pas confondre avec | |3d-fr = titre de page supplémentaire à ne pas confondre avec | ||
|3type=string/wiki-page-name | |3type = string/wiki-page-name | ||
|3stat=optional- | |3stat = optional- | ||
|4=4 | |4 = 4 | ||
|4d=additional page title not to be confused with | |4d = additional page title not to be confused with | ||
|4d-de=zusätzlicher Seitentitel nicht zu verwechseln mit | |4d-de = zusätzlicher Seitentitel nicht zu verwechseln mit | ||
|4d-es=título de página adicional que no debe confundirse con | |4d-es = título de página adicional que no debe confundirse con | ||
|4d-fr=titre de page supplémentaire à ne pas confondre avec | |4d-fr = titre de page supplémentaire à ne pas confondre avec | ||
|4type=string/wiki-page-name | |4type = string/wiki-page-name | ||
|4stat=optional- | |4stat = optional- | ||
|5=5 | |5 = 5 | ||
|5d=additional page title not to be confused with | |5d = additional page title not to be confused with | ||
|5d-de=zusätzlicher Seitentitel nicht zu verwechseln mit | |5d-de = zusätzlicher Seitentitel nicht zu verwechseln mit | ||
|5d-es=título de página adicional que no debe confundirse con | |5d-es = título de página adicional que no debe confundirse con | ||
|5d-fr=titre de page supplémentaire à ne pas confondre avec | |5d-fr = titre de page supplémentaire à ne pas confondre avec | ||
|5type=string/wiki-page-name | |5type = string/wiki-page-name | ||
|5stat=optional- | |5stat = optional- | ||
|6=6 | |6 = 6 | ||
|6d=additional page title not to be confused with | |6d = additional page title not to be confused with | ||
|6d-de=zusätzlicher Seitentitel nicht zu verwechseln mit | |6d-de = zusätzlicher Seitentitel nicht zu verwechseln mit | ||
|6d-es=título de página adicional que no debe confundirse con | |6d-es = título de página adicional que no debe confundirse con | ||
|6d-fr=titre de page supplémentaire à ne pas confondre avec | |6d-fr = titre de page supplémentaire à ne pas confondre avec | ||
|6type=string/wiki-page-name | |6type = string/wiki-page-name | ||
|6stat=optional- | |6stat = optional- | ||
|7=text | |7 = text | ||
|7d=additional text appended after the linked pages, just before the full stop at end of the description sentence | |7d = additional text appended after the linked pages, just before the full stop at end of the description sentence | ||
|7d-de=alternativer Text | |7d-de = alternativer Text | ||
|7d-es=texto alternativo | |7d-es = texto alternativo | ||
|7d-fr=texte supplémentaire ajouté après les pages liées, juste avant le point final de la phrase de description | |7d-fr = texte supplémentaire ajouté après les pages liées, juste avant le point final de la phrase de description | ||
|7type=string | |7type = string | ||
|7def= | |7def = | ||
|7stat=optional | |7stat = optional | ||
|namespace=all | |namespace = all | ||
|usergroup=all | |usergroup = all | ||
|placement=top | |placement = top | ||
|usage-notes={{LangSwitch | |type = | ||
|de=Seitentitel ist voll, wenn nicht für eine Kategorie verwendet | |usage-notes = {{LangSwitch | ||
|es= | |de = Seitentitel ist voll, wenn nicht für eine Kategorie verwendet | ||
|fr=titre de la page | |es = título completo de la página a menos que se use en una categoría | ||
|default=page title | |fr = titre complet de la page à moins d'être utilisé dans une catégorie | ||
}} | |default = page full title unless used on a category | ||
}} | |||
|example=Paris{{!}}Paris (Melanthiaceae){{!}}Paris, Ontario{{!}}Paris Hilton{{!}}text="Text" | |example = Paris{{!}}Paris (Melanthiaceae){{!}}Paris, Ontario{{!}}Paris Hilton{{!}}text = "Text" | ||
|example-value={{Distinguish|Paris|Paris (Melanthiaceae)|Paris, Ontario|Paris Hilton|text="Text"}} | |example-value = {{Distinguish|Paris|Paris (Melanthiaceae)|Paris, Ontario|Paris Hilton|text = "Text"}} | ||
|i18n-method=switch | |i18n-method = switch | ||
|i18n-desc= | |i18n-desc = | ||
|seealso={{Templates linking contents}} | |seealso = {{Templates linking contents}} | ||
|setscats= | |setscats = | ||
|lines= | |lines = | ||
|shorthand={{ | |shorthand = {{Tl|Not to be confused with}} | ||
|relieson= | |relieson = | ||
|useTemplateData=1 | |useTemplateData = 1 | ||
}} | }}<includeonly> | ||
<includeonly> | |||
<!--Categories--> | <!--Categories--> | ||
[[Category:Disambiguation and redirection templates|{{PAGENAME}}]] | [[Category:Disambiguation and redirection templates|{{PAGENAME}}]] | ||
[[Category:Category navigational templates|{{PAGENAME}}]] | [[Category:Category navigational templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 10:47, 22 December 2024
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
page full title unless used on a category
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 | |
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)