<h1><tt>{{name}}</tt></h1>

{{#workInProgress}}
<fieldset class="workInProgress">
  <legend>Work In Progress</legend>
  This page is currently being revised. It might be incomplete or contain inaccuracies.
  {{{workInProgress.description}}}
</fieldset>
{{/workInProgress}}

{{#deprecated}}
<fieldset class="deprecated">
  <legend>Deprecated API</legend>
  {{deprecated}}
</fieldset>
{{/deprecated}}

<h2>Description</h2>
{{{description}}}

<h2>Dependencies</h2>
<ul>
  {{#requires}}
  <li><tt>{{name}}</tt></li>
  {{/requires}}
</ul>

{{#method.length}}
<h2>Methods</h2>
<ul>
  {{#method}}
  <li><tt>{{shortName}}()</tt>: {{{description}}}</li>
  {{/method}}
</ul>
{{/method.length}}

{{#property.length}}
<h2>Properties</h2>
<ul>
  {{#property}}
  <li><tt>{{name}}:{{#type}}{{type}}{{/type}}</tt>{{#description}}: {{{description}}}{{/description}}</li>
  {{/property}}
</ul>
{{/property.length}}

{{#example}}
<h2>Example</h2>
{{{exampleDescription}}}
<doc:example>
  <doc:source>
{{/example}}
    {{{example}}}
{{#example}}
  </doc:source>
  {{#scenario}}<doc:scenario>{{{scenario}}}</doc:scenario>{{/scenario}}
</doc:example>
{{/example}}
