Difference between revisions of "Template:Twitch"
Jump to navigation
Jump to search
(Adding if conditions for icon support) |
|||
Line 1: | Line 1: | ||
− | [[Image:Twitch_icon.png|link=http://www.twitch.tv/{{{1}}}]] {{#if:{{{2|}}} | + | [[Image:Twitch_icon.png|link=http://www.twitch.tv/{{{1}}}]] {{#if:{{{2|}}}|[http://www.twitch.tv/{{{1}}} Twitch stream]|}}<noinclude> |
== Usage == | == Usage == | ||
+ | * <code>{{Twitch|ruwin|text}}</code> generates | ||
+ | {{Twitch|ruwin|text}} | ||
* <code>{{Twitch|ruwin}}</code> generates | * <code>{{Twitch|ruwin}}</code> generates | ||
{{Twitch|ruwin}} | {{Twitch|ruwin}} | ||
− | |||
− | |||
</noinclude> | </noinclude> |