Template:Twitter: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
(Template no longer takes in text. Template now only receives Twitter handle.)
(No link defaults to twitter.com/GM4Official)
 
Line 1: Line 1:
<includeonly>[[File:Twitter_Logo_Blue.svg|20px|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}}