Templat:Cite news/kotak pasir
Ini ialah laman kotak pasir templat untuk Templat:Cite news (beza). |
Templat ini digunakan untuk menyatakan petikan sumber dalam Wikipedia dan digunakan khususnya untuk sumber berita.
Kegunaan
Kesemua nama parameter mestilah dalam huruf kecil.
Gunakan salinan kosong. Jangan lupa meletakkan aksara "|" (paip) di antara setiap ruangan. Hapuskan mana-mana ruangan yang tidak digunakan bagi mengelakkan keserabutan dalam tetingkap sunting.
Versi penuh (salin dan tampal teks berikut dan buang parameter yang tidak diperlukan) | ||
---|---|---|
| ||
Ruangan kerap digunakan (boleh juga digunakan yang ini bagi mengurangkan pemadaman parameter) (Yang ini menganggap petikan dalam bahasa Melayu, berformat HTML dan dicapai pada hari ini) | ||
|
- SEMUA parameter, format menegak
{{cite news | first = | last = | authorlink = | author = | coauthors = | title = | url = | format = | work = | publisher = | id = | pages = | page = | date = | accessdate = | language = | quote = | archiveurl = | archivedate = }}
- title (tajuk) diwajibkan, yang selebihnya adalah sebaliknya. Ingat bahawa tajuk mesti ditaip dalam satu baris sahaja agar hiperrangkai dipaparkan dengan betul. Jangan sertakan tanda petikan, huruf condong atau apa-apa pemformatan lain.
- author: Pengarang.
- last boleh digunakan bersama first untuk menghasilkan
last, first
- authorlink boleh digunakan bersama author atau dengan last & first untuk memautkan rencana Wikipedia yang bersesuaian. Tidak boleh digunakan dengan URL.
- coauthors: Membenarkan pengarang tambahan.
- last boleh digunakan bersama first untuk menghasilkan
- url: Memautkan bahan berita jika terdapat dalam talian (ambil perhatian bahawa penggunaan ini bukan untuk pautan ke tapak web utama karya penerbit, sebaliknya untuk pautan ke salinan bahan yang dinyatakan dalam "title").
- format: Format, cth. PDF. Jangan nyatakan jika HTML (yang dianggap secara lalai).
- Tetapkan sebagai 'bayaran diperlukan' jika capaian percuma tidak lagi boleh didapati.
- Tetapkan sebagai 'Cetakan Semula' jika versi asal yang penuh digunakan tetapi tidak dihoskan oleh penerbit asal.
- format: Format, cth. PDF. Jangan nyatakan jika HTML (yang dianggap secara lalai).
- work: Seperti ruang, subruang isu atau karya berbilang bahagian seperti tajuk majalah. Jangan condongkan.
- publisher: Syarikat atau pertubuhan yang menerbitkan sumber berita.
- id: Pengecam seperti
{{ISSN|0028-0836}}
— ingat, jika parameter ini digunakan, anda mesti menyatakan jenis pengecam, bukan sekadar memberi nombor. - date: Tarikh penerbitan. Format TTTT-BB-HH ISO 8601 disarankan. Jika keseluruhan tarikh diketahui, sepatutnya diwikipautkan untuk membolehkan keutamaan pengguna tarikh.
- page atau pages: Halaman(-halaman) mana yang didapati rencana tersebut. page meletakkan singkatan "p." sebelum nombor; pages meletakkan pula "pp." Gunakan salah satu parameter sahaja. Jika nombor dimasukkan ke dalam kedua-duanya, pages mengatasi page.
- accessdate: Tarikh bahan dicapai. Gunakan format TTTT-BB-HH ISO 8601. Janga wikipaut tarikh.
- language: Bahasa penulisan bahan. Jika bahasa Melayu (lalai), jangan gunakan parameter ini.
- quote: Petikan yang berkaitan.
- archiveurl: URL lokasi arkib bahan tersebut (memerlukan archivedate); parameter ini adalah untuk arkib seperti yang disimpan di internetarchive.org; bagi keluaran kebelakangan dan yang serupa dengannya yang ada dalam fail di tapak penerbit, gunakan parameter "url".
- archivedate: Tarikh pengarkiban bahan (memerlukan archiveurl), dalam format TTTT-BB-HH ISO 8601, cth. 2006-02-17. Jangan diwikipautkan; tarikh akan dipautkan secara sendiri.
Contoh
- Pengunaan first dan last untuk mengenal pasti penulis, dan id untuk membekalkan ISSN
- {{cite news
| first=John
| last=Doe
| title=News
| url=http://www.example.org/
| work=Encyclopedia of Things
| publisher=News co.
| pages= 37–39
| date = 2005-11-21
| id={{ISSN|0028-0836}}
| accessdate=2005-12-11
}}
- Penggunaan author yang menggantikan first dan last
- {{cite news
| author=Staff writer
| title=News
| url=http://www.example.org/News.pdf
| format=PDF
| publisher=News co.
| pages= 37–39
| date=2005-11-21
| accessdate=2005-12-11
}}
- Penggunaan authorlink untuk memautkan rencana penulis
- {{cite news
| first=John
| last=Doe
| authorlink=John Doe
| title=News
| url=http://www.example.org/background
| format=Reprint
| publisher=News co.
| date=2005-11-21
| accessdate=2005-12-11
}}
- Penggunaan format
- {{cite news
| title=News
| url=http://www.example.org/Archive/News
| format=Fee required
| publisher=News co.
| date=2005-11-21
| accessdate=2005-12-11
}}
- Penggunaan page untuk mengenal pasti rujukan mengikut halaman
- {{cite news
| first=John
| last=Doe
| title=FooBar
| page=1
}}→ Doe, John. "FooBar". m/s. 1.
- Pemetikan ringkas
- {{cite news
| title=FooBar
| page=1
}}→ "FooBar". m/s. 1.
- Penggunaan archiveurl dan archivedate untuk merujuk kepada bahan yang sudah tiada tetapi masih tersedia di tapak arkib
- {{cite news
| author=Staff writer
| title=News
| url=http://www.example.org/News.pdf
| format=PDF
| publisher=News co.
| pages= 37–39
| date=2005-11-21
| accessdate=2005-12-11
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
| archivedate=2007-06-28
}}
COinS
Templat ini menghasilkan COinS metadata; lihat COinS di Wikipedia untuk maklumat latar belakang.
TemplateData
TemplateData untuk Cite news
This template formats a citation to a news article in print, video, audio or web using the provided source information (e.g. author, publication, date) and various formatting options.
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
URL | url URL | The URL of the online location where the text of the publication can be found. Requires schemes of the type "http://..." or maybe even the protocol relative scheme "//..."
| Rentetan | disarankan |
Source title | title | The title of the source page on the website; displays in quotes | Rentetan | diperlukan |
Last name | last last1 author author1 authors | The surname of the author; don't wikilink, use 'authorlink'. | Tidak diketahui | disarankan |
First name | first first1 | Given or first name, middle names, or initials of the author; don't wikilink, use 'authorlink'. | Tidak diketahui | disarankan |
Source date | date | Full date of the source; do not wikilink | Rentetan | disarankan |
Newspaper | newspaper | Name of the newspaper; displays after title | Rentetan | disarankan |
URL access date | access-date accessdate | The full date when the original URL was accessed; do not wikilink | Rentetan | disarankan |
Archive URL | archive-url archiveurl | The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archivedate' | Rentetan | disarankan |
Archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink | Rentetan | disarankan |
Dead URL | dead-url deadurl | If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live | Rentetan | disarankan |
Publisher | publisher | Name of the publisher; displays after title | Rentetan | pilihan |
Work | work | Name of the source periodical; may be wikilinked; displays in italics; alias of 'newspaper', 'journal', 'magazine', 'periodical' | Rentetan | disarankan |
Agency | agency | The news agency (wire service) that provided the content; examples: Associated Press, Reuters, Agence France-Presse | Rentetan | pilihan |
Last name 2 | last2 author2 | The surname of the second author; don't wikilink, use 'authorlink2'. | Tidak diketahui | pilihan |
First name 2 | first2 | Given or first name, middle names, or initials of the second author; don't wikilink. | Tidak diketahui | pilihan |
Others | others | Used to record other contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith' | Rentetan | pilihan |
Month of publication | month | Name of the month of publication; do not wikilink; use 'date' instead, if day of month is also known | Rentetan | pilihan |
Year of publication | year | Year of the source being referenced; use 'date' instead, if month and day are also known | Rentetan | pilihan |
Editor last name | editor-last | The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-last', 'editor', and 'editors' | Tidak diketahui | pilihan |
Editor first name | editor-first | Given or first name, middle names, or initials of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-first' | Tidak diketahui | pilihan |
Editor link | editor-link | Title of existing Wikipedia article about the editor; can suffix with a numeral to add additional editors; alias of 'editor1-link' | Nama laman | pilihan |
Issue | issue number | Issue identifier when the source is part of a series that is published periodically | Rentetan | pilihan |
Department | department | Department within the periodical | Rentetan | pilihan |
Location of publication | location | Geographical place of publication; usually not wikilinked; omit when the publication name includes place; alias of 'place' | Rentetan | pilihan |
Place of publication | publication-place | Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at' | Rentetan | pilihan |
Publication date | publication-date | Date of publication when different from the date the work was written; do not wikilink | Rentetan | pilihan |
Edition | edition | When the publication has more than one edition; for example: '2nd', 'Revised' etc.; suffixed with ' ed.' | Rentetan | pilihan |
Volume | volume | For one publication published in several volumes | Rentetan | pilihan |
Page | page | Page in the source that supports the content; displays after 'p.' | Rentetan | pilihan |
Pages | pages | Pages in the source that support the content (not an indication of the number of pages in the source; displays after 'pp.' | Rentetan | pilihan |
No pp | nopp | Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover') | Rentetan | pilihan |
At | at | May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient | Rentetan | pilihan |
Language | language | The language in which the source is written, if not English; use the full language name; do not use icons or templates | Rentetan | pilihan |
Script title | script-title | For titles in languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc). Prefix with two-character ISO639-1 language code followed by a colon. For Japanese use: |script-title=ja:... | Rentetan | pilihan |
Translated title | trans-title trans_title | An English language title, if the source cited is in a foreign language; 'language' is recommended | Rentetan | pilihan |
Type | type | Additional information about the media type of the source; format in sentence case | Rentetan | pilihan |
Format | format | Format of the work referred to by 'url'; examples: PDF, DOC, XLS; do not specify HTML | Rentetan | pilihan |
arXiv identifier | arxiv | An identifier for arXive electronic preprints of scientific papers | Rentetan | pilihan |
ASIN | asin | Amazon Standard Identification Number; 10 characters | Rentetan | pilihan |
ASIN TLD | asin-tld | ASIN top-level domain for Amazon sites other than the US | Rentetan | pilihan |
Bibcode | bibcode | Bibliographic Reference Code (REFCODE); 19 characters | Rentetan | pilihan |
DOI | doi | Digital Object Identifier; begins with '10.' | Rentetan | pilihan |
DOI broken date | doi-broken-date | The date that the DOI was determined to be broken | Rentetan | pilihan |
ISBN | isbn | International Standard Book Number; use the 13-digit ISBN where possible | Rentetan | pilihan |
ISSN | issn | International Standard Serial Number; 8 characters; may be split into two groups of four using a hyphen | Rentetan | pilihan |
jfm code | jfm | Jahrbuch über die Fortschritte der Mathematik classification code | Rentetan | pilihan |
JSTOR | jstor | JSTOR identifier | Rentetan | pilihan |
LCCN | lccn | Library of Congress Control Number | Rentetan | pilihan |
MR | mr | Mathematical Reviews identifier | Rentetan | pilihan |
OCLC | oclc | Online Computer Library Center number | Rentetan | pilihan |
OL | ol | Open Library identifier | Rentetan | pilihan |
OSTI | osti | Office of Scientific and Technical Information identifier | Rentetan | pilihan |
PMC | pmc | PubMed Center article number | Rentetan | pilihan |
PMID | pmid | PubMed Unique Identifier | Rentetan | pilihan |
RFC | rfc | Request for Comments number | Rentetan | pilihan |
SSRN | ssrn | Social Science Research Network | Rentetan | pilihan |
Zbl | zbl | Zentralblatt MATH journal identifier | Rentetan | pilihan |
id | id | A unique identifier used where none of the specialized ones are applicable | Rentetan | pilihan |
Quote | quote | Relevant text quoted from the source; displays last, enclosed in quotes; needs to include terminating punctuation | Rentetan | pilihan |
Ref | ref | An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv and sfn templates | Rentetan | pilihan |
Postscript | postscript | The closing punctuation for the citation; ignored if 'quote' is defined; to suppress use reserved keyword 'none'
| Rentetan | pilihan |
Registration | registration | For online sources that require registration, set to 'yes' (or 'y', or 'true'); superseded by subscription if both are set | Rentetan | pilihan |
Subscription | subscription | For online sources that require subscription, set to 'yes' (or 'y', or 'true'); supersedes registration if both are set | Rentetan | pilihan |
Last name 3 | last3 author3 | The surname of the third author; don't wikilink, use 'authorlink3'. | Tidak diketahui | pilihan |
First name 3 | first3 | Given or first name, middle names, or initials of the third author; don't wikilink. | Tidak diketahui | pilihan |
Last name 4 | last4 author4 | The surname of the fourth author; don't wikilink, use 'authorlink4'. | Tidak diketahui | pilihan |
First name 4 | first4 | Given or first name, middle names, or initials of the fourth author; don't wikilink. | Tidak diketahui | pilihan |
Last name 5 | last5 author5 | The surname of the fifth author; don't wikilink, use 'authorlink5'. | Tidak diketahui | pilihan |
First name 5 | first5 | Given or first name, middle names, or initials of the fifth author; don't wikilink. | Tidak diketahui | pilihan |
Last name 6 | last6 author6 | The surname of the sixth author; don't wikilink, use 'authorlink6'. | Tidak diketahui | pilihan |
First name 6 | first6 | Given or first name, middle names, or initials of the sixth author; don't wikilink. | Tidak diketahui | pilihan |
Last name 7 | last7 author7 | The surname of the seventh author; don't wikilink, use 'authorlink7'. | Tidak diketahui | pilihan |
First name 7 | first7 | Given or first name, middle names, or initials of the seventh author; don't wikilink. | Tidak diketahui | pilihan |
Last name 8 | last8 author8 | The surname of the eighth author; don't wikilink, use 'authorlink8'. | Tidak diketahui | pilihan |
First name 8 | first8 | Given or first name, middle names, or initials of the eighth author; don't wikilink. | Tidak diketahui | pilihan |
Last name 9 | last9 author9 | The surname of the ninth author; don't wikilink, use 'authorlink9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author. | Tidak diketahui | pilihan |
First name 9 | first9 | Given or first name, middle names, or initials of the ninth author; don't wikilink. | Tidak diketahui | pilihan |
Author mask | author-mask | Replaces the name of the first author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | Rentetan | pilihan |
Author name separator | author-name-separator | Changes the separator between last and first names; defaults to a comma and space; a space must be encoded as  
| Rentetan | pilihan |
Author separator | author-separator | Changes the separator between authors; defaults to a semicolon and space; a space must be encoded as  
| Rentetan | pilihan |
Display authors | display-authors displayauthors | number of authors to display before 'et al.' is used; | Angka | pilihan |
Author link | author-link authorlink authorlink1 author-link1 author1-link | Title of existing Wikipedia article about the author; can suffix with a numeral to add additional authors | Nama laman | pilihan |
Author link 2 | author-link2 authorlink2 | Title of existing Wikipedia article about the second author. (Up to nine authors can be listed, 3-9 are toward the end of the parameter list) | Nama laman | pilihan |
Lay URL | lay-url layurl | URL link to a non-technical summary or review of the source; alias of 'laysummary' | Rentetan | pilihan |
Lay source | lay-source laysource | Name of the source of the laysummary; displays in italics, preceded by an en dash | Rentetan | pilihan |
Lay date | lay-date laydate | Date of the summary; displays in parentheses | Rentetan | pilihan |
Author link 3 | author-link3 authorlink3 author3-link | Title of existing Wikipedia article about the third author. | Nama laman | pilihan |
Author link 4 | author-link4 authorlink4 author4-link | Title of existing Wikipedia article about the fourth author. | Nama laman | pilihan |
Author link 5 | author-link5 authorlink5 author5-link | Title of existing Wikipedia article about the fifth author. | Nama laman | pilihan |
Author link 6 | author-link6 authorlink6 author6-link | Title of existing Wikipedia article about the sixth author. | Nama laman | pilihan |
Author link 7 | author-link7 authorlink7 author7-link | Title of existing Wikipedia article about the seventh author. | Nama laman | pilihan |
Author link 8 | author-link8 authorlink8 author8-link | Title of existing Wikipedia article about the eighth author. | Nama laman | pilihan |
Author link 9 | author-link9 authorlink9 author9-link | Title of existing Wikipedia article about the ninth author. | Nama laman | pilihan |
Last author ampersand | last-author-amp lastauthoramp | When set to any value, changes the separator between the last two names of the author list to 'space ampersand space' | Rentetan | pilihan |
Original year | orig-year origyear | Original year of publication; provide specifics | Rentetan | pilihan |
via | via | Identify the aggregator of the resource that provided the digital version (usually a database provider), when it differs from the publisher (e.g., for The Wikipedia Library)
| Tidak diketahui | disarankan |
Lihat juga
- Wikipedia:Cite sources: Style guide
- Wikipedia:Template messages/Sources of articles/Generic citations: Related templates
- Wikipedia:WikiProject Wikicite
- Template:Cite web
- Template:Cite book
Templat ini menggunakan ciri-ciri sintaks templat yang rumit.
Anda digalakkan untuk membiasakan diri dengan persediaan dan fungsi penghurai sebelum menyunting templat ini. Jika suntingan anda menyebabkan masalah yang tidak diduga, sila undurkannya dengan segera kerana templat ini mungkin digunakan di sebilangan besar halaman. Ingat bahawa anda boleh menjalankan uji kaji dan perlu menguji semua penambahbaikan, sama ada di kotak pasir umum atau laman pengguna anda sebelum melakukan sebarang perubahan. (lihat sejarah) |