Template:Message box: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(|alt=, cleanup)
(Fix)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="float:center; text-align:center">
<div style="float:center; text-align:center">
{|class="message box" style="background:{{{backgroundcolor}}}; border:1px solid #aaa; padding:0.1em; margin:0.5em auto; font-size:100%"
{|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|[[File:{{{image}}}|45px|alt=]]
|  |'''{{{heading}}}'''<br>{{{message}}}
|  |'''{{{heading}}}'''<br>{{{message}}}
Line 6: Line 6:




<code><nowiki>{{Message Box|backgroundcolor=background color here|image=file name here|heading=heading here|message=type message here}}</nowiki></code>
<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}}