Difference between revisions of "Template:Ambox"

From den4b Wiki
Jump to: navigation, search
(added usage notes)
Line 4: Line 4:
 
|style="padding: 5px; {{{tstyle}}}"|{{{text}}}
 
|style="padding: 5px; {{{tstyle}}}"|{{{text}}}
 
|}
 
|}
 +
 +
<noinclude>
 +
== Usage ==
 +
 +
{| class="wikitable"
 +
! Input
 +
! Output
 +
|-
 +
|
 +
<pre><nowiki>
 +
{{Ambox
 +
|align = left
 +
|color = #FFA500
 +
|image = Ambox Notice.png
 +
|iparam = 20px
 +
|text = Sample message here
 +
|tstyle = color: red; font-weight: bold;
 +
}}
 +
</nowiki></pre>
 +
|
 +
{{Ambox
 +
|align = left
 +
|color = #FFA500
 +
|image = Ambox Notice.png
 +
|iparam = 20px
 +
|text = Sample message here
 +
|tstyle = color: red; font-weight: bold;
 +
}}
 +
|}
 +
</noinclude>

Revision as of 14:28, 19 June 2009

[[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