Template:Obsolete: Difference between revisions

From OLPC
Jump to navigation Jump to search
(add graphic)
(→‎Usage: explain link first, better example)
 
(One intermediate revision by the same user not shown)
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