Template:AMInterface

by 3 contributors:
<%
// Inserts a link to the documentation for the specified Add-on Manager interface
//
// $0 - interface to link to
// $1 - (OPTIONAL) method within the interface to link to

var lang = env.locale;

var dest = "/" + lang + '/Add-ons/Add-on_Manager/' + $0;
var title = $0;
var target = "";

if ($1) {
  target = '#' + $1 + '()';
  title = $0 + '.' + $1 + '()';
}
%>
<code><a href="<%=dest%>" title="<%=title%>"><%=title%></a></code>
Search for pages that use Template:AMInterface to see example use cases and how many pages use this macro.

Document Tags and Contributors

Tags: 
Contributors to this page: kmaglione, fscholz, Sheppy
Last updated by: kmaglione,