Mudanças entre as edições de "Predefinição:Other uses/doc"
(Criação da Documentação do Módulo Other Users.) |
|||
Linha 1: | Linha 1: | ||
− | + | {{documentation subpage}} | |
− | {{ | + | {{High-use| 53271 }} |
− | {{Module | + | {{lua|Module:Other uses}} |
− | + | {{for|navboxes|Template:Navigation templates}} | |
− | + | This template creates a note directing the reader to the [[WP:DISAMBIGUATION|disambiguation page]] related to the page it is included in. The page to which is directed, can be a page whose name is the name of the current page with "(disambiguation)" appended to it. Or you can direct the user to a disambiguation page with a different title, by supplying it as an argument to the template. | |
− | |||
− | The | ||
− | == | + | ==Usage== |
− | + | '''{{Tlx|Other uses}} results in''' | |
+ | {{other uses}} | ||
− | + | '''{{Tlx|Other uses|Target (disambiguation)}} results in''' | |
+ | {{other uses|Target (disambiguation)}} | ||
− | + | ==When to use this template== | |
+ | This template can be used on pages with an ambiguous title to direct readers that intended to read a similarly named article, to a [[WP:D|disambiguation page]]. | ||
+ | Please link to a page that includes the word "(disambiguation)" in the title (if one exists), as illustrated in the example above and suggested [[WP:INTDABLINK|here]]. | ||
− | == | + | ==When not to use this template== |
− | + | Do not use this template on an article with an unambiguous title; for example, a reader who searches specifically for "Paris, Virginia" is not likely to have been looking for an article about a city in France (or anywhere else), so it would ''not'' be appropriate to add {{tlx|other uses|Paris}} to the top of the [[Paris, Virginia]] article. Also, do not use this template to link to an article that is not a disambiguation page; instead, one of the other [[WP:HATNOTE|hatnote templates]] listed below may be more appropriate for that purpose. | |
− | + | {{Hatnote templates}} | |
− | |||
− | |||
− | + | == TemplateData == | |
+ | {{TemplateData header}} | ||
+ | <templatedata> | ||
+ | { | ||
+ | "description": "This template creates a note directing the reader to the disambiguation page related to the page it is included in.", | ||
+ | "params": { | ||
+ | "1": { | ||
+ | "label": "Target page", | ||
+ | "description": "Use this parameter to direct the user to a disambiguation page with a different title.", | ||
+ | "type": "wiki-page-name" | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </templatedata> | ||
− | < | + | <includeonly>{{sandbox other|| |
− | + | [[Category:Hatnote templates]] | |
− | + | [[Category:Disambiguation and redirection templates]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}</includeonly> | }}</includeonly> |
Edição atual tal como às 08h17min de 18 de dezembro de 2019
Esta é uma subpágina de documentação para a Predefinição:Other uses. Ela contém informações sobre o seu uso, categorias, bem como todo o conteúdo que não faz parte da predefinição original. |
Esta predefinição usa Lua: |
This template creates a note directing the reader to the disambiguation page related to the page it is included in. The page to which is directed, can be a page whose name is the name of the current page with "(disambiguation)" appended to it. Or you can direct the user to a disambiguation page with a different title, by supplying it as an argument to the template.
Índice
Usage
{{Other uses}}
results in
{{Other uses|Target (disambiguation)}}
results in
When to use this template
This template can be used on pages with an ambiguous title to direct readers that intended to read a similarly named article, to a disambiguation page. Please link to a page that includes the word "(disambiguation)" in the title (if one exists), as illustrated in the example above and suggested here.
When not to use this template
Do not use this template on an article with an unambiguous title; for example, a reader who searches specifically for "Paris, Virginia" is not likely to have been looking for an article about a city in France (or anywhere else), so it would not be appropriate to add {{other uses|Paris}}
to the top of the Paris, Virginia article. Also, do not use this template to link to an article that is not a disambiguation page; instead, one of the other hatnote templates listed below may be more appropriate for that purpose.
Predefinição:Hatnote templates
TemplateData
Cabeçalho de TemplateData
As informações a seguir (editar) são definidas com TemplateData. Isso possibilita o seu uso pelo Editor Visual e por outras ferramentas. Predefinição:Other uses/dados
This template creates a note directing the reader to the disambiguation page related to the page it is included in.
Parâmetro | Descrição | Tipo | Estado | |
---|---|---|---|---|
Target page | 1 | Use this parameter to direct the user to a disambiguation page with a different title. | Página | opcional |