Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Help • Register • News • History • How to • Sequences statistics • Template prototypes

Difference between revisions of "Template:Alert"

From Prime-Wiki
Jump to: navigation, search
(new)
 
m
 
Line 18: Line 18:
  
 
{{Alert|Alert!|This is an alert, please take care.}}
 
{{Alert|Alert!|This is an alert, please take care.}}
[[Category:Templates]]</noinclude><includeonly>{{{!}} style="width:100%; font-size:125%; border-style:solid; margin-top:1em; clear:both; position:relative; border-radius:5px;"
+
[[Category:Templates]]</noinclude><includeonly>{{{!}} style="width:100%; font-size:125%; border-style:solid; margin-top:5px; clear:both; position:relative; border-radius:5px;"
 
{{!}} style="height:31px; padding-left:5px; vertical-align:left; background:Salmon;" {{!}}'''{{{1}}}''' {{{2}}}
 
{{!}} style="height:31px; padding-left:5px; vertical-align:left; background:Salmon;" {{!}}'''{{{1}}}''' {{{2}}}
 
{{!}}}</includeonly>
 
{{!}}}</includeonly>

Latest revision as of 20:49, 24 May 2020

Purpose

This template shows an alert.

Calling

 {{Alert|<title>|<text>}}
Parameter <title>: The title of the alert (in bold)
Parameter <text>: The alert message

Examples

 {{Alert|Alert!|This is an alert, please take care.}}

gives

Alert! This is an alert, please take care.