साँचा: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.
12 Jul 2017साँचा:dummy reference
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
- साँचा:para user's name as it appears at the top of the tweet
|verified=
optional: a blue icon appeared on the right of name- साँचा:para user's @ handle (without the @)
- साँचा:para optional: username tweet is replying to
- साँचा:para optional: language code of the tweet if non-English
- साँचा:para content of the tweet
- साँचा:para optional: English translation of tweet if original tweet non-English
- साँचा:para date of the tweet formatted according to MOS:DATE, should be used with tweets posted before November 4, 2010
- साँचा:para number at the end of the tweet URL
- साँचा:para optional: the template automatically creates a reference, but one can be provided to use instead. See 2nd example.
- साँचा:para optional: URL of an archived copy of the tweet. Ignored if साँचा:para is used.
- साँचा:para optional: date of the archived copy. Ignored if साँचा:para is used.
- साँचा:para 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 साँचा:para is used.
- साँचा:para optional: image or logo associated with Twitter account
- साँचा:para optional: any value displays tweet as block with 500px width as default (text above and below, doesn't flow around).
- साँचा:para optional: any value makes tweet aligned left
- साँचा:para optional: custom tweet width, default is 220px
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.
प्राचल | वर्णन | प्रकार | स्थिति | |
---|---|---|---|---|
block | block | Any value displays tweet as block (text above and below, doesn't flow around). Overrides left parameter | स्ट्रिंग | वैकल्पिक |
width | width | Custom tweet width
| स्ट्रिंग | वैकल्पिक |
left | left | Any value makes tweet aligned left | स्ट्रिंग | वैकल्पिक |
name | name | User's name as it appears at the top of the tweet | स्ट्रिंग | आवश्यक |
username | username | User's Twitter handle. Do not include the @ symbol. | अज्ञात | आवश्यक |
date | date | Date of the tweet formatted according to MOS:DATE | दिनांक | आवश्यक |
text | text | Content of the tweet | स्ट्रिंग | आवश्यक |
ID | ID id | The number at the end of the tweet URL | संख्या | सुझावित |
reference | reference ref | A custom reference can be provided to use instead of the automatically generated one
| स्ट्रिंग | वैकल्पिक |
image | image | Image or logo associated with twitter account | फ़ाइल | वैकल्पिक |
replyto | replyto | Username the tweet is replying to | स्ट्रिंग | वैकल्पिक |
lang | lang language | language code of original tweet
| स्ट्रिंग | वैकल्पिक |
translation | translation | english translation of the tweet | अज्ञात | वैकल्पिक |
nocategory | nocategory | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
archive-url | archive-url | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
archive-date | archive-date | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
url-status | url-status | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
See also
References