Template:Broken link: Difference between revisions

From OLPC
Jump to navigation Jump to search
(cleanup helper template for broken external links)
 
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>''broken link''[[Category:Broken Links]]</includeonly><noinclude>Tagging an '''external''' link with
<includeonly><s>{{{1|}}}</s><span style="font-size:60%; ">''broken'' </span>{{{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.
[[Category:Template]]

== 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:Page flagging template]]
</noinclude>
</noinclude>

Latest revision as of 21:41, 1 August 2010

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

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

http://www.msn.combroken

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

msn.combroken

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

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

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

msn.com broken google.com