Difference between revisions of "Template:Attention"

Jump to: navigation, search
(Modifications to make template work well with neverland)
m (Update from userbase)
 
Line 1: Line 1:
{{Box1|2={{{2|Attention}}}|3=[[Image:Warning.png|left|40px|link=]]|1={{{1}}} }}
+
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Attention }}
<noinclude>
+
|3=[[Image:Warning.png|left|40px|link=]]
 +
|1={{{1}}}
 +
|4=alert-warning
 +
}}<noinclude>
 +
----
 +
Displays an information box. Parameters
 +
# Text of the main body
 +
# (optional) Title of the box (default: Attention)
 +
 
 +
Example: <nowiki>{{Attention|You should note this}}</nowiki> gives
 +
 
 +
{{Attention|You should note this}}
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:30, 9 August 2019

Warning.png
Attention
{{{1}}}

Displays an information box. Parameters

  1. Text of the main body
  2. (optional) Title of the box (default: Attention)

Example: {{Attention|You should note this}} gives

Warning.png
Attention
You should note this

This page was last edited on 9 August 2019, at 21:30. Content is available under Creative Commons License SA 4.0 unless otherwise noted.