Template:GoldSrc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<onlyinclude><includeonly>{{New icon|p={{{p}}}|ico=Gldsrc-16px.png|name=Goldsource|suf={{{suf|}}}|type={{{type|}}}|addtext={{{addtext|}}}}}</includeonly></onlyinclude>
<onlyinclude><includeonly>{{New icon|{{{1}}}|ico=Gldsrc-16px.png|name=Goldsource|suf={{{suf|}}}|addtext={{{addtext|}}}}}</includeonly></onlyinclude>
{{documentation|Template:Hl2/doc}}
{{documentation|Template:Hl2/doc}}

Revision as of 13:06, 18 April 2022

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

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}} Gldsrc-16px.png
{{goldSrc|1}} Goldsource
{{goldSrc|2}} Gldsrc-16px.png Goldsource
{{goldSrc|3}} Goldsource
{{goldSrc|3.1}} Goldsource
{{goldSrc|4}} Gldsrc-16px.png Goldsource
{{goldSrc|4.1}} Gldsrc-16px.png Goldsource
{{goldSrc|4|nt=0}} Gldsrc-16px.png Goldsource
{{goldSrc|4|nt=1}} Gldsrc-16px.png Goldsource
{{goldSrc|4|nt=2}} Gldsrc-16px.png Goldsource
{{goldSrc|4|nt=3}} Gldsrc-16px.png Goldsource
{{goldSrc|4|nt=4}} Gldsrc-16px.png Goldsource
{{goldSrc|4|nt=5}} Gldsrc-16px.png Goldsource
{{goldSrc|4|nt=6}} Gldsrc-16px.png Goldsource
{{goldSrc|col}} → #ADD8E6
{{goldSrc|in}} (in Gldsrc-16px.png)
{{goldSrc|only}} (only in Gldsrc-16px.png)
{{goldSrc|since}} (in all games since Gldsrc-16px.png)
{{goldSrc|not}} (not in Gldsrc-16px.png)
{{goldSrc|removed}} (removed since Gldsrc-16px.png)
{{goldSrc|also|addtext={{csgo}} {{l4d2}}}} (also in Gldsrc-16px.pngCounter-Strike: Global Offensive Left 4 Dead 2)