Template:Tpl error/doc

From Valve Developer Community
Jump to: navigation, 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)
Edit-copy.png
This is a documentation subpage for Template:Tpl error.
Don't forget to purge the contents of the base page upon creating or editing this subpage.  

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.