Template:Tpl error: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{doc}} <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">{{#...")
 
mNo edit summary
Line 6: Line 6:
| #default = <nowiki>{{</nowiki>{{{1|}}}<nowiki>}}</nowiki>
| #default = <nowiki>{{</nowiki>{{{1|}}}<nowiki>}}</nowiki>


| deprecated = <nowiki>{{</nowiki>[[{{{1|}}}]]<nowiki>}}</nowiki> is deprecated. Use <nowiki>{{</nowiki>[[{{{2|}}}]]<nowiki>}}</nowiki> instead.
| deprecated = <nowiki>{{</nowiki>[[Template:{{{1|}}}|{{{1|}}}]]<nowiki>}}</nowiki> is deprecated. Use <nowiki>{{</nowiki>[[Template:{{{2|}}}|{{{2|}}}]]<nowiki>}}</nowiki> instead.


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


</includeonly>
</includeonly>

Revision as of 01:43, 21 September 2023

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.