Template:Obsolete: Difference between revisions

From OLPC
Jump to navigation Jump to search
(blue on dark brown is pretty impossible to read)
(→‎Usage: explain link first, better example)
 
(2 intermediate revisions by 2 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:#FFC000; color:black;">&nbsp;&nbsp;<b>{{{note|This 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>

* note is an optional replacement for the message
* note is an optional replacement for the message
*: default note: This page has a more up-to-date location:
*: the default message is: This page has a more up-to-date location:
* link is required
<nowiki>
{{Obsolete
|note = A more up-to-date location for this information:
|link = [[replacement page]]
}}
</nowiki>



Example:
<nowiki>{{Obsolete |note = This is better explained at: |link = [[Sugar]]}}</nowiki>
produces
{{Obsolete
{{Obsolete
|note = A more up-to-date location for this information:
|note = This is better explained at:
|link = [[Sugar]]
|link = [[Sugar]]
}}
}}



[[Category:Template]]
[[Category:Page flagging template]]</noinclude>
[[Category:Page flagging 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