Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
View • Edit • History |
- The following documentation is transcluded from Template:Twitter/doc:
Usage
This template is used to link to Twitter website entries. A variable is required giving the end path to the article in question, and a second variable can be used to alter the linking text.
If no initial variable is given, the link will go to the main webpage, such as:
{{twitter}}
Which would produce:
To link to a page, for example Simon Pegg's, you would have a template call as such:
{{twitter|simonpegg}}
This would produce:
If text is desired, such as "Simon Pegg's Twitter feed", the following format should be used:
{{twitter|simonpegg|Simon Pegg's Twitter feed}}
This would produce:
If you wish the link to be formatted as an external link, for example on the Simon Pegg page, the following format should be used:
{{twitter|simonpegg||external}}
This would produce:
If you wish the external link to display different text, the following format should be used:
{{twitter|simonpegg|Simon Pegg's Twitter feed|external}}
This would produce: