साँचा:Tweet/doc

मुक्त ज्ञानकोश विकिपीडिया से
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

date parameter should be reformatted to look like:
1 Jan 1970 or Jan 1, 1970
or removed.

Example ट्विटर
@example

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

This template allows relevant tweets to be easily quoted within articles with a citation automatically generated, using साँचा:tlx.

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). For quote tweets, use साँचा:tl.

Usage

Full blank syntax

{{Tweet
| name = 
| verified =       
| username = 
| replyto = 
| lang = 
| text = 
| translation = 
| date = 
| ID = 
| reference = 
| archive-url = 
| archive-date = 
| url-status = 
| image = 
| block = 
| left = 
| width = 
}}

Parameters

Examples

साँचा:nowiki template demo साँचा:clear

साँचा:nowiki template demo साँचा:clear

TemplateData

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. For quote tweets use Template:Quote tweet.

साँचा प्राचल

This template prefers block formatting of parameters.

प्राचलवर्णनप्रकारस्थिति
blockblock

Any value displays tweet as block (text above and below, doesn't flow around). Overrides left parameter

स्ट्रिंगवैकल्पिक
widthwidth

Custom tweet width

उदाहरण
300px
स्ट्रिंगवैकल्पिक
leftleft

Any value makes tweet aligned left

स्ट्रिंगवैकल्पिक
namename

User's name as it appears at the top of the tweet

स्ट्रिंगआवश्यक
usernameusername

User's Twitter handle. Do not include the @ symbol.

अज्ञातआवश्यक
datedate

Date of the tweet formatted according to MOS:DATE

दिनांकआवश्यक
texttext

Content of the tweet

स्ट्रिंगआवश्यक
IDID id

The number at the end of the tweet URL

संख्यासुझावित
referencereference ref

A custom reference can be provided to use instead of the automatically generated one

उदाहरण
<ref>custom reference</ref>
स्ट्रिंगवैकल्पिक
imageimage

Image or logo associated with twitter account

फ़ाइलवैकल्पिक
replytoreplyto

Username the tweet is replying to

स्ट्रिंगवैकल्पिक
langlang language

language code of original tweet

उदाहरण
de
स्ट्रिंगवैकल्पिक
translationtranslation

english translation of the tweet

अज्ञातवैकल्पिक
nocategorynocategory

कोई विवरण नहीं

अज्ञातवैकल्पिक
archive-urlarchive-url

कोई विवरण नहीं

अज्ञातवैकल्पिक
archive-datearchive-date

कोई विवरण नहीं

अज्ञातवैकल्पिक
url-statusurl-status

कोई विवरण नहीं

अज्ञातवैकल्पिक

See also

References