Template:Steam: Difference between revisions

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 Community profile

Usage

  • {{Steam|Harbleu}} generates

Steam Community profile

  • {{Steam|Harbleu|icon}} generates