Difference between revisions of "Template:Warning"

From Xen
m (Add Documentation template to display documentation box)
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
  +
<center>
<div style="background: #A9D0F5; border: 2px solid #151B8D; margin: 0.2em 10px 10px; padding:0.2em 0.4em; text-align: center; width: 80%; color:151B8D; align: center;">
 
  +
<div class="module-warning" style="margin: 0.2em 10px 10px; padding:0.2em 0.4em; text-align: left; width: 80%;">
{|style="background-color:#A9D0F5;" cellpadding="3" cellspacing="0" border="0"
 
  +
{|style="background-color:#FFDFC1;" cellpadding="3" cellspacing="0" border="0"
|style="align@ left; width: 43px;"|[[File:Icon_Info.png]]
 
  +
|style="align: left; width: 43px;"|[[File:Icon_Ambox.png]]
|{{{1}}}
 
  +
|style="color: #A84412;"|{{{1}}}
 
|}
 
|}
 
</div>
 
</div>
  +
</center>
  +
[[Category:Contains_Warning]]
  +
<noinclude>
  +
{{Documentation}}
  +
[[Category:Templates]]
  +
[[Category:Article message boxes|W]]
  +
</noinclude>

Latest revision as of 13:53, 5 January 2017

Icon Ambox.png {{{1}}}
[edit] [purge] Template documentation

Usage

{{Warning|This is an infobox with this text in the box}}

Renders as

Icon Ambox.png This is an infobox with this text in the box
The above documentation is transcluded from Template:Warning/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.