Template:Steam: Difference between revisions
Jump to navigation
Jump to search
Adding if conditions for icon support |
Reversed order of if statements to make icon default |
||
Line 1: | Line 1: | ||
[[Image:Steam_icon.png|link=http://www.steamcommunity.com/id/{{{1}}}]] {{#if:{{{2|}}} | [[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>{{Steam|Harbleu|text}}</code> generates | |||
{{Steam|Harbleu|text}} | |||
* <code>{{Steam|Harbleu}}</code> generates | * <code>{{Steam|Harbleu}}</code> generates | ||
{{Steam|Harbleu}} | {{Steam|Harbleu}} | ||
</noinclude> | </noinclude> |