Template:HTMLVersionHeader

<%
/* one parameter: HTML version */

var link = "HTML " + $0;
if ($0 == "5") {
    link = web.link("/" + env.locale + "/docs/HTML/HTML5", "HTML" + $0);
}

var s_msg = mdn.localString({
    "en-US": ["Introduced in ",""],
    "es": ["Introducido en ",""],
    "fr": ["Ajouté dans ",""],
    "ja": [""," で導入"],
    "zh-CN": ["引进于 ",""]
});

var str = s_msg[0] + link + s_msg[1];
%>
<div class="overheadIndicator htmlVer htmlMinVerHeader">
  <p><%- str %></p>
</div>
Search for pages that use Template:HTMLVersionHeader to see example use cases and how many pages use this macro.

Document Tags and Contributors

Tags:
Contributors to this page: Sheppy, lmorchard, ziyunfei, osdm, teoli, ethertank, trevorh, deimidis, Potappo
Last updated by: ethertank,