Your Search Results

    Template:EmbedSVG

    <%
    var found,
        width  = $1 > 0 ? $1 : 250,
        height = $2 > 0 ? $2 : 250;
     
    env.files.forEach(function (aFile) {
        if(!found && $0 === aFile.filename) {
            found = true;
    %>
    <iframe src="<%- aFile.url %>" width="<%- width %>" height="<%- height %>" frameborder="0" sandbox="allow-scripts"></iframe>
    <%
        }
    });
     
    if (!found) {
    %><p>Unable to find file <em><%= $0 %></em></p><%
    }
    %>
    Search for pages that use Template:EmbedSVG to see example use cases and how many pages use this macro.

    Document Tags and Contributors

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