Template:Obsolete: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: <noinclude>Template for obsolete pages <br clear="all"></noinclude> <div style="background:#BB0077; color:white;">  The page has been replaced by a more up-to-date entry. {{{link...)
 
(→‎Usage: explain link first, better example)
 
(17 intermediate revisions by 7 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:#BB0077; color:white;">&nbsp;&nbsp;The page has been replaced by a more up-to-date entry. {{{link}}}</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]]
<noinclude>
<noinclude>
<br clear="all">
<br clear="all">


== 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:
{{Obsolete link=[[Sugar]]}}
<nowiki>{{Obsolete |note = This is better explained at: |link = [[Sugar]]}}</nowiki>
produces
{{Obsolete
|note = This is better explained at:
|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