Difference between revisions of "Template:Warning"

From LFS Manual
Jump to navigationJump to search
m
(move to /doc)
Line 1: Line 1:
{| style="border:1px solid #fc3; color: #FFFFFF; background: #fef6e7; width:100%; margin: 4px auto; padding:.2em; text-align:justify;{{{extra|}}}"
+
<includeonly>{| style="border:1px solid #fc3; color: #FFFFFF; background: #fef6e7; width:100%; margin: 4px auto; padding:.2em; text-align:justify;{{{extra|}}}"
 
|style="width:{{{l-width|35px;}}}"| {{{image|[[Image:Caution.png|{{{icon-size|30px}}}]]}}}
 
|style="width:{{{l-width|35px;}}}"| {{{image|[[Image:Caution.png|{{{icon-size|30px}}}]]}}}
 
|style="padding-left:.2em; color: #000000;"| {{{text|{{{1}}}}}}
 
|style="padding-left:.2em; color: #000000;"| {{{text|{{{1}}}}}}
|}<noinclude>
+
|}</includeonly><noinclude>{{documentation}}</noinclude>
{{warning|Here is a warning.}}
 
 
 
[[Category:Message box templates]]
 

Revision as of 21:25, 5 December 2023

Template Info-Icon.png

Template documentation

View - Edit

Usage

Markup Renders as
{{warning|This is a warning.}}
Caution.png This is a warning.