search:alert
Table of Contents
Description
Creates an alert box with the transcluded content
Usage
as element:
<search:alert>
</search:alert>
Example
Source
<tk-example>
<search:alert>Did you mean the shop <a href="#">kitchensinks.co.uk</a>?</search:alert>
<search:alert styling="alertbox-secondary">Something you can probably ignore has happened.</search:alert>
<search:alert styling="alertbox-negative">Something bad has happened.</search:alert>
<search:alert styling="alertbox-warning">Something slightly worrying has happened.</search:alert>
<search:alert styling="alertbox-positive">Something good has happened.</search:alert>
</tk-example>
<tk-code-wrapper>
<code hljs hljs-no-escape><search:alert>...</search:alert></code>
<code hljs hljs-no-escape><search:alert styling="alertbox-secondary">...</search:alert></code>
<code hljs hljs-no-escape><search:alert styling="alertbox-negative">...</search:alert></code>
<code hljs hljs-no-escape><search:alert styling="alertbox-warning">...</search:alert></code>
<code hljs hljs-no-escape><search:alert styling="alertbox-positive">...</search:alert></code>
</tk-code-wrapper>