Pređi na sadržaj

Šablon:Tweet

Izvor: Викиновости
[edit] Dokumentacija šablona

Šablon:Dokumentaciona podstrana

Šablon:Formatting error

Primer Twitter
@primer

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dignissim, dolor vitae ullamcorper aliquet, velit mi sagittis metus.

Ovaj šablon omogućava da se relevantni tvitovi lako citiraju u člancima, uz navod koji se automatski generiše pomoću {{cite tweet}}.

Korišćenje ovog šablona je bolje od snimka ekrana tvita jer je takav tekst pristupačan za čitanje ekrana.

To je alternativa standardnim šablonima citata jer prikazuje sve relevantne informacije o tvitu (datum objavljivanja, korisničko ime itd.).

Puna prazna sintaksa

[uredi]
{{tweet
|text        = [content of the tweet]
|name        = [user's name as it appears at the top of the tweet]
|username    = [user's @ handle (without the @)]
|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.]
|lang        = [optional: language code of the tweet if non-English]
|translation = [optional: English translation of tweet if original tweet non-English]
}}

Primer upotrebe:

[uredi]
{{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
}}

Šablon:Formatting error

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={{dummy reference}}
}}

Šablon:Formatting error

Donald J. Trump Twitter
@realDonaldTrump

Despite the constant negative press covfefe

{{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={{dummy reference}}
|block=yes
}}

Šablon:Formatting error

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]!

{{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
}}

Šablon:Formatting error

René Descartes Twitter
@descartes

I doubt, therefore I think, therefore I am

Jan 1 1637[2]

TemplateData

[uredi]

Reference

[uredi]

Šablon:Reflist

  1. Šablon:Cite tweet
  2. example