Vorlage:Tweet/Doku: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(add reference)
Zeile 15: Zeile 15:
</pre>
</pre>


== Example usages: ==
== Example usage: ==
<pre><nowiki>
<pre><nowiki>
{{tweet
{{tweet

Version vom 12. Februar 2018, 09:37 Uhr

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]
|reference =      [optional: {{tweet}} automatically creates a reference, but one can be provided to use instead. See 3rd 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]

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