Template:Tpl error: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Russian translation)
mNo edit summary
 
Line 1: Line 1:
{{doc}}
{{doc}}
<includeonly>
<includeonly><onlyinclude><code style="background-color:rgb(130 60 60 / 16%); border-radius:.3em; white-space:nowrap; color:rgb(255 100 100); padding:.15em .3em">{{#switch:{{{type|}}}
 
<onlyinclude><code style="background-color:rgb(130 60 60 / 16%); border-radius:.3em; white-space:nowrap; color:rgb(255 100 100); padding:.15em .3em">{{#switch:{{{type|}}}


| #default = <nowiki>{{</nowiki>{{{1|}}}<nowiki>}}</nowiki>
| #default = <nowiki>{{</nowiki>{{{1|}}}<nowiki>}}</nowiki>


| deprecated = <nowiki>{{</nowiki>[[Template:{{{1|}}}|{{{1|}}}]]<nowiki>}}</nowiki> {{autolang|is deprecated.|ru = устарел.}} {{autolang|Use|ru = Используйте}} <nowiki>{{</nowiki>[[Template:{{{2|}}}|{{{2|}}}]]<nowiki>}}</nowiki> {{autolang|instead|ru = вместо него}}.
| deprecated = <nowiki>{{</nowiki>[[Template:{{{1|}}}|{{{1|}}}]]<nowiki>}}</nowiki> {{Tpl error/strings|is}} {{Tpl error/strings|use}} <nowiki>{{</nowiki>[[Template:{{{2|}}}|{{{2|}}}]]<nowiki>}}</nowiki> {{Tpl error/strings|instead}}


}}</code></onlyinclude>
}}</code></onlyinclude></includeonly>


</includeonly>
<includeonly>{{#if:{{{nocat|}}}||[[Template:Pages with template errors]]}}

Latest revision as of 13:22, 26 January 2024

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
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

A message indicating an error in the template.

Parameters and Examples

Parameter Description Example Preview
{{{1}}} Name of the current template.
{{tpl error|Gordon Freeman}}
{{Gordon Freeman}}
{{{2}}} Name of another template. Used in different types of errors.
{{tpl error|Gordon Freeman|Alyx Vance}}
See #Type.
{{{type}}} Error type. List of available types:
  • deprecated - for cases when the template is deprecated but has not been deleted;
  • Default - for cases where no value was specified in the template.
{{tpl error|type = deprecated|Gordon Freeman|Alyx Vance}}
{{Gordon Freeman}} is deprecated. Use {{Alyx Vance}} instead.