Template:Twitter/doc: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
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 ===
Line 10: Line 12:


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