More actions
m Rewrite to adapt to changes in the template |
m Update Syntax, part of parameter was missing. |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
: In order to ensure correct records are kept, please copy the following format to sign and date the template to verify yourself. While doing so, please replace the parameter <code>'''<newinfo>'''</code> with a link to current information, if applicable, or otherwise leave it blank:<br> | : In order to ensure correct records are kept, please copy the following format to sign and date the template to verify yourself. While doing so, please replace the parameter <code>'''<newinfo>'''</code> with a link to current information, if applicable, or otherwise leave it blank:<br> | ||
{{Code|<nowiki>{{Deprecated|user= ~~~~|<newinfo>}}</nowiki>}} | |||
: Adding this template will also add it to the category [[:Category:Deprecated pages|Deprecated pages]] or, for templates, add it to the category [[:Category:Deprecated templates|Deprecated templates]]. | : Adding this template will also add it to the category [[:Category:Deprecated pages|Deprecated pages]] or, for templates, add it to the category [[:Category:Deprecated templates|Deprecated templates]]. | ||
| Line 23: | Line 23: | ||
; Dependencies | ; Dependencies | ||
: Uses: | : Uses: | ||
:: {{T| | :: {{T|Banner}} | ||
; Syntax | ; Syntax | ||
: {{T|Deprecated|2=user=|3 | : {{T|Deprecated|2=user= name|3=link to new information}} | ||
:: user= | :: user= | ||
::: to indicate who placed the template. Preferably use the 4 tildes <nowiki>(~~~~)</nowiki> which will automatically be replaced by user name | ::: to indicate who placed the template. Preferably use the 4 tildes <nowiki>(~~~~)</nowiki> which will automatically be replaced by user name, date and time. | ||
:: link to new information | :: link to new information | ||
::: for a link to the new information | ::: for a link to the new information | ||
; Sample | ; Sample | ||
: {{Code|<nowiki>{{Deprecated|user=~~~~|[[Main Page]]}}</nowiki>}} gives... | : {{Code|<nowiki>{{Deprecated|user= ~~~~|[[Main Page]]}}</nowiki>}} gives... | ||
<!-- Use code instead of actual template because that would put the template and doc page in the deprecated category --> | <!-- Use code instead of actual template because that would put the template and doc page in the deprecated category --> | ||
{{ | {{Banner | ||
|color= #723913 | |color= #723913 | ||
|border= #d16d2a | |border= #d16d2a | ||
|'''This page is deprecated and no longer in use.'''<br> | |'''This page is deprecated and no longer in use.'''<br> | ||
Please visit [[Main Page]] for current info. User: [[User:Evon R'al|Evon R'al]] [[User Talk:Evon R'al|(talk)]] 13:13, 20 October 2021 (UTC)}} | Please visit [[Main Page]] for current info. User: [[User:Evon R'al|Evon R'al]] [[User Talk:Evon R'al|(talk)]] 13:13, 20 October 2021 (UTC)}} | ||
| Line 52: | Line 48: | ||
<includeonly>[[Category:Maintenance templates]]</includeonly> | <includeonly>[[Category:Maintenance templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude | |||
Latest revision as of 15:13, 30 January 2022
- Description
- This template should be used to show that a page is no longer in use. It may be kept to point towards information not on the wiki, for historical reasons, or may be deleted later.
- In order to ensure correct records are kept, please copy the following format to sign and date the template to verify yourself. While doing so, please replace the parameter
<newinfo>with a link to current information, if applicable, or otherwise leave it blank:
| {{Deprecated|user= ~~~~|<newinfo>}} |
- Adding this template will also add it to the category Deprecated pages or, for templates, add it to the category Deprecated templates.
- This template will automatically adapt its text based on the namespace in which it is used.
Namespace text Main article File file Template template Category category all other page
- Dependencies
- Uses:
- {{Banner}}
- Syntax
- {{Deprecated|<user= name>|<link to new information>}}
- user=
- to indicate who placed the template. Preferably use the 4 tildes (~~~~) which will automatically be replaced by user name, date and time.
- link to new information
- for a link to the new information
- user=
- Sample
gives...{{Deprecated|user= ~~~~|[[Main Page]]}}
This page is deprecated and no longer in use.
- See also
{{Deletion}}, for pages which should be deleted{{Historical}}, for obsolete pages which should be kept as a historical record{{Update}}, for pages which should be brought up to date</noinclude