mozilla

Revision 289622 of Template:browsersupport

  • Revision slug: Template:browsersupport
  • Revision title: Template:browsersupport
  • Revision id: 289622
  • Created:
  • Creator: Sheppy
  • Is current revision? Yes
  • Comment
Tags: 

Revision Content

<% // Inserts a simple, old-fashioned browser support table. // We no longer use this. Please see this page for details // on the new, sweet way to do this: // // https://developer.mozilla.org/Project:en/Compatibility_tables // // Parameters: // // $0 - Firefox version // $1 - IE version // $2 - Opera version // $3 - (optional) Safari version var safariVer = "N/A"; if ($3) { safariVer = $3; } %>
FirefoxIEOperaSafari
<%-$0%> <%-$1%> <%-$2%> <%-safariVer%>

Revision Source

<%
// Inserts a simple, old-fashioned browser support table.
// We no longer use this. Please see this page for details
// on the new, sweet way to do this:
//
// https://developer.mozilla.org/Project:en/Compatibility_tables
//
// Parameters:
//
//  $0 - Firefox version
//  $1 - IE version
//  $2 - Opera version
//  $3 - (optional) Safari version

var safariVer = "N/A";

if ($3) {
    safariVer = $3;
}
%>
<table class="standard-table">
    <tr>
        <td class="header">Firefox</td><td class="header">IE</td><td class="header">Opera</td><td class="header">Safari</td>
    </tr>
    <tr>
        <td><%-$0%></td>
        <td><%-$1%></td>
        <td><%-$2%></td>
        <td><%-safariVer%></td>
    </tr>
</table>