Difference between revisions of "Template:Twitch"
Jump to navigation
Jump to search
(Adding if conditions for icon support) |
(Categorizing) |
||
(2 intermediate revisions by the same user not shown) | |||
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]|}} {{#if:{{{text|}}}|[http://www.twitch.tv/{{{1}}} {{{text}}}]|}}<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}} | ||
− | * <code>{{Twitch|ruwin| | + | * <code>{{Twitch|ruwin|text=Ruwin's stream}}</code> generates |
− | {{Twitch|ruwin| | + | {{Twitch|ruwin|text=Ruwin's stream}} |
+ | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:25, 6 August 2013
Usage[edit]
{{Twitch|ruwin|text}}
generates
{{Twitch|ruwin}}
generates
{{Twitch|ruwin|text=Ruwin's stream}}
generates