Difference between revisions of "Template:Warning"

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

Revision as of 21:31, 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.