Template:Obsolete: Difference between revisions

From OLPC
Jump to navigation Jump to search
((since the page still exists))
(→‎Usage: explain link first, better example)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>Template for obsolete pages
<noinclude>Template for obsolete pages
<br clear="all"></noinclude>
<br clear="all"></noinclude>
<div style="background:#CC6600; color:white;">&nbsp;&nbsp;<b>The page has a more up-to-date location: {{{link}}}</b></div>
<div style="background:#FFC000; color:black;">[[File:542-stopicon.png|35px|link=]] <b> {{{note|This page has a more up-to-date location:}}} {{{link}}}</b></div>
[[Category:Obsolete]]
[[Category:Obsolete]]
<noinclude>
<noinclude>
Line 7: Line 7:


== Usage ==
== Usage ==
* link is required, <tt>link=''mark-up that links to the replacement location''</tt>
<nowiki>
{{Obsolete
|link = [[replacement page]]
}}
</nowiki>


* note is an optional replacement for the message
*: the default message is: This page has a more up-to-date location:


Example:
<nowiki>{{Obsolete |note = This is better explained at: |link = [[Sugar]]}}</nowiki>
produces
{{Obsolete
{{Obsolete
|note = This is better explained at:
|link = [[Sugar]]
|link = [[Sugar]]
}}
}}


[[Category:Page flagging template]]</noinclude>

[[Category:Template]]</noinclude>

Latest revision as of 09:04, 30 January 2012

Template for obsolete pages

542-stopicon.png This page has a more up-to-date location: {{{link}}}


Usage

  • link is required, link=mark-up that links to the replacement location
  • note is an optional replacement for the message
    the default message is: This page has a more up-to-date location:

Example:

{{Obsolete |note = This is better explained at: |link = [[Sugar]]}}

produces

542-stopicon.png This is better explained at: Sugar