Difference between revisions of "Template:Deprecated"

From EVE University Wiki
Jump to: navigation, search
(Update documentation. Add two parameters for housekeeping records: newinfo and user)
m (Remove "newinfo" code. All uses of "newinfo" have been removed.)
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]]
+
{{Banner
==Documentation==
+
|color= #723913
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 <code>'''newinfo'''</code> with a link to current information, if applicable, or otherwise leave it blank:<br/>
+
|border= #d16d2a
 
+
|'''This <noinclude>'''<article / file / template / category / page>'''</noinclude><includeonly>{{#switch: {{NAMESPACENUMBER}}
<code><nowiki>{{Deprecated|user=~~~~|newinfo=}}</nowiki></code>.
+
| 0= article
 
+
| 6= file
Please see [[:Category:Deprecated Pages]] for a list of these pages. Compare [[Template:Deletion]].
+
| 10= template
 +
| 14= category
 +
| #default= page  
 +
}}</includeonly> is deprecated and no longer in use.''' <!--
 +
-->{{#if: {{{1|}}}
 +
|<br>Please visit {{{1}}} for current info.
 +
|There is no replacement information available.
 +
}} <!--
 +
-->{{#if: {{{user|}}} |User: {{{user|}}}|}}
 +
}}
 +
<includeonly>{{#ifeq: {{NAMESPACENUMBER}}|10|[[Category:Deprecated templates]]|[[Category:Deprecated pages]]}}</includeonly><noinclude>
 +
{{documentation}}
 
</noinclude>
 
</noinclude>
:{{Color box|color=#723913|border=#d16d2a|'''This article is deprecated and no longer in use.''' <!--
 
-->{{#if: {{{newinfo}}} |Please visit {{{newinfo}}} for current info.|}} <!--
 
-->User: {{{user}}}
 
}}
 
<includeonly>[[Category:Deprecated Pages]]</includeonly><noinclude><!--This ensures the template is visible above, but this page is not added to the category Deprecated Pages (is this necessary?) Telinchei 2015.--></noinclude>
 

Latest revision as of 13:45, 1 December 2021

This <article / file / template / category / page> is deprecated and no longer in use. There is no replacement information available.


Template documentation (for the above template, sometimes hidden or invisible)
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
Sample
{{Deprecated|user= ~~~~|[[Main Page]]}}
gives...
This page is deprecated and no longer in use.
Please visit Main Page for current info. User: Evon R'al (talk) 13:13, 20 October 2021 (UTC)


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
Visit Template:Deprecated/doc to edit this text! (How does this work?) (Refresh this text - why?)