Vorlage:Tweet/Doku: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(cat: Quotation templates)
(change to ID)
Zeile 12: Zeile 12:
|username =      [user's @ handle]
|username =      [user's @ handle]
|date =          [date of the tweet formatted according to MOS:DATE]
|date =          [date of the tweet formatted according to MOS:DATE]
|id =            [number at the end of the tweet URL]
|ID =            [number at the end of the tweet URL]
|replyto =        [optional: username tweet is replying to]
|replyto =        [optional: username tweet is replying to]
|image =          [optional: image or logo associated with twitter account]
|image =          [optional: image or logo associated with twitter account]
Zeile 30: Zeile 30:
|username=NASA
|username=NASA
|date=Aug 2, 2014
|date=Aug 2, 2014
|id=495719809695621121
|ID=495719809695621121
|replyto=WilliamShatner
|replyto=WilliamShatner
|image=NASA logo.svg
|image=NASA logo.svg
Zeile 41: Zeile 41:
|username=NASA
|username=NASA
|date=Aug 2, 2014
|date=Aug 2, 2014
|id=495719809695621121
|ID=495719809695621121
|replyto=WilliamShatner
|replyto=WilliamShatner
|image=NASA logo.svg
|image=NASA logo.svg
Zeile 52: Zeile 52:
|username=realDonaldTrump
|username=realDonaldTrump
|date=30 May 2017
|date=30 May 2017
|id=869766994899468288
|ID=869766994899468288
|left=yes
|left=yes
|reference=<ref>custom reference</ref>
|reference=<ref>custom reference</ref>
Zeile 63: Zeile 63:
|username=realDonaldTrump
|username=realDonaldTrump
|date=30 May 2017
|date=30 May 2017
|id=869766994899468288
|ID=869766994899468288
|left=yes
|left=yes
|reference=<ref>custom reference</ref>
|reference=<ref>custom reference</ref>

Version vom 14. Februar 2018, 03:47 Uhr

This template allows relevant tweets to be easily quoted within articles, with a citation automatically generated using {{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.

Full blank syntax

{{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]
|unverified =     [optional: any value results in removal of verified check mark]
|left =           [optional: any value makes tweet aligned left]
|block =          [optional: any value displays tweet as block (text above and below, doesn't flow around). Overrides left parameter]
|width =          [optional: custom tweet width]
|reference =      [optional: {{tweet}} automatically creates a reference, but one can be provided to use instead. See 2nd example.]
}}

Example usage:

{{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 logo.svg
NASA Twitter
@NASA

Replying to @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=<ref>custom reference</ref>
}}
Donald J. Trump Twitter
@realDonaldTrump

Despite the constant negative press covfefe

30 May 2017[2]

{{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
|width=600px
}}
Donald J. Trump 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[3]

Refs

  1. 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.
  2. custom reference
  3. Lua-Fehler in package.lua, Zeile 80: module 'Module:Citation/CS1/Suggestions' not found