Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
Template:Cite tweet
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Namespaces
Template
Discussion
More
More
Page actions
Read
Edit source
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<includeonly>{{cite web | url = {{#if:{{{url|}}}|{{{url}}}|{{#ifeq: {{{id|}}}{{{user|{{{username|}}}}}} | {{{id}}}{{{user}}} | https://twitter.com/{{{user}}}/status/{{{id}}}}} | https://twitter.com/ }} | title = {{#invoke:String|replace|source={{{title|{{{title}}}}}} |pattern=https*:// |replace=|plain=false}} | script-title = {{{script-title|}}} | trans-title = {{{trans-title|}}} | language = {{{language|}}} | author = {{#if: {{{last|}}} | {{#if: {{{first|}}} | {{{first}}} {{{last}}} [@{{{user|}}}] | {{{last}}} [@{{{user|}}}] }} | {{#if: {{{author|}}} | {{{author}}} [@{{{user|}}}] | {{#if: {{{author-link|}}} | {{{author-link}}} [@{{{user|}}}] | @{{{user|{{{user|{{{username}}}}}} ({{{date}}})}}} }} }} }} | author-link = {{{author-link|{{{authorlink|}}} }}} | others = {{#if:{{{retweet|}}}|Retweeted by {{{retweet}}}}} | date = {{{date|}}} | via = {{#ifeq:{{{link|}}}|no|Twitter|Twitter}} | type = Tweet | location = {{{location|}}} | access-date = {{{access-date|}}} | archive-date = {{{archive-date|}}} | archive-url = {{{archive-url|}}} | url-status = {{{url-status|}}} | ref = {{{ref|}}} }}<!-- Error checking: No title and no description -->{{#if:{{{title|{{{description|}}}}}}{{{script-title|}}}||{{#ifeq: {{{user|}}}{{{url|{{{id|}}}}}}{{{date|}}} | {{{user|{{{username}}}}}}{{{url|{{{url|}}}}}}{{{id}}}||<span style="font-size:100%" class="error citation-comment">;</span>}}{{main other|[[Category:Cite tweet templates with errors]]}} }}<!-- (Note: error message is provided by CS1 module) No user --> {{#if:{{{user|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>|user=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#ifeq: {{{url|{{{id|}}}}}}{{{date|}}} | {{{url|{{{id|}}}}}}{{{date}}}||;}}</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}<!--ref=harv instead of harvid --> {{#ifeq:{{{ref|}}}|harv|<span style="font-size:100%" class="error citation-comment">Harvid template must be used with <kbd>|ref=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||;}}</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}<!--No tweet id and no URL --> {{#if:{{{id|{{{url|}}}}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>|id or url=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||;}}</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}<!-- No date --> {{#if:{{{date|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>|date=</kbd> ([[Template:Cite_tweet#Error_detection|help]])</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}</includeonly> <noinclude>{{documentation}} [[Category:Citation Style 1 templates]] <templatedata> { "description": "Formats a citation to a tweet using the provided information such as URL and title. Used only for sources that are not correctly described by the specific citation templates for books, journals, news sources, etc.", "params": { "url": { "label": "URL", "description": "The URL or link where the tweet can be found. Requires schemes of the type \"http://...\" or maybe even the protocol relative scheme \"//...\"", "type": "string", "aliases": [ "URL" ], "suggested": true, "required": true, "example": "\"https://www.twitter.com/franksmith/status/12345678\"" }, "title": { "label": "Tweet title", "description": "Tweet title, or message for short tweets.", "type": "line", "suggested": true, "required": true }, "date": { "label": "Source date", "description": "Full date when the tweet was sent; do not wikilink. Do not include time.", "type": "date", "suggested": true, "required": true }, "access-date": { "label": "URL access date", "description": "The full date when the original URL was accessed; do not wikilink", "type": "date", "aliases": [ "accessdate" ], "suggested": true }, "publisher": { "label": "Publisher", "description": "Name of the publisher; may be wikilinked. Having both 'Publisher' and 'Website' is redundant in most cases. ", "type": "string", "example": "\"Twitter\"", "default": "Twitter" }, "user": { "label": "twitter username not including @ symbol", "example": "keithgeraghty", "description": "The name of the author; don't wikilink, use 'authorlink'", "suggested": true, "required": true, "aliases": [ "username", "from" ], "type": "line", "required": true }, "last": { "label": "Last name or organization", "description": "The name of the author; don't wikilink, use 'authorlink'", "aliases": [ "last1", "author", "author1", "author1-last", "author-last", "surname1", "author-last1", "subject1", "surname", "author-last", "subject" ], "type": "line", "suggested": true }, "first": { "label": "First name", "description": "Given or first name, middle names, or initials of the author; don't wikilink, use 'authorlink'", "suggested": true, "aliases": [ "given", "author-first", "first1", "given1", "author-first1", "author1-first" ], "suggested": true, "type": "line" }, "authorlink": { "label": "Author link", "description": "Title of existing MEpedia article about the author; can suffix with a numeral to add additional authors", "type": "wiki-page-name", "aliases": [ "author-link", "subjectlink", "subject-link", "authorlink1", "author-link1", "author1-link", "subjectlink1", "author1link", "subject-link1", "subject1-link", "subject1link" ], "suggested": true }, "location": { "label": "Location of publication", "description": "Geographical place of publication; usually not wikilinked; omit when the publication name includes place; alias of 'place'", "type": "string" }, "at": { "label": "At", "description": "May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient", "type": "string" }, "language": { "label": "Language", "description": "The language in which the source is written, if not English; use the full language name; do not use icons or templates", "type": "string" }, "script-title": { "label": "Script title", "description": "For titles in languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc). Prefix with two-character ISO639-1 language code followed by a colon. For Japanese use: |script-title=ja:...", "type": "string" }, "trans-title": { "label": "Translated title", "description": "An English language title, if the source cited is in a foreign language; 'language' is recommended", "type": "string", "aliases": [ "trans_title" ] }, "type": { "label": "Type", "description": "Additional information about the media type of the source; format in sentence case", "type": "string" }, "format": { "label": "Format", "description": "Format of the work referred to by 'url'; examples: PDF, DOC, XLS; do not specify HTML", "type": "string" }, "id": { "label": "id", "description": "Tweet id, if url is not used", "type": "string" }, "archive-url": { "label": "Archive URL", "aliases": [ "archiveurl" ], "description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'", "type": "string", "suggested": true }, "archive-date": { "label": "Archive date", "aliases": [ "archivedate" ], "description": "Date when the original URL was archived; do not wikilink", "type": "string", "suggested": true }, "url-status": { "label": "URL status", "aliases": [ "deadurl", "urlstatus" ], "description": "If set to 'dead', or 'unsurped', the title display is adjusted; useful for when the URL is archived preemptively but still live", "type": "string", "suggested": true, "example": "dead, live, unfit, usurped" }, "quote": { "label": "Quote", "suggested": true, "description": "Content of tweet, enclosed in quotes; must include terminating punctuation", "type": "string" }, "ref": { "label": "Ref", "description": "An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv template", "type": "string" }, "url-access": { "label": "URL access", "description": "When set to subscription, displays '(subscription required)' to indicate an online source that requires subscription. Other values are 'registration' and 'limited'", "type": "string", "example": "registration" }, "via": { "label": "Published via", "description": "Name of the entity hosting the original copy of the work, if different from the publisher. This entity is committed not to alter the work. GitHub, SourceForge, CodePlex, YouTube, Vimeo, Dailymotion and Netflix are examples of service dedicated to acting on behalf of the publisher, but Archive.org, Wikimedia Commons and grc.com have done this on certain occasions.", "example": "\"GitHub\", which hosts \"Visual Studio Code\" on behalf of \"Microsoft\"", "type": "string" } }, "maps": { "proveit": { "main": "title", "textarea": [ "quote" ] }, "citoid": { "title": "title", "url": "url", "subject": "title", "publicationTitle": "title", "blogTitle": "publisher", "forumTitle": "publisher", "seriesTitle": "publisher", "websiteTitle": "publisher", "publisher": "publisher", "date": "date", "accessDate": "access-date", "language": "language", "author": [ [ "first", "last" ] ] } }, "paramOrder": [ "url", "title", "user", "last", "first", "authorlink", "date", "quote", "publisher", "location", "at", "language", "script-title", "trans-title", "id", "url-access", "archive-url", "archive-date", "url-status", "access-date", "via", "format", "type", "ref" ], "format": "inline" } </templatedata> </noinclude>
Summary:
Please make sure your edits are consistent with
MEpedia's guidelines
.
By saving changes, you agree to the
Terms of use
, and you irrevocably agree to release your contribution under the
CC BY-SA 3.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Cite tweet
(
edit
)
Template:Cite tweet/doc
(
edit
)
Template:Cite web
(
edit
)
Template:Documentation
(
edit
)
Template:Main other
(
edit
)
Template:Reflist
(
edit
)
Template:T1
(
edit
)
Module:Arguments
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:Citation/CS1
(
edit
)
Module:Citation/CS1/COinS
(
edit
)
Module:Citation/CS1/Configuration
(
edit
)
Module:Citation/CS1/Date validation
(
edit
)
Module:Citation/CS1/Identifiers
(
edit
)
Module:Citation/CS1/Utilities
(
edit
)
Module:Citation/CS1/Whitelist
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:No globals
(
edit
)
Module:String
(
edit
)
Module:Yesno
(
edit
)
This page is a member of 2 hidden categories:
Category:CS1 errors: requires URL
Category:Citation Style 1 templates
Navigation
Navigation
Skip to content
Main page
Browse
Become an editor
Random page
Popular pages
Abbreviations
Glossary
About MEpedia
Links for editors
Contents
Guidelines
Recent changes
Pages in need
Search
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs