Template:GoldSrc/doc: Difference between revisions
Jump to navigation
Jump to search
Thunder4ik (talk | contribs) m (→Examples: clean up) |
m (Pee moved page Template:Gldsrc/doc to Template:GoldSrc/doc) |
(No difference)
|
Latest revision as of 12:09, 7 July 2024

This is a documentation subpage for Template:GoldSrc.
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
{{goldSrc}}
|
→ ![]() |
{{goldSrc|1}}
|
→ GoldSrc |
{{goldSrc|2}}
|
→ ![]() |
{{goldSrc|3}}
|
→ GoldSrc |
{{goldSrc|3.1}}
|
→ GoldSrc |
{{goldSrc|4}}
|
→ ![]() |
{{goldSrc|4.1}}
|
→ ![]() |
{{goldSrc|4|nt=0}}
|
→ ![]() |
{{goldSrc|4|nt=1}}
|
→ ![]() |
{{goldSrc|4|nt=2}}
|
→ ![]() |
{{goldSrc|4|nt=3}}
|
→ ![]() |
{{goldSrc|4|nt=4}}
|
→ ![]() |
{{goldSrc|4|nt=5}}
|
→ ![]() |
{{goldSrc|4|nt=6}}
|
→ ![]() |
{{goldSrc|col}}
|
→ #FD7360 |
{{goldSrc|in}}
|
→ (in ![]() |
{{goldSrc|only}}
|
→ (only in ![]() |
{{goldSrc|since}}
|
→ (in all games since ![]() |
{{goldSrc|not}}
|
→ (not in ![]() |
{{goldSrc|removed}}
|
→ (removed since ![]() |
{{goldSrc|also|addtext={{csgo}} {{l4d2}}}}
|
→ (also in ![]() ![]() ![]() |