Difference between revisions of "Template:Steam"

From comp.tf
Jump to navigation Jump to search
(Created new template)
 
(Adding if conditions for icon support)
Line 1: Line 1:
[[Image:Steam_icon.png|link=http://www.steamcommunity.com/id/{{{1}}}]] [http://www.steamcommunity.com/id/{{{1}}} Steam Community profile]<noinclude>
+
[[Image:Steam_icon.png|link=http://www.steamcommunity.com/id/{{{1}}}]] {{#if:{{{2|}}}||[http://www.steamcommunity.com/id/{{{1}}} Steam Community profile]}}<noinclude>
 
== Usage ==
 
== Usage ==
 
* <code>&#123;&#123;Steam|Harbleu&#125;&#125;</code> generates
 
* <code>&#123;&#123;Steam|Harbleu&#125;&#125;</code> generates
 
{{Steam|Harbleu}}
 
{{Steam|Harbleu}}
 +
* <code>&#123;&#123;Steam|Harbleu|icon&#125;&#125;</code> generates
 +
{{Steam|Harbleu|icon}}
 
</noinclude>
 
</noinclude>

Revision as of 17:21, 4 July 2013

Steam icon.png Steam Community profile

Usage

  • {{Steam|Harbleu}} generates

Steam icon.png Steam Community profile

  • {{Steam|Harbleu|icon}} generates

Steam icon.png