Template:Twitter: Difference between revisions
Jump to navigation
Jump to search
m (Removing default and allowing for just an icon... again) |
m (Better result on blank parameter) |
||
Line 1: | Line 1: | ||
<includeonly>[https://twitter.com/{{{1}}} {{{2}}}][[File:Twitter_Logo_Blue.svg|32px|link=https://twitter.com/{{{1}}}]]</includeonly><noinclude> | <includeonly>{{#if:{{{2}}}|[https://twitter.com/{{{1}}} {{{2}}}]|}}[[File:Twitter_Logo_Blue.svg|32px|link=https://twitter.com/{{{1}}}]]</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 03:12, 14 July 2020
Using this template, you can create a link to a Twitter handle. Without an argument, the template will default to the official GM4 Twitter page, @GM4Official.
Usage
{{Twitter | Twitter Handle}} {{Twitter}}
Example Usage
{{Twitter|SparksTheGamer}} {{Twitter}}
The above documentation is transcluded from Template:Twitter/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |