Template:Social media post/doc
This is a documentation subpage for Template:Social media post. It may contain usage information, categories and other content that is not part of the original template page. |
Example User @example.bsky.social hi. this is an example post. thank you for reading it.
September 3, 2024[1]
This template allows posts from social media sites other than (but inclusive of) Twitter, to be easily quoted within articles. This is an alternative to (and fork of) Template:Tweet. It is more appropriate to use this template than a screenshot of a tweet or post, because the text it contains will be accessible to screen readers.
To select what image it displays for the social media network, put the name of the SVG logo file in the 'sitelogo' parameter. If on a site that prefaces usernames with something other than an @ symbol, change 'prefix' parameter.
Example User @example guess what this is... (hint, it's another example)
January 4, 1952[2]
Example User @example Replying to @example2
who needs social media when you have wikipedia?
July 14, 2024[3]
Example User u/example this is also an example.
December 13, 2004[4]
Usage
[edit]Full blank syntax
[edit]{{NotYetNamed | name = | username = | prefix = @ | replyto = | lang = | text = | translation = | date = | sitelogo= | ID = | reference = | archive-url = | archive-date = | url-status = | image = | block = | left = | width = | style = }}
Parameters
[edit]|name=
user's name as it appears at the top of the tweet|username=
user's @ handle (without the @)|prefix=
Prefix before username. Typically @|replyto=
optional: username tweet is replying to|lang=
optional: language code of the tweet if non-English|text=
content of the post|sitelogo=
Logo of the social media site|translation=
optional: English translation of tweet if original tweet non-English|date=
required: date of the tweet formatted according to MOS:DATE; should be used with tweets posted before November 4, 2010. If the date is after 23 July 2023 the template will mark it as an X post.|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
Helpful Hints
[edit]Site | Logo File Location |
---|---|
Twitter (Pre 23 July 2023) | Logo_of_Twitter.svg |
X | X_logo_2023.svg |
2023_Facebook_icon.svg | |
Instagram_logo_2022.svg | |
Mastodon | Mastodon_logotype_(simple)_new_hue.svg |
TruthSocial | Truth_Social_logo_2022.svg |
Bluesky | Bluesky_Logo.svg |
Reddit_Logo_Icon.svg | |
Tumblr | Tumblr_Wordmark.svg |
Threads | Threads_(app).svg |
TemplateData
[edit]See also
[edit]- {{Cite tweet}} – for citing tweets
- {{Quote tweet}} – for tweets that quote another tweet
References
[edit]- ^ http://www.bsky.app
- ^ truthsocial.com
- ^ example
- ^ www.state.gov