Bản mẫu:Chú thích tweet
@{{{user}}} ({{{date}}}). “{{{title}}}” (Tweet) – qua Twitter.
Tweets are usually unacceptable as sources. Tweets and other self-published material may be acceptable if the conditions specified at WP:SPS or WP:TWITTER are met. For further information, see the Wikipedia:Verifiability policy and the Wikipedia:Identifying reliable sources guideline. |
Bản mẫu này là một Bản mẫu đóng gói Văn phong Chú thích 1 dựa trên {{Cite web}}. Thảo luận tập trung (centralise) về Văn phong Chú thích 1 tại Văn phong Chú thích 1. |
Bản mẫu này sử dụng Lua: |
Một bản mẫu chú thích các tweet được đăng trên Twitter.
Cách sử dụng
[sửa mã nguồn]Bản mẫu:Citation Style documentation/cách sử dụng
|
Bản mẫu:Citation Style documentation/cách sử dụng đầy đủ
{{Chú thích tweet |author= (or |last= and |first=) |author-link= |user= |number= |date= |title= |script-title= |trans-title= |language= |retweet= |location= |access-date= |link= |url-status= |archive-url= |archive-date= |ref=}}
|}
Ghi chú: When known, the author's real name should be specified in the |author=
parameter (or |last=
and |first=
). If their real name is not known, then the tweet is probably not an acceptable usage of a self-published source.
Cách sử dụng {{sfn}} và {{harvid}}
[sửa mã nguồn]To use this template with shortened footnotes (e.g. the {{sfn}} template), add |ref=
with {{harvid}} in the parameter value, like this:
{{Chú thích tweet |ref={{harvid|Porck|2017}} |last=Porck |first=Thijs |user=thijsporck |number=889205416596471811 |date=23 July 2017 |title=Spotted in Marvel's Doctor Strange: Sutton Hoo Helmet replica! |access-date=5 December 2017}}
This reference would be cited as {{sfn|Porck|2017}}
.
Tham số |date=
tùy chọn
[sửa mã nguồn]Unlike most citation templates, the |date=
parameter is optional. This is because the date can be calculated directly from the Tweet's ID using Mô đun:TwitterSnowflake (wrapped with Bản mẫu:TwitterSnowflake).
If the |date=
parameter is off by more than one day from what the calculated date is, the template will output an error. This can be fixed by removing or correcting the date parameter.
Các ví dụ
[sửa mã nguồn]{{Chú thích tweet |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians!}}
- @Pigsonthewing. “This is an example tweet. Hello, Wikipedians!” (Tweet) – qua Twitter.
{{Chú thích tweet |author=Andy Mabbett |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians!}}
- Andy Mabbett [@Pigsonthewing]. “This is an example tweet. Hello, Wikipedians!” (Tweet) – qua Twitter.
{{Chú thích tweet |author=Andy Mabbett |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians! |retweet=Wikimedia Foundation [Wikimedia]}}
- Andy Mabbett [@Pigsonthewing]. “This is an example tweet. Hello, Wikipedians!” (Tweet). Retweet của Wikimedia Foundation [Wikimedia] – qua Twitter.
If the author has a Wikipedia article, use of |author-link=
is recommended:
{{Chú thích tweet |author=Elon Musk |author-link=Elon Musk |user=elonmusk |number=743097337782763521 |title=Looks like thrust was low on 1 of 3 landing engines. High g landings v sensitive to all engines operating at max.}}
- Elon Musk [@elonmusk]. “Looks like thrust was low on 1 of 3 landing engines. High g landings v sensitive to all engines operating at max” (Tweet) – qua Twitter.
Note that if |last=
is used, |author=
is ignored:
{{Chú thích tweet |last=Mabbett |first=Andy |author=Redundant Author Name Ignored |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians! |retweet=Wikimedia Foundation [Wikimedia]}}
- Mabbett, Andy [@Pigsonthewing]. “This is an example tweet. Hello, Wikipedians!” (Tweet). Retweet của Wikimedia Foundation [Wikimedia] – qua Twitter.
This tweet was posted before November 4, 2010, so |date=
is necessary:
{{Chú thích tweet |user=jack |number=20 |title=just setting up my twttr |date=Mar 21, 2006 }}
- Jack Dorsey [@jack] (21 tháng 3 năm 2006). “just setting up my twttr” (Tweet) – qua Twitter.
Phát hiện lỗi
[sửa mã nguồn]- The parameters
|user=
,|number=
, and|title=
are required. If omitted or left blank, errors will be reported. For example:{{Chú thích tweet |title=I'm an incomplete citation!}}
- @. “I'm an incomplete citation!” (Tweet) – qua Twitter.Quản lý CS1: tên số: danh sách tác giả (liên kết)
- The tweet URL depends on
|user=
and|number=
; if either or both are missing, the URL defaults to https://twitter.com/ - The tweet date depends on
|number=
for Tweets posted after November 4, 2010, if the given date parameter is off by more than a day from the calculated date, an error is displayed - Templates are checked for
|ref=harv
, which is an error. The|ref=
parameter must use {{harvid}} in the value. - The template also checks for parameters that are unsupported (e.g. misspellings of parameter names).
- Errors are tracked in Thể loại:Bản mẫu chú thích tweet có lỗi
Dữ liệu bản mẫu
[sửa mã nguồn]Dữ liệu bản mẫu cho Chú thích tweet
A template for citing tweets posted on Twitter
Tham số | Miêu tả | Kiểu | Trạng thái | |
---|---|---|---|---|
number | number | Numerical ID of the tweet | Số | bắt buộc |
username | user | Twitter account name, without the @ | Chuỗi dài | bắt buộc |
tweet | title | Partial or entire content of the tweet, optionally including hashtags (#), at signs (@), and links. Note: double quote marks (") should be replaced with single quote marks (') because the entire title will display surrounded by double quotes. | Chuỗi dài | bắt buộc |
author | author | Author's real name, if known. If not known, then the tweet is probably not an acceptable usage of a self-published source (see [[WP:SPS]]) | Không rõ | khuyên dùng |
author's article | author-link authorlink | Title of existing Wikipedia article about the author | Không rõ | tùy chọn |
retweeted by | retweet | The reliable source who retweeted the tweet, if the original tweeter is not anyone particularly notable. May be wikilinked. | Không rõ | tùy chọn |
date | date | date of the tweet; do not wikilink; do not include time. | Không rõ | tùy chọn |
access date | access-date accessdate | The full date when the tweet was accessed; do not wikilink | Không rõ | tùy chọn |
language | language | The language in which the tweet is written, if not in English.
| Chuỗi dài | tùy chọn |
location | location | The location from which a tweet was sent.
| Chuỗi dài | tùy chọn |
archive URL | archive-url archiveurl | The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date' | Chuỗi dài | tùy chọn |
archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink | Chuỗi dài | tùy chọn |
URL status | url-status | If set to 'live', the title displays as the live link; if set to dead, the title displays as the archive link | Chuỗi dài | tùy chọn |
script tweet | script-title | For tweets 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, e.g. for Japanese use: ja:...
| Không rõ | tùy chọn |
translated tweet | trans-title | An English language translation, if the tweet cited is in a foreign language; use of 'language' parameter is recommended | Không rõ | tùy chọn |
Link to Twitter article? | link | Set to "no" to not link to the Wikipedia article for Twitter. Useful for preventing overlinking when more than one tweet is cited. | Không rõ | tùy chọn |
Date format | df | Valid values: dmy, dmy-all, mdy, mdy-all, ymd, ymd-all | Không rõ | tùy chọn |
Trang đổi hướng
[sửa mã nguồn]{{Cite twitter}}
{{Cite tweet}}
Xem thêm
[sửa mã nguồn]{{Tweet}}
- WP:TWITTER