Difference between revisions of "Template:Deprecated/doc"

From EVE University Wiki
Jump to: navigation, search
m
m (Rewrite to adapt to changes in the template)
Line 1: Line 1:
<noinclude>{{main|Template:Deprecated}}</noinclude>
+
; 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 <code>'''newinfo'''</code> with a link to current information, if applicable, or otherwise leave it blank:<br/>
+
: 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>
  
<code><nowiki>{{Deprecated|user=~~~~|newinfo=}}</nowiki></code>.
+
<code><nowiki>{{Deprecated|user=~~~~|<newinfo>}}</nowiki></code>
  
Adding this template will also add it to the category [[:Category:Deprecated pages]] .  
+
: 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]].
 +
: This template will automatically adapt its text based on the [[mediawikiwiki:Help:Namespaces|namespace]] in which it is used.
 +
:: {|
 +
!Namespace!!text
 +
|-
 +
|Main|| article
 +
|-
 +
|File||file
 +
|-
 +
|Template||template
 +
|-
 +
|Category||category
 +
|-
 +
|all other||page
 +
|}
  
=== See also ===
+
; Dependencies
 +
: Uses:
 +
:: {{T|Color box}}
 +
 
 +
; Syntax
 +
: {{T|Deprecated|2=user=|3=newinfo=|4=link to new information}}
 +
:: user=
 +
::: to indicate who placed the template. Preferably use the 4 tildes <nowiki>(~~~~)</nowiki> which will automatically be replaced by user name and date and time.
 +
:: newinfo= (deprecated)
 +
::: for a link to the new information (left in to make sure that older instances of the template call keep working)
 +
:: link to new information
 +
::: for a link to the new information
 +
 
 +
; Sample
 +
: {{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 -->
 +
{{Color box
 +
|color= #723913
 +
|border= #d16d2a
 +
|width= 85%
 +
|align= center
 +
|'''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)}}
 +
<!-- end -->
 +
 
 +
; See also
 
* {{tl|Deletion}}, for pages which should be deleted
 
* {{tl|Deletion}}, for pages which should be deleted
 
* {{tl|Historical}}, for obsolete pages which should be kept as a historical record
 
* {{tl|Historical}}, for obsolete pages which should be kept as a historical record
Line 12: Line 52:
  
 
<includeonly>[[Category:Maintenance templates]]</includeonly>
 
<includeonly>[[Category:Maintenance templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
 

Revision as of 13:57, 20 October 2021

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:
{{Color box}}
Syntax
{{Deprecated|<user=>|<newinfo=>|<link to new information>}}
user=
to indicate who placed the template. Preferably use the 4 tildes (~~~~) which will automatically be replaced by user name and date and time.
newinfo= (deprecated)
for a link to the new information (left in to make sure that older instances of the template call keep working)
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