Template:dom level

<%/* Example: dom_level("9.9") */%>
<%
// Displays information about the DOM level as an inline badge.
//
// Parameters:
//
//  $0 - DOM level

var lang = env.locale;

var str = "DOM level " + $0;

switch(lang) {
    case 'es':
        str = "Nivel DOM " + $0;
        break;
}
%>
<span class="inlineIndicator domLevel domLevelInline"><%-str%></span>
Search for pages that use Template:dom level to see example use cases and how many pages use this macro.

Document Tags and Contributors

Tags: 
Contributors to this page: madarche, ethertank, Sheppy, fscholz, Jürgen Jeka, chukito
Last updated by: madarche,