Template:Twitter

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Twitter on Twitter

Documentation icon Template documentation[view] [edit] [history] [purge]

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

Usage

The external links guideline recommends avoiding links to Twitter unless the Twitter feed is an official account "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 reliable sources, such as newspaper stories, about the subject, or linked by other subject-controlled sources.

Wikipedia is not a comprehensive directory of a subject's web presence. 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:

 {{Twitter|Wikipedia}}

produces

Since "Twitter" is the name of the Wikipedia page you now are looking at, the link above shows "Twitter on Twitter" for the Wikipedia page. The lead name will change according to the name of the Wikipedia page used on. Also, 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:

 {{Twitter|Wikipedia|The World's best website}}

produces

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

Likewise:

 {{Twitter|Wikipedia|@Wikipedia}}

produces

See also