Templat:Harvnb

Dari Wikipedia Bahasa Melayu, ensiklopedia bebas.

[[#CITEREF|]]

The template documentation below is transcluded from Templat:Harvnb/doc [edit]

[Sunting] Usage

{{Harvard citation no brackets | ''Last name of author(s)'' | ''Year'' | ''Location in the text'' }}

Alternative to using Location, you may also use the following parameters:

p = page pp = pages

Notes
  • The abbreviation Harvnb may be used.
  • The first parameter is the author's last name.
  • The second parameter is the year of publication.
  • The third parameter is the location of the cited material within the reference. This parameter is optional.
  • The parameter p is an optional page parameter (e.g., "{{ Harvnb | Smith | 2006 | p=25 }}" yields Smith 2006, p. 25.
  • The parameter pp is an optional page range parameter (e.g., "{{ Harvnb | Smith | 2006 | pp=25-26 }}" yields Smith 2006, pp. 25-26.

If Ref=none, then no hyperlink is created.

[Sunting] Examples

  • {{Harvard citation no brackets | Smith | 2006 | loc=ch. 100}}
  • {{Harvnb | Smith | 2006 | p=25}}
  • {{Harvnb | Smith | 2006 | pp=25-26}}
  • {{Harvnb | Smith | 2006 | pp=25-26 | Ref=none}}
  • {{Harvnb | Smith | Jones | 2006 | p=25}}
  • {{Harvnb | Smith | Jones | Brown | 2006 | p=25}}
  • {{Harvnb | Smith | Jones | Brown | Black | 2006 | p=25}}

yields:

[Sunting] Purpose

There are limited situations in which it is undesirable to surround a Harvard citation by brackets. An example may be where the citation has been formatted as an inline citation using cite.php. See also Template:Harvard citation.


Komen Templat ini mengandungi satu atau lebih parameter yang tidak wajib: sila lihat halaman perbualan untuk perinciannya.

Templat ini menggunakan sebilangan ciri sintaksis templat yang rumit dan esoterik, iaitu sintaksis yang difahami oleh beberapa orang sahaja. Jangan cuba mengubahkannya kecuali anda pasti bahawa anda memahami selok-beloknya dan anda juga bersedia untuk membaiki sebarang kerosakan sampingan yang tertimbul jika keputusan anda tidak seperti yang dijangka. Sebarang uji kajian harus dibuat dalam templat kotak pasir atau halaman pengguna sendiri.

Templat ini telah dikenal pasti sebagai templat berisiko tinggi. Oleh itu, templat ini telah dilindungi daripada sebarang penyuntingan bagi tempoh masa yang tidak terbatas. Perubahan boleh dibincangkan di halaman perbincangan, atau anda boleh meminta perlindungan dinyahkan.
Bahasa lain