Template:Block mbox: Difference between revisions
m quotation mark |
fixes |
||
(7 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>}} | |||
{{#if:{{{header|}}}|<div class="user-block-body" style=""> | |||
{{{body}}} | |||
</div> | </div> | ||
<div | |<div>{{#if:{{{image|}}}|[[File:{{{image}}}|50px|left]]}} | ||
{{{body}}} | {{{body}}} | ||
</div> | </div>}} | ||
</div> | </div> | ||
</div><noinclude> | </div><noinclude> | ||
Line 13: | 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> |