Cannabis Ruderalis

Content deleted Content added
m →‎Code: example was misleading.
青子守歌 (talk | contribs)
m cat
Line 32: Line 32:
<includeonly><!--
<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
{{DEFAULTSORT:Twitter}}
[[Category:External link templates|{{PAGENAME}}]]
[[Category:Templates to a Social Networking Site|{{PAGENAME}}]]
[[Category:External link templates]]
[[Category:Templates to a Social Networking Site]]
[[Category:Twitter|*]]


[[cs:Šablona:Twitter]]
[[cs:Šablona:Twitter]]

Revision as of 17:08, 30 October 2009

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|username|person's name}}

Usage

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

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".


Leave a Reply