<%
/* parameters:                                                                          */
/* $0 = name of specification                                                           */
/* $1 = anchor related to the URL (if missing, no anchor is added)                      */
/* $2 = property/entity name      (if no anchor a default title is used and $2 ignored) */

var spec   = $0;
var anchor = $1;
var name;
var url;
var title;
var result;
var lang = env.locale;

// REMINDER: When possible, always refer to the Editor Draft of a spec. The TR specs are always outdated

var specList = {
    'Alarm API': {
        name : 'Web Alarms API',
        url  : 'http://web-alarms.sysapps.org/',
    },
    'AmbientLight':{
        name : "Ambient Light Events",
        url  : "http://dvcs.w3.org/hg/dap/raw-file/tip/light/Overview.html"
    },
    'Battery API':{
        name : "Battery Status API",
        url  : "http://www.w3.org/TR/battery-status/"
    },
    'Beacon':{
        name : 'Beacon',
        url  : 'http://www.w3.org/TR/beacon/'
    },
    'Clipboard API':{
        name : "Clipboard API",
        url  : "http://dev.w3.org/2006/webapi/clipops/clipops.html"
    },
    'Compositing':{
        name : "Compositing and blending Level 1",
        url  : "http://dev.w3.org/fxtf/compositing-1/"
    },
    'Contacts':{
        name : "Contacts Manager API",
        url  : "http://contacts-manager-api.sysapps.org/"
    },
    'CORS':{
        name : "CORS",
        url  : "http://www.w3.org/TR/cors/"
    },
    'CSP 1.0':{
        name : "Content Security Policy 1.0",
        url  : "http://www.w3.org/TR/2012/CR-CSP-20121115/"
    },
    'CSP 1.1':{
        name : "Content Security Policy Level 2",
        url  : "http://www.w3.org/TR/CSP2/"
    },
    'CSS1':{
        name : "CSS Level&nbsp;1",
        url  : "http://www.w3.org/TR/CSS1/"
    },
    'CSS2.1':{
        name : "CSS Level&nbsp;2 (Revision&nbsp;1)",
        url  : "http://www.w3.org/TR/CSS2/"
    },
    'CSS3 Animations':{
        name : "CSS Animations",
        url  : "http://dev.w3.org/csswg/css-animations/"
    },
    'CSS3 Backgrounds':{ // Backgrounds & Borders
        name : 'CSS Backgrounds and Borders Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css-backgrounds-3/"
    },
    'CSS3 Basic UI':{
        name : 'CSS Basic User Interface Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-ui/"
    },
    'CSS3 Box':{
        name : 'CSS Basic Box Model',
        url  : "http://dev.w3.org/csswg/css3-box/"
    },
    'CSS3 Box Alignment':{
        name : 'CSS Box Alignment Module',
        url  : "http://dev.w3.org/csswg/css-align/"
    },
    'CSS3 Cascade':{
        name : 'CSS Cascading and Inheritance Level&nbsp;3',
        url  : "http://www.w3.org/TR/css-cascade-3/"
    },
    'CSS3 Colors':{
        name : 'CSS Color Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-color/"
    },
    'CSS3 Conditional':{
        name : 'CSS Conditional Rules Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-conditional/"
    },
    'CSS3 Content':{
        name : 'CSS Generated Content Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-content/",
    },
    'CSS3 Counter Styles':{
        name : "CSS Counter Styles Level&nbsp;3",
        url  : "http://dev.w3.org/csswg/css-counter-styles-3/",
    },
    'CSS3 Device':{
        name : 'CSS Device Adaptation',
        url  : "http://dev.w3.org/csswg/css-device-adapt/",
    },
    'CSS3 Display':{
        name : 'CSS Display Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css-display/",
    },
    'CSS3 Flexbox':{
        name : 'CSS Flexible Box Layout Module',
        url  : "http://dev.w3.org/csswg/css3-flexbox/",
    },
    'CSS3 Font Loading':{
        name : 'CSS Font Loading Module Level&nbsp;3',
        url  : 'http://dev.w3.org/csswg/css-font-loading/',
    },
    'CSS3 Fonts':{
        name : 'CSS Fonts Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-fonts/",
    },
    'CSS3 Fragmentation':{
        name : 'CSS Fragmentation Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-break/"
    },
    'CSS3 GCPM':{
        name : 'CSS Generated Content for Paged Media Module',
        url  : "http://dev.w3.org/csswg/css3-gcpm/"
    },
    'CSS3 Grid':{ /* This is 'grid layout' and no more 'grid positioning' which has been abandoned */
        name : 'CSS Grid Layout',
        url  : "http://dev.w3.org/csswg/css-grid/"
    },
    'CSS3 Images':{
        name : 'CSS Image Values and Replaced Content Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-images/"
    },
    'CSS3 Inline':{
        name : 'CSS Inline Layout',
        url  : "http://dev.w3.org/csswg/css-inline/"
    },
    'CSS3 Lists':{
        name : 'CSS Lists and Counters Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-lists/"
    },
    'CSS3 Media Queries':{
        name : 'Media Queries',
        url  : "http://dev.w3.org/csswg/css3-mediaqueries/"
    },
    'CSS3 Multicol':{
        name : 'CSS Multi-column Layout Module',
        url  : "http://dev.w3.org/csswg/css3-multicol/"
    },
    'CSS3 Overflow':{
        name : 'CSS Overflow Module Level 3',
        url  : "http://dev.w3.org/csswg/css-overflow-3/"
    },  
    'CSS3 Namespaces':{
        name : 'CSS Namespaces Module',
        url  : "http://dev.w3.org/csswg/css3-namespace/"
    },
    'CSS3 Paged Media':{
        name : 'CSS Paged Media Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-page/"
    },
    'CSS3 Positioning':{
        name : 'CSS Positioned Layout Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css-position-3/"
    },
    'CSS3 Regions':{
        name : 'CSS Regions Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-regions/"
    },
    'CSS3 Ruby':{
        name : 'CSS Ruby Layout Module Level&nbsp;1',
        url  : 'http://dev.w3.org/csswg/css-ruby/'
    },
    'CSS3 Selectors':{
        name : 'Selectors Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/selectors3/"
    },
    'CSS3 Sizing':{
        name : 'CSS Intrinsic &amp; Extrinsic Sizing Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-sizing/"
    },
    'CSS3 Speech':{
        name : 'CSS Speech Module',
        url  : "http://dev.w3.org/csswg/css3-speech/"
    },
    'CSS3 Style':{
        name : 'CSS Style Attributes',
        url  : "http://dev.w3.org/csswg/css-style-attr/"
    },
    'CSS3 Syntax':{
        name : 'CSS Syntax Level&nbsp;3',
        url  : 'http://dev.w3.org/csswg/css-syntax/'
    },
    'CSS3 Text':{
        name : 'CSS Text Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-text/"
    },
    'CSS3 Text Decoration':{
        name : 'CSS Text Decoration Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css-text-decor-3/"
    },
    'CSS3 Transforms':{
        name : 'CSS Transforms Level&nbsp;1',
        url  : "http://dev.w3.org/csswg/css-transforms/"
    },
    'CSS3 Transitions':{
        name : 'CSS Transitions',
        url  : "http://dev.w3.org/csswg/css-transitions/"
    },
    'CSS3 Values':{
        name : 'CSS Values and Units Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-values/"
    },
    'CSS3 Variables':{
        name : 'CSS Custom Properties for Cascading Variables Module Level&nbsp;1',
        url  : "http://dev.w3.org/csswg/css-variables/"
    },
    'CSS3 Writing Modes':{
        name : 'CSS Writing Modes Module Level&nbsp;3',
        url  : "http://dev.w3.org/csswg/css3-writing-modes/"
    },
    'CSS4 Cascade':{
        name : 'CSS Cascading and Inheritance Level&nbsp;4',
        url  : "http://dev.w3.org/csswg/css-cascade/"
    },
    'CSS4 Colors':{
        name : 'CSS Color Module Level&nbsp;4',
        url  : "http://dev.w3.org/csswg/css-color/" 
    },
    'CSS4 Images':{
        name : 'CSS Image Values and Replaced Content Module Level&nbsp;4',
        url  : "http://dev.w3.org/csswg/css4-images/"
    },
    'CSS4 Media Queries':{
        name : 'Media Queries Level&nbsp;4',
        url  : "http://dev.w3.org/csswg/css4-mediaqueries/"
    },
    'CSS4 Pseudo-Elements':{
        name : 'CSS Pseudo-Elements Level&nbsp;4',
        url  : "http://dev.w3.org/csswg/css-pseudo-4/"
    },
    'CSS4 Selectors':{
        name : 'Selectors Level&nbsp;4',
        url  : "http://dev.w3.org/csswg/selectors4/"
    },
    'CSS4 Text':{
        name : 'CSS Text Level&nbsp;4',
        url  : "http://dev.w3.org/csswg/css4-text/"
    },
    'CSS Exclusions':{
        name : 'CSS Exclusions Module Level&nbsp;1',
        url  : "http://dev.w3.org/csswg/css-exclusions/"
    },
    'CSS Masks':{
        name : 'CSS Masking Level&nbsp;1',
        url  : 'http://dev.w3.org/fxtf/css-masking-1/'
    },
    'CSS Non-element Selectors':{
        name : 'Non-element Selectors Module Level&nbsp;1',
        url  : 'http://dev.w3.org/csswg/selectors-nonelement/'
    },
    'CSS Line Grid':{
        name : 'CSS Line Grid Module Level&nbsp;1',
        url  : 'http://dev.w3.org/csswg/css-line-grid/'
    },
    'CSS Logical Properties':{
        name : 'CSS Logical Properties Level&nbsp;1',
        url  : 'http://dev.w3.org/csswg/css-logical-props/'
    },
    'CSS Scope':{
        name : 'CSS Scoping Module Level&nbsp;1',
        url  : 'http://drafts.csswg.org/css-scoping/'
    },
    'CSS Scroll Snap Points':{
        name : 'CSS Scroll Snap Points Module Level&nbsp;1',
        url  : 'http://dev.w3.org/csswg/css-snappoints/'
    },
    'CSS Shapes':{
        name : 'CSS Shapes Module Level&nbsp;1',
        url  : 'http://dev.w3.org/csswg/css-shapes/',
    },
    'CSS Text Size Adjust':{
        name : 'CSS Mobile Text Size Adjustment Module Level&nbsp;1',
        url  : 'http://drafts.csswg.org/css-size-adjust/',
    },
    'CSS Will Change':{
        name : 'CSS Will Change Module Level&nbsp;1',
        url  : 'http://dev.w3.org/csswg/css-will-change/'
    },
    'CSSOM':{
        name : 'CSS Object Model (CSSOM)',
        url  : 'http://dev.w3.org/csswg/cssom/'
    },
    'CSSOM View':{
        name : 'CSS Object Model (CSSOM) View Module',
        url  : 'http://dev.w3.org/csswg/cssom-view/'
    },
    'Custom Elements':{
        name : 'Custom Elements',
        url  : 'http://w3c.github.io/webcomponents/spec/custom/'
    },
    'Data Store API':{
        name : 'Data Store API',
        url  : 'http://airpingu.github.io/data-store-api/index.html'
    },
    'Device Orientation':{
        name : 'Device Orientation Events',
        url  : 'http://dev.w3.org/geo/api/spec-source-orientation.html'
    },
    'DOM Parsing':{
        name : 'DOM Parsing and Serialization',
        url  : 'http://domparsing.spec.whatwg.org/'
    },
    'DOM WHATWG':{
        name : 'DOM',
        url  : 'http://dom.spec.whatwg.org/'
    },
    'DOM1': {
        name : 'Document Object Model (DOM) Level 1 Specification',
        url  : 'http://www.w3.org/TR/REC-DOM-Level-1/'
    },
    'DOM2 Core': {
        name : 'Document Object Model (DOM) Level 2 Core Specification',
        url  : 'http://www.w3.org/TR/DOM-Level-2-Core/'
    },
    'DOM2 Events':{
        name : 'Document Object Model (DOM) Level 2 Events Specification',
        url  : 'http://www.w3.org/TR/DOM-Level-2-Events/events.html'
    },
    'DOM2 HTML':{
        name : 'Document Object Model (DOM) Level 2 HTML Specification',
        url  : 'http://www.w3.org/TR/DOM-Level-2-HTML/'
    },
    'DOM2 Style':{
        name : 'Document Object Model (DOM) Level 2 Style Specification',
        url  : 'http://www.w3.org/TR/DOM-Level-2-Style/'
    },
    'DOM2 Traversal_Range':{
        name : 'Document Object Model (DOM) Level 2 Traversal and Range Specification',
        url  : 'http://www.w3.org/TR/DOM-Level-2-Traversal-Range/'
    },
    'DOM3 Core':{
        name : 'Document Object Model (DOM) Level 3 Core Specification',
        url  : 'http://www.w3.org/TR/DOM-Level-3-Core/'
    },
    'DOM3 Events':{
        name : 'Document Object Model (DOM) Level 3 Events Specification',
        url  : 'https://w3c.github.io/uievents/'
    },
    'DOM3 XPath':{
        name : 'Document Object Model (DOM) Level 3 XPath Specification',
        url  : 'http://www.w3.org/TR/DOM-Level-3-XPath/'
    },
    'DOM4': {
        name : 'DOM4',
        url  : 'https://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html'
    },
    'Element Traversal':{
        name : 'Element Traversal Specification',
        url  : 'http://www.w3.org/TR/ElementTraversal/'
    },
    'EME':{
        name : 'Encrypted Media Extensions',
        url  : 'https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html'
    },
    'Encoding':{
        name : 'Encoding',
        url  : 'http://encoding.spec.whatwg.org/'
    },
    'ES1':{
        name : 'ECMAScript 1st Edition (ECMA-262)',
        url  : 'http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%201st%20edition,%20June%201997.pdf'
    },
    'ES3':{
        name : 'ECMAScript 3rd Edition (ECMA-262)',
        url  : 'http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf'
    },
    'ES5.1':{
        name : 'ECMAScript 5.1 (ECMA-262)',
        url  : 'http://www.ecma-international.org/ecma-262/5.1/'
    },
    'ES6':{
        name : 'ECMAScript 2015 (6th Edition, ECMA-262)',
        url  : 'http://www.ecma-international.org/ecma-262/6.0/'
    },
    'ES Int 1.0':{
        name : 'ECMAScript Internationalization API 1.0 (ECMA-402)',
        url  : 'http://www.ecma-international.org/ecma-402/1.0/'
    },
    'ES Int 2.0':{
        name : 'ECMAScript Internationalization API 2.0 (ECMA-402)',
        url  : 'http://www.ecma-international.org/ecma-402/2.0/'
    },
    'Fetch':{
        name : 'Fetch',
        url  : 'https://fetch.spec.whatwg.org/'
    },
    'File API':{
        name : 'File API',
        url  : 'http://dev.w3.org/2006/webapi/FileAPI/'
    },
    'FileSystem':{
        name : 'FileSystem API',
        url  : 'http://w3c.github.io/filesystem-api/Overview.html'
    },
    'Filters 1.0':{
        name : "Filter Effects Module Level 1",
        url  : "http://dev.w3.org/fxtf/filters/"
    },
    'Filters 2.0':{
        name : "Filter Effects Module Level 2",
        url  : "https://drafts.fxtf.org/filters-2/"
    },
    'Fullscreen':{
        name : 'Fullscreen API',
        url  : 'http://fullscreen.spec.whatwg.org/'
    },
    'Gamepad':{
        name : 'Gamepad',
        url  : 'https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html'
    },
    'Geolocation': {
        name : 'Geolocation API',
        url  : 'http://www.w3.org/TR/geolocation-API/'
    },
    'Geometry Interfaces': {
        name : 'Geometry Interfaces Module Level 1',
        url  : 'http://dev.w3.org/fxtf/geometry/Overview.html'
    },
    'Harmony':{
        name :"EcmaScript Language Specification Draft 6th Edition",
        url : "http://wiki.ecmascript.org/lib/exe/fetch.php?id=harmony%3Aspecification_drafts&cache=cache&media=harmony:working_draft_ecma-262_edition_6_11-08-13-nomarkup.pdf"
    },
    'Highres Time':{
        name : 'High Resolution Time',
        url  : 'http://www.w3.org/TR/hr-time/'
    },
    'HTML Canvas 2D Context W3C': {
        name : 'HTML Canvas 2D Context (W3C)',
        url  : 'http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas_CR/'
    },
    'HTML Editing': {
        name : 'HTML Editing APIs',
        url  : 'https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html'
    },
    'HTML Imports': {
        name : 'HTML Imports',
        url  : 'http://w3c.github.io/webcomponents/spec/imports/'
    },
    'HTML Templates': {
        name : 'HTML Templates',
        url  : 'http://www.w3.org/TR/html5/scripting-1.html#the-template-element'
    },
    'HTML4.01':{
        name : 'HTML 4.01 Specification',
        url  : 'http://www.w3.org/TR/html401/'
    },
    'HTML5 Web Messaging':{
        name : 'HTML5 Web Messaging',
        url  : 'http://dev.w3.org/html5/postmsg/'
    },
    'HTML5 Web application':{
        name : 'HTML5 Web application',
        url  : 'http://www.w3.org/html/wg/drafts/html/master/webappapis.html'
    },
    'HTML5 W3C':{
        name : 'HTML5',
        url  : 'http://www.w3.org/TR/html5/'
    },
    'HTML5.1':{
        name : 'HTML5.1',
        url  : 'http://www.w3.org/html/wg/drafts/html/master/'
    },
    'HTML WHATWG':{
        name : 'WHATWG HTML Living Standard',
        url  : 'https://html.spec.whatwg.org/multipage/'
    },
    'IndexedDB':{
        name : 'Indexed Database API',
        url  : 'https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html'
    },
    'Manifest': {
        name : 'Manifest for web application',
        url : 'https://w3c.github.io/manifest/'
    },
    'MathML2':{
        name : 'MathML 2.0',
        url : 'http://www.w3.org/TR/MathML2/'
    },
    'MathML3':{
        name : 'MathML 3.0',
        url : 'http://www.w3.org/TR/MathML3/'
    },
    'Media Capture':{
        name : 'Media Capture and Streams',
        url  : 'http://dev.w3.org/2011/webrtc/editor/getusermedia.html'
    },
    'Media Capture DOM Elements':{
        name : 'Media Capture from DOM Elements',
        url  : 'https://w3c.github.io/mediacapture-fromelement/index.html'
    },
    'Media Source Extensions':{
        name : 'Media Source Extensions',
        url  : 'https://dvcs.w3.org/hg/html-media/raw-file/default/media-source/media-source.html'
    },
    'MediaStream Recording':{
        name : 'MediaStream Recording',
        url  : 'http://w3c.github.io/mediacapture-record/MediaRecorder.html'
    },
    'Messaging':{
        name : 'Messaging API',
        url  : 'http://www.w3.org/2012/sysapps/messaging/'
    },
    'Motion Path Level 1':{
        name : 'Motion Path Level 1',
        url  : 'https://drafts.fxtf.org/motion-1/'
    },
    'Navigation Timing':{
        name : 'Navigation Timing',
        url  : 'http://www.w3.org/TR/2012/REC-navigation-timing-20121217/'
    },
    'Network Information':{
        name : 'Network Information API',
        url  : 'http://w3c.github.io/netinfo/'
    },
    'Page Visibility API':{
        name : 'Page Visibility API',
        url  : 'http://www.w3.org/TR/page-visibility/'
    },
    'Permissions API':{
        name : 'Permissions API',
        url  : 'https://w3c.github.io/permissions/'
    },
    'Pointer Events': {
        name : 'Pointer Events',
        url  : 'https://dvcs.w3.org/hg/pointerevents/raw-file/tip/pointerEvents.html'
    },
    'Pointer Lock':{
        name : 'Pointer Lock',
        url  : 'https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html'
    },
    'Progress Events':{
        name : 'Progress Events',
        url  : 'https://dvcs.w3.org/hg/progress/raw-file/tip/Overview.html'
    },
    'Proximity Events':{
        name : 'Proximity Events',
        url  : 'http://dvcs.w3.org/hg/dap/raw-file/tip/proximity/Overview.html'
    },
    'Push API':{
        name : 'Push API',
        url  : 'https://w3c.github.io/push-api/'
    },
    'Referrer Policy':{
        name : 'Referrer Policy',
        url  : 'http://w3c.github.io/webappsec/specs/referrer-policy/'
    },
    'RequestAnimationFrame':{
        name : 'Timing control for script-based animations',
        url  : 'http://www.w3.org/TR/animation-timing/'
    },
    'Screen Orientation':{
        name : 'Screen Orientation API',
        url  : 'https://dvcs.w3.org/hg/screen-orientation/raw-file/tip/Overview.html'
    },
    'Selection API':{
        name : "Selection API",
        url  : 'http://www.w3.org/TR/selection-api/'
    },
    'Server-sent events':{
        name : 'Server-Sent Events',
        url  : 'http://dev.w3.org/html5/eventsource/'
    },
    'Service Workers':{
        name : 'Service Workers',
        url  : 'http://slightlyoff.github.io/ServiceWorker/spec/service_worker/'
    },
    'Selectors API Level 1':{
        name : 'Selectors API Level 1',
        url  : 'http://dev.w3.org/2006/webapi/selectors-api/'
    },
    'Selectors API Level 2':{
        name : 'Selectors API Level 2',
        url  : 'http://dev.w3.org/2006/webapi/selectors-api2/'
    },
    'Shadow DOM':{
        name : 'Shadow DOM',
        url  : 'http://w3c.github.io/webcomponents/spec/shadow/'
    },
    'SIMD': {
        name : 'SIMD',
        url  : 'http://littledan.github.io/simd.html'
    },
    'Subresource Integrity':{
        name : 'Subresource Integrity',
        url  : 'http://w3c.github.io/webappsec/specs/subresourceintegrity/'
    },
    'SVG1.1':{
        name : 'Scalable Vector Graphics (SVG) 1.1 (Second Edition)',
        url  : 'http://www.w3.org/TR/SVG11/'
    },
    'SVG2':{
        name : 'Scalable Vector Graphics (SVG) 2',
        url  : 'https://svgwg.org/svg2-draft/'
    },
    'Telephony API':{
        name : 'Web Telephony API',
        url  : 'https://wiki.mozilla.org/WebAPI/WebTelephony'
    },
    'Touch Events':{
        name : 'Touch Events version 1',
        url  : 'https://dvcs.w3.org/hg/webevents/raw-file/v1/touchevents.html'
    },
    'Tracking':{
        name : 'Tracking Preference Expression (DNT)',
        url  : 'http://www.w3.org/2011/tracking-protection/drafts/tracking-dnt.html'
    },
    'Typed Array':{
        name : 'Typed Array Specification',
        url  : 'http://www.khronos.org/registry/typedarray/specs/latest/'
    },
    'UI Events':{
        name : 'UI Events',
        url  : 'https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm'
    },
    'Undo Manager':{
        name : 'UndoManager and DOMTransaction',
        url  : 'https://dvcs.w3.org/hg/undomanager/raw-file/tip/undomanager.html'
    },
    'Upgrade Insecure Requests': {
        name : 'Upgrade Insecure Requests',
        url  : 'http://www.w3.org/TR/upgrade-insecure-requests/'
    },
    'URL':{
        name : 'URL',
        url  : 'http://url.spec.whatwg.org/'
    },
    'vCard':{
        name : 'vCard Format Specification',
        url  : 'http://tools.ietf.org/html/rfc6350'
    },
    'Vibration API':{
        name : 'Vibration API',
        url  : 'http://dev.w3.org/2009/dap/vibration/'
    },
    'Web Animations':{
        name : 'Web Animations',
        url  : 'https://w3c.github.io/web-animations/'
    },
    'Web Audio API':{
        name : 'Web Audio API',
        url  : 'http://webaudio.github.io/web-audio-api/'
    },
    'Web Bluetooth':{
        name : 'Web Bluetooth',
        url  : 'http://webbluetoothcg.github.io/web-bluetooth/'
    },
    'Web Crypto API':{
        name : 'Web Cryptography API',
        url  : 'https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html'
    },
    'WebGL':{
        name : 'WebGL 1.0',
        url  : 'https://www.khronos.org/registry/webgl/specs/latest/1.0/'
    },
    'WebGL2':{
        name : 'WebGL 2.0',
        url  : 'https://www.khronos.org/registry/webgl/specs/latest/2.0/'
    },
    'WebIDL':{
        name : 'Web IDL (Second Edition)',
        url  : 'http://heycam.github.io/webidl/'
    },
    'WebMIDI API':{
        name : 'Web MIDI API',
        url: 'http://webaudio.github.io/web-midi-api/'
    },
    'Web Notifications':{
        name : 'Notifications API',
        url  : 'https://notifications.spec.whatwg.org/'
    },
    'WebRTC 1.0':{
        name : 'WebRTC 1.0: Real-time Communication Between Browser',
        url  : 'http://dev.w3.org/2011/webrtc/editor/webrtc.html'
    },
    'Websockets':{
        name : 'The WebSocket API',
        url  : 'http://dev.w3.org/html5/websockets/'
    },
    'Web Speech API':{
        name : 'Web Speech API',
        url  : 'https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html'
    },
    'Web Storage':{
        name : 'Web Storage',
        url  : 'http://dev.w3.org/html5/webstorage/'
    },
    'Web Telephony':{
        name : 'Web Telephony',
        url  : 'https://wiki.mozilla.org/WebAPI/WebTelephony'
    },
    'WebVR':{
        name : 'WebVR',
        url  : 'http://mozvr.github.io/webvr-spec/webvr.html'
    },
    'WebVTT':{
        name : 'WebVTT: The Web Video Text Tracks Format',
        url  : 'http://dev.w3.org/html5/webvtt/'
    },
    'Web Workers':{
        name : 'Web Workers',
        url  : 'http://dev.w3.org/html5/workers/'
    },
    'WOFF1.0':{
        name : 'WOFF File Format 1.0',
        url  : 'http://www.w3.org/TR/WOFF/'
    },
    'WOFF2.0':{
        name : 'WOFF File Format 2.0',
        url  : 'http://dev.w3.org/webfonts/WOFF2/spec/'
    },
    'XMLHttpRequest':{
        name : 'XMLHttpRequest',
        url  : 'https://xhr.spec.whatwg.org'
    }
}

