Template:npapi

<%
// Inserts a link to an API located at the top level of the site;
// these should really move to where they actually belong, but there you go.
//
// Parameters:
//
//  $0 - API name

var lang = env.locale;

var URL = "/" + lang + "/docs/" + $0;
%>
<%- template("xref", [URL, $0]) %>
Search for pages that use Template:npapi to see example use cases and how many pages use this macro.

Document Tags and Contributors

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