Your Search Results

    Template:XULStyleInc

    <%
    /* get the page language */
    var lang = env.locale;
    
    /* set up the page name based on language */
    var StyleName = mdn.localString({
        "en-US" : "Style",
        "pl"    : "Styl"
    });
    
    /* get the Style name */
    var api = $0;
    var destOldType = lang + '/' + 'XUL:' + StyleName + ':' + api;
    var destNewType = lang + '/' + 'XUL/' + StyleName + '/' + api;
    
    if (wiki.pageExists(destNewType)) {
        /* the page exists from the deki age */
        %><%-wiki.page(destNewType)%><%
    } else if (wiki.pageExists(destOldType)) {
        /* the page exists from the mediawiki age */
        %><%-wiki.page(destOldType)%><%
    } else {
        /* the page doesn't exist */
        var targeturi = "/docs/new?slug=XUL/" + StyleName + '/' + api;
        %><code><a rel="internal" href="<%=targeturi%>" class="new"><%=($1 || $0)%></a></code><%
    }%>
    Search for pages that use Template:XULStyleInc to see example use cases and how many pages use this macro.

    Document Tags and Contributors

    Contributors to this page: lmorchard, Taken, Cuimingda, fscholz, ethertank, chukito, Ptak82, openjck, Dria
    Last updated by: ethertank,