Template:CompatTableDesktop

  • Revision slug: Template:CompatTableDesktop
  • Revision title: Template:CompatTableDesktop
  • Revision id: 294696
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

<% var markup = ""; arguments = $0.param; foreach(var x in arguments) { markup += "" + x[0] + "" + x[1]+ "" + x[2] + "" + x[3]+ "" + x[4]+ "" + x[5] + ""; } %>
<%- markup %>
Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari

Revision Source

<%
var markup = "";
arguments = $0.param;
foreach(var x in arguments) { 
    markup += "<tr><td>" + x[0] + "</td><td>" + x[1]+ "</td><td>" + x[2] + "</td><td>" + x[3]+ "</td><td>" + x[4]+ "</td><td>" + x[5] + "</td></tr>";
}
%>
<div id="compat-desktop">
  <table class="compat-table">
    <tbody>
      <tr>
        <th scope="col">Feature</th>
        <th scope="col">Chrome</th>
        <th scope="col">Firefox (Gecko)</th>
        <th scope="col">Internet Explorer</th>
        <th scope="col">Opera</th>
        <th scope="col">Safari</th>
      </tr>
     <%- markup %>
    </tbody>
  </table>
</div>
Revert to this revision