Template:Cite Twitter Profile
A simple template to create a formatted reference to the profile page of a Twitter user.
Note that this template is only for use inside <ref>...</ref>
tags. For the external links section of an article, use {{Twitter}}.
Usage
{{Cite Twitter profile|userID}}
or
{{Cite Twitter profile|userID|name}}
Examples
- UserID only
{{Cite Twitter profile|Chrysler}}
→ "@Chrysler" on Twitter{{Cite Twitter profile|@Chrysler}}
→ "@Chrysler" on Twitter{{Cite Twitter profile|MichealMartinTD}}
→ "@MichealMartinTD" on Twitter{{Cite Twitter profile|@MichealMartinTD}}
→ "@MichealMartinTD" on Twitter
- UserID and name
{{Cite Twitter profile|MichealMartinTD|Micheál Martin}}
→ "@MichealMartinTD" (Micheál Martin) on Twitter{{Cite Twitter profile|@MichealMartinTD|Micheál Martin}}
→ "@MichealMartinTD" (Micheál Martin) on Twitter
- Some variants with whitespace
{{Cite Twitter profile| @bobdylan }}
→ "@bobdylan" on Twitter{{Cite Twitter profile| @ bobdylan }}
→ "@bobdylan" on Twitter{{Cite Twitter profile| @ bobdylan | Bob Dylan }}
→ "@bobdylan" (Bob Dylan) on Twitter
- Missing user ID triggers an error message
{{Cite Twitter profile}}
→ Missing Twitter user ID.
Template:Cite Twitter profile requires a user ID, e.g. for @Chrysler use{{Cite Twitter profile|Chrysler}}
or{{Cite Twitter profile|@Chrysler}}
{{Cite Twitter profile| |John Doe}}
→ Missing Twitter user ID.
Template:Cite Twitter profile requires a user ID, e.g. for @Chrysler use{{Cite Twitter profile|Chrysler}}
or{{Cite Twitter profile|@Chrysler}}
Tracking category
Errors are tracked in Category:Cite Twitter profile with no user ID (population: 0)
See also
- {{Cite tweet}}, for citing a tweet
- {{Twitter}}, for use in external links