Template:Cite Twitter profile/doc
Appearance
This is a documentation subpage for Template:Cite Twitter profile. It may contain usage information, categories and other content that is not part of the original template page. |
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
[edit]{{Cite Twitter profile|userID}}
or
{{Cite Twitter profile|userID|name}}
Examples
[edit]- 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
[edit]Errors are tracked in Category:Cite Twitter profile with no user ID (population: 0)
See also
[edit]- {{Cite tweet}}, for citing a tweet
- {{Twitter}}, for use in external links