> For the complete documentation index, see [llms.txt](https://greene-lab.gitbook.io/lab-website-template-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://greene-lab.gitbook.io/lab-website-template-docs/basics/components/alert.md).

# Alert

:eye: [PREVIEW](https://greenelab.github.io/lab-website-template/testbed#alert)

```liquid
{% capture lorem %}
_Lorem_ **ipsum**.
{% endcapture %}

{%
  include alert.html
  type="info"
  content=content
%}
```

<table><thead><tr><th width="132">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><code>type</code></td><td>Type of alert. Determines the <a href="/pages/ncvw8266ixtiCEAuYbGw">icon</a> and color to show.<br><br>See <code>/_data/types.yaml</code> for what types of alerts are built-in or to add your own.</td></tr><tr><td><code>content</code></td><td>Content to show as main content of box. Can contain Markdown. Accepts <a href="/pages/G4oL36qvXqlh9fFarwV6#arbitrary-content">arbitrary content</a>.</td></tr></tbody></table>
