Difference between revisions of "Template:Alert"

(Blanked the page)
Tag: Blanking
 
Line 1: Line 1:
<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|This is an alert!}}</nowiki>
 
 
will look like this:
 
 
{{alert|This is an alert!}}
 
 
<nowiki>{{alert|Title|This is an alert with a title!}}</nowiki>
 
 
{{alert|Title|This is an alert with a title!}}
 
 
<nowiki>{{alert|This is a note.|class=note}}</nowiki>
 
 
{{alert|This is a note.|class=note}}
 
 
Supported classes:
 
 
{{alert|This uses class "note".|class=note}}
 
{{alert|This uses class "warning".  (This is the default.)|class=warning}}
 
{{alert|This uses class "stop".|class=stop}}
 
 
 
</noinclude><includeonly><html><figure class="alert </html>{{#if: {{{class}}}|{{{class}}}|warning}}<html>"></html>{{#if: {{{2|}}}|<html><figcaption></html>{{{1}}}<html></figcaption></html><p>{{{2}}}</p> | <p>{{{1}}}</p>}}<html></figure></html></includeonly>
 

Latest revision as of 18:55, 16 May 2023