Template:This is a: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Fixed {{{engine}}} when specifying multiple games)
Line 127: Line 127:
     }}
     }}
   | {{#if: {{{game|}}}
   | {{#if: {{{game|}}}
     | <!-- Multiple games -->{{#if:{{{game1|}}}|{{suflang|suf={{{suf|{{autolang|ru=:ru|zh=:zh-cn}}}}}|the following {{source|4|suf={{{suf|}}}}} games:<br>|:zh-cn=以下 {{source|4|suf={{{suf|}}}}} 游戏:<br>}}<!--
     | <!-- Multiple games -->{{#if:{{{game1|}}}|{{suflang|suf={{{suf|{{autolang|ru=:ru|zh=:zh-cn}}}}}|the following {{#switch:{{{engine|}}}|#default={{Source|4.1}}|0={{gldsrc|4.1}}|1={{source|4.1}}|2={{source2|4.1}}}} games:<br>|:zh-cn=以下 {{source|4|suf={{{suf|}}}}} 游戏:<br>}}<!--
               -->{{#ifexist:{{{game}}}{{{suf}}}|{{{{game icon name|{{{game}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game}}}}}|4}}}}{{#if:{{{game2|}}}|{{suflang|suf={{{suf|{{autolang|ru=:ru|zh=:zh-cn}}}}}|,&nbsp;|:zh-cn=、}}|{{suflang|suf={{{suf|{{autolang|ru=:ru|zh=:zh-cn}}}}}|&nbsp;and&nbsp;|:zh-cn=&nbsp;和&nbsp;}}}}<!--
               -->{{#ifexist:{{{game}}}{{{suf}}}|{{{{game icon name|{{{game}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game}}}}}|4}}}}{{#if:{{{game2|}}}|{{suflang|suf={{{suf|{{autolang|ru=:ru|zh=:zh-cn}}}}}|,&nbsp;|:zh-cn=、}}|{{suflang|suf={{{suf|{{autolang|ru=:ru|zh=:zh-cn}}}}}|&nbsp;and&nbsp;|:zh-cn=&nbsp;和&nbsp;}}}}<!--
               -->{{#ifexist:{{{game1}}}{{{suf}}}|{{{{game icon name|{{{game1}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game1}}}}}|4}}}}<!--
               -->{{#ifexist:{{{game1}}}{{{suf}}}|{{{{game icon name|{{{game1}}}}}|4|suf={{{suf|}}}}}|{{{{game icon name|{{{game1}}}}}|4}}}}<!--

Revision as of 14:01, 11 May 2023