Templat:Cuitan/doc
Contoh via Twitter @contoh Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dignissim, dolor vitae ullamcorper aliquet, velit mi sagittis metus.
12 Jul 2017[1]
Templat ini memungkingkan cuitan dikutip di dalam artikel. Sitirannya otomatis tercantum via {{cite tweet}}
.
Memakai templat ini lebih baik daripada mencuplik cuitannya karena teksnya bisa dibaca oleh mesin pembaca layar.
Templat ini adalah templat kutipan alternatif karena menampilkan semua informasi yang berkaitan dengan cuitan tersebut (tanggal, nama pengguna, singkatan nama pengguna, dll).
Sintaks kosong lengkap
[sunting sumber]{{tweet |text = [content of the tweet] |name = [user's name as it appears at the top of the tweet] |username = [user's @ handle] |date = [date of the tweet formatted according to MOS:DATE] |ID = [number at the end of the tweet URL] |replyto = [optional: username tweet is replying to] |image = [optional: image or logo associated with twitter account] |left = [optional: any value makes tweet aligned left] |block = [optional: any value displays tweet as block (text above and below, doesn't flow around).] |width = [optional: custom tweet width] |reference = [optional: {{tweet}} automatically creates a reference, but one can be provided to use instead. See 2nd example.] |lang = [optional: language code of the tweet if non-English] |translation = [optional: English translation of tweet if original tweet non-English] }}
Contoh penggunaan
[sunting sumber]{{tweet |text=@WilliamShatner Good day, Captain. #ISS is in standard orbit and Commander Swanson has the conn. Hope you’re having a great weekend! |name=NASA |username=NASA |date=Aug 2, 2014 |ID=495719809695621121 |replyto=WilliamShatner |image=NASA logo.svg }}
NASA via Twitter @NASA Membalas @WilliamShatner
@WilliamShatner Good day, Captain. #ISS is in standard orbit and Commander Swanson has the conn. Hope you’re having a great weekend!
Aug 2, 2014[1]
{{tweet |text=Despite the constant negative press covfefe |name=Donald J. Trump |username=realDonaldTrump |date=30 May 2017 |ID=869766994899468288 |left=yes |reference={{dummy reference}} }}
Donald J. Trump via Twitter @realDonaldTrump Despite the constant negative press covfefe
30 May 2017[1]
{{tweet |name=Donald J. Trump |username=realDonaldTrump |date=Jan 5 2018 |text=I authorized Zero access to White House (actually turned him down many times) for author of phony book! I never spoke to him for book. Full of lies, misrepresentations and sources that don't exist. Look at this guy's past and watch what happens to him and Sloppy Steve [Bannon]! |reference=<ref name="zero">{{cite web |url=http://www.foxnews.com/politics/2018/01/05/trump-tweets-explosive-white-house-tell-all-full-lies.html |first=Ryan |last=Gaydos |title=Trump tweets explosive White House tell-all 'full of lies'|date=January 5, 2018 |website=Fox News |accessdate=January 5, 2018 |deadurl=no|archiveurl=https://web.archive.org/web/20180105122005/http://www.foxnews.com/politics/2018/01/05/trump-tweets-explosive-white-house-tell-all-full-lies.html |archivedate=January 5, 2018 |df=mdy-all}}</ref> |block=yes }}
Donald J. Trump via Twitter @realDonaldTrump I authorized Zero access to White House (actually turned him down many times) for author of phony book! I never spoke to him for book. Full of lies, misrepresentations and sources that don't exist. Look at this guy's past and watch what happens to him and Sloppy Steve [Bannon]!
Jan 5 2018[2]
{{tweet |text=Dubito, ergo cogito, ergo sum |lang=la |translation=I doubt, therefore I think, therefore I am |username=descartes |name=René Descartes |ref=example |date=1637 }}
René Descartes via Twitter @descartes bahasa Latin: Dubito, ergo cogito, ergo sum
I doubt, therefore I think, therefore I am
Jan 1 1637[3]
TemplateData
[sunting sumber]This template allows relevant tweets to be easily quoted within articles, with a citation automatically generated using the template, "cite tweet". Using this template is better than a screen-shot of a tweet because the text is accessible to screen readers. It is an alternative to standard quotation templates because it displays all relevant information about the tweet (date of posting, user's name, user's handle, etc) in a way that reflects Twitter's design language.
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
block | block | Any value displays tweet as block (text above and below, doesn't flow around). Overrides left parameter | Kata | opsional |
width | width | Custom tweet width
| Kata | opsional |
left | left | Any value makes tweet aligned left | Kata | opsional |
name | name | User's name as it appears at the top of the tweet | Kata | wajib diisi |
username | username | User's Twitter handle. Do not include the @ symbol. | Tak dikenal | wajib diisi |
date | date | Date of the tweet formatted according to MOS:DATE | Tanggal | wajib diisi |
text | text | Content of the tweet | Kata | wajib diisi |
ID | ID id | The number at the end of the tweet URL | Angka | disarankan |
reference | reference ref | A custom reference can be provided to use instead of the automatically generated one
| Kata | opsional |
image | image | Image or logo associated with twitter account | Berkas | opsional |
replyto | replyto | Username the tweet is replying to | Kata | opsional |
lang | lang language | language code of original tweet
| Kata | opsional |
translation | translation | english translation of the tweet | Tak dikenal | opsional |
Ref
[sunting sumber]- ^ NASA [@NASA] (Aug 2, 2014). "@WilliamShatner Good day, Captain. #ISS is in standard orbit and Commander Swanson has the conn. Hope you're having a great weekend!" (Tweet) – via Twitter.
- ^ Gaydos, Ryan (January 5, 2018). "Trump tweets explosive White House tell-all 'full of lies'". Fox News. Diarsipkan dari versi asli tanggal January 5, 2018. Diakses tanggal January 5, 2018.
- ^ example