Template:Block mbox: Difference between revisions

From WickedGov, the Massachusetts civics wiki
Jump to navigation Jump to search
+
fixes
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="mw-parser-output">
<div class="mw-parser-output">
<templatestyles src="Template:Block mbox/styles.css"/><div class="user-block {{{type|}}}">
<templatestyles src="Template:Block mbox/styles.css"/><div class="user-block {{{type|}}}" style="min-height:50px";>
<div>{{#if:{{{image|}}}|[[File:{{{image}}}|50px|left]]}}{{{header|}}}
{{#if:{{{header|}}}|<div>{{#if:{{{image|}}}|[[File:{{{image}}}|50px|left]]}}{{{header|}}}
</div>
</div>}}
{{#if:{{{header|}}}|<div class="user-block-body" style="">
{{#if:{{{header|}}}|<div class="user-block-body" style="">
{{{body}}}
{{{body}}}
</div>
</div>
|<div>
|<div>{{#if:{{{image|}}}|[[File:{{{image}}}|50px|left]]}}
{{{body}}}
{{{body}}}
</div>}}
</div>}}
Line 16: Line 16:
** <code>header</code>: Text to be displayed above horizontal bar
** <code>header</code>: Text to be displayed above horizontal bar
** <code>image</code>: 50px image (without <code>File:</code>) to be displayed to the left of the <code><nowiki>{{{header}}}</nowiki></code> text
** <code>image</code>: 50px image (without <code>File:</code>) to be displayed to the left of the <code><nowiki>{{{header}}}</nowiki></code> text
** <code>body</code>: Text to be displayed below horizontal bar}}
** <code>body</code>: Text to be displayed below horizontal bar
** <code>type</code> (''optional''): Set to <code>blue</code> for an alternate appearance}}</noinclude>

Latest revision as of 19:30, 15 January 2025

{{{body}}}