Template:Warning: Difference between revisions

From KDE Community Wiki
No edit summary
m (Update from userbase)
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
|3=[[Image:Warning.png|left|40px|link=]]
|3=[[Image:Warning.png|left|40px|link=]]
|1={{{1}}}
|1={{{1}}}
}}
|4=alert-warning}}<noinclude>
<noinclude>
----
----
Displays an information box. Parameters
Displays an information box. Parameters
Line 12: Line 11:


{{Warning|This is a warning}}
{{Warning|This is a warning}}
The use of "1=" in the body text ensures that characters are not treated as system parameters.  It is not visible in the output.
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 10:22, 27 July 2019

Warning

{{{1}}}

Displays an information box. Parameters

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

Example: {{Warning|This is a warning}} gives

Warning

This is a warning