Difference between revisions of "Template:Simplemsgbox"

From The Lion King Wiki
Jump to: navigation, search
(Created page with "<includeonly>{|style="margin:5px 0;{{{3|{{{css|}}}}}}" {{#if {{{2|{{{img|}}}}}}|{{!}}35px}} |{{{1|{{{text|}}}}}} |}</includeonly><noincl...")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|style="margin:5px 0;{{{3|{{{css|}}}}}}"
+
<includeonly>{|cellspacing="0" cellpadding="5" style="max-width:75%; margin:0 auto; padding:0 5px 0 2px; border:1px solid #aaa; {{{3|{{{css|}}}}}}"
{{#if {{{2|{{{img|}}}}}}|{{!}}[[Image:Wiki puzzle.svg|frameless|link=|35px]]}}
+
{{#if:{{{2|{{{img|}}}}}}|{{!}}[[Image:{{{2|{{{img}}}}}}|frameless|link=|35px]]}}
 
|{{{1|{{{text|}}}}}}
 
|{{{1|{{{text|}}}}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
{{/doc}}
 
{{/doc}}
</noinclude>
+
[[Category:Notice templates]]</noinclude>

Latest revision as of 04:14, 7 April 2011

Template-info.png Documentation

This template will display a very simple message box. It has the option for an image, which is aligned on the left side of the message box.

Usage

{{simplemsgbox|Hello world!}}

Will Output:

Hello world!
{{simplemsgbox|This page is totally awesome. I just love how everyone thinks this page is awesome. Talk about how awesome this page is on the talk page. Thanks!|Ambox notice.png}}

Will Output:

Ambox notice.png This page is totally awesome. I just love how everyone thinks this page is awesome. Talk about how awesome this page is on the talk page. Thanks!

All parameters

{{simplemsgbox
| text = 
| img = 
| css = 
|}

The above documentation is transcluded from Template:Simplemsgbox/doc. (edit | history)