Difference between revisions of "Template:Steam"
Jump to navigation
Jump to search
(Reversed order of if statements to make icon default) |
m |
||
(2 intermediate revisions by one other user not shown) | |||
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 == | ||
+ | You just need to copy any of the code snippets below and change the variables accordingly. | ||
+ | |||
+ | |||
+ | * <code>{{Steam|Harbleu}}</code> generates | ||
+ | {{Steam|Harbleu}} | ||
* <code>{{Steam|Harbleu|text}}</code> generates | * <code>{{Steam|Harbleu|text}}</code> generates | ||
{{Steam|Harbleu|text}} | {{Steam|Harbleu|text}} | ||
− | * <code>{{Steam|Harbleu}}</code> generates | + | * <code>{{Steam|Harbleu|text=harbleu}}</code> generates |
− | {{Steam|Harbleu}} | + | {{Steam|Harbleu|text=harbleu}} |
+ | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 18:39, 8 September 2013
Usage[edit]
You just need to copy any of the code snippets below and change the variables accordingly.
{{Steam|Harbleu}}
generates
{{Steam|Harbleu|text}}
generates
{{Steam|Harbleu|text=harbleu}}
generates