Pergi ke kandungan

Templat:Otheruses templates

Daripada Wikipedia, ensiklopedia bebas.
This is the template documentation box for all of the Otheruses templates.

Such templates are not necessarily intended to be viewed directly. If they use variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.


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).

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|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}}:

Note: {{about}} will produce the same result.
  • {{otheruses1|USE}} (disambiguous)
Note: {{about|USE}} will produce the same result.
Note: adds "(disambiguation)" to whatever is input as the PAGE.
Note: {{about|||PAGE}} (with two empty parameters) will produce the same result.
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)
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}})
Note: {{about|USE||PAGE}} (with one empty parameter) will produce the same result.
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}}.

For example: {{For|OTHER TOPIC|PAGE}} becomes {{About||OTHER TOPIC|PAGE}}.

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.

Untuk OTHER TOPIC, sila lihat CUSTOM TEXT.

See also
[sunting sumber]
Note: use when OTHER TOPIC is related to that of the current article and already contains a self-explanatory parenthetical.

Other people

[sunting sumber]

For other persons named Otheruses templates, see Otheruses templates (disambiguation).

For other persons named USE, see USE (disambiguation).

For other persons named USE, see PAGE.

Untuk orang-orang lain yang mempunyai nama yang sama, lihat PAGE.

Other places

[sunting sumber]

Templat:Otherplaces

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).

TEXT

For example: {{dablink|For other senses of this term, see [[etc...]]}} . (Note: adaptable, but fails to standardize hatnotes).
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|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}}:

Note: {{about}} will produce the same result.
  • {{otheruses1|USE}} (disambiguous)
Note: {{about|USE}} will produce the same result.
Note: adds "(disambiguation)" to whatever is input as the PAGE.
Note: {{about|||PAGE}} (with two empty parameters) will produce the same result.
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)
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}})
Note: {{about|USE||PAGE}} (with one empty parameter) will produce the same result.
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}}.

For example: {{For|OTHER TOPIC|PAGE}} becomes {{About||OTHER TOPIC|PAGE}}.

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.

Untuk OTHER TOPIC, sila lihat CUSTOM TEXT.

See also
[sunting sumber]
Note: use when OTHER TOPIC is related to that of the current article and already contains a self-explanatory parenthetical.

Other people

[sunting sumber]

For other persons named Otheruses templates, see Otheruses templates (disambiguation).

For other persons named USE, see USE (disambiguation).

For other persons named USE, see PAGE.

Untuk orang-orang lain yang mempunyai nama yang sama, lihat PAGE.

Other places

[sunting sumber]

Templat:Otherplaces

Gelung templat dikesan: Templat:Otherplaces2

Templat:Otherplaces3

Otherhurricaneuses

[sunting sumber]

For articles on storms:

Otherusesof (topic)

[sunting sumber]

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).

"Not to be confused with..."

[sunting sumber]

Do not use subst: with these templates, as that will prevent:

  1. propagating changes as the template is modified; and the
  2. 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:

  1. 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.
  2. 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.
  3. 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.

Templat:Otherplaces3

Otherhurricaneuses

[sunting sumber]

For articles on storms:

Otherusesof (topic)

[sunting sumber]

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).

"Not to be confused with..."

[sunting sumber]

Do not use subst: with these templates, as that will prevent:

  1. propagating changes as the template is modified; and the
  2. 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:

  1. 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.
  2. 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.
  3. 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.
Pendokumenan templat[cipta]