Template:Source cvs

by 2 contributors:
<%
// Insert a link to a file in the CVS Mozilla source repository.
//
//  $0 - File to link to
//  $1 - (OPTIONAL) text for the link
//
// If $1 isn't provided, the link itself is the link text

var url = "http://mxr.mozilla.org/mozilla/source/" + $0;
var text = ($1 || url);
%>
<a rel="custom" href="<%=url%>"><%=text%></a>
Search for pages that use Template:Source cvs to see example use cases and how many pages use this macro.

Document Tags and Contributors

Tags: 
Contributors to this page: trevorh, Sheppy
Last updated by: trevorh,