Difference between revisions of "Template:Warning"

From Lazarus wiki
(+ru)
(add cat)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly><div id="shbox" style="border-width:1px; border-color:lightgrey; padding: 8px 5px 2px 10px; min-height:34px; border-style:solid; width=500px; display: block; margin-top:20px;">
+
<onlyinclude><includeonly><div id="shbox" style="border-width:1px; border-color:lightgrey; padding: 8px 5px 2px 10px; min-height:34px; border-style:solid; width=500px; background:lightyellow; display: block; margin-top:20px;">
 
[[Image:Warning-icon.png|left|18px|24px]]
 
[[Image:Warning-icon.png|left|18px|24px]]
 
<p style="margin-top:0px; margin-left: 24px;">'''{{ #switch:{{#titleparts:{{PAGENAME}}| | -1}}
 
<p style="margin-top:0px; margin-left: 24px;">'''{{ #switch:{{#titleparts:{{PAGENAME}}| | -1}}
 
| de= Warnung
 
| de= Warnung
 
| en= Warning
 
| en= Warning
 +
| cs= Varování
 
| fr= Avertissement
 
| fr= Avertissement
 
| hu= Figyelem
 
| hu= Figyelem
Line 18: Line 19:
  
 
[[Category:Language aware Templates]]
 
[[Category:Language aware Templates]]
 +
[[Category:Information boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:07, 14 October 2020

This template generates a warning box.

Include this text into the articel to use this template

{{Warning|Your warning text}}

It will result in

Warning-icon.png

Warning: Your warning text

The template is language aware: this means the text "Warning" will be translated to the language of the page which includes the template. If it isn't translated, please add the translation.