Difference between revisions of "Template:Ambox"

From den4b Wiki
Jump to navigation Jump to search
(added usage notes)
(added "noprint" class)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="ambox" align="{{{align}}}"
+
{| class="ambox noprint" align="{{{align}}}" style="background-color: {{{bgcolor}}}"
 
|style="background-color: {{{color}}}"|
 
|style="background-color: {{{color}}}"|
 
|[[Image:{{{image}}}|{{{iparam}}}]]
 
|[[Image:{{{image}}}|{{{iparam}}}]]
 
|style="padding: 5px; {{{tstyle}}}"|{{{text}}}
 
|style="padding: 5px; {{{tstyle}}}"|{{{text}}}
|}
+
|}<noinclude>
 
 
<noinclude>
 
 
== Usage ==
 
== Usage ==
 
 
{| class="wikitable"
 
{| class="wikitable"
 
! Input
 
! Input
Line 33: Line 30:
 
}}
 
}}
 
|}
 
|}
 +
[[Category:Message Box]]
 +
[[Category:Exclude in print]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:52, 22 March 2014

[[Image:{{{image}}}|{{{iparam}}}]] {{{text}}}

Usage

Input Output
{{Ambox
|align = left
|color = #FFA500
|image = Ambox Notice.png
|iparam = 20px
|text = Sample message here
|tstyle = color: red; font-weight: bold;
}}
Ambox Notice.png Sample message here