Template:Deprecated/testcases
This is the template test cases page for the sandbox of Template:Deprecated. to update the examples. |
Testing sandbox version
[edit]{{Deprecated/sandbox}}
- {{Deprecated|1.20.0}}
- {{Deprecated|1.20.0|Optional message}}
- {{Deprecated|1.20.0|newvarname=$IP|newvarlink=Special:MyLanguage/Manual:$IP}}
Testing main template
[edit]{{Deprecated}}
with no parameters (tests use nocat=1 to avoid assignment to category):
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility . |
replacement=mw
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility . It has been replaced by core functionality in the MediaWiki software. |
replacement=mw|version=2.3
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility . It has been replaced by core functionality in the MediaWiki software (which was added in version 2.3). |
replacement=mw|version=
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility . It has been replaced by core functionality in the MediaWiki software. |
replacement=StructuredDiscussions
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility . It has been replaced by StructuredDiscussions. |
replacement=StructuredDiscussions|version=notused
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility . It has been replaced by StructuredDiscussions. |
replacement=mw|version=2.3|newvarlink=Special:MyLanguage/Manual:$IP|1=3.1.33|2=A lot of parameters.|newvarname=$IP
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility .
It has been replaced by core functionality in the MediaWiki software (which was added in version 2.3). This feature was deprecated in version 3.1.33. A lot of parameters.See $IP for an alternative way to use this feature. |
newvarlink=Special:MyLanguage/Manual:$IP|1=3.1.33|2=This text comes from parameter '2='.|newvarname=$IP
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility .
|
newvarlink=Special:MyLanguage/Manual:$IP|1=3.1.33|2=Without newvarname.
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility .
|
newvarlink=Special:MyLanguage/Manual:$IP|2=Without version.
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility .
|
newvarlink=Special:MyLanguage/Manual:$IP|version=misused
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility .
|
newvarlink=$IP|newvarname=TheIpPage|2=Links to page $IP.
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility .
|
newvarlink=Special:MyLanguage/Manual:$IP|newvarname=ipPage|2=Links to Special:MyLanguage/Manual:$IP.
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility .
|
With 'nocat' not used, the page where the template is transcluded will be in category of obsolete pages (not tested here).