Template:Warning: Difference between revisions

From Xen
Jump to navigationJump to search
(Test)
 
m (Add Documentation template to display documentation box)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<center>
{| style="color:green; background-color:#ffffcc;" cellpadding="10" cellspacing="0" border="1"
<div class="module-warning" style="margin: 0.2em 10px 10px; padding:0.2em 0.4em; text-align: left; width: 80%;">
|File:Icon_Info.png
{|style="background-color:#FFDFC1;" cellpadding="3" cellspacing="0" border="0"
|{{{1}}}}
|style="align: left; width: 43px;"|[[File:Icon_Ambox.png]]
|style="color: #A84412;"|{{{1}}}
|}
|}
</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.