Template:Warning: Difference between revisions

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