Template:Tpl error/doc: Difference between revisions
Jump to navigation
Jump to search
Another OWL (talk | contribs) |
No edit summary |
||
Line 10: | Line 10: | ||
! Preview | ! Preview | ||
|- | |- | ||
| style="text-align:center" | | | style="text-align:center" | <code>{{param|1}}</code> | ||
| Name of the current template. | | Name of the current template. | ||
| style="padding:.2em .5em" | | style="padding:.2em .5em" | <pre style="margin:0">{{tpl error|Gordon Freeman}}</pre> | ||
| style="text-align:center; padding:.2em .5em" | | style="background-color:#262626; text-align:center; padding:.2em .5em" | {{tpl error|Gordon Freeman}} | ||
|- | |- | ||
| style="text-align:center" | | | style="text-align:center" | <code>{{param|2}}</code> | ||
| Name of another template. Used in different types of errors. | | Name of another template. Used in different types of errors. | ||
| style="padding:.2em .5em" | | style="padding:.2em .5em" | <pre style="margin:0">{{tpl error|Gordon Freeman|Alyx Vance}}</pre> | ||
| style="text-align:center" | See [[#Type]]. | | style="background-color:#262626; text-align:center" | See [[#Type]]. | ||
|- | |- | ||
| id="Type" style="text-align:center" | | | id="Type" style="text-align:center" | <code>{{param|type}}</code> | ||
| Error type. List of available types: | | Error type. List of available types: | ||
* deprecated - for cases when the template is deprecated but has not been deleted; | * deprecated - for cases when the template is deprecated but has not been deleted; | ||
* Default - for cases where no value was specified in the template. | * Default - for cases where no value was specified in the template. | ||
| style="padding:.2em .5em" | | style="padding:.2em .5em" | <pre style="margin:0">{{tpl error|type = deprecated|Gordon Freeman|Alyx Vance}}</pre> | ||
| style="text-align:center; padding:.2em .5em" | {{Capsule|{{tpl error|type = deprecated|Gordon Freeman|Alyx Vance}}}} | | style="background-color:#262626; text-align:center; padding:.2em .5em" | {{Capsule|{{tpl error|type = deprecated|Gordon Freeman|Alyx Vance}}}} | ||
|} | |} |
Latest revision as of 04:53, 17 September 2025

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.
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:
|
{{tpl error|type = deprecated|Gordon Freeman|Alyx Vance}} |
{{Gordon Freeman}} is deprecated. Use {{Alyx Vance}} instead. |