Predloga:Navedi tvit
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. |
Ta predloga je Slog Navajanja 1 wrapper template, ki temelji na {{Cite web}}. Za pogovor o Slogu Navajanja 1, glejte Pogovor o pomoči:Slog Navajanja 1. |
Uporablja Lua: |
A template for citing tweets posted on Twitter.
Usage
[uredi kodo]Skopirajte prazno verzijo predloge v članek. Vsa imena parametrov morajo biti napisana z malimi črkami. Med parametri uporabite znak "|" (navpičnica). V izogib nasmeteni predlogi izbrišite neuporabljene parametre.
|
|
Info: 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}}
[uredi kodo]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
[uredi kodo]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
[uredi kodo]{{Cite tweet |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians!}}
- @Pigsonthewing (7. februar 2015). »This is an example tweet. Hello, Wikipedians!« (Tweet) – prek Twitterja.
{{Cite tweet |author=Andy Mabbett |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians!}}
- Andy Mabbett [@Pigsonthewing] (7. februar 2015). »This is an example tweet. Hello, Wikipedians!« (Tweet) – prek Twitterja.
{{Cite tweet |author=Andy Mabbett |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians! |retweet=Wikimedia Foundation [Wikimedia]}}
- Andy Mabbett [@Pigsonthewing] (7. februar 2015). »This is an example tweet. Hello, Wikipedians!« (Tweet). Retweeted by Wikimedia Foundation [Wikimedia] – prek Twitterja.
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.}}
- Elon Musk [@elonmusk] (15. junij 2016). »Looks like thrust was low on 1 of 3 landing engines. High g landings v sensitive to all engines operating at max« (Tweet) – prek Twitterja.
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]}}
- Mabbett, Andy [@Pigsonthewing] (7. februar 2015). »This is an example tweet. Hello, Wikipedians!« (Tweet). Retweeted by Wikimedia Foundation [Wikimedia] – prek Twitterja.
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 }}
- Jack Dorsey [@jack] (21. marec 2006). »just setting up my twttr« (Tweet) – prek Twitterja.
Error detection
[uredi kodo]- The parameters
|user=
,|number=
, and|title=
are required. 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) – prek Twitterja.
{{navedi splet}}
: Vzdrževanje CS1: številska imena: seznam avtorjev (povezava) Missing or empty |user=; Missing or empty |number= (help)
- @. »I'm an incomplete citation!« (Tweet) – prek Twitterja.
- 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 Category:Cite tweet templates with errors
TemplateData
[uredi kodo]TemplateData za Navedi tvit
A template for citing tweets posted on Twitter
Parameter | Opis | Vrsta | Stanje | |
---|---|---|---|---|
number | number | Numerical ID of the tweet | Številka | zahtevano |
username | user | Twitter account name, without the @ | Niz | zahtevano |
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. | Niz | zahtevano |
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]]) | Neznano | predlagano |
author's article | author-link authorlink | Title of existing Wikipedia article about the author | Neznano | neobvezno |
retweeted by | retweet | The reliable source who retweeted the tweet, if the original tweeter is not anyone particularly notable. May be wikilinked. | Neznano | neobvezno |
date | date | date of the tweet; do not wikilink; do not include time. | Neznano | neobvezno |
access date | access-date accessdate | The full date when the tweet was accessed; do not wikilink | Neznano | neobvezno |
language | language | The language in which the tweet is written, if not in English.
| Niz | neobvezno |
location | location | The location from which a tweet was sent.
| Niz | neobvezno |
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' | Niz | neobvezno |
archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink | Niz | neobvezno |
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 | Niz | neobvezno |
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:...
| Neznano | neobvezno |
translated tweet | trans-title | An English language translation, if the tweet cited is in a foreign language; use of 'language' parameter is recommended | Neznano | neobvezno |
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. | Neznano | neobvezno |
Date format | df | Valid values: dmy, dmy-all, mdy, mdy-all, ymd, ymd-all | Neznano | neobvezno |
Quote | quote | Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation | Niz | neobvezno |
Ref | ref | An anchor identifier; can be made the target of wikilinks to full references | Niz | neobvezno |
Redirects
[uredi kodo]{{Cite twitter}}
See also
[uredi kodo]{{Tweet}}
{{Cite Twitter profile}}
- WP:TWITTER