Template:Attention: Difference between revisions

From KDE TechBase
(Created page with "{{Box|1={{{3|Attention}}}|2=left|40px|link=<div style="margin-left:50px; margin-right:50px; text-align:center;">{{{1}}}</div> |3={{{4}}}|4={{{5}}} }} <noinc...")
 
m (Update from userbase)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Box|1={{{3|Attention}}}|2=[[Image:Warning.png|left|40px|link=]]<div style="margin-left:50px; margin-right:50px; text-align:center;">{{{1}}}</div> |3={{{4}}}|4={{{5}}} }}
{{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

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

Attention
You should note this