disclaimer |
m →Usage: move |
||
Line 7: | Line 7: | ||
==Usage== |
==Usage== |
||
⚫ | |||
===Single parameter=== |
===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: |
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: |
||
Line 15: | Line 17: | ||
Hovering over the link shows that the template links to <tt>http://www.twitter.com/Wikipedia</tt>, whilst the link itself displays the current page name (displays as "Twitter/doc" or "Twitter") |
Hovering over the link shows that the template links to <tt>http://www.twitter.com/Wikipedia</tt>, whilst the link itself displays the current page name (displays as "Twitter/doc" or "Twitter") |
||
⚫ | |||
===Two parameters=== |
===Two parameters=== |
Revision as of 04:58, 15 January 2010
The template name is "{{Twitter}}". It is used to link articles to a particular Twitter account, by the account's URL and title.
Code
{{Twitter|airtrafficlive|person's name}}
Usage
The external links guideline recommends avoiding links to Twitter unless the Twitter feed is an an official account "controlled by the subject (organization or individual person) of the Wikipedia article".
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
- Twitter/doc on X
Hovering over the link shows that the template links to http://www.twitter.com/Wikipedia, whilst the link itself displays the current page name (displays as "Twitter/doc" or "Twitter")
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
Hovering over the link shows that the template links to http://www.twitter.com/Wikipedia, whilst the link itself displays "The World's best website".