Template:Source 2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<onlyinclude>{{Software | <onlyinclude>{{Software | ||
| vdc = yes | |||
| 1 = {{{1}}} | | 1 = {{{1}}} | ||
| ico = Icon-Source 2.png | | ico = Icon-Source 2.png | ||
| ico size = 16px | | ico size = 16px | ||
| link = | | link = {{#switch:{{{linkto}}}|#default|Source 2|source2=Source 2|Source 2 Documentation|doc|Doc|S2 Doc|Source_2/Docs|Source 2/Docs=Source 2/Docs}} | ||
| name = {{#switch: {{language}} | | name = {{#switch: {{language}} | ||
| #default = Source 2 | | #default = Source 2 |
Latest revision as of 05:46, 4 January 2025
Template Documentation [2/Doc&action=edit edit]
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
ornot
, 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 |
{{source 2|2}}
|
→ ![]() |
{{source 2|3}}
|
→ Source 2 |
{{source 2|3.1}}
|
→ Source 2 |
{{source 2|3.2}}
|
→ Source 2 |
{{source 2|4}}
|
→ ![]() |
{{source 2|4.1}}
|
→ ![]() |
{{source 2|4.2}}
|
→ ![]() |
{{source 2|4|nt=0}}
|
→ ![]() |
{{source 2|4|nt=1}}
|
→ ![]() |
{{source 2|4|nt=2}}
|
→ ![]() |
{{source 2|4|nt=3}}
|
→ ![]() |
{{source 2|4|nt=doc}}
|
→ ![]() |
{{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 ![]() ![]() ![]() |