Template:DeprecatedTemplate: Difference between revisions

From Zandronum Wiki
No edit summary
Tag: Source edit
No edit summary
Tag: Source edit
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
{
{
"params": {
"params": {
"info": {
"1": {
"label": "Information",
"label": "Information",
"description": "Additional information; e.g. pointing to a replacement template",
"description": "Additional information; e.g. pointing to a replacement template",
Line 13: Line 13:
"description": "Warning box for deprecated templates",
"description": "Warning box for deprecated templates",
"paramOrder": [
"paramOrder": [
"info"
"1"
],
],
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>{{WarningBox
{| align=center border=0 cellpadding=4 cellspacing=4 style="border: solid 1px #a3b1bf; background-color: #EF8080; padding: 0.4em 1em; width: 75%; margin: 1em auto; text-align: center; border-radius: 22px"
| content = '''Warning:''' This template has been deprecated. {{#if: {{{1|}}}|<br />'''Additional information:''' {{{1}}}}}
|-
| image = MedalYouFailIt.png
| [[File:MedalYouFailIt.png]]
| background = FFB5B5
| '''Warning:''' This template has been deprecated.
| border = 770000
  {{#if: {{{info|}}}|'''Additional information:''' {{{info}}}}|}
| color = 000000
|}
}}<includeonly>[[Category: Pages using deprecated templates]]</includeonly>
<includeonly>[[Category: Pages using deprecated templates]]</includeonly>

Latest revision as of 22:55, 2 January 2023

Warning box for deprecated templates

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Information1

Additional information; e.g. pointing to a replacement template

Example
Use [[Template:Zdoomwiki]] instead.
Booleansuggested
Warning: This template has been deprecated.