specList['Blending'] = specList['Compositing'];
specList['CSS3 2D Transforms'] = specList['CSS3 3D Transforms'] = specList['CSS3 Transforms'];
specList['CSS3 Break'] = specList['CSS3 Fragmentation'];
specList['CSS3 UI'] = specList['CSS3 Basic UI'];
specList['WebSMS'] = specList['Messaging'];
specList['CSS3 Template'] = specList['CSS3 Grid'];

name = specList[spec] && specList[spec].name || 'Unknown';
url  = specList[spec] && specList[spec].url  || 'about:unknown';

if ($2) {
    title = mdn.localString({
        "en-US": "The definition of '" + $2 + "' in that specification.",
        "fr": "La définition de '" + $2 + "' dans cette spécification.",
        "de": "Die Definition von '" + $2 + "' in dieser Spezifikation.",
        "ru": "Определение '" + $2 + "' в этой спецификации.",
        "zh-CN": $2
    });

    result = '<a href="' + url + anchor + '" hreflang="en" lang="en" class="external">' + name + '<br><small lang="' + lang + '">' + title + "</small></a>";

} else {
    title = mdn.localString({
        "en-US": "The '" + name + "' specification",
        "fr": "La spécificaction '" + name + "'",
        "de": "Die '" + name + "' Spezifikation",
        "ru": "Спецификация '" + name + "'",
        "zh-CN": name
    });

    result = '<a href="' + url + anchor + '" hreflang="en" lang="en" class="external" title="' + title + '">' + name + "</a>";
}


%><%- result %>
Search for pages that use Template:SpecName to see example use cases and how many pages use this macro.

Document Tags and Contributors

Last updated by: teoli,