From Valve Developer Community
Jump to navigation
Jump to search
|
|
Line 3: |
Line 3: |
|
| |
|
| --><span style="color:{{{color| {{Game color|{{{1}}}}}}}}; background-color: #202020; font-weight:bold; padding: 2px; {{border-radius|4px}}; white-space:nowrap"><!-- | | --><span style="color:{{{color| {{Game color|{{{1}}}}}}}}; background-color: #202020; font-weight:bold; padding: 2px; {{border-radius|4px}}; white-space:nowrap"><!-- |
| -->({{trim|{{{prefix|}}} {{{text|{{Software/strings|In}}}}} {{{1}}} {{{suffix|}}} }})<!-- TRANSLATIONS HAS BEEN MOVED TO "Template:Software/strings". | | -->({{trim|{{{prefix|}}} {{{text|{{Software/strings|In}}}}} {{{1}}} {{{suffix|{{Autolang||zh=之中}} }}} }})<!-- TRANSLATIONS HAS BEEN MOVED TO "Template:Software/strings". |
| --></span><!-- | | --></span><!-- |
|
| |
|
Revision as of 00:05, 10 January 2024

Available doc translations
…
EnglishThis template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.
An inline template showcasing the game availability of a keyvalue, material parameter, or other feature.
It is intended to be a super template for the ones listed below.
The color of the text changes based upon which game is used.
Translations
The used strings are on strings subpage of "Software" template. Please follow the format to add translations for them.
Usage
Parameters
{{{1}}}: This unnamed parameter should be a transclusion of a template in Category:Game icons. Multiple game icon templates can be used, but this will result in the default color for the text.
{{{text}}}: The text to be shown on the left of the icon. Default is in
.
{{{suffix}}}: The text to be shown on the right of the icon. Default is nothing.
{{{color}}}: The color of the text. Defaults to the color of the game icon used.
Examples
{{in|{{hl2}}}} |
→ <span style="color: {{ |col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;; white-space:nowrap">(in
This template (and its redirect) is Deprecated. Its use is not recommended and its functionality may be compromised. You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion. Additional notes:Use #switch parser function instead. Example {{#switch: {{language}} | #default = English | ja = 日本語 | zh-tw = 中文(台灣) }}
)
|
{{in|{{hl1}}{{hlbs}}}} |
→ <span style="color: {{  |col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;; white-space:nowrap">(in 
This template (and its redirect) is Deprecated. Its use is not recommended and its functionality may be compromised. You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion. Additional notes:Use #switch parser function instead. Example {{#switch: {{language}} | #default = English | ja = 日本語 | zh-tw = 中文(台灣) }}
)
|
{{in|{{hl1}}{{hlbs}}|color=#FFFFFF}} |
→ (in 
This template (and its redirect) is Deprecated. Its use is not recommended and its functionality may be compromised. You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion. Additional notes:Use #switch parser function instead. Example {{#switch: {{language}} | #default = English | ja = 日本語 | zh-tw = 中文(台灣) }}
)
|
{{in|text=in all games since|{{tf2}}}} |
→ <span style="color: {{ |col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;; white-space:nowrap">(in all games since
This template (and its redirect) is Deprecated. Its use is not recommended and its functionality may be compromised. You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion. Additional notes:Use #switch parser function instead. Example {{#switch: {{language}} | #default = English | ja = 日本語 | zh-tw = 中文(台灣) }}
)
|
{{in|{{l4dbranch|3.1}}}} |
→ <span style="color: {{ Left 4 Dead engine branch|col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;; white-space:nowrap">(in Left 4 Dead engine branch
This template (and its redirect) is Deprecated. Its use is not recommended and its functionality may be compromised. You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion. Additional notes:Use #switch parser function instead. Example {{#switch: {{language}} | #default = English | ja = 日本語 | zh-tw = 中文(台灣) }}
)
|
{{in|{{src06}}|suffix=branch}} |
→ <span style="color: {{ |col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;; white-space:nowrap">(in branch)
|
{{in|{{src13|4}}|suffix=branch}} |
→ <span style="color: {{ Source 2013|col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;; white-space:nowrap">(in Source 2013 branch)
|
See also