ผลต่างระหว่างรุ่นของ "แม่แบบ:Otheruses templates"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Wizard (คุย | ส่วนร่วม)
หน้าใหม่: <noinclude>{{ombox |image=40px |style=background:#f9f9b7; |text='''This is a template documentation page.'''<b…
(ไม่แตกต่าง)

รุ่นแก้ไขเมื่อ 18:25, 25 กุมภาพันธ์ 2552

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: Otheruses templates (example usage).

Generic

  • {{Dablink|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

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

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

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.

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

Other people

Other places

แม่แบบ:Otherplaces2

แม่แบบ:Otherplaces3

Otherhurricaneuses

For articles on storms:

Otherusesof (topic)

Redirect

"Not to be confused with..."

Notes

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.
Documentation icon คู่มือการใช้งานแม่แบบ[สร้าง]