Template:Warning: Difference between revisions

From KDE Wiki Sandbox
No edit summary
(prepare for theme update (bootstrap 4 alert has per default no bc))
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Box|1={{{3|Information}}}|2=[[Image:Action_stop.png|left|40px]]<p>{{{1}}}</p> |3={{{4}}}|4={{{5}}} }}
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Warning }}
<noinclude>
|3=[[Image:Warning.png|left|40px|link=]]
{{Template:I18n/Language Navigation Bar|Template:Warning}}
|1={{{1}}}
|4=alert-warning}}<noinclude>
----
Displays an information box. Parameters
# Text of the main body
# (optional) Title of the box (default: Warning)


Example: <nowiki>{{Warning|This is a warning}}</nowiki> gives
{{Warning|This is a warning}}
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

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