Template:Broken link: Difference between revisions

From OLPC
Jump to navigation Jump to search
(cleanup helper template for broken external links)
 
m (tweaking)
Line 1: Line 1:
<includeonly>''broken link''[[Category:Broken Links]]</includeonly><noinclude>Tagging an '''external''' link with
<includeonly>''broken link'' <s>{{{1|}}}</s>{{{ 2|}}}[[Category:Broken Links]]</includeonly><noinclude>
Allows the tagging of '''external''' links that no longer point to valid URLs. Optionally, you can provide a 'replacement' link.
<nowiki>{{broken link}}</nowiki>

will automatically include the page in the [[:Category:Broken Links]] either to be [[:Category:Cleanup|cleaned up]] or corrected&mdash;hopefully&mdash;in the near future.
Pages with using this template will be categorized under in the [[:Category:Broken Links]] either to be [[:Category:Cleanup|cleaned up]] or corrected&mdash;hopefully&mdash;in the near future.

== Usage ==

<nowiki>{{broken link}}</nowiki>
OPTIONAL first parameter is the actual ''broken'' link
OPTIONAL second parameter is a ''replacement'' link

== Sample ==

<nowiki>{{broken link}}</nowiki>
{{broken link}}

<nowiki>{{broken link | http://www.msn.com}}</nowiki>
{{broken link | http://www.msn.com}}

<nowiki>{{broken link | [http://www.msn.com msn.com]}}</nowiki>
{{broken link | [http://www.msn.com msn.com]}}

<nowiki>{{broken link | [http://www.msn.com msn.com] | http://www.google.com}}</nowiki>
{{broken link | [http://www.msn.com msn.com] | http://www.google.com}}

<nowiki>{{broken link | [http://www.msn.com msn.com] | [http://www.google.com google.com]}}</nowiki>
{{broken link | [http://www.msn.com msn.com] | [http://www.google.com google.com]}}


[[Category:Template]]
[[Category:Template]]

Revision as of 16:55, 22 June 2007

Allows the tagging of external links that no longer point to valid URLs. Optionally, you can provide a 'replacement' link.

Pages with using this template will be categorized under in the Category:Broken Links either to be cleaned up or corrected—hopefully—in the near future.

Usage

{{broken link}}
OPTIONAL first parameter is the actual broken link
OPTIONAL second parameter is a replacement link

Sample

{{broken link}}

broken link

{{broken link | http://www.msn.com}}

broken link http://www.msn.com

{{broken link | [http://www.msn.com msn.com]}}

broken link msn.com

{{broken link | [http://www.msn.com msn.com] | http://www.google.com}}

broken link msn.com http://www.google.com

{{broken link | [http://www.msn.com msn.com] | [http://www.google.com google.com]}}

broken link msn.com google.com