Template:Twitter/doc: Difference between revisions
Jump to navigation
Jump to search
create |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
=== Usage === | === Usage === | ||
<code><nowiki>{{Twitter|USERNAME}}</nowiki></code> | <code><nowiki>{{Twitter|USERNAME|displayusername=}}</nowiki></code> | ||
"USERNAME" should be replaced by the username of the Twitter account you wish to link. | "USERNAME" should be replaced by the username of the Twitter account you wish to link. | ||
If <code>displayusername=yes</code>, then the username will be displayed in the link. | |||
=== Example === | === Example === | ||
<code><nowiki>{{Twitter|buddyretardbot}}</nowiki></code> | <code><nowiki>{{Twitter|buddyretardbot}}</nowiki></code> | ||
would output: {{Twitter|buddyretardbot}} | would output: {{Twitter|buddyretardbot}} | ||
<code><nowiki>{{Twitter|buddyretardbot|displayusername=yes}}</nowiki></code> | |||
would output: {{Twitter|buddyretardbot|displayusername=yes}} |
Latest revision as of 00:23, 6 August 2020
Generates a link to a Twitter account using a provided username.
Usage[edit source]
{{Twitter|USERNAME|displayusername=}}
"USERNAME" should be replaced by the username of the Twitter account you wish to link.
If displayusername=yes
, then the username will be displayed in the link.
Example[edit source]
{{Twitter|buddyretardbot}}
would output: Twitter
{{Twitter|buddyretardbot|displayusername=yes}}
would output: Twitter @buddyretardbot