Template:Source 2/doc: Difference between revisions
Jump to navigation
Jump to search
m (THE OWL moved page Template:Source2/doc to Template:Source 2/doc) |
TSGAMEMING (talk | contribs) (Add x.2) |
||
Line 28: | Line 28: | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3.1}} | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3.1}} | ||
| → {{{{ROOTPAGENAME}}|3.1}} | | → {{{{ROOTPAGENAME}}|3.1}} | ||
|- | |||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3.2}} | |||
| → {{{{ROOTPAGENAME}}|3.2}} | |||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4}} | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4}} | ||
Line 34: | Line 37: | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4.1}} | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4.1}} | ||
| → {{{{ROOTPAGENAME}}|4.1}} | | → {{{{ROOTPAGENAME}}|4.1}} | ||
|- | |||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4.2}} | |||
| → {{{{ROOTPAGENAME}}|4.2}} | |||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}0}} | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}0}} |
Revision as of 04:44, 5 September 2023

This is a documentation subpage for Template:Source 2.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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 |
{{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|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 ![]() ![]() ![]() |