This is a documentation subpage for Vorlage:For. It contains usage information, categories and other content that is not part of the original vorlage page. |
(The above was produced by: {{for|the template to create a collapsible table|Template:Hidden}}
.)
Hatnote templates[Quelltext bearbeiten]
For the full editing guideline on hatnotes, see Wikipedia:Hatnote.
Generic[Quelltext bearbeiten]
{{Hatnote|CUSTOM TEXT}}
→CUSTOM TEXT
{{Hatnote|For other senses of this term, see [[SITENAME]]}}
→For other senses of this term, see SITENAME
If a hatnote link leads to a disambiguation page without providing the "(disambiguation)" parameter, this parameter must be added manually. This indicates that the disambiguation link is intentional, and not an error (see WP:INTDABLINK for details):
{{Hatnote|For other senses of this term, see [[Page (disambiguation){{!}}Page]]}}
→For other senses of this term, see Page
More pages on the same topic ("Further information ...")[Quelltext bearbeiten]
"Main article: …"[Quelltext bearbeiten]
{{Main}}
is used to make summary style explicit, when used in a summary section for which there is also a separate article on the subject:
"Further information: …"[Quelltext bearbeiten]
Other uses of the same title[Quelltext bearbeiten]
"This page is about … For other uses …"[Quelltext bearbeiten]
{{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|WLAN}}
→This page is about WLAN. For other uses, see For/doc (disambiguation).{{About|Mail||WLAN}}
(When the disambiguation page has a different name – Note the empty second parameter) →This page is about Mail. For other uses, see WLAN.{{About|USE1|USE2|WLAN}}
(When there is only one other use) →This page is about USE1. For USE2, see WLAN.{{About|USE1|USE2|WLAN|and|Mail}}
(Two pages for USE2) →{{About|USE1|USE2|WLAN#SUBSECTION{{!}}eduroam}}
(Using the {{!}} magic word to give the link a different title) →This page is about USE1. For USE2, see eduroam.{{About|USE1|USE2|WLAN|USE3|Mail|USE4|Netzwerkspeicher|USE5|MSOPB}}
(When there are up to four other uses – You should generally create a disambiguation page at this point) →This page is about USE1. For USE2, see WLAN. For USE3, see Mail. For USE4, see Netzwerkspeicher. For USE5, see MSOPB.{{About|USE1|USE2|WLAN|USE3|Mail|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) →This page is about USE1. For USE2, see WLAN. For USE3, see Mail. For other uses, see For/doc (disambiguation).{{About|USE1|USE2|WLAN|USE3|Mail|other uses|Netzwerkspeicher}}
(When there are several standard other uses and also a disambiguation page with non-default name) →This page is about USE1. For USE2, see WLAN. For USE3, see Mail. For other uses, see Netzwerkspeicher.{{About|USE1|USE2|WLAN|USE3|Mail|other uses|Netzwerkspeicher|and}}
→This page is about USE1. For USE2, see WLAN. For USE3, see Mail. For other uses, see Netzwerkspeicher and For/doc (disambiguation).{{About||USE2|WLAN|USE3|Mail|other uses}}
(When you don't need to state the focus of this article/page – Note the empty first parameter) →{{About|||WLAN|and|Mail}}
→
- Note:
{{for||WLAN|Mail}}
produces the same result.
{{About|USE1|section=yes}}
→This section is about USE1. For other uses, see For/doc (disambiguation).
- Note: this hatnote says "section", instead of "article" or "page".
"For …, see …"[Quelltext bearbeiten]
{{For}} can be used instead of {{About}} so as not to display: This page is about USE1. but still specify a 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 the empty first parameter).
However, it is somewhat clearer when using the {{For}} template, since the word "about" does not appear in the statement.
{{For|OTHER TOPIC}}
→For OTHER TOPIC, see For/doc (disambiguation).{{For|OTHER TOPIC|WLAN}}
→For OTHER TOPIC, see WLAN.{{For|OTHER TOPIC|WLAN|Mail}}
→{{For|OTHER TOPIC|WLAN|Mail|Netzwerkspeicher}}
→{{For||WLAN|Mail}}
→
"… redirects here. For other uses, see …"[Quelltext bearbeiten]
{{Redirect|REDIRECT}}
→"REDIRECT" redirects here. For other uses, see REDIRECT (disambiguation).{{Redirect|REDIRECT||WLAN}}
→"REDIRECT" redirects here. For other uses, see WLAN.{{Redirect|REDIRECT|USE1|WLAN}}
→"REDIRECT" redirects here. For USE1, see WLAN.{{Redirect|REDIRECT|USE1|WLAN|USE2|Mail}}
→{{Redirect|REDIRECT|USE1|WLAN|USE2|Mail|USE3|Netzwerkspeicher}}
→{{Redirect|REDIRECT|USE1|WLAN|and|Mail}}
→{{Redirect|REDIRECT|USE1|WLAN|USE2|Mail|and|Netzwerkspeicher}}
→
- To specify the text following "redirects here.":
{{Redirect3|REDIRECT|TEXT}}
→"REDIRECT" redirects here. TEXT.
Distinguish[Quelltext bearbeiten]
"Not to be confused with …"[Quelltext bearbeiten]
{{Distinguish|WLAN}}
→Not to be confused with WLAN.{{Distinguish|WLAN|Mail|Netzwerkspeicher|MSOPB}}
→
Wikipedia self-reference[Quelltext bearbeiten]
{{Selfref|ANYTEXT}}
→ANYTEXT
Notes[Quelltext bearbeiten]
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:
- Do I really need a new template for this? Will it likely be used on any other articles or should I just use {{Hatnote}} instead? Before creating a new template, see the 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 sandbox and test cases.