Template:Twitter: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
(Updating template with logo and simplifying creation)
 
(No link defaults to twitter.com/GM4Official)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[{{{1}}} {{{2}}}] [[File:Twitter_Logo_Blue.svg|32px|link=https://twitter.com/{{{1}}}]]</includeonly><noinclude>
<includeonly>[[File:Twitter_Logo_Blue.svg|20px|link=https://twitter.com/{{#if:{{{1|}}}|{{{1}}}|GM4Official}}]]</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 23:32, 25 July 2020

Template documentation[view] [edit] [history] [purge]

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}}