Otheruses/doc
From Joomla! Documentation
< Template:Otheruses
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Otheruses.
- {{otheruses}} results in
- For other uses, see Otheruses/doc (disambiguation).
The example above demonstrates that this template creates a note directing the reader to the disambiguation page related to the page it is included in, a page whose name is the name of the current page with "(disambiguation)" appended to it. There are many similar templates.
Otheruses templates[edit]
To discuss these templates as a whole, please see Project talk:Disambiguation If you wish to discuss general wordings, rather than the wording or formatting of this specific template, don't post here, or else what you say will probably go unnoticed.
For a summary page on how to use these templates, see Project:Otheruses templates (example usage).
Generic[edit]
{{dablink|TEXT}}
:TEXT
- For example, {{dablink|For other senses of this term, see [[etc...]]}}. This template is adaptable, but fails to standardize hatnotes.
{{selfref|TEXT}}
:
- TEXT
- (Similar to dablink, but used for messages that wouldn't make sense on printed copies or (localized) mirrors of this wiki, such as a link in the main article namespace that links to one in the Joomla! Documentation Namespaces. See Project:Avoid self-references for more details.)
Otheruses[edit]
Note: All of these templates are special cases of {{Otheruses4}}
{{otheruses}}
(disambiguous):For other uses, see Otheruses/doc (disambiguation).{{otheruses1|USE}}
(disambiguous):This article is about USE. For other uses, see Otheruses/doc (disambiguation).{{This|USE|PAGE}}
:This article is about USE. For other uses, see PAGE.{{otheruses2|PAGE}}
(disambiguous):For other uses, see PAGE (disambiguation).{{otheruses3|PAGE}}
:For other uses, see PAGE.{{otheruses4|USE1}}
(disambiguous):This article is about USE1. For other uses, see Otheruses/doc (disambiguation).{{otheruses4|USE1|USE2}}
:This article is about USE1. For USE2, see Otheruses/doc (disambiguation).{{otheruses4|USE1|USE2|PAGE2}}
:This article is about USE1. For USE2, see PAGE2.{{About||USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
(alias and empty first param):
{{otheruses4|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
(fully specified):
- When there are as many other uses as in the last example, it would be more appropriate to create a disambiguation page. Like all templates, it works with or without an initial capital letter; in addition, the word 'otheruses4' can be also replaced by 'about'.
{{This|PAGE1}}
(disambiguous):This article is about PAGE1. For other uses, see Otheruses/doc (disambiguation).{{This|PAGE1|PAGE2}}
(disambiguous):This article is about PAGE1. For other uses, see PAGE2.{{otheruses5}}
:For other uses, see Otheruses/doc (disambiguation) and Otheruses/docs (disambiguation).(this is for when there are both a singular and plural disambiguation page; only works when the plural is formed simply by adding "s" at the end.){{otheruses6|PAGE1|PAGE2}}
: (for when there are two disambiguation pages, such as noun and adjective, or singular and irregular plural; there are only two parameters, they are required, and they do not auto-add "(disambiguation)")
For (other topic)[edit]
Note: {{otheruses4}} ({{about}} is a convenient redirect) can often be used instead of {{for}}; you just have to add an empty first parameter (e.g. {{For|OTHER TOPIC|PAGE}}
becomes {{About||OTHER TOPIC|PAGE}}
{{For}}
(disambiguous):For {{{1}}}, see Otheruses/doc (disambiguation).{{For|OTHER TOPIC}}
(disambiguous):For OTHER TOPIC, see Otheruses/doc (disambiguation).{{For|OTHER TOPIC|PAGE}}
:For OTHER TOPIC, see PAGE.{{For|OTHER TOPIC|PAGE1|PAGE2}}
:{{For2|OTHER TOPIC|LINK TO [[PAGE1]] AND [[PAGE2]]}}
:
Otherusesof (topic)[edit]
{{otherusesof}} (disambiguous)
:For other uses of "Otheruses/doc", see Otheruses/doc (disambiguation).{{otherusesof|TOPIC}}
:For other uses of "TOPIC", see TOPIC (disambiguation).{{otherusesof|TOPIC|PAGE}}
:For other uses of "TOPIC", see PAGE.
Redirect[edit]
Some examples:
{{Redirect|REDIRECT}}
(disambiguous):REDIRECT redirects here. For other uses, see REDIRECT (disambiguation).{{Redirect|REDIRECT||PAGE}}
:REDIRECT redirects here. For other uses, see PAGE.{{Redirect|REDIRECT|USE|PAGE}}
:REDIRECT redirects here. For USE, see PAGE.{{Redirect2|REDIRECT1|REDIRECT2}}
(disambiguous):"REDIRECT1" and "REDIRECT2" redirect here. For other uses, see REDIRECT1 (disambiguation).{{Redirect3|REDIRECT|TEXT}}
:"REDIRECT" redirects here. TEXT.{{Redirect4|REDIRECT1|REDIRECT2}}
(disambiguous):"REDIRECT1" and "REDIRECT2" redirect here. For other uses, see REDIRECT1 (disambiguation) and REDIRECT2 (disambiguation).{{Redirect6|REDIRECT|USE1|PAGE1|USE2|PAGE2}}
:{{Redirect6|REDIRECT|USE1|PAGE1||}}
:"REDIRECT" redirects here. For USE1, see PAGE1. For other uses, see REDIRECT (disambiguation).
"Not to be confused with"...[edit]
{{Distinguish|PAGE}}
:Not to be confused with PAGE.{{Distinguish2|TEXT}}
:Not to be confused with TEXT.
Notes[edit]
Do not use subst: with these templates, as that will prevent:
- propagating changes as the template is modified; and
- the What links here listing.
DO NOT EDIT THESE TEMPLATES UNLESS YOU KNOW WHAT YOU ARE DOING
These templates may be used in thousands of articles, and changing the syntax could therefore break thousands of articles. If you wish to edit a disambiguation template first ask yourself:
- Is there already another template that will do this job? We have lots of disambiguation templates already, see Category:Disambiguation and redirection templates.
- Do I really need a template for this? Will it ever get used on any other articles, or should I just use {{dablink}} instead?
- Do I know what will happen if I change the parameters around? Will it break existing uses of the template, and if so, can I fix them all?