Difference between revisions of "Template:Ambox"

From den4b Wiki
Jump to navigation Jump to 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 15: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