Template:Twitter: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
m (Added handle as default for display)
m (Somehow forgot the extra right curly brace again)
Line 1: Line 1:
<includeonly>[https://twitter.com/{{{1}}} {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}}][[File:Twitter_Logo_Blue.svg|32px|link=https://twitter.com/{{{1}}}]]</includeonly><noinclude>
<includeonly>[https://twitter.com/{{{1}}} {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}][[File:Twitter_Logo_Blue.svg|32px|link=https://twitter.com/{{{1}}}]]</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 02:40, 14 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}}

SparksTheGamer

{{{1}}}