mozilla

Revision 319929 of Template:seealso method

  • Revision slug: Template:seealso_method
  • Revision title: Template:seealso method
  • Revision id: 319929
  • Created:
  • Creator: madarche
  • Is current revision? No
  • Comment Added a note about where this template has been used and how to test it

Revision Content

<% /* Example: seealso_method("add") Used and first designed for https://developer.mozilla.org/en-US/docs/IndexedDB/IDBObjectStore . If you change it, test that it does break this article. */ var l = env.locale; var s1 = "See also the ", s2 = " method"; switch(l) { case "ja": s1 = "※参照: "; s2 = " "; break; default: break; } %><%- s1 %><%=$0%>()<%- s2 %>

Revision Source

<%
/*
Example: seealso_method("add")

Used and first designed for https://developer.mozilla.org/en-US/docs/IndexedDB/IDBObjectStore . If you change it, test that it does break this article.
*/
var l = env.locale;

var s1 = "See also the ",
    s2 = " method";

switch(l) {
    case "ja":
        s1 = "※参照: ";
        s2 = " ";
        break;
    default: break;
}


%><%- s1 %><a href="#<%=$0%>()"><%=$0%>()</a><%- s2 %>
Revert to this revision