Template:h1 gecko minversion

<% /*
    $0 = [String] Gecko version
    $1 = [String] headline content
    $2 = [String / Optional] name/id attribute
*/
 
var str = "Requires Gecko " + $1;
var idAttr = $2 ? ' name="' + $2 + '" id="' + $2 + '"' : "";
 
str = mdn.localString({
    ja : "Gecko " + $1 + " が必要"
});
 
 
%><div>
    <span class="indicatorInHeadline minVer geckoMinVerMethod"><%- str %><%- template("geckoRelease", [$1]) %></span>
    <h1<%- idAttr %>><%= $0 %></h1>
</div>
Search for pages that use Template:h1 gecko minversion to see example use cases and how many pages use this macro.

Document Tags and Contributors

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