Template:Message box: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(font size tweak)
(Fix)
 
(3 intermediate revisions by the same user not shown)
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="Message box" style="background:{{{backgroundcolor}}}; border:1px solid #aaa; padding:0.1em; margin:0.5em auto; font-size:100%"
|-
|valign=top|[[File:{{{image}}}|45px|alt=]]
|valign=top|[[Image:{{{image}}}|45px]]
|  |'''{{{heading}}}'''<br>{{{message}}}
|  |'''{{{heading}}}'''<br><div style=font-size:100%>{{{message}}}</div>
|}</div><noinclude>
|}</div></center><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>
 
<code><nowiki>{{Message box|backgroundcolor=background color here|image=file name here|heading=heading here|message=type message here}}</nowiki></code>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 13:05, 11 January 2023

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


{{Message box|backgroundcolor=background color here|image=file name here|heading=heading here|message=type message here}}