Template:Source 2: Difference between revisions
From Valve Developer Community
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
}} | }} | ||
| name2 = {{Autolang | | name2 = {{Autolang | ||
| Source 2 Engine | |||
| fr = Moteur Source 2 | |||
| zh = 起源2引擎 | |||
}} | |||
| nameSource 2 Engine = {{Autolang | |||
| Source 2 Engine | | Source 2 Engine | ||
| fr = Moteur Source 2 | | fr = Moteur Source 2 |
Revision as of 22:22, 27 September 2023

Usage
Delivers the icon and/or a link of the game that has this abbreviation. Can also obtain the game color.
This template is based on {{Software}}.
Parameters
- {{{1}}} – Optional: The representation, see the examples below. Can be set to: 1, 2, 3, 4, col, in, also, only, since, removed, not;
- {{{nt}}} – Optional: This option allows you to select a custom game name if it is specified in the template. 0 is most often a game abbreviation;
- {{{addtext}}} – Optional: If {{{1}}} is set to in, also, only, since, removed or not, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons.
Examples
{{source 2}}
|
→ ![]() |
{{source 2|1}}
|
→ [[Source 2|<span style="white-space:nowrap; " title="![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|2}}
|
→ ![]() ![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|3}}
|
→ [[Source 2|<span title="![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|3.1}}
|
→ [[Source 2|<span title="![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|3.2}}
|
→ [[Source 2|<span title="![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|4}}
|
→ ![]() ![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|4.1}}
|
→ ![]() ![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|4.2}}
|
→ ![]() ![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|4|nt=0}}
|
→ ![]() ![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|4|nt=1}}
|
→ ![]() ![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|4|nt=2}}
|
→ ![]() ![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|4|nt=3}}
|
→ ![]() ![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|4|nt=doc}}
|
→ ![]() ![]() This template (and its redirect) is
![]() 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}} ![]() This template (and its redirect) is
![]() 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}} |
{{source 2|col}}
|
→ #f2a52b |
{{source 2|in}}
|
→ (in ![]() |
{{source 2|only}}
|
→ (only in ![]() |
{{source 2|since}}
|
→ (in all games since ![]() |
{{source 2|not}}
|
→ (not in ![]() |
{{source 2|removed}}
|
→ (removed since ![]() |
{{source 2|also|addtext={{csgo}} {{l4d2}}}}
|
→ (also in ![]() ![]() ![]() |
The above documentation is transcluded from Template:Source 2/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Hidden category: