Template:Attention: Difference between revisions

From KDE UserBase Wiki
(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 (remove space)
 
(5 intermediate revisions by 2 users 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 20:44, 13 July 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