Template:Sr

From Valve Developer Community
Jump to navigation Jump to search
Warning icon.png
This template has been marked as a candidate for speedy deletion for the following reason:
This Template may be removed (after replacing all its uses on the pages). This project has not yet earned a full software template.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
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
Page history

Creates a link icon and/or link text to SourceRenewed SourceRenewed. Also provides the ability to use raw template data for other purposes.

Usage

 This template is usually written in a single line without spaces(?).

To use it, insert {{Sr}} into the desired page and specify the parameters described below to the right of the template name in the following format:

{{Sr|parameter1=value|parameter2=value}}
Icon-Important.pngImportant:The template should not be used just because it looks "pretty" compared to a regular link.

Here is a list of the most suitable places:

  • The beginning of an article about the software linked to by this template (for example, PUNT);
  • Tables with a list of software (such as the list of games released on Source or the Level Design category);
  • Discussion page;
  • User page;
  • In regular link ("1" text appearance) or icon-only mode in a in-line list of several games (e.g. saying something is (only in Half-Life 2 Portal Portal 2)).
Its use anywhere other than as mentioned above is strongly not recommended due to poor page readability (icons and colorful links draw too much attention and clutters the page where it is not needed). Use with extreme caution and ignore the suggested list only when absolutely necessary.
Parameter Description Example Preview
No Parameters Creates an icon with a link to the game. {{Sr}} SourceRenewed
{{{1}}} The appearance of the text, displaying info such as "also in" and getting data from the template.

Avaliable values:

Design Info Getting Data
1 in name
2 also link
3 only extlink (?)
3.1 since col
4 removed ico
4.1 not ico1 (?)
ico2
ico3
ico1 name (?)
ico2 name
ico3 name
{{Sr|1}} SourceRenewed
{{Sr|2}} SourceRenewed SourceRenewed
{{Sr|3}} SourceRenewed
{{Sr|3.1}} SourceRenewed
{{Sr|4}} SourceRenewed SourceRenewed
{{Sr|4.1}} SourceRenewed SourceRenewed
{{Sr|in}} (in SourceRenewed)
{{Sr|also}} (also in SourceRenewed)
{{Sr|only}} (only in SourceRenewed)
{{Sr|since}} (in all games since SourceRenewed)
{{Sr|removed}} (removed since SourceRenewed)
{{Sr|not}} (not in SourceRenewed)
{{Sr|name}} SourceRenewed
{{Sr|link}} SourceRenewed
{{Sr|extlink}} No external link
{{Sr|col}} #ffffff
{{Sr|ico}} Source-Renewed-Logo.png
{{Sr|ico1}} No icon 1
{{Sr|ico2}} No icon 2
{{Sr|ico3}} No icon 3
{{Sr|ico1 name}} No ico1 name
{{Sr|ico2 name}} No ico2 name
{{Sr|ico2 name}} No ico3 name
{{{addtext}}} 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. {{Sr|also|addtext={{l4d}}{{csgo}}}} (also in SourceRenewedLeft 4 DeadCounter-Strike: Global Offensive)
{{{link}}} If overwritten, the link will lead to another page on this wiki. {{Sr|link=SDK Docs}} SourceRenewed
{{{nt}}} Another name for this software, for example: for Hl2 template, using reg shows the registered trademark symbol.
{{Sr|nt=}} SourceRenewed SourceRenewed

Components

  • {{Software}} - the core of this template, without which it will not function.
  • {{Software/strings}} - strings from the core template translated into other languages.