Difference between revisions of "Template:Alert"

(Created page with "<noinclude> This template is used for typesetting alert boxes that you want to be set apart from the surrounding text. For example, the following markup: <nowiki>{{alert|Th...")
 
Line 10: Line 10:
 
{{alert|This is an alert!}}
 
{{alert|This is an alert!}}
  
</noinclude><includeonly><figure class="alert">{{{1}}}</figure></includeonly>
+
<nowiki>{{alert|Title|This is an alert with a title!}}</nowiki>
 +
 
 +
{{alert|Title|This is an alert with a title!}}
 +
 
 +
</noinclude><includeonly><html><figure class="alert">{{{1}}}</figure></html></includeonly>

Revision as of 18:30, 16 May 2023

This template is used for typesetting alert boxes that you want to be set apart from the surrounding text.

For example, the following markup:

{{alert|This is an alert!}}

will look like this:

{{{1}}}

{{alert|Title|This is an alert with a title!}}

{{{1}}}