Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Distinguish/doc: Difference between revisions

Template page
mNo edit summary
Line 1: Line 1:
{{TemplateBox
{{TemplateBox
|1=1
|1=1
|1d=(full unless used on a category) page title not to be confused with
  |1d=page title not to be confused with
  |1d-de=Seitentitel nicht zu verwechseln mit
  |1d-es=
  |1d-fr=titre de la page à ne pas confondre avec
|1type=string/wiki-page-name
|1type=string/wiki-page-name
|1stat=optional
|1stat=optional-
|2=2
|2=2
|2d=(full unless used on a category) 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-es=Título de la página que no debe confundirse con
  |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=(full unless used on a category) 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-es=título de página adicional que no debe confundirse con
  |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=(full unless used on a category) 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-es=título de página adicional que no debe confundirse con
  |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=text
|5=text
|5d=alternative text
  |5d=alternative text
  |5d-de=alternativer Text
  |5d-es=Texto alternativo
  |5d-fr=texte alternatif
|5def=
|5def=
|5stat=optional-
|5stat=optional
|name=
|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-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.
|namespace=all
|namespace=all
|usergroup=all
|usergroup=all
|placement=top
|placement=top
|usage-notes=
|usage-notes={{LangSwitch
  |de=Seitentitel ist voll, wenn nicht für eine Kategorie verwendet
  |es=Título de la página completo a menos que se use en una categoría
  |fr=titre de la page complet à moins d'être utilisé dans une catégorie
  |default=page title full unless used on a category
}}
|type=
|type=
|example=
|example=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=

Revision as of 07:29, 27 March 2018

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 |text= }}

page title full unless used on a category

Template parameters

ParameterDescriptionDefaultStatus
1page title not to be confused withemptyoptional
2additional page title not to be confused withemptyoptional
3additional page title not to be confused withemptyoptional
4additional page title not to be confused withemptyoptional
textalternative textemptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

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
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
1

page title not to be confused with

Page nameoptional
2

additional page title not to be confused with

Page nameoptional
3

additional page title not to be confused with

Page nameoptional
4

additional page title not to be confused with

Page nameoptional
text

alternative text

Unknownoptional

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

Downwards links

Sideways page links

Sideways category links

Interproject links

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)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.