Template:Steam: Difference between revisions
Jump to navigation
Jump to search
Reversed order of if statements to make icon default |
Adding custom link functionality |
||
Line 1: | Line 1: | ||
[[Image:Steam_icon.png|link=http://www.steamcommunity.com/id/{{{1}}}]] {{#if:{{{2|}}}|[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]|}} {{#if:{{{text|}}}|[http://www.steamcommunity.com/id/{{{1}}} {{{text}}}]|}}<noinclude> | ||
== Usage == | == Usage == | ||
* <code>{{Steam|Harbleu|text}}</code> generates | * <code>{{Steam|Harbleu|text}}</code> generates | ||
Line 5: | Line 5: | ||
* <code>{{Steam|Harbleu}}</code> generates | * <code>{{Steam|Harbleu}}</code> generates | ||
{{Steam|Harbleu}} | {{Steam|Harbleu}} | ||
* <code>{{Steam|Harbleu|text=harbleu}}</code> generates | |||
{{Steam|Harbleu|text=harbleu}} | |||
</noinclude> | </noinclude> |
Revision as of 10:33, 29 July 2013
Usage
{{Steam|Harbleu|text}}
generates
{{Steam|Harbleu}}
generates
{{Steam|Harbleu|text=harbleu}}
generates