Difference between revisions of "Template:Warning"

Jump to: navigation, search
m (1 revision: Moving Docbook Primer from UserBase to TechBase)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
{{Box|2={{#if: {{{2|}}} | {{{2}}} | Warning }}
+
{{Box1|2={{{2|Warning}}}|3=[[Image:Warning.png|noframe|left|40px]]|1={{{1}}} }}
|3=[[Image:Warning.png|left|40px|link=]]
+
|1={{{1}}}
+
}}
+
 
<noinclude>
 
<noinclude>
----
+
This template displays an info box in the page. Syntax: <code><nowiki>{{Warning|2=title|1=text}}</nowiki></code>
Displays an information box. Parameters
+
# The body of the box
# Text of the main body
+
# (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.
# (optional) Title of the box (default: Warning)
+
  
Example: <nowiki>{{Warning|This is a warning}}</nowiki> gives
+
Example: {{Input|1=<nowiki>{{Warning|1=This is a warning.}}</nowiki>}}
 +
{{Warning|1=This is a warning.}}
  
{{Warning|This is a warning}}
 
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:47, 1 September 2012

noframe
 
Warning
{{{1}}}

This template displays an info box in the page. Syntax: {{Warning|2=title|1=text}}

  1. The body of the box
  2. (optional) the title of the box - Translators: Consider creating a translated version of this template instead of using this parameter every time.
Example:
{{Warning|1=This is a warning.}}
noframe
 
Warning
This is a warning.

This page was last modified on 1 September 2012, at 09:47. This page has been accessed 9,301 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal