सामग्री पर जाएँ

साँचा:ट्विट

मुक्त ज्ञानकोश विकिपीडिया से
परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [पर्ज .]

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

Example Twitter
@example

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

12 Jul 2017[1]

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 metadata related to the tweet (date of posting, user's name, user's handle, etc.). For quote tweets, use {{quote tweet}}; alternatively, simply pass the quoted tweet, as a second Tweet template, to the |reference= parameter in this template.

{{Tweet
| name = 
| username = 
| replyto = 
| lang = 
| text = 
| translation = 
| date = 
| ID = 
| reference = 
| archive-url = 
| archive-date = 
| url-status = 
| image = 
| block = 
| left = 
| width = 
| style =
}}
  • |name= user's name as it appears at the top of the tweet
  • |username= user's @ handle (without the @)
  • |replyto= optional: username tweet is replying to
  • |lang= optional: language code of the tweet if non-English
  • |text= content of the tweet
  • |translation= optional: English translation of tweet if original tweet non-English
  • |date= date of the tweet formatted according to MOS:DATE, should be used with tweets posted before November 4, 2010
  • |ID= number at the end of the tweet URL
  • |reference= optional: the template automatically creates a reference, but one can be provided to use instead. See second example.
  • |archive-url= optional: URL of an archived copy of the tweet. Ignored if |reference= is used.
  • |archive-date= optional: date of the archived copy. Ignored if |reference= is used.
  • |url-status= optional: if set to 'live', the title displays as the live link; if set to 'dead', the title displays as the archive link. Ignored if |reference= is used.
  • |image= optional: image or logo associated with Twitter account
  • |block= optional: any value displays tweet as block with 500px width as default (text above and below, doesn't flow around).
  • |left= optional: any value makes tweet aligned left
  • |width= optional: custom tweet width, default is 220px
  • |style= optional: custom style

{{ट्विट}}

Missing name parameter.
Missing username parameter.
Invalid date parameter.
Missing text parameter.
date parameter should be reformatted to look like:
1 Jan 1970 or Jan 1, 1970
or removed.
reference or ID parameter required.

Twitter
@

[1]

{{ट्विट/sandbox}}

Missing name parameter.
Missing username parameter.
Invalid date parameter.
Missing text parameter.
date parameter should be reformatted to look like:
1 Jan 1970 or Jan 1, 1970
or removed.
reference or ID parameter required.

Twitter
@

[1]

Tweets in another language

[संपादित करें]

It is possible to include tweets written in another language other than English by adding the language parameter and including the List of ISO 639-1 codes of the language.

{{ट्विट}}

Missing name parameter.
Missing username parameter.
Invalid date parameter.
Missing text parameter.
date parameter should be reformatted to look like:
1 Jan 1970 or Jan 1, 1970
or removed.
reference or ID parameter required.

Twitter
@

[1]

{{ट्विट/sandbox}}

Missing name parameter.
Missing username parameter.
Invalid date parameter.
Missing text parameter.
date parameter should be reformatted to look like:
1 Jan 1970 or Jan 1, 1970
or removed.
reference or ID parameter required.

Twitter
@

[1]

It's also possible to translate the tweet.

{{ट्विट}}

Missing name parameter.
Missing username parameter.
Invalid date parameter.
Missing text parameter.
date parameter should be reformatted to look like:
1 Jan 1970 or Jan 1, 1970
or removed.
reference or ID parameter required.

Twitter
@

[1]

{{ट्विट/sandbox}}

Missing name parameter.
Missing username parameter.
Invalid date parameter.
Missing text parameter.
date parameter should be reformatted to look like:
1 Jan 1970 or Jan 1, 1970
or removed.
reference or ID parameter required.

Twitter
@

[1]

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.

साँचे के पैरामीटर्स[साँचा डेटा सम्पादित करें]

इस साँचे के लिए पैरामीटरों के ब्लॉक प्रारूपण को प्राथमिकता दी जाती है।

पैरामीटरविवरणप्रकारस्थिति
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

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

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

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

अज्ञातवैकल्पिक
  1. @{{{username}}}. "{{{text}}}" (Tweet) – वाया Twitter. Missing or empty |number= (help)