Template:Dmcr

From Valve Developer Community
Jump to navigation Jump to search
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)
Template Documentation



Icon-translate.pngDocumentation language
...

Creates a link icon and/or link text to Deathmatch Classic: Refragged Deathmatch Classic: Refragged.

Usage

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

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

{{Dmcr|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. {{Dmcr}} Deathmatch Classic: Refragged
{{{1}}} The appearance of the text, displaying info such as "also in" and getting data from the template.

Avaliable values:

Design Info
1 in
2 also
3 only
4 since
removed
not
{{Dmcr|1}} Deathmatch Classic: Refragged
{{Dmcr|2}} Deathmatch Classic: Refragged Deathmatch Classic: Refragged
{{Dmcr|3}} Deathmatch Classic: Refragged
{{Dmcr|4}} Deathmatch Classic: Refragged Deathmatch Classic: Refragged
{{Dmcr|in}} (in Deathmatch Classic: Refragged)
{{Dmcr|also}} (also in Deathmatch Classic: Refragged)
{{Dmcr|only}} (only in Deathmatch Classic: Refragged)
{{Dmcr|since}} (in all games since Deathmatch Classic: Refragged)
{{Dmcr|removed}} (removed since Deathmatch Classic: Refragged)
{{Dmcr|not}} (not in Deathmatch Classic: Refragged)
{{{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. {{Dmcr|also|addtext={{l4d}}{{csgo}}}} (also in Deathmatch Classic: RefraggedLeft 4 DeadCounter-Strike: Global Offensive)
{{{nt}}} Another name for this software, for example: for Hl2 template, using reg shows the registered trademark symbol.
{{Dmcr|4|nt=reg}} Deathmatch Classic: Refragged Deathmatch Classic: Refragged

Components