틀:Cite tweet/doc
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. |
틀:High-use 틀:CS1 wrapper 틀:Template redirect
루아 사용: |
{{웹 인용}} | 웹사이트 |
---|---|
{{뉴스 인용}} | 뉴스 기사 |
{{서적 인용}} | 서적 |
{{저널 인용}} | 학술지 |
{{백과사전 인용}} | 백과사전 |
{{에피소드 인용}} | 라디오·텔레비전 에피소드 |
{{영상 인용}} | 소리·영상 |
{{영상 설명 인용}} | 소리·영상 라이너 노츠 |
{{지도 인용}} | 지도 |
----
한국어(ko) 자료를 인용할 때에는 별도의 언어 표시(| 언어 = )를 할 필요가 없습니다. | |
A template for citing tweets posted on Twitter.
Usage[원본 편집]
아래의 빈 틀을 복사하세요. 모든 매개변수는 소문자여야 합니다. 각 변수 사이에 파이프(|)를 이용하세요. 쓰지 않는 변수는 지울 수 있습니다.
|
|
틀:A note 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.
Using {{sfn}} and {{harvid}}[원본 편집]
To use this template with shortened footnotes (e.g. the {{sfn}} template), add |ref=
with {{harvid}} in the parameter value, like this:
{{Cite 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}}
.
Optional |date=
parameter[원본 편집]
Unlike most citation templates, the |date=
parameter is optional. This is because the date can be calculated directly from the Tweet's ID using Module:TwitterSnowflake (wrapped with Template: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.
If the Tweet was posted before November 4, 2010, the date cannot be calculated from the ID 틀:-- the template will output an error if no date is provided.
Examples[원본 편집]
{{Cite tweet |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians!}}
- 모듈:Date 145번째 줄에서 Lua 오류: bad argument #1 to 'ipairs' (table expected, got string).
{{Cite tweet |author=Andy Mabbett |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians!}}
- 모듈:Date 145번째 줄에서 Lua 오류: bad argument #1 to 'ipairs' (table expected, got string).
{{Cite tweet |author=Andy Mabbett |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians! |retweet=Wikimedia Foundation [Wikimedia]}}
- 모듈:Date 145번째 줄에서 Lua 오류: bad argument #1 to 'ipairs' (table expected, got string).
If the author has a Wikipedia article, use of |author-link=
is recommended:
{{Cite 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.}}
- 모듈:Date 145번째 줄에서 Lua 오류: bad argument #1 to 'ipairs' (table expected, got string).
Note that if |last=
is used, |author=
is ignored:
{{Cite 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]}}
- 모듈:Date 145번째 줄에서 Lua 오류: bad argument #1 to 'ipairs' (table expected, got string).
This tweet was posted before November 4, 2010, so |date=
is necessary:
{{Cite tweet |user=jack |number=20 |title=just setting up my twttr |date=Mar 21, 2006 }}
- 모듈:Date 145번째 줄에서 Lua 오류: bad argument #1 to 'ipairs' (table expected, got string).
Error detection[원본 편집]
- The parameters
|user=
,|number=
, and|title=
are 틀:Red. If omitted or left blank, errors will be reported. For example:{{Cite tweet |title=I'm an incomplete citation!}}
- @. “I'm an incomplete citation!” (Tweet) – Twitter 경유. Missing or empty |user=; Missing or empty |number= (help)
- 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 optional|date=
parameter is used, and the date 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 Category:Cite tweet templates with errors
TemplateData[원본 편집]
A template for citing tweets posted on Twitter
변수 | 설명 | 형식 | 상태 | |
---|---|---|---|---|
Tweet number | number | Numerical ID of the tweet | 숫자 | 필수 |
User handle | user | Twitter account name, without the @ | 문자열 | 필수 |
Tweet contents | 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. | 문자열 | 필수 |
Tweet 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]]) | 문자열 | 제안 |
Author's article | author-link authorlink | Title of existing Wikipedia article about the author | 문서 이름 | 선택 사항 |
Retweeted by | retweet | The reliable source who retweeted the tweet, if the original tweeter is not anyone particularly notable. May be wikilinked. | 알 수 없음 | 선택 사항 |
Date | date | Date of the tweet; do not wikilink; do not include time. | 날짜 | 제안 |
Access date | access-date accessdate | The full date when the tweet was accessed; do not wikilink | 날짜 | 제안 |
Language | language | The language in which the tweet is written, if not in English.
| 문자열 | 선택 사항 |
Tweet location | location | The location from which a tweet was sent.
| 문자열 | 선택 사항 |
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' | URL | 선택 사항 |
Archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink | 날짜 | 선택 사항 |
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 | 문자열 | 선택 사항 |
Tweet script | 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:...
| 문자열 | 선택 사항 |
Translated tweet | trans-title | An English language translation, if the tweet cited is in a foreign language; use of 'language' parameter is recommended | 문자열 | 선택 사항 |
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. | 부울식 | 선택 사항 |
Date format | df | Valid values: dmy, dmy-all, mdy, mdy-all, ymd, ymd-all | 문자열 | 선택 사항 |
Quote | quote | Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation | 문자열 | 선택 사항 |
Ref anchor | ref | An anchor identifier; can be made the target of wikilinks to full references | 문자열 | 선택 사항 |
See also[원본 편집]
{{Tweet}}
{{Cite Twitter profile}}
- WP:TWITTER