Difference between revisions of "Template:Twitch"

From comp.tf
Jump to navigation Jump to search
(Categorizing)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Image:Twitch_icon.png|link=http://www.twitch.tv/{{{1}}}]] {{#if:{{{2|}}}|[http://www.twitch.tv/{{{1}}} Twitch stream]|}}<noinclude>
+
[[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>&#123;&#123;Twitch|ruwin|text&#125;&#125;</code> generates
 
* <code>&#123;&#123;Twitch|ruwin|text&#125;&#125;</code> generates
Line 5: Line 5:
 
* <code>&#123;&#123;Twitch|ruwin&#125;&#125;</code> generates
 
* <code>&#123;&#123;Twitch|ruwin&#125;&#125;</code> generates
 
{{Twitch|ruwin}}
 
{{Twitch|ruwin}}
 +
* <code>&#123;&#123;Twitch|ruwin|text=Ruwin's stream&#125;&#125;</code> generates
 +
{{Twitch|ruwin|text=Ruwin's stream}}
 +
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:25, 6 August 2013

Twitch icon.png

Usage[edit]

  • {{Twitch|ruwin|text}} generates

Twitch icon.png Twitch stream

  • {{Twitch|ruwin}} generates

Twitch icon.png

  • {{Twitch|ruwin|text=Ruwin's stream}} generates

Twitch icon.png Ruwin's stream