Template:For/doc
From Wikipedia, the free encyclopedia
Contents |
[edit] Otheruses templates
To discuss these templates as a whole, please see Wikipedia 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 Wikipedia:Otheruses templates (example usage).
[edit] Generic
{{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 mirrors of Wikipedia, such as a link in the main article namespace that links to one in the Wikipedia namespace. See Wikipedia:Avoid self-references for more details.)
[edit] Otheruses
{{About}} is the main template for giving other uses; it redirects to {{otheruses4}}.
{{otheruses4|USE1}}
(disambiguous):This page is about USE1. For other uses, see For/doc (disambiguation).{{otheruses4|USE1|USE2}}
:This page is about USE1. For USE2, see For/doc (disambiguation).{{otheruses4|USE1|USE2|PAGE2}}
:This page is about USE1. For USE2, see PAGE2.{{About||USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
(alias and empty first param):
-
For USE2, see PAGE2. For USE3, see PAGE3. For USE4, see PAGE4. For USE5, see PAGE5.
{{otheruses4|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
(fully specified):
-
This page is about USE1. For USE2, see PAGE2. For USE3, see PAGE3. For USE4, see PAGE4. For USE5, see PAGE5.
[edit] Variations
There are also variations of {{about}}. These serve the same purpose, and are marginally easier to use for each individual purpose, but overall, it is complicated to have so many different templates; it could be argued that the time saved using them is lost as other editors have to familiarise themselves with them.
All of these templates are special cases of {{about}}.
{{otheruses}}
:For other uses, see For/doc (disambiguation).
Note: {{about}}
will produce the same result.
{{otheruses1|USE}}
:This page is about USE. For other uses, see For/doc (disambiguation).
Note: {{about|USE}}
will produce the same result.
{{otheruses2|PAGE}}
:For other uses, see PAGE (disambiguation).
Note: this simply adds "(disambiguation)" to what you input as PAGE.
{{otheruses3|PAGE}}
:For other uses, see PAGE.
Note: {{about|||PAGE}}
will produce the same result - note the two empty parameters.
{{otheruses5}}
:For other uses, see For/doc (disambiguation) and For/docs (disambiguation).
Note: this is for when there is both a singular and plural disambiguation page; it only works when the plural is formed simply by adding "s" at the end.
{{otheruses6|PAGE1|PAGE2}}
:For other uses, see PAGE1 and PAGE2.
Note: this is for when there are two disambiguation pages, such as noun and adjective, or singular and irregular plural. There are only two parameters and at least one is required.
Note: this cannot be recreated with {{about}} - only with {{dablink}} or {{for}}.
Note: {{about|USE||PAGE}} will produce the same result - note the empty parameter.
[edit] For (other topic)
{{for}} (and {{for2}}) can be used instead of {{about}} to not include the first part - "This article is about USE". However, this can also simply be achieved with an empty first parameter in {{about}}.
For example, {{For|OTHER TOPIC|PAGE}}
becomes {{About||OTHER TOPIC|PAGE}}
.
{{for3}} is somewhat different, appending the word the in its mention of the second parameter, then generates a link using either the second or (if present) the third parameter as a parenthetical. {{the}} is simply a rendering of {{for3}} without bothering with the optional first argument.
{{For}}
(disambiguous):For {{{1}}}, see For/doc (disambiguation).{{For|OTHER TOPIC}}
(disambiguous):For OTHER TOPIC, see For/doc (disambiguation).{{For|OTHER TOPIC|PAGE}}
:For OTHER TOPIC, see PAGE.{{For|OTHER TOPIC|PAGE1|PAGE2}}
:For OTHER TOPIC, see PAGE1 and PAGE2.{{For2|OTHER TOPIC|CUSTOM TEXT}}
:For OTHER TOPIC, see CUSTOM TEXT.{{For3||DIFFERENT MEANING|}}
: For the DIFFERENT MEANING, see For/doc (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 For/doc (DIFFERENT MEANING).
{{The|DIFFERENT MEANING|CUSTOM PARENTHETICAL}}
: For the DIFFERENT MEANING, see For/doc (CUSTOM PARENTHETICAL).
[edit] Other people
{{otherpersons}}
(disambiguous):For other persons named For/doc, see For/doc (disambiguation).{{otherpersons|USE}}
(disambiguous):For other persons named USE, see USE (disambiguation).{{otherpersons|USE|PAGE}}
:For other persons named USE, see PAGE.{{otherpeople2|PAGE}}
:For other persons of the same name, see PAGE.{{otherpeople3|USE1|USE2}}
:This article is about USE1. For USE2, see For/doc (disambiguation).{{otherpeople4|USE1|USE2|PAGE}}
:This article is about USE1. For USE2, see PAGE.
[edit] Other places
- {{Otherplaces}}, analogous to {{Otheruses}}
- {{Otherplaces2}}, analogous to {{Otheruses2}}
- {{Otherplaces3}}, analogous to {{Otheruses3}}
[edit] Otherhurricaneuses
- For articles on storms.
{{otherhurricaneuses}}
(disambiguous):For other storms of the same name, see For/doc (disambiguation).{{otherhurricaneuses|DISAMBIG}}
:For other storms of the same name, see DISAMBIG.{{otherhurricaneuses|DISAMBIG|THIS}}
:This page is about THIS. For other storms of the same name, see DISAMBIG.{{otherhurricaneuses3|USE1|USE2|MAIN}}
:This article is about the USE1. For the USE2, see the main article, MAIN. For other storms of the same name, see For/doc (disambiguation).
[edit] Otherusesof (topic)
{{otherusesof}} (disambiguous)
:For other uses of "For/doc", see For/doc (disambiguation).{{otherusesof|TOPIC}}
:For other uses of "TOPIC", see TOPIC (disambiguation).{{otherusesof|TOPIC|PAGE}}
:For other uses of "TOPIC", see PAGE.
[edit] Redirect
{{Redirectstohere|REDIRECT notice}}
(To Document dependent link[s], Template also has a hidden mode, (Set "|hide=true") which enables it to document a section title is a redirect page target section, and so should not be changed.); Some examples:
REDIRECT redirects here.,
REDIRECT, Another name and A Foreign name all redirect to here.
— with a little care, bolding the titled redirects can substitute for awkward phrases involving multiple name forms of the main article title; particularly those of the "also known as varieties"...
Gustavus II Adolf, Gustav Adolphus II and Gustavus Vasa II of Sweden all redirect to here.
{{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}}
:"REDIRECT" redirects here. For USE1, see PAGE1. For USE2, see PAGE2.{{Redirect6|REDIRECT|USE1|PAGE1||}}
[edit] "Not to be confused with"...
{{Distinguish|PAGE}}
:Not to be confused with PAGE.{{Distinguish2|TEXT}}
:Not to be confused with TEXT.
[edit] 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 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?