Template:Warning: Difference between revisions

From KDE Wiki Sandbox
m (Remove space)
(prepare for theme update (bootstrap 4 alert has per default no bc))
 
Line 1: Line 1:
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Warning }}
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Warning }}
|3=[[Image:Warning.png|left|40px|link=]]
|3=[[Image:Warning.png|left|40px|link=]]
|1={{{1}}}}}<noinclude>
|1={{{1}}}
|4=alert-warning}}<noinclude>
----
----
Displays an information box. Parameters
Displays an information box. Parameters

Latest revision as of 12:34, 7 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