Template:Broken link: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (tweaking)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>''broken link'' <s>{{{1|}}}</s>{{{ 2|}}}[[Category:Broken Links]]</includeonly><noinclude>
<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.
Allows the tagging of '''external''' links that no longer point to valid URLs. Optionally, you can provide a 'replacement' link.


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


[[Category:Template]]
[[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