Actions

Template

Difference between revisions of "Alert"

From LimeSurvey Manual

Line 1: Line 1:
 
<div><div class="boxed alert">[[File:Important.png|20px|left]]</div><div> {{#if:{{{title|}}}| <strong class="error"> {{{title}}} : </strong>}} {{#if:{{{text|}}}|{{{text}}}|{{{1}}}}}</div></div>  
 
<div><div class="boxed alert">[[File:Important.png|20px|left]]</div><div> {{#if:{{{title|}}}| <strong class="error"> {{{title}}} : </strong>}} {{#if:{{{text|}}}|{{{text}}}|{{{1}}}}}</div></div>  
 
<noinclude>
 
<noinclude>
 
 
== Usage ==
 
== Usage ==
* <nowiki>{{Alert|Put attention to}}</nowiki>
+
* <nowiki>{{Alert|Some important alert text}}</nowiki>
* <nowiki>{{Alert|title=Attention|text=Put attention to}}</nowiki>
+
* <nowiki>{{Alert|title=Title text|text=Some important alert text}}</nowiki>
  
 
{{Alert|Put attention to}}
 
{{Alert|Put attention to}}
 
{{Alert|title=Attention|text=Put attention}}
 
{{Alert|title=Attention|text=Put attention}}
 
</noinclude>
 
</noinclude>

Revision as of 10:59, 6 August 2021

Important.png
{{{1}}}

Usage

  • {{Alert|Some important alert text}}
  • {{Alert|title=Title text|text=Some important alert text}}
Important.png
Put attention to
Important.png
Attention : Put attention