Templat:Bedakan/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
←Membuat halaman berisi '{{Documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{High-use| 61169 }} {{Lua|Module:Distinguish}} This template renders a WP:HAT|hatnot...'
Tag: Suntingan visualeditor-wikitext
(Tidak ada perbedaan)

Revisi per 26 Mei 2019 08.44

This template renders a hatnote intended to inform the reader of the existence of one or more articles whose title(s) bears a strong resemblance to the current article. This template is used in the cases where the distinction between the titles is so obvious that the reader needs no further explanation. For cases where an explanation is required, use {{For}} and {{About}}.


Usage

{{Bedakan|Foo}}

{{Bedakan|Foo|Bar|Gaz}}

{{Bedakan|text = custom [[text]], and [[foo]], a common example term}}

When to use

This hatnote is generally used when readers have misspelled their desired title, and the error would be apparent by simply displaying the alternative term without further explanation. For example, consider a reader looking for the punctuation mark who instead ends up at coma:

Coma

Readers are presumed to recognize that they actually wanted comma by merely looking at the spelling, and this case generally requires no further explanation.

However, {{Bedakan}} is not suitable when the difference is not readily apparent without additional details. Consider a reader looking for a game they believe is named Reversi:

Reversi

In the above hatnote, it is not generally apparent how the suggested Reversis is different from Reversi, which is also a game.

Reversi

Using {{about}} instead of {{Bedakan}}, the difference is explained upfront without requiring the reader to click through and differentiate the terms on their own.

{{Bedakan}} should only be used when the ambiguity exists for a portion of the readership that is sufficient to warrant a hatnote. Care should be taken to avoid trivial uses.

This hatnote can also be used to Bedakan from multiple articles:

TemplateData

Ini dokumennya TemplateData untuk template ini digunakan oleh VisualEditor dan alat lainnya; lihat laporan penggunaan parameter bulanan untuk templat ini.

TemplateData untuk Bedakan

A hatnote used when there is an ambiguity in an article's title.

Parameter templat

Templat ini lebih menyukai format parameter dalam satu baris.

ParameterKeteranganJenisStatus
Name of article1

Name of article that you want to link to

Nama halamandisarankan
Optional additional article to link2

Optional additional article to link

Nama halamanopsional
Optional additional article to link3

Optional additional article to link

Nama halamanopsional
Optional additional article to link4

Optional additional article to link

Nama halamanopsional
Custom texttext

Custom message in wikitext; e.g. "[[foo]] and [[bar]]" produces "Not to be confused with [[foo]] and [[bar]]."

Kataopsional
Self referenceselfref

If set, marks note as being a self reference, to not be shown when content is reused

Booleanopsional

Redirects

Templat:Hatnote templates