Templat:Otheruses templates
Otheruses templates
[sunting sumber]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: Otheruses templates (example usage).
Generic
[sunting sumber]{{Dablink|TEXT}}
TEXT
- For example:
{{dablink|For other senses of this term, see [[etc...]]}}
. (Note: adaptable, but fails to standardize hatnotes).
{{Selfref|TEXT}}
- 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).
Otheruses
[sunting sumber]Note: when used in the main namespace, the word "page" is replaced by "article" in the following hatnotes.
{{About}} is the main template for giving other uses; it redirects to {{otheruses4}}.
{{otheruses4|USE1}}
(disambiguous){{otheruses4|USE1|USE2}}
(disambiguous){{otheruses4|USE1|USE2|PAGE2}}
{{About||USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
(alias and empty first parameter)
{{otheruses4|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
(fully specified)
Variations
[sunting sumber]Serving the same purpose are the variations of {{about}}. These are marginally easier to use for each individual purpose; however, because having so many different templates complicates things, it could be argued that the time saved by using them is lost by the time required to learn about them.
The following templates are variations of {{about}}:
{{otheruses}}
(disambiguous)
- Note:
will produce the same result.{{about}}
{{otheruses1|USE}}
(disambiguous)
- Note:
will produce the same result.{{about|USE}}
{{otheruses2|PAGE}}
(disambiguous) Templat:Otheruses2
- Note: adds "(disambiguation)" to whatever is input as the PAGE.
{{otheruses3|PAGE}}
- Note:
(with two empty parameters) will produce the same result.{{about|||PAGE}}
{{otheruses5}}
(disambiguous) Templat:Otheruses5
- 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)
{{otheruses6|PAGE1|PAGE2}}
Templat:Otheruses6
- 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. (This usage cannot be recreated with
{{about}}
, only with{{dablink}}
or{{for}}
)
{{This|USE|PAGE}}
Templat:This
- Note:
{{about|USE||PAGE}}
(with one empty parameter) will produce the same result.
{{Template:Otheruses-section}}
(disambiguous) Templat:Otheruses-section
- Note: same as {{Otheruses4}}, except that it says "section", instead of "article" or "page" and indents only as far as {{Main}} and other section quasi-hatnotes.
For (other topic)
[sunting sumber]Both {{for}} (and {{for2}}) can be used, instead of {{about}}, to not include the first part - "This article is about USE". However, this effect can also be achieved with an empty first parameter in {{about}}.
Also, {{for3}} is somewhat different, appending 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.
{{For}}
(disambiguous){{For|OTHER TOPIC}}
(disambiguous){{For|OTHER TOPIC|PAGE}}
{{For|OTHER TOPIC|PAGE1|PAGE2}}
{{For2|OTHER TOPIC|CUSTOM TEXT}}
Untuk OTHER TOPIC, sila lihat CUSTOM TEXT.
{{For3||DIFFERENT MEANING|}}
Templat:For3{{For3|OTHER TOPIC|DIFFERENT MEANING}}
Templat:For3{{For3|OTHER TOPIC|DIFFERENT MEANING|CUSTOM PARENTHETICAL}}
Templat:For3{{The|DIFFERENT MEANING}}
Templat:The{{The|DIFFERENT MEANING|CUSTOM PARENTHETICAL}}
Templat:The
See also
[sunting sumber]{{See also|OTHER TOPIC}}
- Note: use when OTHER TOPIC is related to that of the current article and already contains a self-explanatory parenthetical.
Other people
[sunting sumber]{{otherpersons}}
(disambiguous)
For other persons named Otheruses templates, see Otheruses templates (disambiguation).
{{otherpersons|USE}}
(disambiguous)
For other persons named USE, see USE (disambiguation).
{{otherpersons|USE|PAGE}}
For other persons named USE, see PAGE.
{{otherpeople2|PAGE}}
Untuk orang-orang lain yang mempunyai nama yang sama, lihat PAGE.
{{otherpeople3|USE1|USE2}}
(disambiguous) Templat:Otherpeople3{{otherpeople4|USE1|USE2|PAGE}}
Templat:Otherpeople4
Other places
[sunting sumber]- {{Otherplaces}}, analogous to {{Otheruses}} (disambiguous)
- {{Otherplaces2}}, analogous to {{Otheruses2}} (disambiguous)
Otheruses templates
[sunting sumber]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: Otheruses templates (example usage).
Generic
[sunting sumber]{{Dablink|TEXT}}
TEXT
- For example:
{{dablink|For other senses of this term, see [[etc...]]}}
. (Note: adaptable, but fails to standardize hatnotes).
{{Selfref|TEXT}}
- 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).
Otheruses
[sunting sumber]Note: when used in the main namespace, the word "page" is replaced by "article" in the following hatnotes.
{{About}} is the main template for giving other uses; it redirects to {{otheruses4}}.
{{otheruses4|USE1}}
(disambiguous){{otheruses4|USE1|USE2}}
(disambiguous){{otheruses4|USE1|USE2|PAGE2}}
{{About||USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
(alias and empty first parameter)
{{otheruses4|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
(fully specified)
Variations
[sunting sumber]Serving the same purpose are the variations of {{about}}. These are marginally easier to use for each individual purpose; however, because having so many different templates complicates things, it could be argued that the time saved by using them is lost by the time required to learn about them.
The following templates are variations of {{about}}:
{{otheruses}}
(disambiguous)
- Note:
will produce the same result.{{about}}
{{otheruses1|USE}}
(disambiguous)
- Note:
will produce the same result.{{about|USE}}
{{otheruses2|PAGE}}
(disambiguous) Templat:Otheruses2
- Note: adds "(disambiguation)" to whatever is input as the PAGE.
{{otheruses3|PAGE}}
- Note:
(with two empty parameters) will produce the same result.{{about|||PAGE}}
{{otheruses5}}
(disambiguous) Templat:Otheruses5
- 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)
{{otheruses6|PAGE1|PAGE2}}
Templat:Otheruses6
- 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. (This usage cannot be recreated with
{{about}}
, only with{{dablink}}
or{{for}}
)
{{This|USE|PAGE}}
Templat:This
- Note:
{{about|USE||PAGE}}
(with one empty parameter) will produce the same result.
{{Template:Otheruses-section}}
(disambiguous) Templat:Otheruses-section
- Note: same as {{Otheruses4}}, except that it says "section", instead of "article" or "page" and indents only as far as {{Main}} and other section quasi-hatnotes.
For (other topic)
[sunting sumber]Both {{for}} (and {{for2}}) can be used, instead of {{about}}, to not include the first part - "This article is about USE". However, this effect can also be achieved with an empty first parameter in {{about}}.
Also, {{for3}} is somewhat different, appending 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.
{{For}}
(disambiguous){{For|OTHER TOPIC}}
(disambiguous){{For|OTHER TOPIC|PAGE}}
{{For|OTHER TOPIC|PAGE1|PAGE2}}
{{For2|OTHER TOPIC|CUSTOM TEXT}}
Untuk OTHER TOPIC, sila lihat CUSTOM TEXT.
{{For3||DIFFERENT MEANING|}}
Templat:For3{{For3|OTHER TOPIC|DIFFERENT MEANING}}
Templat:For3{{For3|OTHER TOPIC|DIFFERENT MEANING|CUSTOM PARENTHETICAL}}
Templat:For3{{The|DIFFERENT MEANING}}
Templat:The{{The|DIFFERENT MEANING|CUSTOM PARENTHETICAL}}
Templat:The
See also
[sunting sumber]{{See also|OTHER TOPIC}}
- Note: use when OTHER TOPIC is related to that of the current article and already contains a self-explanatory parenthetical.
Other people
[sunting sumber]{{otherpersons}}
(disambiguous)
For other persons named Otheruses templates, see Otheruses templates (disambiguation).
{{otherpersons|USE}}
(disambiguous)
For other persons named USE, see USE (disambiguation).
{{otherpersons|USE|PAGE}}
For other persons named USE, see PAGE.
{{otherpeople2|PAGE}}
Untuk orang-orang lain yang mempunyai nama yang sama, lihat PAGE.
{{otherpeople3|USE1|USE2}}
(disambiguous) Templat:Otherpeople3{{otherpeople4|USE1|USE2|PAGE}}
Templat:Otherpeople4
Other places
[sunting sumber]- {{Otherplaces}}, analogous to {{Otheruses}} (disambiguous)
- {{Otherplaces2}}, analogous to {{Otheruses2}} (disambiguous)
Gelung templat dikesan: Templat:Otherplaces2
- {{Otherplaces3}}, analogous to {{Otheruses3}}
Otherhurricaneuses
[sunting sumber]For articles on storms:
{{otherhurricaneuses}}
(disambiguous) Templat:Otherhurricaneuses{{otherhurricaneuses|DISAMBIG}}
Templat:Otherhurricaneuses{{otherhurricaneuses|DISAMBIG|THIS}}
Templat:Otherhurricaneuses{{otherhurricaneuses3|USE1|USE2|MAIN}}
(disambiguous) Templat:Otherhurricaneuses3
Otherusesof (topic)
[sunting sumber]{{otherusesof}}
(disambiguous)
For other uses of "Otheruses templates", see Otheruses templates (disambiguation).
{{otherusesof|TOPIC}}
(disambiguous)
For other uses of "TOPIC", see TOPIC (disambiguation).
{{otherusesof|TOPIC|PAGE}}
For other uses of "TOPIC", see PAGE.
Redirect
[sunting sumber]{{Redirect|REDIRECT}}
(disambiguous){{Redirect|REDIRECT||PAGE}}
{{Redirect|REDIRECT|USE|PAGE}}
{{Redirect2|REDIRECT1|REDIRECT2}}
(disambiguous){{Redirect2|REDIRECT1|REDIRECT2|USE|PAGE}}
{{Redirect3|REDIRECT|TEXT}}
{{Redirect4|REDIRECT1|REDIRECT2}}
(disambiguous)
"REDIRECT1" dan "REDIRECT2" beralih ke sini. Untuk kegunaan lain, sila lihat REDIRECT1 (nyahkekaburan) dan REDIRECT2 (nyahkekaburan).
{{Redirect5|REDIRECT|USE1|PAGE1|USE2|PAGE2}}
{{Redirect5|REDIRECT|USE1|PAGE1||PAGE2}}
{{Redirect6|REDIRECT|USE1|PAGE1||}}
(disambiguous) Templat:Redirect6{{Redirect8|REDIRECT1|REDIRECT2}}
Templat:Redirect8
"Not to be confused with..."
[sunting sumber]{{Distinguish|PAGE}}
{{Distinguish2|TEXT}}
Notes
[sunting sumber]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.
- {{Otherplaces3}}, analogous to {{Otheruses3}}
Otherhurricaneuses
[sunting sumber]For articles on storms:
{{otherhurricaneuses}}
(disambiguous) Templat:Otherhurricaneuses{{otherhurricaneuses|DISAMBIG}}
Templat:Otherhurricaneuses{{otherhurricaneuses|DISAMBIG|THIS}}
Templat:Otherhurricaneuses{{otherhurricaneuses3|USE1|USE2|MAIN}}
(disambiguous) Templat:Otherhurricaneuses3
Otherusesof (topic)
[sunting sumber]{{otherusesof}}
(disambiguous)
For other uses of "Otheruses templates", see Otheruses templates (disambiguation).
{{otherusesof|TOPIC}}
(disambiguous)
For other uses of "TOPIC", see TOPIC (disambiguation).
{{otherusesof|TOPIC|PAGE}}
For other uses of "TOPIC", see PAGE.
Redirect
[sunting sumber]{{Redirect|REDIRECT}}
(disambiguous){{Redirect|REDIRECT||PAGE}}
{{Redirect|REDIRECT|USE|PAGE}}
{{Redirect2|REDIRECT1|REDIRECT2}}
(disambiguous){{Redirect2|REDIRECT1|REDIRECT2|USE|PAGE}}
{{Redirect3|REDIRECT|TEXT}}
{{Redirect4|REDIRECT1|REDIRECT2}}
(disambiguous)
"REDIRECT1" dan "REDIRECT2" beralih ke sini. Untuk kegunaan lain, sila lihat REDIRECT1 (nyahkekaburan) dan REDIRECT2 (nyahkekaburan).
{{Redirect5|REDIRECT|USE1|PAGE1|USE2|PAGE2}}
{{Redirect5|REDIRECT|USE1|PAGE1||PAGE2}}
{{Redirect6|REDIRECT|USE1|PAGE1||}}
(disambiguous) Templat:Redirect6{{Redirect8|REDIRECT1|REDIRECT2}}
Templat:Redirect8
"Not to be confused with..."
[sunting sumber]{{Distinguish|PAGE}}
{{Distinguish2|TEXT}}
Notes
[sunting sumber]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.
Para penyunting boleh membuat percubaan di laman kotak pasir (cipta | cermin) dan kes ujian (cipta) templat ini. Sila letakkan kategori di sublaman /doc. Sublaman templat ini. |