Template:Twitter/doc

The template name is "". It is used to link articles to a particular account, by the account's  and title.

Usage
The recommends  unless the Twitter feed is  "controlled by the subject (organization or individual person) of the Wikipedia article". Multiple hoax and "fan" accounts have been discovered; please make a particular effort to verify the authenticity of any official links. Legitimate Twitter accounts are usually named in, such as newspaper stories, about the subject, or linked by other subject-controlled sources.

Wikipedia is. Linking to Twitter and social networking sites is discouraged if the links are easily found at the subject's main website or other official link.

Single parameter
If only one parameter is used in the template, this parameter will be the page's url, with the link being the name of the Wikipedia page used on. Example:

produces

The template links to https://twitter.com/Wikipedia, whilst the link itself displays the current page name.

Two parameters
If two parameters are used in the template, the first parameter will be the page's url, while the second will be the title of the link. Example:

produces

The template links to https://twitter.com/Wikipedia, whilst the link itself displays "The World's best website".

Likewise:

produces