mozilla

Template:cssorder

<%
// Load the whole page (wiki.page does cache the original page)

var page = wiki.page("en-US/docs/Web/CSS/CSS_values_serialization");
var re = new RegExp("<\\s*span\\s+id\\s*=\\s*"+'"order-'+ $0 +'"'+"[^>]*>(.*)<\\s*/\\s*span\\s*\\>","igm");
var match = re.exec(page);
var result = (match) ? match[1] : "/* The value of order-" + $0 + " was not found in DB */";
 
 
%><%- result %>
Search for pages that use Template:cssorder to see example use cases and how many pages use this macro.

Document Tags and Contributors

Contributors to this page: teoli, ethertank
Last updated by: ethertank,