Template:Other uses templates - documentation
Otheruses templates
To discuss these templates as a whole, please see: Disambiguation (talk). 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 the example page here.
Generic
{{Dablink|TEXT}}
TEXT
- For example:
{{dablink|For other senses of this term, see [[etc...]]}}
. (Note: adaptable, but fails to standardize hatnotes).
{{Selfref|TEXT}}
{{#invoke:Hatnote|hatnote}}
- Note: similar in usage to the Dablink template, but used for hatnotes that don't make sense on mirrors of Wikipedia, such as linking an article from the main namespace to the Wikipedia namespace. (See: Avoid self-references for more details).
Other uses
About
{{About}} is the main template for noting other uses.
Note. When used in main namespace, the word "page" in the following hatnotes is replaced by "article".
{{About|USE1}}
{{#invoke:Hatnote|hatnote}}
{{About|USE1||PAGE2}}
(When the disambiguation page has a different name — Note the empty second parameter)
{{#invoke:Hatnote|hatnote}}
{{About|USE1|USE2|PAGE2}}
(When there is only one other use)
{{#invoke:Hatnote|hatnote}}
{{About|USE1|USE2|PAGE2|and|PAGE3}}
(Two pages for USE2)
{{#invoke:Hatnote|hatnote}}
{{About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
(When there are up to five other uses — You should generally create a disambiguation page at this point)
{{#invoke:Hatnote|hatnote}}
{{About|USE1|USE2|PAGE2|USE3|PAGE3|other uses}}
(When there are several standard other uses and also a disambiguation page with default name — Note that the last page name is not specified)
{{#invoke:Hatnote|hatnote}}
{{About|USE1|USE2|PAGE2|USE3|PAGE3|other uses|PAGE4}}
(When there are several standard other uses and also a disambiguation page with non-default name)
{{#invoke:Hatnote|hatnote}}
{{About|USE1|USE2|PAGE2|USE3|PAGE3|other uses|PAGE4|and}}
{{#invoke:Hatnote|hatnote}}
{{About||USE2|PAGE2|USE3|PAGE3|other uses}}
(When you don't need to state the focus of this article/page — Note the empty first parameter)
{{#invoke:Hatnote|hatnote}}
Other uses
When such a wordy hatnote as {{About}} is not needed, {{Other uses}} is often useful.
{{Other uses}}
(disambiguous)
{{#invoke:Hatnote|hatnote}}
{{Other uses|PAGE1}}
{{#invoke:Hatnote|hatnote}}
Variations
There are, historically, a whole family of "other uses" templates for specific cases. {{About}} is the standard hatnote for "other uses" and many of them can be specified using the {{about}} template. However, the individual templates may be easier to use in certain contexts.
Here are the variations and (when appropriate) the equivalents using the {{About}}, {{Other uses}} or {{For}} templates.
{{Other uses2|PAGE1}}
(disambiguous) {{#invoke:Hatnote|hatnote}}
- Note: adds "(disambiguation)" to whatever is input as the PAGE1.
- Note:
{{Other uses|PAGE1 (disambiguation)}}
produces the same result.
{{Other uses5}}
(disambiguous)
- Note: use when there is both a singular and plural disambiguation page. (Only works when the plural is formed by simply adding a "s" at the end)
{{Other uses6|PAGE1|PAGE2}}
- Note: use when there are two disambiguation pages, such as a noun and an adjective or a singular and irregular plural. There are only two parameters, at least one parameter is required.
- Note:
{{for||PAGE1|PAGE2}}
and{{about|||PAGE1|and|PAGE2}}
produce the same result.
{{Other uses-section|USE}}
(disambiguous)
- Note: same as {{about}}, except that it says "section", instead of "article" or "page".
For
{{For}} can be used instead of {{About}} so as not to display: This page is about USE1. but still specify as specific other use. This effect can also be achieved by using an empty first parameter in {{About}} as in:
- For example:
{{For|OTHER TOPIC|PAGE1}}
is the same as{{About||OTHER TOPIC|PAGE1}}
(note empty first parameter).
However, it is somewhat more clear when using the {{For}} template, since the word "about" does not appear in the statement.
{{For|OTHER TOPIC}}
(disambiguous) {{#invoke:Hatnote|hatnote}}{{For|OTHER TOPIC|PAGE1}}
{{#invoke:Hatnote|hatnote}}{{For|OTHER TOPIC|PAGE1|PAGE2}}
{{#invoke:Hatnote|hatnote}}{{For||PAGE1|PAGE2}}
{{#invoke:Hatnote|hatnote}}
Variations
As with {{Other uses}}, there are a whole family of "for" templates. For example {{For3}} appends the word the in its mention of the second parameter, then generating a link, using either the second or (if present) the third parameter, as a parenthetical. Additionally, {{The}} is simply a rendering of {{For3}}, without bothering with the optional first argument.
{{For2|OTHER TOPIC|CUSTOM TEXT}}
{{#invoke:Hatnote|hatnote}}{{For3||DIFFERENT MEANING}}
For the DIFFERENT MEANING, see Other uses templates - documentation (DIFFERENT MEANING).{{For3|OTHER TOPIC|DIFFERENT MEANING}}
"OTHER TOPIC" redirects here. For the DIFFERENT MEANING, see OTHER TOPIC (DIFFERENT MEANING).{{For3|OTHER TOPIC|DIFFERENT MEANING|CUSTOM PARENTHETICAL}}
"OTHER TOPIC" redirects here. For the DIFFERENT MEANING, see OTHER TOPIC (CUSTOM PARENTHETICAL).{{The|DIFFERENT MEANING}}
For the DIFFERENT MEANING, see Other uses templates - documentation (DIFFERENT MEANING).
{{The|DIFFERENT MEANING|CUSTOM PARENTHETICAL}}
For the DIFFERENT MEANING, see Other uses templates - documentation (CUSTOM PARENTHETICAL).
See also
{{See also|OTHER TOPIC}}
{{#invoke:see also|seealso}}
- Note: use when OTHER TOPIC is related to that of the current article and already contains a self-explanatory parenthetical.
{{see also cat|OTHER TOPIC}}
See also Category:OTHER TOPIC.{{Cat see also|THIS|THAT|THE OTHER}}
Other people
{{Other persons}}
(disambiguous)For other people named Other uses templates - documentation, see Other uses templates - documentation (disambiguation).{{Other persons|NAME}}
(disambiguous)For other people named NAME, see NAME (disambiguation).{{Other persons|NAME|PAGE}}
For other people named NAME, see PAGE.{{Other persons3|NAME|PAGE|named=titled}}
For other people titled NAME, see PAGE.
- Note: defaults to "named" as in {{Other persons}}, exists for options like "nicknamed", "known as", etc.
{{Other people 2|PAGE}}
{{#invoke:Hatnote|hatnote}}{{Other people3}}
(disambiguous) {{#invoke:Hatnote|hatnote}}
- Note: same as {{Other persons}} except uses "people" instead of "persons"
{{Other people3|PERSON1}}
(disambiguous) {{#invoke:Hatnote|hatnote}}{{Other people3|PERSON1|PERSON2}}
(disambiguous) {{#invoke:Hatnote|hatnote}}{{Other people3|PERSON1|PERSON2|PAGE2}}
{{#invoke:Hatnote|hatnote}}{{Other people3|PERSON1||PAGE2}}
{{#invoke:Hatnote|hatnote}}
Other places
{{Other places}}
, analogous to{{Other uses}}
(disambiguous)
{{#invoke:Hatnote|hatnote}}
{{Other places|PAGE}}
, analogous to{{Other uses2}}
(disambiguous)
{{#invoke:Hatnote|hatnote}}
{{Other places3|PAGE}}
, analogous to{{Other uses}}
{{#invoke:Hatnote|hatnote}}
Other hurricane uses
For articles on storms:
{{Other hurricane uses}}
(disambiguous) {{#invoke:Hatnote|hatnote}}{{Other hurricane uses|DISAMBIG}}
{{#invoke:Hatnote|hatnote}}{{Other hurricane uses|DISAMBIG|THIS}}
{{#invoke:Hatnote|hatnote}}{{Other hurricane uses||THIS}}
{{#invoke:Hatnote|hatnote}}
Other uses of (topic)
{{Other uses of}}
(disambiguous) {{#invoke:Hatnote|hatnote}}{{Other uses of|TOPIC}}
(disambiguous) {{#invoke:Hatnote|hatnote}}{{Other uses of|TOPIC|PAGE1}}
{{#invoke:Hatnote|hatnote}}
Redirect
{{Redirect|REDIRECT}}
(disambiguous)
{{#invoke:redirect hatnote|redirect}}
{{Redirect|REDIRECT||PAGE1}}
{{#invoke:redirect hatnote|redirect}}
{{Redirect|REDIRECT|USE1|PAGE1}}
{{#invoke:redirect hatnote|redirect}}
{{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2}}
{{#invoke:redirect hatnote|redirect}}
{{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}}
{{#invoke:redirect hatnote|redirect}}
{{Redirect|REDIRECT|USE1|PAGE1|and|PAGE2}}
{{#invoke:redirect hatnote|redirect}}
{{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|and|PAGE3}}
{{#invoke:redirect hatnote|redirect}}
Variations
{{Redirect-acronym|TERM|PAGE}}
{{Redirect2|REDIRECT1|REDIRECT2}}
(disambiguous)
{{#invoke:Hatnote|hatnote}}
{{Redirect2|REDIRECT1|REDIRECT2|USE|PAGE1}}
{{#invoke:Hatnote|hatnote}}
{{Redirect2|REDIRECT1|REDIRECT2|USE1|PAGE1|USE2|PAGE2}}
{{#invoke:Hatnote|hatnote}}
{{Redirect2|REDIRECT1|REDIRECT2|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}}
{{#invoke:Hatnote|hatnote}}
{{Redirect3|REDIRECT|TEXT}}
{{#invoke:Hatnote|hatnote}}
{{Redirect4|REDIRECT1|REDIRECT2}}
(disambiguous)
{{#invoke:Hatnote|hatnote}}
{{Redirect6|REDIRECT|USE1|PAGE1}}
(disambiguous)
{{#invoke:Hatnote|hatnote}}
{{Redirect7|"REDIRECT1", "REDIRECT2", and "REDIRECT3"|USE1|PAGE1|USE2|PAGE2}}
{{#invoke:Hatnote|hatnote}}
- Note: If the number of pages redirecting to the target page is two, {{Redirect2}} can be used instead. If the number is three and there are three corresponding disambiguation pages, {{Redirect10}} can be used.
{{Redirect10|REDIRECT1|REDIRECT2|REDIRECT3}}
(disambiguous)
{{#invoke:Hatnote|hatnote}}
{{Redirect11|REDIRECT1|REDIRECT2|REDIRECT3|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}}
Distinguish: "Not to be confused with..."
{{Distinguish|PAGE1}}
{{#invoke:Hatnote|hatnote}}{{Distinguish|PAGE1|PAGE2|PAGE3|PAGE4}}
{{#invoke:Hatnote|hatnote}}{{Distinguish2|TEXT}}
{{#invoke:Hatnote|hatnote}}
Redirect-distinguish
{{Redirect-distinguish|REDIRECT|PAGE1}}
{{#invoke:Hatnote|hatnote}}{{Redirect-distinguish|REDIRECT|PAGE1|PAGE2|PAGE3|PAGE4}}
{{#invoke:Hatnote|hatnote}}{{Redirect-distinguish2|REDIRECT|TEXT}}
{{#invoke:Hatnote|hatnote}}
Notes
Do not use subst: with these templates, as that will prevent:
- propagating changes as the template is modified; and the
- What links here (WLH) listing.
Please do not edit these templates, unless you know what you are doing.
These templates are used in thousands of articles; therefore, changing the syntax could break thousands of articles. If you wish to create or edit a disambiguation or redirection template, first ask yourself the following questions:
- Is there another template already, that will do this job? Since many disambiguation and redirection templates have already been created, first check: Category:Disambiguation and redirection templates.
- Do I really need a new template for this? Will it likely be used on any other articles or should I just use {{dablink}} instead? Before creating a new template, see: Template namespace guideline.
- If I change the parameters around on an existing template, do I know what the result will be? Will it break existing uses of the template and if so, can I fix all of the errors? Before making any changes, see: Template test cases.
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}