Jump to content

Template:Warning: Difference between revisions

From KDE Community Wiki
Dhaumann (talk | contribs)
add warning template, todo: find better image
 
m Update from userbase
 
(24 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{| style="background-color: #f8f8ff; margin: 1em 2.5% 0 2.5%; padding: 0 10px; border: 1px solid #2090ff;"
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Warning }}
|-
|3=[[Image:Warning.png|left|40px|link=]]
|[[Image:Action_stop.svg|noframe|left|50px]] || {{{1}}}
|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]]
</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