Template:Message box: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(font size tweak)
(replace html code with div style)
Line 1: Line 1:
<center><div style=text-align:center>
<div style="float:center; text-align:center">
{|class="notice noprint" style="background:{{{backgroundcolor}}}; border:1px solid #aaa; padding:0.1em; margin:0.5em auto"
{|class="notice noprint" style="background:{{{backgroundcolor}}}; border:1px solid #aaa; padding:0.1em; margin:0.5em auto"
|-
|valign=top|[[File:{{{image}}}|45px]]
|valign=top|[[Image:{{{image}}}|45px]]
|  |'''{{{heading}}}'''<br><div style=font-size:100%>{{{message}}}</div>
|  |'''{{{heading}}}'''<br><div style=font-size:100%>{{{message}}}</div>
|}</div></center><noinclude>  
|}</div><noinclude>  
<nowiki>{{Message Box|backgroundcolor=type a color of the background you want here|image=type file name here|heading=type heading here|message=type message here}}</nowiki>
<nowiki>{{Message Box|backgroundcolor=enter a color of the background you want here|image=enter file name here|heading=type heading here|message=type message here}}</nowiki>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 08:28, 13 February 2018

[[File:{{{image}}}|45px]] {{{heading}}}
{{{message}}}

{{Message Box|backgroundcolor=enter a color of the background you want here|image=enter file name here|heading=type heading here|message=type message here}}