Template:Twitter: Difference between revisions
Jump to navigation
Jump to search
create |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#if:{{{1|}}}|[https://twitter.com/{{{1}}} Twitter]}}<noinclude>{{documentation}}</noinclude> | {{#if:{{{1|}}}|[https://twitter.com/{{{1}}} Twitter{{#ifeq:{{{displayusername|}}}|yes| @{{{1}}}}}]}}<noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 00:24, 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