FANDOM


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:

Twitter

To link to a page, for example Simon Pegg's, you would have a template call as such:

{{twitter|simonpegg}}

This would produce:

[1]

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:

Simon Pegg's Twitter feed

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:

Simon Pegg at Twitter

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:

Simon Pegg's Twitter feed at Twitter
Community content is available under CC-BY-NC unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+