Difference between revisions of "Template:DeprecatedAndMovedTo"

From EGIWiki
Jump to: navigation, search
(Update usage info)
(Link to Deprecated)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{| style="border:1px solid black; background-color:lightgrey; color: black; padding:5px; font-size:140%; width: 90%; margin: auto;"
 
{| style="border:1px solid black; background-color:lightgrey; color: black; padding:5px; font-size:140%; width: 90%; margin: auto;"
 
| style="padding-right: 15px; padding-left: 15px;" |  
 
| style="padding-right: 15px; padding-left: 15px;" |  
|[[File:Alert.png]] This article is '''Deprecated''' and was moved to {{{new_location|New Location (URL)}}}.  
+
|[[File:Alert.png]] This article is '''Deprecated''' and has been moved to {{{new_location|New Location (URL)}}}.  
 
|}
 
|}
  
Line 8: Line 8:
  
 
== Usage ==
 
== Usage ==
 +
 +
The parameter '''new_location''' is used to provide the address of the new page.
  
 
The following code:
 
The following code:
Line 16: Line 18:
 
Will generate:
 
Will generate:
 
{{DeprecatedAndMovedTo|new_location=https://docs.egi.eu}}
 
{{DeprecatedAndMovedTo|new_location=https://docs.egi.eu}}
 
 
</noinclude>
 
</noinclude>
 +
<noinclude>
 +
== Notes ==
 +
If you just want to mark a page as deprecated and replaced by another page you can use https://wiki.egi.eu/wiki/Template:Deprecated

Latest revision as of 11:14, 23 March 2021

Alert.png This article is Deprecated and has been moved to New Location (URL).

Usage[edit]

The parameter new_location is used to provide the address of the new page.

The following code:

{{DeprecatedAndMovedTo|new_location=https://docs.egi.eu}}

Will generate:

Alert.png This article is Deprecated and has been moved to https://docs.egi.eu.



Notes[edit]

If you just want to mark a page as deprecated and replaced by another page you can use https://wiki.egi.eu/wiki/Template:Deprecated