mozilla
Your Search Results

    Template:LiveSampleLink

    <%
    // Links to a live sample given the ID of its header block.
    //
    // Example: {{ LiveSampleLink('Full_IndexedDB_example', "Test the online live demo") }}
    //
    // Parameters:
    //  $0 - The ID of the header block containing the sample
    //  $1 - The link label
    //
    // See also : EmbedLiveSample
    %>
    <a href="<%= template('LiveSampleURL', [$0]) %>"><%=$1%></a>
    Search for pages that use Template:LiveSampleLink to see example use cases and how many pages use this macro.

    Document Tags and Contributors

    Contributors to this page: trevorh, madarche
    Last updated by: trevorh,