Difference between revisions of "Template:Game link"

From Valve Developer Community
Jump to: navigation, search
(Don't link game title if the corresponding page doesn't exist)
Line 1: Line 1:
<span style="white-space:nowrap;">{{#switch: {{{1|}}}
+
<span style="white-space:nowrap;">{{#switch: {{{1}}}
 
| Source = {{source}}
 
| Source = {{source}}
 
| Half-Life = {{hl1}}
 
| Half-Life = {{hl1}}
Line 23: Line 23:
 
| Counter-Strike: Global Offensive = {{csgo}}
 
| Counter-Strike: Global Offensive = {{csgo}}
 
| Dear Esther = {{Dear Esther}}
 
| Dear Esther = {{Dear Esther}}
}} [[{{{1|}}}]]</span><noinclude>
+
}} {{#ifexist: {{{1}}} | [[{{{1}}}]] | {{{1}}} }}</span><noinclude>
 
[[Category:Game icons|G]]
 
[[Category:Game icons|G]]
 
</noinclude>
 
</noinclude>

Revision as of 13:05, 13 November 2013

{{{1}}}