Template:MozillaOnly

  • Revision slug: Template:MozillaOnly
  • Revision title: Template:MozillaOnly
  • Revision id: 435601
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment

Revision Content

<% // Presents a banner marking a page as covering a topic specific to Mozilla. Intended // for use on API pages in particular, where the API is intentionally designed for // Mozilla products. // // Parameters: // // $0 Optional explanatory text. var mozillaOnlyStr; var lang = env.locale; switch(lang) { default: mozillaOnlyStr = "Mozilla-specific"; break; } %>

Revision Source

<%
// Presents a banner marking a page as covering a topic specific to Mozilla. Intended
// for use on API pages in particular, where the API is intentionally designed for
// Mozilla products.
//
// Parameters:
//
//  $0  Optional explanatory text.

var mozillaOnlyStr;
var lang = env.locale;

switch(lang) {
    default:
        mozillaOnlyStr = "Mozilla-specific";
        break;
}

%>
Revert to this revision